]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
tile: improve detection for missing -mcmodel=large support
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12013-05-24 Joseph Myers <joseph@codesourcery.com>
2
3 * math/gen-libm-test.pl (generate_testfile): Do not handle
4 START_DATA and END_DATA.
5 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6 END_DATA.
7 (acos_tonearest_test_data): Likewise.
8 (acos_towardzero_test_data): Likewise.
9 (acos_downward_test_data): Likewise.
10 (acos_upward_test_data): Likewise.
11 (acosh_test_data): Likewise.
12 (asin_test_data): Likewise.
13 (asin_tonearest_test_data): Likewise.
14 (asin_towardzero_test_data): Likewise.
15 (asin_downward_test_data): Likewise.
16 (asin_upward_test_data): Likewise.
17 (asinh_test_data): Likewise.
18 (atan_test_data): Likewise.
19 (atanh_test_data): Likewise.
20 (atan2_test_data): Likewise.
21 (cabs_test_data): Likewise.
22 (cacos_test_data): Likewise.
23 (cacosh_test_data): Likewise.
24 (carg_test_data): Likewise.
25 (casin_test_data): Likewise.
26 (casinh_test_data): Likewise.
27 (catan_test_data): Likewise.
28 (catanh_test_data): Likewise.
29 (cbrt_test_data): Likewise.
30 (ccos_test_data): Likewise.
31 (ccosh_test_data): Likewise.
32 (ceil_test_data): Likewise.
33 (cexp_test_data): Likewise.
34 (cimag_test_data): Likewise.
35 (clog_test_data): Likewise.
36 (clog10_test_data): Likewise.
37 (conj_test_data): Likewise.
38 (copysign_test_data): Likewise.
39 (cos_test_data): Likewise.
40 (cos_tonearest_test_data): Likewise.
41 (cos_towardzero_test_data): Likewise.
42 (cos_downward_test_data): Likewise.
43 (cos_upward_test_data): Likewise.
44 (cosh_test_data): Likewise.
45 (cosh_tonearest_test_data): Likewise.
46 (cosh_towardzero_test_data): Likewise.
47 (cosh_downward_test_data): Likewise.
48 (cosh_upward_test_data): Likewise.
49 (cpow_test_data): Likewise.
50 (cproj_test_data): Likewise.
51 (creal_test_data): Likewise.
52 (csin_test_data): Likewise.
53 (csinh_test_data): Likewise.
54 (csqrt_test_data): Likewise.
55 (ctan_test_data): Likewise.
56 (ctan_tonearest_test_data): Likewise.
57 (ctan_towardzero_test_data): Likewise.
58 (ctan_downward_test_data): Likewise.
59 (ctan_upward_test_data): Likewise.
60 (ctanh_test_data): Likewise.
61 (ctanh_tonearest_test_data): Likewise.
62 (ctanh_towardzero_test_data): Likewise.
63 (ctanh_downward_test_data): Likewise.
64 (ctanh_upward_test_data): Likewise.
65 (erf_test_data): Likewise.
66 (erfc_test_data): Likewise.
67 (exp_test_data): Likewise.
68 (exp_tonearest_test_data): Likewise.
69 (exp_towardzero_test_data): Likewise.
70 (exp_downward_test_data): Likewise.
71 (exp_upward_test_data): Likewise.
72 (exp10_test_data): Likewise.
73 (exp2_test_data): Likewise.
74 (expm1_test_data): Likewise.
75 (fabs_test_data): Likewise.
76 (fdim_test_data): Likewise.
77 (finite_test_data): Likewise.
78 (floor_test_data): Likewise.
79 (fma_test_data): Likewise.
80 (fma_towardzero_test_data): Likewise.
81 (fma_downward_test_data): Likewise.
82 (fma_upward_test_data): Likewise.
83 (fmax_test_data): Likewise.
84 (fmin_test_data): Likewise.
85 (fmod_test_data): Likewise.
86 (fpclassify_test_data): Likewise.
87 (frexp_test_data): Likewise.
88 (gamma_test_data): Likewise.
89 (hypot_test_data): Likewise.
90 (ilogb_test_data): Likewise.
91 (isfinite_test_data): Likewise.
92 (isgreater_test_data): Likewise.
93 (isgreaterequal_test_data): Likewise.
94 (isinf_test_data): Likewise.
95 (isless_test_data): Likewise.
96 (islessequal_test_data): Likewise.
97 (islessgreater_test_data): Likewise.
98 (isnan_test_data): Likewise.
99 (isnormal_test_data): Likewise.
100 (issignaling_test_data): Likewise.
101 (isunordered_test_data): Likewise.
102 (j0_test_data): Likewise.
103 (j1_test_data): Likewise.
104 (jn_test_data): Likewise.
105 (ldexp_test_data): Likewise.
106 (lgamma_test_data): Likewise.
107 (lrint_test_data): Likewise.
108 (lrint_tonearest_test_data): Likewise.
109 (lrint_towardzero_test_data): Likewise.
110 (lrint_downward_test_data): Likewise.
111 (lrint_upward_test_data): Likewise.
112 (llrint_test_data): Likewise.
113 (llrint_tonearest_test_data): Likewise.
114 (llrint_towardzero_test_data): Likewise.
115 (llrint_downward_test_data): Likewise.
116 (llrint_upward_test_data): Likewise.
117 (log_test_data): Likewise.
118 (log10_test_data): Likewise.
119 (log1p_test_data): Likewise.
120 (log2_test_data): Likewise.
121 (logb_test_data): Likewise.
122 (logb_downward_test_data): Likewise.
123 (lround_test_data): Likewise.
124 (llround_test_data): Likewise.
125 (modf_test_data): Likewise.
126 (nearbyint_test_data): Likewise.
127 (nextafter_test_data): Likewise.
128 (nexttoward_test_data): Likewise.
129 (pow_test_data): Likewise.
130 (pow_tonearest_test_data): Likewise.
131 (pow_towardzero_test_data): Likewise.
132 (pow_downward_test_data): Likewise.
133 (pow_upward_test_data): Likewise.
134 (remainder_test_data): Likewise.
135 (remainder_tonearest_test_data): Likewise.
136 (remainder_towardzero_test_data): Likewise.
137 (remainder_downward_test_data): Likewise.
138 (remainder_upward_test_data): Likewise.
139 (remquo_test_data): Likewise.
140 (rint_test_data): Likewise.
141 (rint_tonearest_test_data): Likewise.
142 (rint_towardzero_test_data): Likewise.
143 (rint_downward_test_data): Likewise.
144 (rint_upward_test_data): Likewise.
145 (round_test_data): Likewise.
146 (scalb_test_data): Likewise.
147 (scalbn_test_data): Likewise.
148 (scalbln_test_data): Likewise.
149 (signbit_test_data): Likewise.
150 (sin_test_data): Likewise.
151 (sin_tonearest_test_data): Likewise.
152 (sin_towardzero_test_data): Likewise.
153 (sin_downward_test_data): Likewise.
154 (sin_upward_test_data): Likewise.
155 (sincos_test_data): Likewise.
156 (sinh_test_data): Likewise.
157 (sinh_tonearest_test_data): Likewise.
158 (sinh_towardzero_test_data): Likewise.
159 (sinh_downward_test_data): Likewise.
160 (sinh_upward_test_data): Likewise.
161 (sqrt_test_data): Likewise.
162 (tan_test_data): Likewise.
163 (tan_tonearest_test_data): Likewise.
164 (tan_towardzero_test_data): Likewise.
165 (tan_downward_test_data): Likewise.
166 (tan_upward_test_data): Likewise.
167 (tanh_test_data): Likewise.
168 (tgamma_test_data): Likewise.
169 (trunc_test_data): Likewise.
170 (y0_test_data): Likewise.
171 (y1_test_data): Likewise.
172 (yn_test_data): Likewise.
173 (significand_test_data): Likewise.
174
175 * math/gen-libm-test.pl (@functions): Remove variable.
176 (generate_testfile): Don't handle START and END lines.
177 * math/libm-test.inc (START): New macro.
178 (END): Likewise.
179 (END_COMPLEX): Likewise.
180 (acos_test): Use END macro without arguments.
181 (acos_test_tonearest): Likewise.
182 (acos_test_towardzero): Likewise.
183 (acos_test_downward): Likewise.
184 (acos_test_upward): Likewise.
185 (acosh_test): Likewise.
186 (asin_test): Likewise.
187 (asin_test_tonearest): Likewise.
188 (asin_test_towardzero): Likewise.
189 (asin_test_downward): Likewise.
190 (asin_test_upward): Likewise.
191 (asinh_test): Likewise.
192 (atan_test): Likewise.
193 (atanh_test): Likewise.
194 (atan2_test): Likewise.
195 (cabs_test): Likewise.
196 (cacos_test): Use END_COMPLEX macro without arguments.
197 (cacosh_test): Likewise.
198 (carg_test): Use END macro without arguments.
199 (casin_test): Use END_COMPLEX macro without arguments.
200 (casinh_test): Likewise.
201 (catan_test): Likewise.
202 (catanh_test): Likewise.
203 (cbrt_test): Use END macro without arguments.
204 (ccos_test): Use END_COMPLEX macro without arguments.
205 (ccosh_test): Likewise.
206 (ceil_test): Use END macro without arguments.
207 (cexp_test): Use END_COMPLEX macro without arguments.
208 (cimag_test): Use END macro without arguments.
209 (clog_test): Use END_COMPLEX macro without arguments.
210 (clog10_test): Likewise.
211 (conj_test): Likewise.
212 (copysign_test): Use END macro without arguments.
213 (cos_test): Likewise.
214 (cos_test_tonearest): Likewise.
215 (cos_test_towardzero): Likewise.
216 (cos_test_downward): Likewise.
217 (cos_test_upward): Likewise.
218 (cosh_test): Likewise.
219 (cosh_test_tonearest): Likewise.
220 (cosh_test_towardzero): Likewise.
221 (cosh_test_downward): Likewise.
222 (cosh_test_upward): Likewise.
223 (cpow_test): Use END_COMPLEX macro without arguments.
224 (cproj_test): Likewise.
225 (creal_test): Use END macro without arguments.
226 (csin_test): Use END_COMPLEX macro without arguments.
227 (csinh_test): Likewise.
228 (csqrt_test): Likewise.
229 (ctan_test): Likewise.
230 (ctan_test_tonearest): Likewise.
231 (ctan_test_towardzero): Likewise.
232 (ctan_test_downward): Likewise.
233 (ctan_test_upward): Likewise.
234 (ctanh_test): Likewise.
235 (ctanh_test_tonearest): Likewise.
236 (ctanh_test_towardzero): Likewise.
237 (ctanh_test_downward): Likewise.
238 (ctanh_test_upward): Likewise.
239 (erf_test): Use END macro without arguments.
240 (erfc_test): Likewise.
241 (exp_test): Likewise.
242 (exp_test_tonearest): Likewise.
243 (exp_test_towardzero): Likewise.
244 (exp_test_downward): Likewise.
245 (exp_test_upward): Likewise.
246 (exp10_test): Likewise.
247 (exp2_test): Likewise.
248 (expm1_test): Likewise.
249 (fabs_test): Likewise.
250 (fdim_test): Likewise.
251 (finite_test): Likewise.
252 (floor_test): Likewise.
253 (fma_test): Likewise.
254 (fma_test_towardzero): Likewise.
255 (fma_test_downward): Likewise.
256 (fma_test_upward): Likewise.
257 (fmax_test): Likewise.
258 (fmin_test): Likewise.
259 (fmod_test): Likewise.
260 (fpclassify_test): Likewise.
261 (frexp_test): Likewise.
262 (gamma_test): Likewise.
263 (hypot_test): Likewise.
264 (ilogb_test): Likewise.
265 (isfinite_test): Likewise.
266 (isgreater_test): Likewise.
267 (isgreaterequal_test): Likewise.
268 (isinf_test): Likewise.
269 (isless_test): Likewise.
270 (islessequal_test): Likewise.
271 (islessgreater_test): Likewise.
272 (isnan_test): Likewise.
273 (isnormal_test): Likewise.
274 (issignaling_test): Likewise.
275 (isunordered_test): Likewise.
276 (j0_test): Likewise.
277 (j1_test): Likewise.
278 (jn_test): Likewise.
279 (ldexp_test): Likewise.
280 (lgamma_test): Likewise.
281 (lrint_test): Likewise.
282 (lrint_test_tonearest): Likewise.
283 (lrint_test_towardzero): Likewise.
284 (lrint_test_downward): Likewise.
285 (lrint_test_upward): Likewise.
286 (llrint_test): Likewise.
287 (llrint_test_tonearest): Likewise.
288 (llrint_test_towardzero): Likewise.
289 (llrint_test_downward): Likewise.
290 (llrint_test_upward): Likewise.
291 (log_test): Likewise.
292 (log10_test): Likewise.
293 (log1p_test): Likewise.
294 (log2_test): Likewise.
295 (logb_test): Likewise.
296 (logb_test_downward): Likewise.
297 (lround_test): Likewise.
298 (llround_test): Likewise.
299 (modf_test): Likewise.
300 (nearbyint_test): Likewise.
301 (nextafter_test): Likewise.
302 (nexttoward_test): Likewise.
303 (pow_test): Likewise.
304 (pow_test_tonearest): Likewise.
305 (pow_test_towardzero): Likewise.
306 (pow_test_downward): Likewise.
307 (pow_test_upward): Likewise.
308 (remainder_test): Likewise.
309 (remainder_test_tonearest): Likewise.
310 (remainder_test_towardzero): Likewise.
311 (remainder_test_downward): Likewise.
312 (remainder_test_upward): Likewise.
313 (remquo_test): Likewise.
314 (rint_test): Likewise.
315 (rint_test_tonearest): Likewise.
316 (rint_test_towardzero): Likewise.
317 (rint_test_downward): Likewise.
318 (rint_test_upward): Likewise.
319 (round_test): Likewise.
320 (scalb_test): Likewise.
321 (scalbn_test): Likewise.
322 (scalbln_test): Likewise.
323 (signbit_test): Likewise.
324 (sin_test): Likewise.
325 (sin_test_tonearest): Likewise.
326 (sin_test_towardzero): Likewise.
327 (sin_test_downward): Likewise.
328 (sin_test_upward): Likewise.
329 (sincos_test): Likewise.
330 (sinh_test): Likewise.
331 (sinh_test_tonearest): Likewise.
332 (sinh_test_towardzero): Likewise.
333 (sinh_test_downward): Likewise.
334 (sinh_test_upward): Likewise.
335 (sqrt_test): Likewise.
336 (tan_test): Likewise.
337 (tan_test_tonearest): Likewise.
338 (tan_test_towardzero): Likewise.
339 (tan_test_downward): Likewise.
340 (tan_test_upward): Likewise.
341 (tanh_test): Likewise.
342 (tgamma_test): Likewise.
343 (trunc_test): Likewise.
344 (y0_test): Likewise.
345 (y1_test): Likewise.
346 (yn_test): Likewise.
347 (significand_test): Likewise.
348
3492013-05-24 Ondřej Bílka <neleai@seznam.cz>
350
351 [BZ #15381]
352 * libio/genops.c (_IO_no_init): Initialize wide struct info.
353
3542013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
355
356 [BZ #14894]
357 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
358 __ppc_mdoio and __ppc_mdoom.
359 * manual/platform.texi: Document new functions __ppc_yield,
360 __ppc_mdoio and __ppc_mdoom.
361
3622013-05-22 Carlos O'Donell <carlos@redhat.com>
363
364 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
365 (main): Mention "tls" pseudo-hwcap is legacy.
366 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
367
3682013-05-22 Joseph Myers <joseph@codesourcery.com>
369
370 * math/gen-libm-test.pl (parse_args): Output only string of
371 arguments as text for test name, not full call or descriptions of
372 tests for extra outputs.
373 (generate_testfile): Do not pass function name to parse_args.
374 Generate this_func variable from START.
375 * math/libm-test.inc (struct test_f_f_data): Rename test_name
376 field to arg_str.
377 (struct test_ff_f_data): Likewise.
378 (test_ff_f_data_nexttoward): Likewise.
379 (struct test_fi_f_data): Likewise.
380 (struct test_fl_f_data): Likewise.
381 (struct test_if_f_data): Likewise.
382 (struct test_fff_f_data): Likewise.
383 (struct test_c_f_data): Likewise.
384 (struct test_f_f1_data): Likewise. Remove field extra_name.
385 (struct test_fF_f1_data): Likewise.
386 (struct test_ffI_f1_data): Likewise.
387 (struct test_c_c_data): Rename test_name field to arg_str.
388 (struct test_cc_c_data): Likewise.
389 (struct test_f_i_data): Likewise.
390 (struct test_ff_i_data): Likewise.
391 (struct test_f_l_data): Likewise.
392 (struct test_f_L_data): Likewise.
393 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
394 and extra2_name.
395 (COMMON_TEST_SETUP): New macro.
396 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
397 (COMMON_TEST_CLEANUP): Likewise.
398 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
399 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
400 macros.
401 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
402 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
403 macros.
404 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
405 (RUN_TEST_fff_f): Take argument string. Call new setup and
406 cleanup macros.
407 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
408 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
409 macros.
410 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
411 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
412 macros.
413 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
414 (RUN_TEST_fF_f1): Take argument string. Call new setup and
415 cleanup macros.
416 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
417 (RUN_TEST_fI_f1): Take argument string. Call new setup and
418 cleanup macros.
419 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
420 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
421 cleanup macros.
422 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
423 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
424 macros.
425 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
426 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
427 macros.
428 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
429 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
430 macros.
431 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
432 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
433 cleanup macros.
434 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
435 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
436 cleanup macros.
437 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
438 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
439 macros.
440 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
441 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
442 cleanup macros.
443 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
444 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
445 macros.
446 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
447 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
448 macros.
449 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
450 (RUN_TEST_fFF_11): Take argument string. Call new setup and
451 cleanup macros.
452 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
453
4542013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
455
456 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
457 to _sifields.sigfault.
458 (si_addr_lsb): Define new macro.
459 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
461 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
462
4632013-05-03 Carlos O'Donell <carlos at redhat.com>
464
465 [BZ #15441]
466 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
467 returns -1.
468 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
469 null return -1.
470 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
471 loading the domain.
472
4732013-05-22 Joseph Myers <joseph@codesourcery.com>
474
475 * math/gen-libm-test.pl (parse_args): Do not include expected
476 result in test name.
477 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
479 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
480 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
481 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
483
4842013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
485
486 * benchtests/Makefile: Sort function entries.
487
488 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
489 tanh, asinh, acosh, atanh.
490 * benchtests/acos-inputs: New file.
491 * benchtests/acosh-inputs: New file.
492 * benchtests/asin-inputs: New file.
493 * benchtests/asinh-inputs: New file.
494 * benchtests/atanh-inputs: New file.
495 * benchtests/cosh-inputs: New file.
496 * benchtests/log-inputs: New file.
497 * benchtests/sinh-inputs: New file.
498 * benchtests/tanh-inputs: New file.
499
5002013-05-21 Dmitry V. Levin <ldv@altlinux.org>
501
502 [BZ #15339]
503 * posix/tst-getaddrinfo4.c: New test.
504 * posix/Makefile (tests): Add it.
505
5062013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
507
508 [BZ #15339]
509 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
510 when no services were used.
511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
512 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
513
5142013-05-21 Andreas Schwab <schwab@suse.de>
515
516 [BZ #15014]
517 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
518 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
519 successful.
520 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
521 redundant variable declarations and reallocation of buffer when
522 parsing as IPv6 address. Always set NSS status when called from
523 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
524 buffer too small. Correct computation of needed size.
525 * nss/Makefile (tests): Add test-digits-dots.
526 * nss/test-digits-dots.c: New test.
527
5282013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
529
530 * benchtests/Makefile: Remove instructions for adding
531 benchmark tests.
532 * benchtests/README: New file to explain how to execute and
533 enhance the benchmark tests.
534
5352013-05-21 Andreas Schwab <schwab@suse.de>
536
537 [BZ #15493]
538 * setjmp/Makefile (tests): Add tst-sigsetjmp.
539 * setjmp/tst-sigsetjmp.c: New test.
540
5412013-05-20 Ondřej Bílka <neleai@seznam.cz>
542
543 * sysdeps/x86_64/memset.S (memset): New implementation.
544 (__bzero): Likewise.
545 (__memset_tail): New function.
546
5472013-05-20 Ondřej Bílka <neleai@seznam.cz>
548
549 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
550 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
551 __memcpy_sse2_unaligned ifunc selection.
552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
553 Add memcpy-sse2-unaligned.S.
554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
555 Add: __memcpy_sse2_unaligned.
556
5572013-05-19 Joseph Myers <joseph@codesourcery.com>
558
559 [BZ #15490]
560 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
561 math_force_eval before restoring floating-point envrionment.
562 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
564 Likewise.
565 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
566 <math_private.h>.
567 (__nearbyintl): Use math_force_eval before restoring
568 floating-point environment.
569 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
570
571 * math/gen-libm-test.pl (special_functions): Remove.
572 (parse_args): Don't handle TEST_extra. Handle functions with no
573 return value.
574 * math/libm-test.inc (struct test_sincos_data): Replace with
575 struct test_fFF_11_data.
576 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
577 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
578 (sincos_test_data): Change element type to struct
579 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
580 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
581 RUN_TEST_LOOP_sincos.
582 * math/README.libm-test: Don't mention special handling of
583 individual functions.
584 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
585 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
586 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
587 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
588 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
590
591 * math/gen-libm-test.pl (get_variable): Remove function.
592 (parse_args): Don't show pointer parameters to call in test
593 names. Use "extra output N" in test names for extra outputs
594 rather than naming variables.
595
5962013-05-18 Joseph Myers <joseph@codesourcery.com>
597
598 [BZ #15488]
599 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
600 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
601 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
602 double tests.
603 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
604 disable.
605 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
606 check_long_double.
607
608 * math/gen-libm-test.pl (@tests): Remove variable.
609 ($count): Likewise.
610 (new_test): Remove function.
611 (show_exceptions): New function.
612 (special_functions): Use show_exceptions instead of new_test.
613 (parse_args): Likewise.
614 (generate_testfile): Pass only function name in generated call to
615 print_max_error or print_complex_max_error.
616 (get_ulps): Do not handle complex tests specially.
617 (output_test): Rename to ...
618 (get_all_ulps_for_test): ... this. Return a string rather than
619 printing to a file. Require ulps to be present.
620 (output_ulps): Generate arrays rather than #defines.
621 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
622 (struct ulp_data): New type.
623 (BUILD_COMPLEX_ULP): Remove macro.
624 (compare_ulp_data): New function.
625 (find_ulps): Likewise.
626 (find_test_ulps): Likewise.
627 (find_function_ulps): Likewise.
628 (find_complex_function_ulps): Likewise.
629 (print_max_error): Determine allowed ulps using
630 find_function_ulps.
631 (print_complex_max_error): Determine allowed ulps using
632 find_complex_function_ulps.
633 (check_float_internal): Determine max ulps using find_test_ulps.
634 (check_float): Do not take max_ulp parameter. Update call to
635 check_float_internal.
636 (check_complex): Likewise.
637 (check_int): Do not take max_ulp parameter.
638 (check_long): Likewise.
639 (check_bool): Likewise.
640 (check_longlong): Likewise.
641 (struct test_f_f_data): Remove max_ulp field.
642 (struct test_ff_f_data): Likewise.
643 (struct test_ff_f_data_nexttoward): Likewise.
644 (struct test_fi_f_data): Likewise.
645 (struct test_fl_f_data): Likewise.
646 (struct test_if_f_data): Likewise.
647 (struct test_fff_f_data): Likewise.
648 (struct test_c_f_data): Likewise.
649 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
650 (struct test_fF_f1_data): Likewise.
651 (struct test_ffI_f1_data): Likewise.
652 (struct test_c_c_data): Remove max_ulp field.
653 (struct test_cc_c_data): Likewise.
654 (struct test_f_i_data): Likewise.
655 (struct test_ff_i_data): Likewise.
656 (struct test_f_l_data): Likewise.
657 (struct test_f_L_data): Likewise.
658 (struct test_sincos_data): Likewise.
659 (RUN_TEST_f_f): Do not handle ulps.
660 (RUN_TEST_LOOP_f_f): Likewise.
661 (RUN_TEST_2_f): Likewise.
662 (RUN_TEST_LOOP_2_f): Likewise.
663 (RUN_TEST_fff_f): Likewise.
664 (RUN_TEST_LOOP_fff_f): Likewise.
665 (RUN_TEST_c_f): Likewise.
666 (RUN_TEST_LOOP_c_f): Likewise.
667 (RUN_TEST_f_f1): Likewise.
668 (RUN_TEST_LOOP_f_f1): Likewise.
669 (RUN_TEST_fF_f1): Likewise.
670 (RUN_TEST_LOOP_fF_f1): Likewise.
671 (RUN_TEST_fI_f1): Likewise.
672 (RUN_TEST_LOOP_fI_f1): Likewise.
673 (RUN_TEST_ffI_f1): Likewise.
674 (RUN_TEST_LOOP_ffI_f1): Likewise.
675 (RUN_TEST_c_c): Likewise.
676 (RUN_TEST_LOOP_c_c): Likewise.
677 (RUN_TEST_cc_c): Likewise.
678 (RUN_TEST_LOOP_cc_c): Likewise.
679 (RUN_TEST_f_i): Likewise.
680 (RUN_TEST_LOOP_f_i): Likewise.
681 (RUN_TEST_f_i_tg): Likewise.
682 (RUN_TEST_LOOP_f_i_tg): Likewise.
683 (RUN_TEST_ff_i_tg): Likewise.
684 (RUN_TEST_LOOP_ff_i_tg): Likewise.
685 (RUN_TEST_f_b): Likewise.
686 (RUN_TEST_LOOP_f_b): Likewise.
687 (RUN_TEST_f_b_tg): Likewise.
688 (RUN_TEST_LOOP_f_b_tg): Likewise.
689 (RUN_TEST_f_l): Likewise.
690 (RUN_TEST_LOOP_f_l): Likewise.
691 (RUN_TEST_f_L): Likewise.
692 (RUN_TEST_LOOP_f_L): Likewise.
693 (RUN_TEST_sincos): Likewise.
694 (RUN_TEST_LOOP_sincos): Likewise.
695
6962013-05-17 Joseph Myers <joseph@codesourcery.com>
697
698 [BZ #15480]
699 [BZ #15485]
700 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
701 main case of finite arguments, set rounding mode to FE_TONEAREST
702 and discard exceptions.
703 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
704 exceptions.
705 (remainder_tonearest_test_data): New variable.
706 (remainder_test_tonearest): New function.
707 (remainder_towardzero_test_data): New variable.
708 (remainder_test_towardzero): New function.
709 (remainder_downward_test_data): New variable.
710 (remainder_test_downward): New function.
711 (remainder_upward_test_data): New variable.
712 (remainder_test_upward): New function.
713 (main): Call the new test functions.
714
715 * math/libm-test.inc (struct test_f_f1_data): Remove field
716 extra_init.
717 (struct test_fF_f1_data): Likewise.
718 (struct test_ffI_f1_data): Likewise.
719 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
720 based on value of EXTRA_EXPECTED.
721 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
722 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
723 EXTRA_VAR based on value of EXTRA_EXPECTED.
724 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
725 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
726 EXTRA_VAR based on value of EXTRA_EXPECTED.
727 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
728 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
729 EXTRA_VAR based on value of EXTRA_EXPECTED.
730 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
731 * math/gen-libm-test.pl (parse_args): Don't output initializers
732 for extra output values.
733
734 * math/libm-test.inc (check_int): Expect result to be exactly
735 equal to expected value and do not handle ulps.
736 (check_long): Likewise.
737 (check_longlong): Likewise.
738
739 * math/libm-test.inc (ceil_test_data): Test for "inexact"
740 exceptions.
741 (cimag_test_data): Likewise.
742 (conj_test_data): Likewise.
743 (copysign_test_data): Likewise.
744 (cproj_test_data): Likewise.
745 (creal_test_data): Likewise.
746 (fabs_test_data): Likewise.
747 (fdim_test_data): Likewise.
748 (finite_test_data): Likewise.
749 (floor_test_data): Likewise.
750 (fmax_test_data): Likewise.
751 (fmin_test_data): Likewise.
752 (fmod_test_data): Likewise.
753 (fpclassify_test_data): Likewise.
754 (frexp_test_data): Likewise.
755 (ilogb_test_data): Likewise.
756 (isfinite_test_data): Likewise.
757 (isgreater_test_data): Likewise.
758 (isgreaterequal_test_data): Likewise.
759 (isinf_test_data): Likewise.
760 (isless_test_data): Likewise.
761 (islessequal_test_data): Likewise.
762 (islessgreater_test_data): Likewise.
763 (isnan_test_data): Likewise.
764 (isnormal_test_data): Likewise.
765 (issignaling_test_data): Likewise.
766 (isunordered_test_data): Likewise.
767 (ldexp_test_data): Likewise.
768 (lrint_test_data): Likewise.
769 (lrint_test_data) [TEST_FLOAT]: Disable one test.
770 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
771 (lrint_tonearest_test_data): Test for "inexact" exceptions.
772 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
773 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
774 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
775 test input.
776 (lrint_towardzero_test_data): Test for "inexact" exceptions.
777 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
778 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
779 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
780 that test input.
781 (lrint_downward_test_data): Test for "inexact" exceptions.
782 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
783 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
784 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
785 test input.
786 (lrint_upward_test_data): Test for "inexact" exceptions.
787 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
788 test input.
789 (llrint_test_data): Test for "inexact" exceptions.
790 (llrint_test_data) [TEST_FLOAT]: Disable one test.
791 (llrint_tonearest_test_data): Test for "inexact" exceptions.
792 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
793 (llrint_towardzero_test_data): Test for "inexact" exceptions.
794 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
795 (llrint_downward_test_data): Test for "inexact" exceptions.
796 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
797 (llrint_upward_test_data): Test for "inexact" exceptions.
798 (logb_test_data): Likewise.
799 (logb_downward_test_data): Likewise.
800 (nextafter_test_data): Likewise.
801 (nexttoward_test_data): Likewise.
802 (remainder_test_data): Likewise.
803 (remquo_test_data): Likewise.
804 (scalbn_test_data): Likewise.
805 (scalbln_test_data): Likewise.
806 (signbit_test_data): Likewise.
807 (sqrt_test_data): Likewise.
808 (significand_test_data): Likewise.
809
8102013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
811
812 [BZ #15424]
813 * benchtests/bench-modf.c (struct args): Mark arg0 as
814 volatile.
815 * scripts/bench.pl: Mark members of struct args as volatile.
816
8172013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
818
819 [BZ # 15497]
820 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
821 negative infinity on POWER6 or lower.
822 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
823
8242013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
825
826 [BZ #15442]
827 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
828 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
829 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
830 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
831 (_FP_SETQNAN): New macro.
832 (_FP_SETQNAN_SEMIRAW): Likewise.
833 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
834 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
835 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
836 (FP_EXTEND): Use _FP_FRAC_SNANP.
837 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
838 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
839 into account.
840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
841 New macro.
842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
843 Likewise.
844
8452013-05-16 Joseph Myers <joseph@codesourcery.com>
846
847 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
848 with DIVIDE_BY_ZERO_EXCEPTION.
849 (gamma_test_data): Likewise.
850 (lgamma_test_data): Likewise.
851 (log_test_data): Likewise.
852 (log10_test_data): Likewise.
853 (log2_test_data): Likewise.
854 (tgamma_test_data): Likewise.
855
856 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
857 (acos_test_tonearest): Likewise.
858 (acos_test_towardzero): Likewise.
859 (acos_test_downward): Likewise.
860 (acos_test_upward): Likewise.
861 (acosh_test): Likewise.
862 (asin_test): Likewise.
863 (asin_test_tonearest): Likewise.
864 (asin_test_towardzero): Likewise.
865 (asin_test_downward): Likewise.
866 (asin_test_upward): Likewise.
867 (asinh_test): Likewise.
868 (atan_test): Likewise.
869 (atanh_test): Likewise.
870 (atan2_test): Likewise.
871 (cabs_test): Likewise.
872 (cacos_test): Likewise.
873 (cacosh_test): Likewise.
874 (casin_test): Likewise.
875 (casinh_test): Likewise.
876 (catan_test): Likewise.
877 (catanh_test): Likewise.
878 (cbrt_test): Likewise.
879 (ccos_test): Likewise.
880 (ccosh_test): Likewise.
881 (cexp_test): Likewise.
882 (clog_test): Likewise.
883 (clog10_test): Likewise.
884 (cos_test): Likewise.
885 (cos_test_tonearest): Likewise.
886 (cos_test_towardzero): Likewise.
887 (cos_test_downward): Likewise.
888 (cos_test_upward): Likewise.
889 (cosh_test): Likewise.
890 (cosh_test_tonearest): Likewise.
891 (cosh_test_towardzero): Likewise.
892 (cosh_test_downward): Likewise.
893 (cosh_test_upward): Likewise.
894 (cpow_test): Likewise.
895 (csin_test): Likewise.
896 (csinh_test): Likewise.
897 (csqrt_test): Likewise.
898 (ctan_test): Likewise.
899 (ctan_test_tonearest): Likewise.
900 (ctan_test_towardzero): Likewise.
901 (ctan_test_downward): Likewise.
902 (ctan_test_upward): Likewise.
903 (ctanh_test): Likewise.
904 (ctanh_test_tonearest): Likewise.
905 (ctanh_test_towardzero): Likewise.
906 (ctanh_test_downward): Likewise.
907 (ctanh_test_upward): Likewise.
908 (erf_test): Likewise.
909 (erfc_test): Likewise.
910 (exp_test): Likewise.
911 (exp_test_tonearest): Likewise.
912 (exp_test_towardzero): Likewise.
913 (exp_test_downward): Likewise.
914 (exp_test_upward): Likewise.
915 (exp10_test): Likewise.
916 (exp2_test): Likewise.
917 (expm1_test): Likewise.
918 (fmod_test): Likewise.
919 (gamma_test): Likewise.
920 (hypot_test): Likewise.
921 (j0_test): Likewise.
922 (j1_test): Likewise.
923 (jn_test): Likewise.
924 (lgamma_test): Likewise.
925 (log_test): Likewise.
926 (log10_test): Likewise.
927 (log1p_test): Likewise.
928 (log2_test): Likewise.
929 (logb_test_downward): Likewise.
930 (pow_test): Likewise.
931 (pow_test_tonearest): Likewise.
932 (pow_test_towardzero): Likewise.
933 (pow_test_downward): Likewise.
934 (pow_test_upward): Likewise.
935 (remainder_test): Likewise.
936 (remquo_test): Likewise.
937 (sin_test): Likewise.
938 (sin_test_tonearest): Likewise.
939 (sin_test_towardzero): Likewise.
940 (sin_test_downward): Likewise.
941 (sin_test_upward): Likewise.
942 (sincos_test): Likewise.
943 (sinh_test): Likewise.
944 (sinh_test_tonearest): Likewise.
945 (sinh_test_towardzero): Likewise.
946 (sinh_test_downward): Likewise.
947 (sinh_test_upward): Likewise.
948 (sqrt_test): Likewise.
949 (tan_test): Likewise.
950 (tan_test_tonearest): Likewise.
951 (tan_test_towardzero): Likewise.
952 (tan_test_downward): Likewise.
953 (tan_test_upward): Likewise.
954 (tanh_test): Likewise.
955 (tgamma_test): Likewise.
956 (y0_test): Likewise.
957 (y1_test): Likewise.
958 (yn_test): Likewise.
959
960 * math/gen-libm-test.pl (adjust_arg): Remove function.
961 (special_function): Remove argument $in_func. Only handle
962 generating output for tables of tests, not inside functions.
963 (parse_args): Likewise.
964 (generate_testfile): Remove variable $in_func. Update call to
965 parse_args.
966 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
967 (MINUS_ZERO_INIT): Rename macro to minus_zero.
968 (PLUS_INFTY_INIT): Rename macro to plus_infty.
969 (MINUS_INFTY_INIT): Rename macro to minus_infty.
970 (QNAN_VALUE_INIT): Rename macro to qnan_value.
971 (MAX_VALUE_INIT): Rename macro to max_value.
972 (MIN_VALUE_INIT): Rename macro to min_value.
973 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
974 (plus_zero): Remove variable.
975 (minus_zero): Likewise.
976 (plus_infty): Likewise.
977 (minus_infty): Likewise.
978 (qnan_value): Likewise.
979 (max_value): Likewise.
980 (min_value): Likewise.
981 (min_subnorm_value): Likewise.
982
9832013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
984
985 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
986 uint64_t or uint32_t usage.
987 * crypt/sha256-block.c: Likewise.
988 * crypt/sha256-crypt.c: Likewise.
989 * crypt/sha256.c: Likewise.
990 * crypt/sha512-block.c: Likewise.
991 * crypt/sha512-crypt.c: Likewise.
992 * crypt/sha512.c: Likewise.
993 * debug/backtrace-tst.c: Likewise.
994 * debug/pcprofiledump.c: Likewise.
995 * elf/cache.c: Likewise.
996 * elf/dl-cache.c: Likewise.
997 * elf/dl-misc.c: Likewise.
998 * elf/dl-profile.c: Likewise.
999 * elf/dl-support.c: Likewise.
1000 * elf/ldconfig.c: Likewise.
1001 * elf/sprof.c: Likewise.
1002 * iconv/dummy-repertoire.c: Likewise.
1003 * iconv/iconv_charmap.c: Likewise.
1004 * iconv/skeleton.c: Likewise.
1005 * iconvdata/8bit-generic.c: Likewise.
1006 * iconvdata/cp737.h: Likewise.
1007 * iconvdata/cp775.h: Likewise.
1008 * iconvdata/ibm1008.h: Likewise.
1009 * iconvdata/ibm1025.h: Likewise.
1010 * iconvdata/ibm1046.h: Likewise.
1011 * iconvdata/ibm1097.h: Likewise.
1012 * iconvdata/ibm1112.h: Likewise.
1013 * iconvdata/ibm1122.h: Likewise.
1014 * iconvdata/ibm1123.h: Likewise.
1015 * iconvdata/ibm1124.h: Likewise.
1016 * iconvdata/ibm1129.h: Likewise.
1017 * iconvdata/ibm1130.h: Likewise.
1018 * iconvdata/ibm1132.h: Likewise.
1019 * iconvdata/ibm1133.h: Likewise.
1020 * iconvdata/ibm1137.h: Likewise.
1021 * iconvdata/ibm1140.h: Likewise.
1022 * iconvdata/ibm1141.h: Likewise.
1023 * iconvdata/ibm1142.h: Likewise.
1024 * iconvdata/ibm1143.h: Likewise.
1025 * iconvdata/ibm1144.h: Likewise.
1026 * iconvdata/ibm1145.h: Likewise.
1027 * iconvdata/ibm1146.h: Likewise.
1028 * iconvdata/ibm1147.h: Likewise.
1029 * iconvdata/ibm1148.h: Likewise.
1030 * iconvdata/ibm1149.h: Likewise.
1031 * iconvdata/ibm1153.h: Likewise.
1032 * iconvdata/ibm1154.h: Likewise.
1033 * iconvdata/ibm1155.h: Likewise.
1034 * iconvdata/ibm1156.h: Likewise.
1035 * iconvdata/ibm1157.h: Likewise.
1036 * iconvdata/ibm1158.h: Likewise.
1037 * iconvdata/ibm1160.h: Likewise.
1038 * iconvdata/ibm1161.h: Likewise.
1039 * iconvdata/ibm1162.h: Likewise.
1040 * iconvdata/ibm1163.h: Likewise.
1041 * iconvdata/ibm1164.h: Likewise.
1042 * iconvdata/ibm1166.h: Likewise.
1043 * iconvdata/ibm1167.h: Likewise.
1044 * iconvdata/ibm12712.h: Likewise.
1045 * iconvdata/ibm1390.h: Likewise.
1046 * iconvdata/ibm1399.h: Likewise.
1047 * iconvdata/ibm16804.h: Likewise.
1048 * iconvdata/ibm4517.h: Likewise.
1049 * iconvdata/ibm4899.h: Likewise.
1050 * iconvdata/ibm4909.h: Likewise.
1051 * iconvdata/ibm4971.h: Likewise.
1052 * iconvdata/ibm5347.h: Likewise.
1053 * iconvdata/ibm803.h: Likewise.
1054 * iconvdata/ibm856.h: Likewise.
1055 * iconvdata/ibm901.h: Likewise.
1056 * iconvdata/ibm902.h: Likewise.
1057 * iconvdata/ibm9030.h: Likewise.
1058 * iconvdata/ibm9066.h: Likewise.
1059 * iconvdata/ibm921.h: Likewise.
1060 * iconvdata/ibm922.h: Likewise.
1061 * iconvdata/ibm9448.h: Likewise.
1062 * iconvdata/isiri-3342.h: Likewise.
1063 * iconvdata/jis0201.h: Likewise.
1064 * include/link.h: Likewise.
1065 * include/netdb.h: Likewise.
1066 * inet/check_native.c: Likewise.
1067 * inet/check_pf.c: Likewise.
1068 * inet/getipv4sourcefilter.c: Likewise.
1069 * inet/getnameinfo.c: Likewise.
1070 * inet/getsourcefilter.c: Likewise.
1071 * inet/htonl.c: Likewise.
1072 * inet/setipv4sourcefilter.c: Likewise.
1073 * inet/setsourcefilter.c: Likewise.
1074 * inet/test-inet6_opt.c: Likewise.
1075 * inet/tst-network.c: Likewise.
1076 * locale/C-collate.c: Likewise.
1077 * locale/C-ctype.c: Likewise.
1078 * locale/C-time.c: Likewise.
1079 * locale/C-translit.h: Likewise.
1080 * locale/loadarchive.c: Likewise.
1081 * locale/programs/3level.h: Likewise.
1082 * locale/programs/charmap.c: Likewise.
1083 * locale/programs/charmap.h: Likewise.
1084 * locale/programs/ld-address.c: Likewise.
1085 * locale/programs/ld-collate.c: Likewise.
1086 * locale/programs/ld-ctype.c: Likewise.
1087 * locale/programs/ld-identification.c: Likewise.
1088 * locale/programs/ld-measurement.c: Likewise.
1089 * locale/programs/ld-messages.c: Likewise.
1090 * locale/programs/ld-monetary.c: Likewise.
1091 * locale/programs/ld-name.c: Likewise.
1092 * locale/programs/ld-numeric.c: Likewise.
1093 * locale/programs/ld-paper.c: Likewise.
1094 * locale/programs/ld-telephone.c: Likewise.
1095 * locale/programs/ld-time.c: Likewise.
1096 * locale/programs/linereader.c: Likewise.
1097 * locale/programs/locale.c: Likewise.
1098 * locale/programs/locarchive.c: Likewise.
1099 * locale/programs/locfile.h: Likewise.
1100 * locale/programs/repertoire.c: Likewise.
1101 * locale/programs/simple-hash.c: Likewise.
1102 * locale/programs/simple-hash.h: Likewise.
1103 * malloc/memusage.c: Likewise.
1104 * malloc/memusagestat.c: Likewise.
1105 * nis/nis_defaults.c: Likewise.
1106 * nis/nis_hash.c: Likewise.
1107 * nis/nis_print.c: Likewise.
1108 * nis/nis_xdr.c: Likewise.
1109 * nscd/connections.c: Likewise.
1110 * nscd/hstcache.c: Likewise.
1111 * nscd/nscd_gethst_r.c: Likewise.
1112 * nscd/nscd_getserv_r.c: Likewise.
1113 * nscd/nscd_helper.c: Likewise.
1114 * nscd/servicescache.c: Likewise.
1115 * nss/makedb.c: Likewise.
1116 * nss/nss_db/db-XXX.c: Likewise.
1117 * nss/nss_db/db-initgroups.c: Likewise.
1118 * nss/nss_db/db-netgrp.c: Likewise.
1119 * nss/nss_files/files-network.c: Likewise.
1120 * nss/nss_files/files-parse.c: Likewise.
1121 * posix/bug-regex5.c: Likewise.
1122 * posix/fnmatch_loop.c: Likewise.
1123 * posix/regcomp.c: Likewise.
1124 * posix/regexec.c: Likewise.
1125 * posix/tst-rfc3484-2.c: Likewise.
1126 * posix/tst-rfc3484-3.c: Likewise.
1127 * posix/tst-rfc3484.c: Likewise.
1128 * resolv/nss_dns/dns-canon.c: Likewise.
1129 * resolv/nss_dns/dns-network.c: Likewise.
1130 * resolv/res_init.c: Likewise.
1131 * resolv/res_mkquery.c: Likewise.
1132 * resolv/tst-aton.c: Likewise.
1133 * stdlib/cxa_atexit.c: Likewise.
1134 * stdlib/cxa_finalize.c: Likewise.
1135 * stdlib/gen-fpioconst.c: Likewise.
1136 * stdlib/strtol_l.c: Likewise.
1137 * string/tst-endian.c: Likewise.
1138 * sunrpc/auth_des.c: Likewise.
1139 * sunrpc/clnt_udp.c: Likewise.
1140 * sunrpc/rtime.c: Likewise.
1141 * sunrpc/svcauth_des.c: Likewise.
1142 * sunrpc/xdr.c: Likewise.
1143 * sunrpc/xdr_intXX_t.c: Likewise.
1144 * sunrpc/xdr_rec.c: Likewise.
1145 * sysdeps/generic/ldconfig.h: Likewise.
1146 * sysdeps/generic/ldsodefs.h: Likewise.
1147 * sysdeps/generic/memusage.h: Likewise.
1148 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1149 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1150 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1151 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1152 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1154 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1155 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1156 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1157 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1158 * sysdeps/posix/getaddrinfo.c: Likewise.
1159 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1160 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1161 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1162 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1163 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1164 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1165 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1166 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1167 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1168 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1169 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1170 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1171 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1172 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1173 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1174 * sysdeps/x86_64/dl-tls.h: Likewise.
1175 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1176 * time/alt_digit.c: Likewise.
1177 * time/era.c: Likewise.
1178 * wcsmbs/tst-c16c32-1.c: Likewise.
1179
11802013-05-16 Joseph Myers <joseph@codesourcery.com>
1181
1182 * math/libm-test.inc (struct test_sincos_data): New type.
1183 (RUN_TEST_LOOP_sincos): New macro.
1184 (sincos_test_data): New variable.
1185 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1186
11872013-05-16 Richard Henderson <rth@redhat.com>
1188
1189 * math/atest-exp2.c (LIMB64): New macro.
1190 (CONSTSZ): New macro.
1191 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1192 (hexdig): Move ...
1193 (print_mpn_fp): ... to function scope.
1194 (read_mpn_hex): Remove.
1195 (get_log2): Remove.
1196 (exp2_mpn): Use mp_log2.
1197 (main): Use mp_exp1.
1198
11992013-05-16 Joseph Myers <joseph@codesourcery.com>
1200
1201 * math/libm-test.inc: Remove comment about not testing "inexact"
1202 exceptions.
1203 (INEXACT_EXCEPTION): New macro.
1204 (NO_INEXACT_EXCEPTION): Likewise.
1205 (INVALID_EXCEPTION_OK): Update value.
1206 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1207 (OVERFLOW_EXCEPTION_OK): Likewise.
1208 (UNDERFLOW_EXCEPTION_OK): Likewise.
1209 (IGNORE_ZERO_INF_SIGN): Likewise.
1210 (ERRNO_UNCHANGED): Likewise.
1211 (ERRNO_EDOM): Likewise.
1212 (ERRNO_ERANGE): Likewise.
1213 (test_exceptions): Handle testing "inexact" exceptions.
1214 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1215 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1216 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1217 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1218 INEXACT_EXCEPTION.
1219 (rint_towardzero_test_data): Likewise.
1220 (rint_downward_test_data): Likewise.
1221 (rint_upward_test_data): Likewise.
1222
1223 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1224 with OVERFLOW_EXCEPTION.
1225 (exp10_test_data): Likewise.
1226 (exp2_test_data): Likewise.
1227 (expm1_test_data): Likewise.
1228 (lgamma_test_data): Likewise.
1229 (pow_test_data): Likewise.
1230 (tgamma_test_data): Likewise.
1231 (yn_test_data): Remove duplicate test of overflow.
1232
1233 * math/libm-test.inc (struct test_cc_c_data): New type.
1234 (RUN_TEST_LOOP_cc_c): New macro.
1235 (cpow_test_data): New variable.
1236 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1237
1238 * math/libm-test.inc (struct test_f_L_data): New type.
1239 (RUN_TEST_LOOP_f_L): New macro.
1240 (llrint_test_data): New variable.
1241 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1242 (llrint_tonearest_test_data): New variable.
1243 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1244 (llrint_towardzero_test_data): New variable.
1245 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1246 (llrint_downward_test_data): New variable.
1247 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1248 (llrint_upward_test_data): New variable.
1249 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1250 (llround_test_data): New variable.
1251 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1252
12532013-05-13 Peter Collingbourne <pcc@google.com>
1254
1255 * math/atest-exp2.c (get_log2): Remove const attribute.
1256
12572013-05-15 Joseph Myers <joseph@codesourcery.com>
1258
1259 * math/libm-test.inc (struct test_f_l_data): New type.
1260 (RUN_TEST_LOOP_f_l): New macro.
1261 (lrint_test_data): New variable.
1262 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1263 (lrint_tonearest_test_data): New variable.
1264 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1265 (lrint_towardzero_test_data): New variable.
1266 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1267 (lrint_downward_test_data): New variable.
1268 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1269 (lrint_upward_test_data): New variable.
1270 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1271 (lround_test_data): New variable.
1272 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1273
12742013-05-15 Peter Collingbourne <pcc@google.com>
1275
1276 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1277 (EXTRACT_WORDS64) Use where appropriate.
1278 (INSERT_WORDS64) Likewise.
1279
1280 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1281 constraints with x constraints.
1282 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1283
1284 * malloc/obstack.c (_obstack_compat): Add initializer.
1285
12862013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1287
1288 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1289 si_trapno and add si_addr_lsb to _sifields.sigfault.
1290 (si_trapno): Remove macro.
1291 (si_addr_lsb): Define new macro.
1292 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1293
12942013-05-15 Joseph Myers <joseph@codesourcery.com>
1295
1296 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1297 instead of TEST_f_l.
1298 (llrint_test_tonearest): Likewise.
1299 (llrint_test_towardzero): Likewise.
1300 (llrint_test_downward): Likewise.
1301 (llrint_test_upward): Likewise.
1302 (llround_test): Likewise.
1303
1304 * math/libm-test.inc (struct test_f_i_data): Add comment.
1305 (RUN_TEST_LOOP_f_b): New macro.
1306 (RUN_TEST_LOOP_f_b_tg): Likewise.
1307 (finite_test_data): New variable.
1308 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1309 (isfinite_test_data): New variable.
1310 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1311 (isinf_test_data): New variable.
1312 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1313 (isnan_test_data): New variable.
1314 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1315 (isnormal_test_data): New variable.
1316 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1317 (issignaling_test_data): New variable.
1318 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1319 (signbit_test_data): New variable.
1320 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1321
1322 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1323 with INVALID_EXCEPTION.
1324 (acosh_test_data): Likewise.
1325 (asin_test_data): Likewise.
1326 (atanh_test_data): Likewise.
1327 (fmod_test_data): Likewise.
1328 (log_test_data): Likewise.
1329 (log10_test_data): Likewise.
1330 (log2_test_data): Likewise.
1331 (pow_test_data): Likewise.
1332 (sqrt_test_data): Likewise.
1333 (y0_test_data): Likewise.
1334 (y1_test_data): Likewise.
1335 (yn_test_data): Likewise.
1336
1337 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1338 function contents.
1339
1340 * math/libm-test.inc (struct test_ff_i_data): New type.
1341 (RUN_TEST_LOOP_ff_i_tg): New macro.
1342 (isgreater_test_data): New variable.
1343 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1344 (isgreaterequal_test_data): New variable.
1345 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1346 (isless_test_data): New variable.
1347 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1348 (islessequal_test_data): New variable.
1349 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1350 (islessgreater_test_data): New variable.
1351 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1352 (isunordered_test_data): New variable.
1353 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1354
13552013-05-14 David S. Miller <davem@davemloft.net>
1356
1357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1358
13592013-05-14 Joseph Myers <joseph@codesourcery.com>
1360
1361 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1362
1363 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1364 extra_test to int.
1365 (struct test_f_i_data): Change type of max_ulp to int.
1366
1367 * math/libm-test.inc (test_ffI_f1_data): New type.
1368 (RUN_TEST_LOOP_ffI_f1): New macro.
1369 (remquo_test_data): New variable.
1370 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1371
1372 * setjmp/tst-setjmp-fp.c: New file.
1373 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1374 (link-libm): New variable.
1375 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1376
1377 * math/libm-test.inc (struct test_f_i_data): New type.
1378 (RUN_TEST_LOOP_f_i): New macro.
1379 (RUN_TEST_LOOP_f_i_tg): Likewise.
1380 (fpclassify_test_data): New variable.
1381 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1382 (ilogb_test_data): New variable.
1383 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1384
1385 * math/libm-test.inc (scalbln_test): Correct function name in END
1386 call.
1387
1388 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1389 (RUN_TEST_LOOP_fI_f1): New macro.
1390 (frexp_test_data): New variable.
1391 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1392
1393 * math/libm-test.inc (struct test_fF_f1_data): New type.
1394 (RUN_TEST_LOOP_fF_f1): New macro.
1395 (modf_test_data): New variable.
1396 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1397
1398 * math/libm-test.inc (struct test_f_f1_data): New type.
1399 (RUN_TEST_LOOP_f_f1): New macro.
1400 (gamma_test_data): New variable.
1401 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1402 (lgamma_test_data): New variable.
1403 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1404
14052013-05-13 Carlos O'Donell <carlos@redhat.com>
1406
1407 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1408 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1409 (main): Comment "tls" pseudo-hwcap.
1410
14112013-05-13 Joseph Myers <joseph@codesourcery.com>
1412
1413 * math/libm-test.inc (struct test_fl_f_data): New type.
1414 (RUN_TEST_LOOP_fl_f): New variable.
1415 (scalbln_test_data): New variable.
1416 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1417
1418 * math/libm-test.inc (struct test_fi_f_data): New type.
1419 (RUN_TEST_LOOP_fi_f): New macro.
1420 (ldexp_test_data): New variable.
1421 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1422 (scalbn_test_data): New variable.
1423 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1424
1425 * math/libm-test.inc (struct test_c_f_data): New type.
1426 (RUN_TEST_LOOP_c_f): New macro.
1427 (cabs_test_data): New variable.
1428 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1429 (carg_test_data): New variable.
1430 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1431 (cimag_test_data): New variable.
1432 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1433 (creal_test_data): New variable.
1434 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1435
1436 * math/libm-test.inc (struct test_if_f_data): New type.
1437 (RUN_TEST_LOOP_if_f): New macro.
1438 (jn_test_data): New variable.
1439 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1440 (yn_test_data): New variable.
1441 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1442
1443 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1444
14452013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1446
1447 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1448 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1449
14502013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1451
1452 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1453 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1454 (bench-deps): Add bench-timing.h.
1455 * benchtests-bench-skeleton.c: Include bench-timing.h.
1456 (main): Use TIMING_* macros instead of clock_gettime.
1457 * benchtests/bench-timing.h: New file.
1458
1459 [BZ #14582]
1460 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1461 Renamed from _LIB_VERSION.
1462 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1463
14642013-05-12 Joseph Myers <joseph@codesourcery.com>
1465
1466 * math/libm-test.inc (struct test_fff_f_data): New type.
1467 (RUN_TEST_LOOP_fff_f): New macro.
1468 (fma_test_data): New variable.
1469 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1470 (fma_towardzero_test_data): New variable.
1471 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1472 (fma_downward_test_data): New variable.
1473 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1474 (fma_upward_test_data): New variable.
1475 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1476
1477 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1478 (struct test_c_c_data): New type.
1479 (RUN_TEST_LOOP_c_c): New macro.
1480 (cacos_test_data): New variable.
1481 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1482 (cacosh_test_data): New variable.
1483 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1484 (casin_test_data): New variable.
1485 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1486 (casinh_test_data): New variable.
1487 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1488 (catan_test_data): New variable.
1489 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1490 (catanh_test_data): New variable.
1491 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1492 (ccos_test_data): New variable.
1493 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1494 (ccosh_test_data): New variable.
1495 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1496 (cexp_test_data): New variable.
1497 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1498 (clog_test_data): New variable.
1499 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1500 (clog10_test_data): New variable.
1501 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1502 (conj_test_data): New variable.
1503 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1504 (cproj_test_data): New variable.
1505 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1506 (csin_test_data): New variable.
1507 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1508 (csinh_test_data): New variable.
1509 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1510 (csqrt_test_data): New variable.
1511 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1512 (ctan_test_data): New variable.
1513 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1514 (ctan_tonearest_test_data): New variable.
1515 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1516 (ctan_towardzero_test_data): New variable.
1517 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1518 (ctan_downward_test_data): New variable.
1519 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1520 (ctan_upward_test_data): New variable.
1521 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1522 (ctanh_test_data): New variable.
1523 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1524 (ctanh_tonearest_test_data): New variable.
1525 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1526 (ctanh_towardzero_test_data): New variable.
1527 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1528 (ctanh_downward_test_data): New variable.
1529 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1530 (ctanh_upward_test_data): New variable.
1531 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1532 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1533 of BUILD_COMPLEX.
1534
1535 * math/libm-test.inc (struct test_ff_f_data): New type.
1536 (struct test_ff_f_data_nexttoward): Likewise.
1537 (RUN_TEST_LOOP_2_f): New macro.
1538 (RUN_TEST_LOOP_ff_f): Likewise.
1539 (atan2_test_data): New variable.
1540 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1541 (copysign_test_data): New variable.
1542 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1543 (fdim_test_data): New variable.
1544 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1545 (fmax_test_data): New variable.
1546 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1547 (fmin_test_data): New variable.
1548 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1549 (fmod_test_data): New variable.
1550 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1551 (hypot_test_data): New variable.
1552 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1553 (nextafter_test_data): New variable.
1554 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1555 (nexttoward_test_data): New variable.
1556 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1557 (pow_test_data): New variable.
1558 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1559 (pow_tonearest_test_data): New variable.
1560 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1561 (pow_towardzero_test_data): New variable.
1562 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1563 (pow_downward_test_data): New variable.
1564 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1565 (pow_upward_test_data): New variable.
1566 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1567 (remainder_test_data): New variable.
1568 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1569 (scalb_test_data): New variable.
1570 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1571 * sysdeps/i386/fpu/libm-test-ulps: Update.
1572
15732013-05-11 Joseph Myers <joseph@codesourcery.com>
1574
1575 * math/libm-test.inc (fma_test): Use max_value instead of local
1576 variable fltmax.
1577 (nextafter_test): Likewise.
1578
1579 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1580 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1581 (acos_downward_test_data): New variable.
1582 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1583 (acos_upward_test_data): New variable.
1584 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1585 (acosh_test_data): New variable.
1586 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1587 (asin_test_data): New variable.
1588 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1589 (asin_tonearest_test_data): New variable.
1590 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1591 (asin_towardzero_test_data): New variable.
1592 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1593 (asin_downward_test_data): New variable.
1594 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1595 (asin_upward_test_data): New variable.
1596 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1597 (asinh_test_data): New variable.
1598 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1599 (atan_test_data): New variable.
1600 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1601 (atanh_test_data): New variable.
1602 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1603 (cbrt_test_data): New variable.
1604 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1605 (ceil_test_data): New variable.
1606 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1607 (cos_test_data): New variable.
1608 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1609 (cos_tonearest_test_data): New variable.
1610 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1611 (cos_towardzero_test_data): New variable.
1612 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1613 (cos_downward_test_data): New variable.
1614 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1615 (cos_upward_test_data): New variable.
1616 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1617 (cosh_test_data): New variable.
1618 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1619 (cosh_tonearest_test_data): New variable.
1620 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1621 (cosh_towardzero_test_data): New variable.
1622 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1623 (cosh_downward_test_data): New variable.
1624 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1625 (cosh_upward_test_data): New variable.
1626 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1627 (erf_test_data): New variable.
1628 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1629 (erfc_test_data): New variable.
1630 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1631 (exp_test_data): New variable.
1632 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1633 (exp_tonearest_test_data): New variable.
1634 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1635 (exp_towardzero_test_data): New variable.
1636 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1637 (exp_downward_test_data): New variable.
1638 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1639 (exp_upward_test_data): New variable.
1640 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1641 (exp10_test_data): New variable.
1642 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1643 (exp2_test_data): New variable.
1644 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1645 (expm1_test_data): New variable.
1646 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1647 (fabs_test_data): New variable.
1648 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1649 (floor_test_data): New variable.
1650 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1651 (j0_test_data): New variable.
1652 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1653 (j1_test_data): New variable.
1654 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1655 (log_test_data): New variable.
1656 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1657 (log10_test_data): New variable.
1658 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1659 (log1p_test_data): New variable.
1660 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1661 (log2_test_data): New variable.
1662 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1663 (logb_test_data): New variable.
1664 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1665 (logb_downward_test_data): New variable.
1666 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1667 (nearbyint_test_data): New variable.
1668 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1669 (rint_test_data): New variable.
1670 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1671 (rint_tonearest_test_data): New variable.
1672 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1673 (rint_towardzero_test_data): New variable.
1674 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1675 (rint_downward_test_data): New variable.
1676 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1677 (rint_upward_test_data): New variable.
1678 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1679 (round_test_data): New variable.
1680 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1681 (sin_test_data): New variable.
1682 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1683 (sin_tonearest_test_data): New variable.
1684 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1685 (sin_towardzero_test_data): New variable.
1686 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1687 (sin_downward_test_data): New variable.
1688 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1689 (sin_upward_test_data): New variable.
1690 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1691 (sinh_test_data): New variable.
1692 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1693 (sinh_tonearest_test_data): New variable.
1694 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1695 (sinh_towardzero_test_data): New variable.
1696 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1697 (sinh_downward_test_data): New variable.
1698 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1699 (sinh_upward_test_data): New variable.
1700 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1701 (sqrt_test_data): New variable.
1702 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1703 (tan_test_data): New variable.
1704 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1705 (tan_tonearest_test_data): New variable.
1706 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1707 (tan_towardzero_test_data): New variable.
1708 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1709 (tan_downward_test_data): New variable.
1710 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1711 (tan_upward_test_data): New variable.
1712 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1713 (tanh_test_data): New variable.
1714 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1715 (tgamma_test_data): New variable.
1716 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1717 (trunc_test_data): New variable.
1718 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1719 (y0_test_data): New variable.
1720 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1721 (y1_test_data): New variable.
1722 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1723 (significand_test_data): New variable.
1724 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1725
17262013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1727
1728 [BZ #12387]
1729 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1730
17312013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1732
1733 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1734
17352013-05-10 Andreas Jaeger <aj@suse.de>
1736
1737 [BZ #15448]
1738 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1739 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1740
17412013-05-10 Joseph Myers <joseph@codesourcery.com>
1742
1743 * math/gen-libm-test.pl (adjust_arg): New function.
1744 (special_functions): Handle generating output in both functions
1745 and arrays.
1746 (parse_args): Likewise.
1747 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1748 $in_func argument to parse_args.
1749 * math/libm-test.inc (struct test_f_f_data): New type.
1750 (IF_ROUND_INIT_): New macro.
1751 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1752 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1753 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1754 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1755 (ROUND_RESTORE_): Likewise.
1756 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1757 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1758 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1759 (ROUND_RESTORE_FE_UPWARD): Likewise.
1760 (RUN_TEST_LOOP_f_f): New macro.
1761 (acos_test_data): New variable.
1762 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1763 (acos_tonearest_test_data): New variable.
1764 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1765
17662013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1767
1768 * benchtests/bench-skeleton.c (startup): Fix coding style.
1769
17702013-05-10 Joseph Myers <joseph@codesourcery.com>
1771
1772 [BZ #6809]
1773 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1774 negative infinity argument.
1775 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1776 negative infinity argument.
1777 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1778 negative infinity argument.
1779 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1780 domain errors.
1781
17822013-05-10 Florian Weimer <fweimer@redhat.com>
1783
1784 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1785 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1786 * iconv/iconv_prog.c (main): Likewise.
1787 * locale/programs/charmap-dir.c (charmap_readdir)
1788 (fopen_uncompressed): Likewise.
1789 * locale/programs/locfile.c (siblings_uncached)
1790 (write_locale_data): Use lstat64 instead of lstat.
1791 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1792 stat.
1793
17942013-05-10 Andreas Jaeger <aj@suse.de>
1795
1796 [BZ #15395]
1797 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1798 localization.
1799 Include <locale.h>.
1800
18012013-05-09 Carlos O'Donell <carlos@redhat.com>
1802
1803 * elf/dl-close.c (_dl_close_worker): Add comments.
1804
18052013-05-09 Joseph Myers <joseph@codesourcery.com>
1806
1807 [BZ #15359]
1808 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1809 high part of pi/2.
1810 (__ieee754_rem_pio2l): Update comments.
1811
1812 [BZ #15429]
1813 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1814 high part of pi/2.
1815 (__ieee754_rem_pio2l): Update comments.
1816
1817 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1818 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1819
1820 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1821 M_PI_4l.
1822
1823 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1824 (M_PI_34_LOG10El): Likewise.
1825 (M_PI2_LOG10El): Likewise.
1826 (M_PI4_LOG10El): Likewise.
1827 (M_PI_LOG10El): Likewise.
1828
18292013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1830
1831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1832
18332013-05-08 Joseph Myers <joseph@codesourcery.com>
1834
1835 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1836 (MINUS_ZERO_INIT): Likewise.
1837 (PLUS_INFTY_INIT): Likewise.
1838 (MINUS_INFTY_INIT): Likewise.
1839 (QNAN_VALUE_INIT): Likewise.
1840 (MAX_VALUE_INIT): Likewise.
1841 (MIN_VALUE_INIT): Likewise.
1842 (MIN_SUBNORM_VALUE_INIT): Likewise.
1843 (plus_zero): Initialize with PLUS_ZERO_INIT.
1844 (minus_zero): Initialize with MINUS_ZERO_INIT.
1845 (plus_infty): Initialize with PLUS_INFTY_INIT.
1846 (minus_infty): Initialize with MINUS_INFTY_INIT.
1847 (qnan_value): Initialize with QNAN_VALUE_INIT.
1848 (max_value): Initialize with MAX_VALUE_INIT.
1849 (min_value): Initialize with MIN_VALUE_INIT.
1850 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1851
1852 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1853 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1854 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1855 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1856
1857 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1858 (RUN_TEST_2_f): Likewise.
1859 (RUN_TEST_ff_f): Likewise.
1860 (RUN_TEST_fi_f): Likewise.
1861 (RUN_TEST_fl_f): Likewise.
1862 (RUN_TEST_fff_f): Likewise.
1863 (RUN_TEST_c_f): Likewise.
1864 (RUN_TEST_f_f1): Likewise.
1865 (RUN_TEST_fF_f1): Likewise.
1866 (RUN_TEST_fI_f1): Likewise.
1867 (RUN_TEST_ffI_f1): Likewise.
1868 (RUN_TEST_c_c): Likewise.
1869 (RUN_TEST_cc_c): Likewise.
1870 (RUN_TEST_f_i): Likewise.
1871 (RUN_TEST_f_i_tg): Likewise.
1872 (RUN_TEST_ff_i_tg): Likewise.
1873 (RUN_TEST_f_b): Likewise.
1874 (RUN_TEST_f_b_tg): Likewise.
1875 (RUN_TEST_f_l): Likewise.
1876 (RUN_TEST_f_L): Likewise.
1877 (RUN_TEST_sincos): Likewise.
1878 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1879 whether to show exceptions. Do not include ");\n" in return
1880 value.
1881 (special_functions): Output call to RUN_TEST_sincos instead of
1882 check_float calls. Update calls to new_test.
1883 (parse_args): Output call to single RUN_TEST_* macro instead of
1884 check_* calls and other assignments. Update calls to new_test.
1885
1886 [BZ #2546]
1887 [BZ #2560]
1888 [BZ #5159]
1889 [BZ #15426]
1890 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1891 input to result for tgamma overflow.
1892 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1893 (gamma_coeff): New variable.
1894 (NCOEFF): New macro.
1895 (gamma_positive): New function.
1896 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1897 underflow here. Use gamma_positive instead of exp (lgamma) for
1898 other arguments.
1899 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1900 (gamma_coeff): New variable.
1901 (NCOEFF): New macro.
1902 (gammaf_positive): New function.
1903 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1904 underflow here. Use gamma_positive instead of exp (lgamma) for
1905 other arguments.
1906 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1907 (gamma_coeff): New variable.
1908 (NCOEFF): New macro.
1909 (gammal_positive): New function.
1910 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1911 underflow here. Use gamma_positive instead of exp (lgamma) for
1912 other arguments.
1913 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1914 (gamma_coeff): New variable.
1915 (NCOEFF): New macro.
1916 (gammal_positive): New function.
1917 (__ieee754_gammal_r): Handle positive infinity, overflow and
1918 underflow here. Handle NaN the same as positive infinity. Remove
1919 check x < 0xffffffff for negative integers. Use gamma_positive
1920 instead of exp (lgamma) for other arguments.
1921 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1922 (gamma_coeff): New variable.
1923 (NCOEFF): New macro.
1924 (gammal_positive): New function.
1925 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1926 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1929 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1930 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1931 * sysdeps/generic/math_private.h (__gamma_productf): New
1932 prototype.
1933 (__gamma_product): Likewise.
1934 (__gamma_productl): Likewise.
1935 * math/Makefile (libm-calls): Add gamma_product.
1936 * math/libm-test.inc (tgamma_test): Add more tests.
1937 * sysdeps/i386/fpu/libm-test-ulps: Update.
1938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1939
19402013-05-08 Ondřej Bílka <neleai@seznam.cz>
1941
1942 * benchtests/bench-skeleton.c (main): Preheat CPU.
1943
19442013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1945
1946 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1947
19482013-05-07 Roland McGrath <roland@hack.frob.com>
1949
1950 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1951 and _dl_skip_args_internal.
1952
19532013-05-07 Carlos O'Donell <carlos@redhat.com>
1954
1955 * manual/message.texi (Message Translation): Talk about users.
1956 Message to key mapping impacts design.
1957
19582013-05-06 Roland McGrath <roland@hack.frob.com>
1959
1960 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1961
1962 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1963
1964 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
1965 * sysdeps/wordsize-64/glob64.c: ... here.
1966
1967 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
1968 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
1969 New macros.
1970
1971 * debug/getlogin_r_chk.c: Moved to ...
1972 * login/getlogin_r_chk.c: ... here.
1973 * debug/Makefile (routines): Move getlogin_r_chk to ...
1974 * login/Makefile (routines): ... here.
1975 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
1976 * login/Versions (libc: GLIBC_2.4): ... here.
1977
1978 * io/poll.c (__poll): Renamed from poll.
1979 Add libc_hidden_def.
1980 (poll): Define as weak alias.
1981
1982 * debug/ptsname_r_chk.c: Moved to ...
1983 * login/ptsname_r_chk.c: ... here.
1984 * debug/Makefile (routines): Move ptsname_r_chk to ...
1985 * login/Makefile (routines): ... here.
1986 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
1987 * login/Versions (libc: GLIBC_2.4): ... here.
1988
1989 * posix/getlogin.c: Moved to ...
1990 * login/getlogin.c: ... here.
1991 * posix/getlogin_r.c: Moved to ...
1992 * login/getlogin_r.c: ... here.
1993 * posix/getlogin_r.c: Moved to ...
1994 * login/getlogin_r.c: ... here.
1995 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
1996 * login/Makefile (routines): ... here.
1997 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
1998 * login/Versions (libc: GLIBC_2.0): ... here.
1999
2000 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2001 (setrlimit): Define as weak alias.
2002
2003 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2004 Call __ names for open, ftruncate, and close.
2005 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2006 (truncate): Define as weak alias.
2007
20082013-05-06 Joseph Myers <joseph@codesourcery.com>
2009
2010 * math/gen-libm-test.pl (parse_args): Initialize x before each
2011 test of frexp, modf and remquo.
2012
2013 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2014 test signgam value.
2015
20162013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2017
2018 [BZ #15418]
2019 [BZ #15419]
2020 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2021 internal tests.
2022 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2023
20242013-05-06 Roland McGrath <roland@hack.frob.com>
2025
2026 * elf/dl-writev.h: New file.
2027 * elf/dl-misc.c: Include it.
2028 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2029 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2030
20312013-05-04 Joseph Myers <joseph@codesourcery.com>
2032
2033 * math/libm-test.inc (noXFails): Remove variable.
2034 (noXPasses): Likewise.
2035 (BUILD_COMPLEX_INT): Remove macro.
2036 (print_screen): Remove xfail argument.
2037 (print_screen_max_error): Likewise.
2038 (update_stats): Likewise.
2039 (print_max_error): Likewise. Update calls to other affected
2040 functions.
2041 (print_complex_max_error): Likewise.
2042 (test_single_exception): Update calls to print_screen.
2043 (test_single_errno): Likewise.
2044 (check_float_internal): Remove xfail argument. Update calls to
2045 other affected functions.
2046 (check_float): Likewise.
2047 (check_complex): Likewise.
2048 (check_int): Likewise.
2049 (check_long): Likewise.
2050 (check_bool): Likewise.
2051 (check_longlong): Likewise.
2052 (main): Don't print noXFails and noXPasses.
2053 * math/gen-libm-test.pl (top level): Don't mention expected
2054 failure handling in comment.
2055 (new_test): Don't handle expected failures.
2056 (parse_args): Don't mention expected failure handling in comment.
2057 (generate_testfile): Don't handle expected failures.
2058 (parse_ulps): Likewise.
2059 (print_ulps_file): Likewise.
2060 (get_failure): Remove function.
2061 (output_test): Don't handle expected failures.
2062 * make/README.libm-test: Don't mention expected failure handling.
2063
2064 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2065 (minus_zero): Likewise.
2066 (plus_infty): Likewise.
2067 (minus_infty): Likewise.
2068 (qnan_value): Likewise.
2069 (max_value): Likewise.
2070 (min_value): Likewise.
2071 (min_subnorm_value): Likewise.
2072 (initialize): Do not initialize those variables dynamically.
2073
20742013-05-03 Roland McGrath <roland@hack.frob.com>
2075
2076 * io/open.c (__open_2): Moved to ...
2077 * io/open_2.c: ... this new file.
2078 * io/open64.c (__open64_2): Moved to ...
2079 * io/open64_2.c: ... this new file.
2080 * io/openat.c (__openat_2): Moved to ...
2081 * io/openat_2.c: ... this new file.
2082 * io/openat64.c (__openat64_2): Moved to ...
2083 * io/openat64_2.c: ... this new file.
2084 * io/Makefile (routines): Add them.
2085 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2086 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2087 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2088 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2089 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2090 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2091 (__openat64): Add hidden_ver.
2092 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2093 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2094
2095 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2096 Separately conditionalize setting of GLRO(dl_sysinfo) so
2097 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2098 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2099
21002013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2101
2102 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2103 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2104 definition.
2105 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2106 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2107 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2108 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2109 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2110
21112013-05-03 Joseph Myers <joseph@codesourcery.com>
2112
2113 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2114 test signgam value.
2115
2116 * math/libm-test.inc (hypot_test): Do not use
2117 IGNORE_ZERO_INF_SIGN.
2118
21192013-05-03 Andreas Jaeger <aj@suse.de>
2120
2121 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2122 Linux 3.9.
2123 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2124 (PF_MAX): Adjust for VSOCK change.
2125
21262013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2127
2128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2129
21302013-05-02 Carlos O'Donell <carlos@redhat.com>
2131
2132 [BZ #15264]
2133 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2134 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2135 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2136
21372013-05-02 David S. Miller <davem@davemloft.net>
2138
2139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2140
21412013-05-01 Ondřej Bílka <neleai@seznam.cz>
2142
2143 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2144
21452013-05-01 Roland McGrath <roland@hack.frob.com>
2146
2147 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2148
21492013-05-01 Richard Smith <richard@metafoo.co.uk>
2150
2151 [BZ #14952]
2152 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2153 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2154 Use __attribute__ ((__gnu_inline__)).
2155 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2156 Don't use __attribute__ ((__gnu_inline__)).
2157
21582013-05-01 Joseph Myers <joseph@codesourcery.com>
2159
2160 [BZ #15423]
2161 * math/s_catan.c (__catan): Handle small real or imaginary part of
2162 input specially to avoid spurious underflow.
2163 * math/s_catanf.c (__catanf): Likewise.
2164 * math/s_catanh.c (__catanh): Likewise.
2165 * math/s_catanhf.c (__catanhf): Likewise.
2166 * math/s_catanhl.c (__catanhl): Likewise.
2167 * math/s_catanl.c (__catanl): Likewise.
2168 * math/libm-test.inc (catan_test): Add more tests.
2169 (catanh_test): Likewise.
2170 * sysdeps/i386/fpu/libm-test-ulps: Update.
2171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2172
21732013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2174
2175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2176
21772013-04-30 Joseph Myers <joseph@codesourcery.com>
2178
2179 [BZ #15416]
2180 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2181 accurately for denominator in atan2.
2182 * math/s_catanf.c (__catanf): Likewise.
2183 * math/s_catanh.c (__catanh): Likewise.
2184 * math/s_catanhf.c (__catanhf): Likewise.
2185 * math/s_catanhl.c (__catanhl): Likewise.
2186 * math/s_catanl.c (__catanl): Likewise.
2187 * math/libm-test.inc (catan_test): Add more tests.
2188 (catanh_test): Likewise.
2189 * sysdeps/i386/fpu/libm-test-ulps: Update.
2190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191
21922013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2193
2194 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2195
2196 * benchtests/Makefile (bench): Remove slow benchmarks.
2197 * benchtests/atan-inputs: Add slow benchmark inputs.
2198 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2199 (BENCH_FUNC): Accept variant offset.
2200 (VARIANT): Define.
2201 * benchtests/bench-skeleton.c (main): Run benchmark for each
2202 variant.
2203 * benchtests/cos-inputs: Add slow benchmark inputs.
2204 * benchtests/exp-inputs: Likewise.
2205 * benchtests/pow-inputs: Likewise.
2206 * benchtests/sin-inputs: Likewise.
2207 * benchtests/slowatan-inputs: Remove.
2208 * benchtests/slowatan.c: Remove.
2209 * benchtests/slowcos-inputs: Remove.
2210 * benchtests/slowcos.c: Remove.
2211 * benchtests/slowexp-inputs: Remove.
2212 * benchtests/slowexp.c: Remove.
2213 * benchtests/slowpow-inputs: Remove.
2214 * benchtests/slowpow.c: Remove.
2215 * benchtests/slowsin-inputs: Remove.
2216 * benchtests/slowsin.c: Remove.
2217 * benchtests/slowtan-inputs: Remove.
2218 * benchtests/slowtan.c: Remove.
2219 * benchtests/tan-inputs: Add slow benchmark inputs.
2220 * scripts/bench.pl: Parse comments and directives.
2221
2222 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2223 in CPPFLAGS.
2224 ($(objpfx)bench-%.c): Remove *-ITER.
2225 * benchtests/bench-modf.c: Remove definition of ITER.
2226 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2227 (main): Loop for DURATION seconds instead of fixed number of
2228 iterations.
2229 * scripts/bench.pl: Don't expect iterations in parameters.
2230
22312013-04-29 Roland McGrath <roland@hack.frob.com>
2232
2233 * io/fchdir.c (__fchdir): Renamed from fchdir.
2234 (fchdir): Define as weak alias.
2235
22362013-04-29 Joseph Myers <joseph@codesourcery.com>
2237
2238 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2239 (ERRNO_EDOM): Likewise.
2240 (ERRNO_ERANGE): Likewise.
2241 (noErrnoTests): New variable.
2242 (init_max_error): Set errno to 0.
2243 (test_single_errno): New function.
2244 (test_errno): Likewise.
2245 (check_float_internal): Call test_errno. Set errno to 0.
2246 (check_complex): Refer to errno tests in comment.
2247 (check_int): Call test_errno. Set errno to 0.
2248 (check_long): Likewise.
2249 (check_bool): Likewise.
2250 (check_longlong): Likewise.
2251 (cos_test): Use ERRNO_* flags for errno tests instead of
2252 check_int.
2253 (expm1_test): Likewise.
2254 (fmod_test): Likewise.
2255 (ilogb_test): Likewise.
2256 (lgamma_test): Likewise.
2257 (pow_test): Likewise.
2258 (remainder_test): Likewise.
2259 (sin_test): Likewise.
2260 (tan_test): Likewise.
2261 (yn_test): Likewise.
2262 (initialize): Set errno to 0.
2263 (main): Print number of errno tests.
2264 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2265
22662013-04-29 Andreas Jaeger <aj@suse.de>
2267
2268 [BZ #15084]
2269 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2270 and RES_USEVC.
2271
2272 [BZ #15085]
2273 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2274 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2275 unimplemented.
2276
2277 [BZ #15380]
2278 * stdlib/random.c (__initstate): Return NULL if
2279 __initstate fails.
2280
2281 [BZ #15086]
2282 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2283 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2284 RES_SNGLKUPREOP.
2285
22862013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2287
2288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2289
22902013-04-29 Joseph Myers <joseph@codesourcery.com>
2291
2292 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2293 of individual tests.
2294 (casin_test): Likewise.
2295 (casinh_test): Likewise.
2296
22972013-04-27 Joseph Myers <joseph@codesourcery.com>
2298
2299 [BZ #15409]
2300 * math/s_catan.c (__catan): Handle arguments with large real or
2301 imaginary part separately without squaring.
2302 * math/s_catanf.c (__catanf): Likewise.
2303 * math/s_catanh.c (__catanh): Likewise.
2304 * math/s_catanhf.c (__catanhf): Likewise.
2305 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2306 and redefine.
2307 (__catanhl): Handle arguments with large real or imaginary part
2308 separately without squaring.
2309 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2310 and redefine.
2311 (__catanl): Handle arguments with large real or imaginary part
2312 separately without squaring.
2313 * math/libm-test.inc (catan_test): Add more tests.
2314 (catanh_test): Likewise.
2315 * sysdeps/i386/fpu/libm-test-ulps: Update.
2316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2317
23182013-04-27 Andreas Jaeger <aj@suse.de>
2319
2320 [BZ #15007]
2321 * stdlib/stdlib.h: Update guards for qecvt.
2322 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2323 <stdlib.h>.
2324
23252013-04-27 Allan McRae <allan@archlinux.org>
2326
2327 * sysdeps/i386/fpu/libm-test-ulps: Update.
2328
23292013-04-26 Joseph Myers <joseph@codesourcery.com>
2330
2331 [BZ #15406]
2332 * math/s_catan.c: Include <float.h>.
2333 (__catan): Ensure underflow exception occurs for underflowed
2334 result.
2335 * math/s_catanf.c: Include <float.h>.
2336 (__catanf): Ensure underflow exception occurs for underflowed
2337 result.
2338 * math/s_catanh.c: Include <float.h>.
2339 (__catanh): Ensure underflow exception occurs for underflowed
2340 result.
2341 * math/s_catanhf.c: Include <float.h>.
2342 (__catanhf): Ensure underflow exception occurs for underflowed
2343 result.
2344 * math/s_catanhl.c: Include <float.h>.
2345 (__catanhl): Ensure underflow exception occurs for underflowed
2346 result.
2347 * math/s_catanl.c: Include <float.h>.
2348 (__catanl): Ensure underflow exception occurs for underflowed
2349 result.
2350 * math/libm-test.inc (catan_test): Add more tests.
2351 (catanh_test): Likewise.
2352
2353 [BZ #15405]
2354 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2355 underflowed result.
2356 * math/s_ccoshf.c (__ccoshf): Likewise.
2357 * math/s_ccoshl.c (__ccoshl): Likewise.
2358 * math/s_csin.c (__csin): Likewise.
2359 * math/s_csinf.c (__csinf): Likewise.
2360 * math/s_csinh.c (__csinh): Likewise.
2361 * math/s_csinhf.c (__csinhf): Likewise.
2362 * math/s_csinhl.c (__csinhl): Likewise.
2363 * math/s_csinl.c (__csinl): Likewise.
2364 * math/libm-test.inc (ccos_test): Add more tests.
2365 (ccosh_test): Likewise.
2366 (csin_test): Likewise.
2367 (csinh_test): Likewise.
2368
23692013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2370
2371 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2372 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2373 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2374 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2375 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2376 powerpc/power5+/fpu folders.
2377 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2378
2379
23802013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2381
2382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2383
23842013-04-25 Joseph Myers <joseph@codesourcery.com>
2385
2386 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2387 additions to variable.
2388 [$(config-machine) = x86_64] (modules-names): Likewise.
2389 ($(objpfx)tst-audit3): Remove dependency.
2390 ($(objpfx)tst-audit3.out): Likewise.
2391 ($(objpfx)tst-audit4): Likewise.
2392 ($(objpfx)tst-audit4.out): Likewise.
2393 ($(objpfx)tst-audit5): Likewise.
2394 ($(objpfx)tst-audit5.out): Likewise.
2395 ($(objpfx)tst-audit6): Likewise.
2396 ($(objpfx)tst-audit6.out): Likewise.
2397 ($(objpfx)tst-audit7): Likewise.
2398 ($(objpfx)tst-audit7.out): Likewise.
2399 (tst-audit3-ENV): Remove variable.
2400 (tst-audit4-ENV): Likewise.
2401 (tst-audit5-ENV): Likewise.
2402 (tst-audit6-ENV): Likewise.
2403 (tst-audit7-ENV): Likewise.
2404 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2405 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2406 addition to variable.
2407 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2408 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2409 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2410 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2411 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2412 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2413 tst-audit3, tst-audit4 and tst-audit5.
2414 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2415 tst-audit6 and tst-audit7.
2416 [$(subdir) = elf] (modules-names): Add audit modules for those
2417 tests.
2418 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2419 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2420 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2421 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2422 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2423 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2424 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2425 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2426 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2427 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2428 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2429 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2430 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2431 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2432 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2433 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2434 Likewise.
2435 [$(subdir) = elf && $(config-cflags-avx) = yes]
2436 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2437 [$(subdir) = elf && $(config-cflags-avx) = yes]
2438 (CFLAGS-tst-auditmod4a.c): Likewise.
2439 [$(subdir) = elf && $(config-cflags-avx) = yes]
2440 (CFLAGS-tst-auditmod4b.c): Likewise.
2441 [$(subdir) = elf && $(config-cflags-avx) = yes]
2442 (CFLAGS-tst-auditmod6b.c): Likewise.
2443 [$(subdir) = elf && $(config-cflags-avx) = yes]
2444 (CFLAGS-tst-auditmod6c.c): Likewise.
2445 [$(subdir) = elf && $(config-cflags-avx) = yes]
2446 (CFLAGS-tst-auditmod7b.c): Likewise.
2447 * elf/tst-audit3.c: Move to ...
2448 * sysdeps/x86_64/tst-audit3.c: ... here.
2449 * elf/tst-audit4.c: Move to ...
2450 * sysdeps/x86_64/tst-audit4.c: ... here.
2451 * elf/tst-audit5.c: Move to ...
2452 * sysdeps/x86_64/tst-audit5.c: ... here.
2453 * elf/tst-audit6.c: Move to ...
2454 * sysdeps/x86_64/tst-audit6.c: ... here.
2455 * elf/tst-audit7.c: Move to ...
2456 * sysdeps/x86_64/tst-audit7.c: ... here.
2457 * elf/tst-auditmod3a.c: Move to ...
2458 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2459 * elf/tst-auditmod3b.c: Move to ...
2460 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2461 * elf/tst-auditmod4a.c: Move to ...
2462 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2463 * elf/tst-auditmod4b.c: Move to ...
2464 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2465 * elf/tst-auditmod5a.c: Move to ...
2466 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2467 * elf/tst-auditmod5b.c: Move to ...
2468 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2469 * elf/tst-auditmod6a.c: Move to ...
2470 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2471 * elf/tst-auditmod6b.c: Move to ...
2472 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2473 * elf/tst-auditmod6c.c: Move to ...
2474 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2475 * elf/tst-auditmod7a.c: Move to ...
2476 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2477 * elf/tst-auditmod7b.c: Move to ...
2478 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2479
24802013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2481
2482 [BZ #15366]
2483 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2484 define unconditionally.
2485 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2486 define unconditionally.
2487 (INT8_C, INT16_C, etc.): Likewise.
2488
24892013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2490
2491 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2492 __ehdr_start with hidden visibility.
2493
2494 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2495
24962013-04-24 Carlos O'Donell <carlos@redhat.com>
2497
2498 * math/libm-test.inc (cos_test): Use accurate hex constants.
2499 (sincost_test): Likewise.
2500
25012013-04-24 Joseph Myers <joseph@codesourcery.com>
2502
2503 * math/libm-test.inc (catan_test): Add more tests.
2504 (catanh_test): Likewise.
2505
2506 * math/s_catanf.c (__catanf): Use suffixed floating-point
2507 constants.
2508 * math/s_catanhf.c (__catanhf): Likewise.
2509 * math/s_catanhl.c (__catanhl): Likewise.
2510 * math/s_catanl.c (__catanl): Likewise.
2511
2512 [BZ #15394]
2513 * math/s_catan.c (__catan): Calculate imaginary part of result
2514 with log1p not log unless computing log of number close to 0.
2515 * math/s_catanf.c (__catanf): Likewise.
2516 * math/s_catanl.c (__catanl): Likewise.
2517 * math/s_catanh.c (__catanh): Calculate real part of result with
2518 log1p not log unless computing log of number close to 0.
2519 * math/s_catanhf.c (__catanhf): Likewise.
2520 * math/s_catanhl.c (__catanhl): Likewise.
2521 * math/libm-test.inc (catan_test): Add more tests.
2522 (catanh_test): Likewise.
2523 * sysdeps/i386/fpu/libm-test-ulps: Update.
2524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2525
25262013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2527
2528 * benchtests/Makefile: Mention files in which fast and slow
2529 paths of math functions are implemented.
2530
25312013-04-23 Roland McGrath <roland@hack.frob.com>
2532
2533 * sysdeps/posix/timespec_get.c: New file.
2534
25352013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2536
2537 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2538 POWER.
2539 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2540 for POWER.
2541 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2542 powerpc/power5/fpu folders.
2543 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2544 * benchtests/Makefile: Add modf testcase.
2545 * benchtests/bench-modf.c: New file: Benchmark test for mo
2546
25472013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2548
2549 [BZ #14888]
2550 * time/Makefile (tests): Add tst-strptime-whitespace.
2551 * time/strptime_l.c (get_number): Use ISSPACE.
2552 (__strptime_internal): Likewise.
2553 * time/tst-strptime-whitespace.c: New test case.
2554
25552013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2556
2557 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2558 member.
2559 (_nss_files_init): Set it here.
2560
25612013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2562
2563 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2564 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2565 unsigned.
2566
25672013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2568
2569 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2570
25712013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2572
2573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2574 size just once.
2575
25762013-04-21 David S. Miller <davem@davemloft.net>
2577
2578 * po/ru.po: Update Russion translation from translation project.
2579
25802013-04-17 Adam Conrad <adconrad@0c3.net>
2581
2582 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2583 and setfsgid.
2584
25852013-04-17 Carlos O'Donell <carlos@redhat.com>
2586
2587 * configure.in: Remove i386 configure warning. Remove i386 case.
2588 * configure: Regenerate.
2589 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
2590 Add example to error message.
2591 * sysdeps/i386/configure: Regenerate.
2592
25932013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2594
2595 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2596 slowtan.
2597 * benchtests/cos-inputs: New file.
2598 * benchtests/slowcos-inputs: New file.
2599 * benchtests/slowcos.c: New file.
2600 * benchtests/slowtan-inputs: New file.
2601 * benchtests/slowtan.c: New file.
2602 * benchtests/tan-inputs: New file.
2603
26042013-04-16 Roland McGrath <roland@hack.frob.com>
2605
2606 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2607 considered kosher.
2608
26092013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2610
2611 * benchtests/Makefile: Include cppflags-iterator.mk to add
2612 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2613
2614 * Makefile.in (bench-clean): New target.
2615 * benchtests/Makefile (bench-clean): Likewise.
2616
26172013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2618
2619 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2620
26212013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2622
2623 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2624
26252013-04-15 Andreas Schwab <schwab@suse.de>
2626
2627 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2629 * nscd/pwdcache.c (cache_addpw): Likewise.
2630 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2631 more than recsize.
2632
26332013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2634
2635 * benchtests/Makefile (bench): Write all output to
2636 bench-out.tmp together.
2637
26382013-04-15 Andreas Schwab <schwab@suse.de>
2639
2640 * nscd/nscd.c (main): Don't fork again after closing files.
2641
26422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2643
2644 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2645
2646 * benchtests/Rules (bench-deps): Collect dependencies into a
2647 single variable. Add Makefile to dependencies.
2648 ($(objpfx)bench-%.c): Depend on bench-deps.
2649
26502013-04-12 Roland McGrath <roland@hack.frob.com>
2651 Xavier Roche <roche+kml2@exalead.com>
2652
2653 [BZ #15361]
2654 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2655 just that it's a file descriptor.
2656 * manual/llio.texi (Synchronizing AIO Operations): Update description
2657 for EBADF error from aio_fsync.
2658
26592013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2660
2661 * Rules (bench): Move target definition...
2662 * benchtests/Makefile: ... here.
2663
26642013-04-11 Carlos O'Donell <carlos@redhat.com>
2665
2666 * math/libm-test.inc (cos_test): Fix PI/2 test.
2667 (sincos_test): Likewise.
2668 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2669 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2670
26712013-04-11 Andreas Schwab <schwab@suse.de>
2672
2673 [BZ #13988]
2674 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2675 accept exponent character only when digits were seen.
2676 * stdio-common/Makefile (tests): Add bug26.
2677 * stdio-common/bug26.c: New file.
2678
2679 [BZ #14293]
2680 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2681 non-freeable.
2682
26832013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2684
2685 * Makeconfig (rtld-prefix): Define built linker prefix.
2686 * Rules (run-bench): Use it.
2687 * math/Makefile (run-regen-ulps): Likewise.
2688
2689 * Rules (bench): Remove eval.
2690
26912013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2692 Roland McGrath <roland@hack.frob.com>
2693 Ondrej Bilka <neleai@seznam.cz>
2694
2695 [BZ #15346]
2696 * time/getdate.c: Include ctype.h and alloca.h.
2697 (__getdate_r): Trim leading and trailing spaces of input.
2698 * time/tst-getdate.c (tests): Add tests with leading and
2699 trailing spaces.
2700
27012013-04-08 Roland McGrath <roland@hack.frob.com>
2702
2703 [BZ #14280]
2704 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2705 when computing value.
2706
27072013-04-06 Carlos O'Donell <carlos@redhat.com>
2708
2709 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2710 Use testrun.sh to run libm tests.
2711
2712 [BZ #15309]
2713 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2714
27152013-04-06 Marko Myllynen <myllynen@redhat.com>
2716
2717 [BZ #15264]
2718 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2719
27202013-04-06 Carlos O'Donell <carlos@redhat.com>
2721
2722 * Makefile.in (regen-ulps): New target.
2723 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2724 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2725 [ifneq (no,$(PERL)] (regen-ulps): New target.
2726 [ifeq (no,$(PERL)] (regen-ulps): New target.
2727 * math/libm-test.inc (ulps_file_name): Define.
2728 (output_dir): New variable.
2729 (options): Add "output-dir" option.
2730 (parse_opt): Handle 'o' case.
2731 (main): If output_dir is non-NULL use it as a prefix
2732 otherwise use "".
2733 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2734
27352013-04-06 Carlos O'Donell <carlos@redhat.com>
2736
2737 [BZ #10060, #10062]
2738 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2739 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2740 fail configure if __sync_val_compare_and_swap is not inlined.
2741 * sysdeps/i386/configure: Regenerate.
2742 * configure.in: Build for i686 when configured for i386.
2743 * configure: Regenerate.
2744 * README: Remove i386 reference.
2745
27462013-04-06 Carlos O'Donell <carlos@redhat.com>
2747
2748 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2749 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2750
27512013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2752
2753 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2754 (lmsnanval): New variables.
2755 (F): Add conversion tests.
2756 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2757 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2758
2759 * stdio-common/tstdiomisc.c (F): Properly collect individual
2760 tests' results.
2761
2762 [BZ #14686, #15336]
2763 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2764 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2765 Instead, use input NaN values or generate a qNaN by arithmetic
2766 operation. Also fix bugs to comply with the standard.
2767 * math/libm-test.inc (remainder_test): Add more tests.
2768
2769 [BZ #15335, #15342]
2770 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2772 input NaN values or generate a qNaN by arithmetic operation.
2773
2774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2775 unreachable code.
2776
2777 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2778 definitions.
2779
27802013-04-03 Joseph Myers <joseph@codesourcery.com>
2781
2782 [BZ #14478]
2783 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2784 underflowed result.
2785 * math/s_cexpf.c (__cexpf): Likewise.
2786 * math/s_cexpl.c (__cexpl): Likewise.
2787 * math/libm-test.inc (cexp_test): Add more tests.
2788
27892013-04-03 Andreas Schwab <schwab@suse.de>
2790
2791 [BZ #15330]
2792 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2793 order arrays from heap if bigger than alloca cutoff.
2794
27952013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2796
2797 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2798 (SNAN_TESTS_double): Refer to GCC PR56831.
2799 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2800 GCC PR56828.
2801
28022013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2803
2804 * Rules (bench): Move bench.out after the run is complete.
2805
2806 * Rules (bench): Echo currently running benchmark.
2807
2808 * benchtests/Makefile (bench): Add atan and slowatan.
2809 * benchtests/atan-inputs: New file.
2810 * benchtests/slowatan-inputs: New file.
2811 * benchtests/slowatan.c: New file.
2812
2813 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2814 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2815 its value.
2816
2817 [BZ #15305]
2818 * sysdeps/unix/sysv/linux/kernel-features.h
2819 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2820 __ASSUME_XFS_RESTRICTED_CHOWN.
2821 * sysdeps/unix/sysv/linux/pathconf.c
2822 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2823 Save and restore errno.
2824
28252013-04-02 Joseph Myers <joseph@codesourcery.com>
2826
2827 [BZ #15327]
2828 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2829 arguments using __kernel_casinh.
2830 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2831 arguments using __kernel_casinhf.
2832 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2833 arguments using __kernel_casinhl.
2834 * math/libm-test.inc (cacosh_test): Add more tests.
2835 * sysdeps/i386/fpu/libm-test-ulps: Update.
2836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2837
28382013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2839
2840 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2841 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2842
2843 * bench/Makefile (bench): Add sin and slowsin.
2844 * benchtests/sin-inputs: New file.
2845 * benchtests/slowsin-inputs: New file.
2846 * benchtests/slowsin.c: New file.
2847
2848 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2849 (bench): Add slowexp and slowpow.
2850 (exp-ITER): Increase iterations.
2851 (pow-ITER): Likewise.
2852 * benchtests/exp-inputs: Change input.
2853 * benchtests/pow-inputs: Likewise.
2854 * benchtests/slowexp-inputs: New file.
2855 * benchtests/slowexp.c: New file.
2856 * benchtests/slowpow-inputs: New file.
2857 * benchtests/slowpow.c: New file.
2858
28592013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2860
2861 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2862 instructions.
2863 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2864 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2865 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2866 * benchtests/Makefile: Add rint benchtest.
2867 * benchtests/rint-inputs: Input for rint benchtest.
2868
28692013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2870
2871 * Versions.def (libm): Add GLIBC_2.18.
2872 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2873 hidden libm prototypes.
2874 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2875 * math/Makefile (libm-calls): Add s_issignaling.
2876 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2877 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2878 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2879 declaration.
2880 * math/math.h [__USE_GNU] (issignaling): New macro.
2881 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2882 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2883 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2884 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2886 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2887 * manual/arith.texi (issignaling): New section.
2888 * manual/libm-err-tab.pl (@all_functions): Update comment.
2889 * math/gen-libm-test.pl (parse_args): Apply special handling for
2890 issignaling.
2891 * math/libm-test.inc (print_float, issignaling_test): New
2892 functions.
2893 (check_float_internal): Add issignaling checks.
2894 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2895 default definition.
2896 * sysdeps/powerpc/math-tests.h: New file.
2897 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2898 tests.
2899 * math/test-snan.c (TEST_FUNC): Likewise.
2900
29012013-03-30 David S. Miller <davem@davemloft.net>
2902
2903 * po/de.po: Update from translation team.
2904
29052013-03-30 Joseph Myers <joseph@codesourcery.com>
2906
2907 [BZ #10357]
2908 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2909 imaginary part less than 1.0 and real part less than 0.5
2910 specially.
2911 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2912 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2913 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2914 (cacos_test): Add more tests.
2915 (casin_test): Likewise.
2916 (casinh_test): Likewise.
2917 * sysdeps/i386/fpu/libm-test-ulps: Update.
2918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2919
29202013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2921
2922 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2923 ONE with its value.
2924
2925 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2926 (__pow_mp): Replace ONE and MONE with their values.
2927 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2928 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2929 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2930 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2931 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2932 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2933
2934 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2935
2936 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2937 (__pow_mp): Replace ZERO and MZERO with their values.
2938 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2939 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2940 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2942 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2943 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2944 (__sqr): Likewise.
2945
2946 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2947
2948 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2949
29502013-03-28 Roland McGrath <roland@hack.frob.com>
2951
2952 * include/stdlib.h [!SHARED] (__call_tls_dtors):
2953 Declare with __attribute__ ((weak)).
2954 * stdlib/exit.c (__libc_atexit) [!SHARED]:
2955 Call __call_tls_dtors only if it's not NULL.
2956
29572013-03-28 Roland McGrath <roland@hack.frob.com>
2958
2959 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2960 didn't do it already, then set _dl_phdr and _dl_phnum based on the
2961 magic __ehdr_start linker symbol if it's defined.
2962 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2963 them up here if it was already done.
2964
2965 * elf/dl-support.c (_dl_phdr): Make pointer to const.
2966 (_dl_aux_init): Use const in cast when setting it.
2967 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
2968 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
2969 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
2970
2971 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
2972 Declare them here.
2973 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
2974 * csu/libc-tls.c: Nor here.
2975 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
2976
2977 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
2978 (__libc_message): Never call vsyslog.
2979
29802013-03-28 Alan Modra <amodra@gmail.com>
2981
2982 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
2983 Define as empty.
2984 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
2985 Likewise.
2986
29872013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2988
2989 [BZ #15214]
2990 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
2991 underflow.
2992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2993
29942013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2995
2996 [BZ #15304]
2997 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2998 Don't add gid passed as argument.
2999
3000 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3001
30022013-03-27 Joseph Myers <joseph@codesourcery.com>
3003
3004 [BZ #15307]
3005 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3006 imaginary part between 1.0 and 1.5 and real part less than 0.5
3007 specially.
3008 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3009 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3010 * math/libm-test.inc (cacos_test): Add more tests.
3011 (casin_test): Likewise.
3012 (casinh_test): Likewise.
3013 * sysdeps/i386/fpu/libm-test-ulps: Update.
3014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3015
30162013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3017
3018 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3019 constants.
3020 (norm): Likewise.
3021 (denorm): Likewise.
3022 (__dbl_mp): Likewise.
3023 (add_magnitudes): Likewise.
3024 (sub_magnitudes): Likewise.
3025 (__add): Likewise.
3026 (__sub): Likewise.
3027 (__mul): Likewise.
3028 (__sqr): Likewise.
3029 (__inv): Likewise.
3030 (__dvd): Likewise.
3031
3032 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3033 commented code.
3034 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3035 (__dubcos): Likewise.
3036 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3037 (__ieee754_acos): Likewise.
3038 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3039 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3040 (__exp1): Likewise.
3041 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3043 (log1): Likewise.
3044 (my_log2): Likewise.
3045 (checkint): Likewise.
3046 * sysdeps/ieee754/dbl-64/e_remainder.c
3047 (__ieee754_remainder): Likewise.
3048 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3049 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3050 (bsloww): Likewise.
3051 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3052
3053 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3054 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3055 MANTISSA_STORE_T to store computations on mantissa. Use
3056 macros for rounding and division.
3057 (denorm): Likewise.
3058 (__dbl_mp): Likewise.
3059 (add_magnitudes): Likewise.
3060 (sub_magnitudes): Likewise.
3061 (__mul): Likewise.
3062 (__sqr): Likewise.
3063 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3064 powers of two in terms of TWOPOW macro.
3065 (mp_no): Make type of mantissa as MANTISSA_T.
3066 [!RADIXI]: Define RADIXI.
3067 [!TWO52]: Define TWO52.
3068 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3069
30702013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3071
3072 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3073 llroundl symbol when building for PPC32.
3074
30752013-03-24 Mark H Weaver <mhw@netris.org>
3076
3077 * manual/arith.texi (Normalization Functions): Fix prototypes for
3078 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3079
30802013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3081
3082 [BZ #13889]
3083 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3084 high value to check if expl overflow.
3085 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3086 to check for underflow and overflow.
3087 * math/libm-test.inc: Add exp test.
3088
30892013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3090
3091 [BZ #11120]
3092 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3093 with NOT_IN_libc.
3094
30952013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3096
3097 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3098 symbol.
3099
31002013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3101
3102 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3103 wrap blocks consisting of several statements.
3104
3105 * sysdeps/generic/math-tests.h: New file.
3106 * sysdeps/i386/fpu/math-tests.h: Likewise.
3107 * math/test-snan.c: Include it.
3108 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3109
31102013-03-21 Joseph Myers <joseph@codesourcery.com>
3111
3112 [BZ #15285]
3113 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3114 (__ieee754_j0l): Do not improve calculations using cos of twice
3115 input for inputs above LDBL_MAX / 2.0L.
3116 (__ieee754_y0l): Likewise.
3117 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3118 (__ieee754_j1l): Do not improve calculations using cos of twice
3119 input for inputs above LDBL_MAX / 2.0L.
3120 (__ieee754_y1l): Likewise.
3121 * math/libm-test.inc (j0_test): Add another test.
3122 (j1_test): Likewise.
3123 (y0_test): Likewise.
3124 (y1_test): Likewise.
3125 * sysdeps/i386/fpu/libm-test-ulps: Update.
3126
31272013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3128
3129 * Rules ($(objpfx)bench-%.c): Include code from a C source
3130 file.
3131
31322013-03-21 Joseph Myers <joseph@codesourcery.com>
3133
3134 [BZ #15287]
3135 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3136 imaginary part 1.0 and real part less than 0.5 specially.
3137 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3138 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3139 * math/libm-test.inc (cacos_test): Add more tests.
3140 (casin_test): Likewise.
3141 (casinh_test): Likewise.
3142 * sysdeps/i386/fpu/libm-test-ulps: Update.
3143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3144
31452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3146
3147 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3148 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3149
31502013-03-20 Joseph Myers <joseph@codesourcery.com>
3151
3152 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3153 * config.make.in (config-cflags-sse4): Remove variable.
3154 (config-cflags-avx): Likewise.
3155 (config-cflags-sse2avx): Likewise.
3156 (config-cflags-novzeroupper): Likewise.
3157 (config-asflags-i686): Likewise.
3158 (have-mfma4): Likewise.
3159 (have-as-vis3): Likewise.
3160 (MIG): Likewise.
3161 * configure.in (MIG): Do not AC_SUBST.
3162 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3163 (libc_cv_cc_sse4): Do not AC_SUBST.
3164 (libc_cv_cc_avx): Likewise.
3165 (libc_cv_cc_sse2avx): Likewise.
3166 (libc_cv_cc_novzeroupper): Likewise.
3167 (libc_cv_cc_fma4): Likewise.
3168 (libc_cv_as_i686): Likewise.
3169 (libc_cv_sparc_as_vis3): Likewise.
3170 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3171 LIBC_CONFIG_VAR.
3172 (config-asflags-i686): Likewise.
3173 (config-cflags-avx): Likewise.
3174 (config-cflags-sse2avx): Likewise.
3175 (have-mfma4): Likewise.
3176 (config-cflags-novzeroupper): Likewise.
3177 * sysdeps/mach/configure.in (MIG): Likewise.
3178 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3179 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3180 LIBC_CONFIG_VAR.
3181 (config-cflags-avx): Likewise.
3182 (config-cflags-sse2avx): Likewise.
3183 (have-mfma4): Likewise.
3184 (config-cflags-novzeroupper): Likewise.
3185 * configure: Regenerated.
3186 * sysdeps/i386/configure: Likewise.
3187 * sysdeps/mach/configure: Likewise.
3188 * sysdeps/sparc/configure: Likewise.
3189 * sysdeps/x86_64/configure: Likewise.
3190
31912013-03-20 Roland McGrath <roland@hack.frob.com>
3192
3193 [BZ #14812]
3194 * locale/programs/localedef.c (options): Put N_ translation marker
3195 on argument names, not just descriptions.
3196
31972013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3198
3199 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3200
32012013-03-20 Ondřej Bílka <neleai@seznam.cz>
3202
3203 [BZ #14176]
3204 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3205
32062013-03-19 Roland McGrath <roland@hack.frob.com>
3207
3208 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3209 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3210 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3211 [!BEFORE_ABORT] (before_abort): New function.
3212 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3213 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3214 (writev_for_fatal): New function.
3215 (WRITEV_FOR_FATAL): New macro; call that.
3216 (backtrace_and_maps): New function.
3217 (BEFORE_ABORT): New macro; call that.
3218 (struct str_list): Type removed.
3219 (__libc_message, __libc_fatal): Functions removed.
3220 Include <sysdeps/posix/libc_fatal.c> instead.
3221
32222013-03-19 Joseph Myers <joseph@codesourcery.com>
3223
3224 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3225 constants.
3226 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3227 double constants.
3228
32292013-03-19 Andreas Schwab <schwab@suse.de>
3230
3231 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3232 * sysdeps/gnu/configure: Regenerate.
3233
3234 * configure.in: Substitute libc_cv_rtlddir.
3235 * configure: Regenerate.
3236 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3237 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3238 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3239 * elf/Makefile (install-others, CFLAGS-interp.c)
3240 (ldso_install, common-ldd-rewrite): Likewise.
3241 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3242 $(inst_slibdir)/$(rtld-installed-name).
3243 * scripts/rellns-sh: Add -p option.
3244 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3245 for source.
3246
32472013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3248
3249 * manual/nptl.texi: Renamed to ...
3250 * manual/threads.texi: ... this.
3251 * manual/Makefile (chapters): Update.
3252
32532013-03-18 Roland McGrath <roland@hack.frob.com>
3254
3255 [BZ #14812]
3256 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3257 on argument names, not just descriptions.
3258 * malloc/memusagestat.c (options): Likewise.
3259 * nss/getent.c (options): Likewise.
3260
32612013-03-18 Benno Schulenberg <bensberg@justemail.net>
3262
3263 [BZ #14812]
3264 * iconv/iconv_prog.c (options): Put N_ translation marker
3265 on argument names, not just descriptions.
3266 * iconv/iconvconfig.c (options): Likewise.
3267
32682013-03-18 Ondrej Bilka <neleai@seznam.cz>
3269
3270 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3271 implementation which is faster on all x86_64 architectures.
3272 Tested on AMD, Intel Nehalem, SNB, IVB.
3273 * sysdeps/x86_64/strnlen.S: Likewise.
3274
3275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3276 Remove all multiarch strlen and strnlen versions.
3277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3278 Remove strlen and strnlen related parts.
3279
3280 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3281 Inline strlen part.
3282 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3283
3284 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3285 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3286 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3287 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3288 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3289 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3290
32912013-03-17 Carlos O'Donell <carlos@redhat.com>
3292
3293 * manual/memory.texi (Malloc Tunable Parameters):
3294 Sort parameters alphabetically. Add comments for missing entries.
3295
32962013-03-17 David S. Miller <davem@davemloft.net>
3297
3298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3299
33002013-03-16 Joseph Myers <joseph@codesourcery.com>
3301
3302 [BZ #15283]
3303 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3304 for arguments at most half maximum finite value.
3305 * math/libm-test.inc (j0_test): Add more tests.
3306 (j1_test): Likewise.
3307 (y0_test): Likewise.
3308 (y1_test): Likewise.
3309 * sysdeps/i386/fpu/libm-test-ulps: Update.
3310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3311
3312 [BZ #14155]
3313 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3314 1 / x and functions P and Q for arguments above 0x1p256L.
3315 (__ieee754_y0l): Likewise.
3316 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3317 (__ieee754_y1l): Likewise.
3318 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3319 (j1_test): Likewise.
3320 (y0_test): Likewise.
3321 (y1_test): Likewise.
3322
33232013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3324
3325 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3326 variable.
3327
33282013-03-15 Roland McGrath <roland@hack.frob.com>
3329
3330 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3331 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3332 zero since it's initialized to EXEC_PAGESIZE.
3333
3334 * sysdeps/unix/sysv/linux/ldsodefs.h
3335 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3336 * sysdeps/generic/ldsodefs.h: ... here.
3337
33382013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3339
3340 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3341
3342 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3343 math/test-snan.c.
3344 * math/test-snan.c: Renamed from
3345 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3346 * math/Makefile (tests): Add test-snan.
3347 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3348 test-powerpc-snan.
3349
3350 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3351 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3352 functions.
3353 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3354 __builtin_nan family of functions.
3355 * math/libm-test.inc (initialize): Initialize qnan_value with
3356 __builtin_nan family of functions.
3357 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3358 Remove variables.
3359 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3360 Remove functions.
3361 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3362 storage class. Initialize qNaN_var and sNaN_var with
3363 __builtin_nan and __builtin_nans families of functions,
3364 respectively.
3365
3366 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3367 (sqrt_test): Remove duplicate test with qNaN input.
3368 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3369 (round_test, signbit_test, significand_test): Note missing +/-Inf
3370 as well as qNaN tests.
3371
3372 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3373 qNaN_var. Fix a few strings, too.
3374 * math/libm-test.inc (nan_value): Rename to qnan_value.
3375 * math/gen-libm-test.pl (%beautify): Adjust to that.
3376 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3377 * math/test-misc.c (main): Likewise.
3378 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3379 to __qnan_bytes, and __qnan_union, respectively.
3380 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3381 Likewise.
3382 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3383 and lqnanval, respectively.
3384 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3385 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3386 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3387 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3388
3389 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3390 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3391 doubles.
3392
3393 * math/test-misc.c (main): Fix copy'n'pastos.
3394 * misc/tst-efgcvt.c (special): Likewise.
3395
3396 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3397 Remove declarations.
3398
33992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3400
3401 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3402 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3403 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3404 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3405
34062013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3407
3408 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3409 macro to return vdso values correctly in IFUNC implementations.
3410 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3411 Optimization by using IFUNC.
3412
34132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3414 Richard Henderson <rth@redhat.com>
3415 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3416
3417 * Makefile.in (bench): New target.
3418 * NEWS: Mention the benchmark framework.
3419 * Rules (bench): Likewise.
3420 (binaries-bench): Generate binaries for functions to
3421 benchmark.
3422 * benchtests/Makefile: New makefile for benchmark tests.
3423 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3424 programs.
3425 * benchtests/exp-inputs: New input file for EXP function.
3426 * benchtests/pow-inputs: New input file for POW function.
3427 * scripts/bench.pl: New script to generate source files for
3428 benchmark programs.
3429
34302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3431
3432 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3433 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3434 computations on mantissa. Use macros for rounding and
3435 division.
3436 (denorm): Likewise.
3437 (__dbl_mp): Likewise.
3438 (add_magnitudes): Likewise.
3439 (sub_magnitudes): Likewise.
3440 (__mul): Likewise.
3441 (__sqr): Likewise.
3442 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3443 powers of two in terms of TWOPOW macro.
3444 (mp_no): Make type of mantissa as MANTISSA_T.
3445 [!RADIXI]: Define RADIXI.
3446 [!TWO52]: Define TWO52.
3447 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3448
3449 * manual/nptl.texi (cindex): Modify threads to pthreads.
3450
34512013-03-15 Joseph Myers <joseph@codesourcery.com>
3452
3453 * sysdeps/x86_64/preconfigure: Regenerated.
3454
34552013-03-14 Joseph Myers <joseph@codesourcery.com>
3456
3457 [BZ #14155]
3458 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3459 0x1p28 and above.
3460 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3461 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3462 0x1p28 and above.
3463 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3464 * math/libm-test.inc (j0_test): Do not allow one spurious
3465 underflow exception.
3466 (y1_test): Likewise.
3467
34682013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3469
3470 * manual/Makefile (chapters): Add nptl.
3471 * manual/debug.texi (Debugging Support): Add link to Threads
3472 chapter.
3473 * manual/nptl.texi: New file.
3474
3475 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3476
34772013-03-14 Petr Baudis <pasky@ucw.cz>
3478
3479 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3480 for non-NULL pointer before the memory validity test. Pointed
3481 out by Holger Brunck <holger.brunck@keymile.com>.
3482
34832013-03-13 Andreas Schwab <schwab@suse.de>
3484
3485 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3486 instead of .os.
3487
34882013-03-13 Joseph Myers <joseph@codesourcery.com>
3489
3490 * timezone/zic.c: Update from tzcode 2013b.
3491
34922013-03-12 Carlos O'Donell <carlos@redhat.com>
3493
3494 * manual/install.texi (Configuring and compiling):
3495 Mention i686 and i586.
3496 * INSTALL: Regenerate.
3497
34982013-03-12 Roland McGrath <roland@hack.frob.com>
3499
3500 * sysdeps/init_array/elf-init.c: New file.
3501 * csu/elf-init.c
3502 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3503 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3504
3505 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3506 __gmon_start__ as global, but as static with a .preinit_array pointer.
3507 * sysdeps/init_array/gmon-start.c: New file. Use that.
3508 * sysdeps/init_array/crti.S: New file, empty except for comments.
3509 * sysdeps/init_array/crtn.S: Likewise.
3510
35112013-03-11 Ondřej Bílka <neleai@seznam.cz>
3512
3513 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3514 definining bcopy.
3515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3516 Remove Prefer_SSE_for_memop.
3517 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3518 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3519 HAS_PREFER_SSE_FOR_MEMOP.
3520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3521 memset-x86-64.
3522 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3523 Remove bzero, memset ifunc support.
3524 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3525 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3526 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3527 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3528
35292013-03-11 Andreas Schwab <schwab@suse.de>
3530
3531 [BZ #15234]
3532 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3533 by SHLIB_COMPAT.
3534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3535 (GLIBC_2.16): Remove pthread_atfork.
3536
35372013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3538
3539 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3540 (ptestcases.h): Likewise.
3541
35422013-03-08 Roland McGrath <roland@hack.frob.com>
3543
3544 * Makeconfig ($(common-objpfx)config.status): Depend on
3545 sysdeps/*/preconfigure{,.in} too.
3546
35472013-03-08 Joseph Myers <joseph@codesourcery.com>
3548
3549 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3550 (__free_hook): Use void * instead of __malloc_ptr_t.
3551 (__malloc_hook): Likewise.
3552 (__realloc_hook): Likewise.
3553 (__memalign_hook): Likewise.
3554 (__after_morecore_hook): Likewise.
3555 * malloc/arena.c (save_malloc_hook): Likewise.
3556 (save_free_hook): Likewise.
3557 * malloc/hooks.c (malloc_hook_ini): Likewise.
3558 (realloc_hook_ini): Likewise.
3559 (memalign_hook_ini): Likewise.
3560 * malloc/malloc.c (malloc_hook_ini): Likewise.
3561 (realloc_hook_ini): Likewise.
3562 (memalign_hook_ini): Likewise.
3563 (__free_hook): Likewise.
3564 (__malloc_hook): Likewise.
3565 (__realloc_hook): Likewise.
3566 (__memalign_hook): Likewise.
3567 (__libc_malloc): Likewise.
3568 (__libc_free): Likewise.
3569 (__libc_realloc): Likewise.
3570 (__libc_memalign): Likewise.
3571 (__libc_valloc): Likewise.
3572 (__libc_pvalloc): Likewise.
3573 (__libc_calloc): Likewise.
3574 (__posix_memalign): Likewise.
3575 * malloc/morecore.c (__sbrk): Likewise.
3576 (__default_morecore): Likewise.
3577
3578 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3579
3580 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3581 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3582 __malloc_ptrdiff_t.
3583
3584 * malloc/malloc.h (__malloc_size_t): Remove macro.
3585 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3586 __malloc_size_t.
3587 (old_memalign_hook): Likewise.
3588 (old_realloc_hook): Likewise.
3589 (struct hdr): Likewise.
3590 (flood): Likewise.
3591 (mallochook): Likewise.
3592 (memalignhook): Likewise.
3593 (reallochook): Likewise.
3594 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3595 (tr_old_realloc_hook): Likewise.
3596 (tr_old_memalign_hook): Likewise.
3597 (tr_mallochook): Likewise.
3598 (tr_reallochook): Likewise.
3599 (tr_memalignhook): Likewise.
3600
36012013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3602
3603 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3604 default_ldbl_pack and using as default implementation.
3605 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3606 implementation.
3607 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3608 redundant definition.
3609 (ldbl_insert_mantissa): Likewise.
3610 (ldbl_canonicalize): Likewise.
3611 (ldbl_nearbyint): Likewise.
3612 (ldbl_pack): Rename to ldbl_pack_ppc.
3613 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3614 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3615 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3616
36172013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3618
3619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3620 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3621 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3622 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3624 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3625 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3626 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3627
36282013-03-07 Andreas Jaeger <aj@suse.de>
3629
3630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3631 bits/mman-linux.h.
3632
36332013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3634
3635 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3636 Include mpa.h and declare __MPEXP.
3637 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3638 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3639 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3640 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3641 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3642 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3643 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3644
3645 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3646 (__slowpow): Use long double EXPL and LOGL functions to
3647 compute POW.
3648 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3649 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3650 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3651 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3652 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3653 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3654
3655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3656 intermediate variable to calculate exponent.
3657 (__sqr): Likewise.
3658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3659 Likewise.
3660 (__sqr): Likewise.
3661
3662 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3663 [!NO__SQR]: Define __sqr.
3664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3665 and NO__SQR. Remove all code except __mul and __sqr. Include
3666 sysdeps/ieee754/dbl-64/mpa.c.
3667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3668
3669 [BZ #12723]
3670 * posix/Makefile (tests): Add tst-pathconf.
3671 * posix/tst-pathconf.c: New test case.
3672 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3673 _PC_PIPE_BUF.
3674 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3675
36762013-03-06 Patsy Franklin <pfrankli@redhat.com>
3677
3678 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3679
36802013-03-06 Andreas Jaeger <aj@suse.de>
3681
3682 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3683 definition via __MAP_ANONYMOUS.
3684
3685 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3686 it's not part of Linux headers.
3687
3688 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3689 (MAP_HUGE_MASK): Define.
3690
3691 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3692 Define.
3693 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3694 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3695 Define.
3696 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3697 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3698 Define.
3699 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3700 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3701 Define.
3702 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3703
3704 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3705 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3706 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3707 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3708 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3709 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3710
3711 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3712 Handle f2fs.
3713
3714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3715 Handle f2fs and efivarfs.
3716
3717 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3718 f2fs.
3719
3720 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3721 (EFIVARFS_MAGIC): Add.
3722 (F2FS_LINK_MAX): Add.
3723
37242013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3725
3726 * stdio-common/vfprintf.c: Replace __builtin_expect with
3727 __glibc_unlikely.
3728
37292013-03-06 Joseph Myers <joseph@codesourcery.com>
3730
3731 [BZ #13550]
3732 * sysdeps/generic/bp-sym.h: Remove file.
3733 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3734 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3735 <bp-sym.h> and <bp-asm.h>.
3736 (__longjmp): Don't use BP_SYM.
3737 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3738 and <bp-asm.h>.
3739 (memcpy): Don't use BP_SYM.
3740 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3741 <bp-sym.h> and <bp-asm.h>.
3742 (memcpy): Don't use BP_SYM.
3743 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3744 <bp-asm.h>.
3745 (memcpy): Don't use BP_SYM.
3746 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3747 <bp-asm.h>.
3748 (memset): Don't use BP_SYM.
3749 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3750 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3751 (__bzero): Don't use BP_SYM.
3752 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3753 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3754 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3755 <bp-sym.h> and <bp-asm.h>.
3756 (memcmp): Don't use BP_SYM. Remove comment about bounded
3757 pointers.
3758 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3759 <bp-sym.h> and <bp-asm.h>.
3760 (memcpy): Don't use BP_SYM.
3761 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3762 <bp-sym.h> and <bp-asm.h>.
3763 (memset): Don't use BP_SYM.
3764 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3765 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3766 (__bzero): Don't use BP_SYM.
3767 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3768 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3769 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3770 <bp-sym.h> and <bp-asm.h>.
3771 (strncmp): Don't use BP_SYM. Remove comment about bounded
3772 pointers.
3773 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3774 <bp-sym.h> and <bp-asm.h>.
3775 (memcpy): Don't use BP_SYM.
3776 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3777 <bp-sym.h> and <bp-asm.h>.
3778 (memset): Don't use BP_SYM.
3779 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3780 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3781 (__bzero): Don't use BP_SYM.
3782 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3783 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3784 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3785 <bp-sym.h> and <bp-asm.h>.
3786 (__memchr): Don't use BP_SYM.
3787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3788 <bp-sym.h> and <bp-asm.h>.
3789 (memcmp): Don't use BP_SYM. Remove comment about bounded
3790 pointers.
3791 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3792 <bp-sym.h> and <bp-asm.h>.
3793 (memcpy): Don't use BP_SYM.
3794 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3795 <bp-sym.h> and <bp-asm.h>.
3796 (__mempcpy): Don't use BP_SYM.
3797 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3798 <bp-sym.h> and <bp-asm.h>.
3799 (__memrchr): Don't use BP_SYM.
3800 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3801 <bp-sym.h> and <bp-asm.h>.
3802 (memset): Don't use BP_SYM.
3803 (__bzero): Likewise.
3804 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3805 <bp-sym.h> and <bp-asm.h>.
3806 (__rawmemchr): Don't use BP_SYM.
3807 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3808 <bp-sym.h> and <bp-asm.h>.
3809 (__STRCMP): Don't use BP_SYM.
3810 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3811 <bp-sym.h> and <bp-asm.h>.
3812 (strchr): Don't use BP_SYM.
3813 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3814 <bp-sym.h> and <bp-asm.h>.
3815 (__strchrnul): Don't use BP_SYM.
3816 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3817 <bp-sym.h> and <bp-asm.h>.
3818 (strlen): Don't use BP_SYM.
3819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3820 <bp-sym.h> and <bp-asm.h>.
3821 (strncmp): Don't use BP_SYM. Remove comment about bounded
3822 pointers.
3823 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3824 <bp-sym.h> and <bp-asm.h>.
3825 (__strnlen): Don't use BP_SYM.
3826 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3827 <bp-sym.h> and <bp-asm.h>.
3828 (__GI__setjmp): Don't use BP_SYM.
3829 (_setjmp): Likewise.
3830 (__sigsetjmp): Likewise.
3831 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3832 (L(start_addresses)): Don't use BP_SYM.
3833 (_start): Likewise.
3834 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3835 <bp-asm.h>.
3836 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3837 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3838 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3839 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3840 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3841 <bp-asm.h>.
3842 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3843 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3844 about bounded pointers.
3845 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3846 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3847 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3848 <bp-asm.h>.
3849 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3850 about bounded pointers. Remove GKM FIXME comments.
3851 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3852 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3853 <bp-asm.h>.
3854 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3855 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3856 Remove GKM FIXME comments.
3857 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3858 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3859 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3860 <bp-asm.h>.
3861 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3862 about bounded pointers. Remove GKM FIXME comment.
3863 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3864 and <bp-asm.h>.
3865 (strncmp): Don't use BP_SYM. Remove comment about bounded
3866 pointers.
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3868 <bp-sym.h> and <bp-asm.h>.
3869 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3871 <bp-sym.h> and <bp-asm.h>.
3872 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3873 comment.
3874
38752013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3876
3877 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3878 call free(NULL).
3879
38802013-03-05 David S. Miller <davem@davemloft.net>
3881
3882 * po/es.po: Update from translation team.
3883
38842013-03-05 Andreas Jaeger <aj@suse.de>
3885
3886 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3887 <bits/mman-linux.h>.
3888 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3889 is fine.
3890 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3891 <bits/mman-linux.h> to end of file.
3892 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3893 is fine.
3894 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3895 <bits/mman-linux.h> to end of file.
3896 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3897 is fine.
3898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3899 <bits/mman-linux.h> to end of file.
3900
3901 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3902 (MCL_CURRENT, MCL_FUTURE): Define here.
3903
39042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3905
3906 [BZ #15232]
3907 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3908 attribute_hidden.
3909 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3910
39112013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3912
3913 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3914 fourth parameter needed for rt_sigprocmask syscall.
3915 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3916 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3917 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3918 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3919 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3920 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3921
39222013-03-04 Joseph Myers <joseph@codesourcery.com>
3923
3924 [BZ #13550]
3925 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3926 comment about bounded pointers.
3927 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3928 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3929
39302013-03-04 Andreas Jaeger <aj@suse.de>
3931
3932 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3933 common definitions.
3934
3935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3936 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3937 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3938 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3939 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3941
39422013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3943
3944 [BZ #15055]
3945 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3946 __ieee754_sqrl instead of __sqrl.
3947
39482013-03-01 Joseph Myers <joseph@codesourcery.com>
3949
3950 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3951 * sysdeps/powerpc/fpu_control.h: ... here.
3952 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3953 * sysdeps/powerpc/bits/fenvinline.h: ... here.
3954 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3955 * sysdeps/powerpc/bits/mathinline.h: ... here.
3956
39572013-03-01 Roland McGrath <roland@hack.frob.com>
3958
3959 * elf/dl-hwcaps.c (_dl_important_hwcaps):
3960 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3961 to just [NEED_DL_SYSINFO_DSO].
3962 * elf/dl-support.c: Likewise.
3963 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3964 * elf/rtld.c (dl_main): Likewise.
3965 * elf/setup-vdso.h (setup_vdso): Likewise.
3966 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
3967 * sysdeps/unix/sysv/linux/dl-sysdep.c
3968 (_dl_discover_osversion): Likewise.
3969
39702013-03-01 Carlos O'Donell <carlos@redhat.com>
3971
3972 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
3973 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3974
39752013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3976
3977 * NEWS: Mention libm performance improvements and non-x86 PI
3978 futex support.
3979
3980 * csu/libc-start.c (__pthread_initialize_minimal): Change
3981 function arguments.
3982 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3983
39842013-02-28 Joseph Myers <joseph@codesourcery.com>
3985
3986 [BZ #13550]
3987 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
3988 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
3989 <bp-sym.h> and <bp-asm.h>.
3990 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3991 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
3992 and <bp-asm.h>.
3993 (memcpy): Don't use BP_SYM.
3994 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
3995 <bp-asm.h>.
3996 (__mpn_add_n): Don't use BP_SYM.
3997 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
3998 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
3999 and <bp-asm.h>.
4000 (__mpn_addmul_1): Don't use BP_SYM.
4001 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4002 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4003 <bp-sym.h>.
4004 (_setjmp): Don't use BP_SYM.
4005 (__novmx_setjmp): Likewise.
4006 (__GI__setjmp): Likewise.
4007 (__vmx_setjmp): Likewise.
4008 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4009 <bp-sym.h>.
4010 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4011 (__bzero): Don't use BP_SYM.
4012 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4013 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4014 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4015 <bp-sym.h> and <bp-asm.h>.
4016 (memcpy): Don't use BP_SYM.
4017 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4018 <bp-sym.h> and <bp-asm.h>.
4019 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4020 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4021 <bp-sym.h> and <bp-asm.h>.
4022 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4023 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4024 <bp-asm.h>.
4025 (__mpn_lshift): Don't use BP_SYM.
4026 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4027 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4028 <bp-asm.h>.
4029 (memset): Don't use BP_SYM.
4030 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4031 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4032 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4033 <bp-asm.h>.
4034 (__mpn_mul_1): Don't use BP_SYM.
4035 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4037 <bp-sym.h> and <bp-asm.h>.
4038 (memcmp): Don't use BP_SYM.
4039 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4040 <bp-sym.h> and <bp-asm.h>.
4041 (memcpy): Don't use BP_SYM.
4042 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4043 <bp-sym.h> and <bp-asm.h>.
4044 (memset): Don't use BP_SYM.
4045 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4046 <bp-sym.h> and <bp-asm.h>.
4047 (strncmp): Don't use BP_SYM.
4048 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4049 <bp-sym.h> and <bp-asm.h>.
4050 (memcpy): Don't use BP_SYM.
4051 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4052 <bp-sym.h> and <bp-asm.h>.
4053 (memset): Don't use BP_SYM.
4054 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4055 <bp-sym.h> and <bp-asm.h>.
4056 (__memchr): Don't use BP_SYM.
4057 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4058 <bp-sym.h> and <bp-asm.h>.
4059 (memcmp): Don't use BP_SYM.
4060 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4061 <bp-sym.h> and <bp-asm.h>.
4062 (memcpy): Don't use BP_SYM.
4063 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4064 <bp-sym.h> and <bp-asm.h>.
4065 (__mempcpy): Don't use BP_SYM.
4066 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4067 <bp-sym.h> and <bp-asm.h>.
4068 (__memrchr): Don't use BP_SYM.
4069 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4070 <bp-sym.h> and <bp-asm.h>.
4071 (memset): Don't use BP_SYM.
4072 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4073 <bp-sym.h> and <bp-asm.h>.
4074 (__rawmemchr): Don't use BP_SYM.
4075 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4076 <bp-sym.h> and <bp-asm.h>.
4077 (__STRCMP): Don't use BP_SYM.
4078 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4079 <bp-sym.h> and <bp-asm.h>.
4080 (strchr): Don't use BP_SYM.
4081 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4082 <bp-sym.h> and <bp-asm.h>.
4083 (__strchrnul): Don't use BP_SYM.
4084 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4085 <bp-sym.h> and <bp-asm.h>.
4086 (strlen): Don't use BP_SYM.
4087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4088 <bp-sym.h> and <bp-asm.h>.
4089 (strncmp): Don't use BP_SYM.
4090 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4091 <bp-sym.h> and <bp-asm.h>.
4092 (__strnlen): Don't use BP_SYM.
4093 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4094 <bp-asm.h>.
4095 (__mpn_rshift): Don't use BP_SYM.
4096 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4097 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4098 <bp-sym.h> and <bp-asm.h>.
4099 (__sigsetjmp): Don't use BP_SYM.
4100 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4101 (L(start_addresses)): Don't use BP_SYM.
4102 (_start): Likewise.
4103 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4104 <bp-asm.h>.
4105 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4106 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4107 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4108 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4109 <bp-asm.h>.
4110 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4111 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4112 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4113 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4114 <bp-asm.h>.
4115 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4116 comments.
4117 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4118 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4119 <bp-asm.h>.
4120 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4121 FIXME comments.
4122 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4123 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4124 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4125 <bp-asm.h>.
4126 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4127 comment.
4128 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4129 and <bp-asm.h>.
4130 (strncmp): Don't use BP_SYM,
4131 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4132 <bp-asm.h>.
4133 (__mpn_sub_n): Don't use BP_SYM.
4134 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4135 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4136 and <bp-asm.h>.
4137 (__mpn_submul_1): Don't use BP_SYM.
4138 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4140 <bp-sym.h> and <bp-asm.h>.
4141 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4143 <bp-sym.h> and <bp-asm.h>.
4144 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4145 comment.
4146
41472013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4148
4149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4150 Use ZK to minimize writes to Z.
4151 (sub_magnitudes): Simplify code a bit.
4152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4153 Use ZK to minimize writes to Z.
4154 (sub_magnitudes): Simplify code a bit.
4155
41562013-02-27 Roland McGrath <roland@hack.frob.com>
4157
4158 * csu/gmon-start.c: Add special exception to license text.
4159
41602013-02-27 Richard Henderson <rth@redhat.com>
4161
4162 * scripts/config.guess: Update from config.git.
4163 * scripts/config.sub: Likewise.
4164
41652013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4166
4167 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4168
4169 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4170
4171 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4172
4173 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4174
4175 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4176
41772013-02-26 Roland McGrath <roland@hack.frob.com>
4178
4179 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4180 [$(build-shared = yes].
4181
41822013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4183
4184 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4185 (__mul): Reduce iterations for calculating mantissa.
4186
4187 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4188 MPTWO.
4189 (__mpranred): Likewise.
4190
4191 [BZ #15160]
4192 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4193 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4194
41952013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4196
4197 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4198 Define __attribute__.
4199
42002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4201
4202 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4203 unused.
4204 * posix/regex_internal.h (__attribute): Remove.
4205 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4206 (re_string_context_at): Likewise.
4207 (bitset_not): Use __attribute__ and mark function as possibly
4208 unused.
4209 (bitset_merge): Likewise.
4210 (bitset_mask): Likewise.
4211 (re_string_char_size_at): Likewise.
4212 (re_string_wchar_at): Likewise.
4213 (re_string_elem_size_at): Likewise.
4214
42152013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4216
4217 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4218 code.
4219 (cc32): Likewise.
4220
4221 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4222 (__acr): Likewise.
4223 (__cpy): Likewise.
4224 (norm): Likewise.
4225 (denorm): Likewise.
4226 (__dbl_mp): Likewise.
4227 (add_magnitudes): Likewise.
4228 (sub_magnitudes): Likewise.
4229 (__mul): Likewise.
4230 (__inv): Likewise.
4231
4232 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4233 style.
4234
4235 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4236 style.
4237
4238 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4239 code.
4240
4241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4242 up changes with default code.
4243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4244 Likewise.
4245
42462013-02-24 Allan McRae <allan@archlinux.org>
4247
4248 * manual/socket.texi (The Internet Namespace): Order menu items
4249 to match that in the file.
4250
4251 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4252 node listing of the info page menu.
4253
42542013-02-21 Joseph Myers <joseph@codesourcery.com>
4255
4256 [BZ #13550]
4257 * sysdeps/i386/bp-asm.h: Remove file.
4258 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4259 (PARMS): Do not use macros from bp-asm.h.
4260 (S1): Likewise.
4261 (S2): Likewise.
4262 (SIZE): Likewise.
4263 (__mpn_add_n): Do not use BP_SYM
4264 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4265 "bp-asm.h".
4266 (PARMS): Do not use macros from bp-asm.h.
4267 (S1): Likewise.
4268 (SIZE): Likewise.
4269 (__mpn_addmul_1): Do not use BP_SYM
4270 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4271 "bp-asm.h".
4272 (PARMS): Do not use macros from bp-asm.h.
4273 (SIGMSK): Likewise.
4274 (_setjmp): Likewise. Do not use BP_SYM.
4275 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4276 "bp-asm.h".
4277 (PARMS): Do not use macros from bp-asm.h.
4278 (SIGMSK): Likewise.
4279 (setjmp): Likewise. Do not use BP_SYM.
4280 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4281 "bp-asm.h".
4282 (PARMS): Do not use macros from bp-asm.h.
4283 (__frexp): Do not use BP_SYM.
4284 (frexp): Likewise.
4285 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4286 "bp-asm.h".
4287 (PARMS): Do not use macros from bp-asm.h.
4288 (__frexpf): Do not use BP_SYM.
4289 (frexpf): Likewise.
4290 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4291 "bp-asm.h".
4292 (PARMS): Do not use macros from bp-asm.h.
4293 (__frexpl): Do not use BP_SYM.
4294 (frexpl): Likewise.
4295 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4296 "bp-asm.h".
4297 (PARMS): Do not use macros from bp-asm.h.
4298 (__remquo): Do not use BP_SYM.
4299 (remquo): Likewise.
4300 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4301 "bp-asm.h".
4302 (PARMS): Do not use macros from bp-asm.h.
4303 (__remquof): Do not use BP_SYM.
4304 (remquof): Likewise.
4305 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4306 "bp-asm.h".
4307 (PARMS): Do not use macros from bp-asm.h.
4308 (__remquol): Do not use BP_SYM.
4309 (remquol): Likewise.
4310 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4311 "bp-asm.h".
4312 (PARMS): Do not use macros from bp-asm.h.
4313 (DEST): Likewise.
4314 (SRC): Likewise.
4315 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4316 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4317 "bp-asm.h".
4318 (PARMS): Do not use macros from bp-asm.h.
4319 (strlen): Do not use BP_SYM.
4320 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4321 "bp-asm.h".
4322 (PARMS): Do not use macros from bp-asm.h.
4323 (S1): Likewise.
4324 (S2): Likewise.
4325 (SIZE): Likewise.
4326 (__mpn_add_n): Do not use BP_SYM.
4327 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4328 "bp-asm.h".
4329 (PARMS): Do not use macros from bp-asm.h.
4330 (S1): Likewise.
4331 (SIZE): Likewise.
4332 (__mpn_addmul_1): Do not use BP_SYM.
4333 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4334 weak_alias.
4335 (bzero): Likewise.
4336 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4337 "bp-asm.h".
4338 (PARMS): Do not use macros from bp-asm.h.
4339 (S): Likewise.
4340 (SIZE): Likewise.
4341 (__mpn_lshift): Do not use BP_SYM.
4342 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4343 "bp-asm.h".
4344 (PARMS): Do not use macros from bp-asm.h.
4345 (DEST): Likewise.
4346 (SRC): Likewise.
4347 (LEN): Likewise.
4348 (memcpy): Likewise. Do not use BP_SYM.
4349 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4350 libc_hidden_def and weak_alias.
4351 (mempcpy): Do not use BP_SYM in weak_alias.
4352 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4353 "bp-asm.h".
4354 (PARMS): Do not use macros from bp-asm.h.
4355 (DEST): Likewise.
4356 (LEN): Likewise.
4357 [!BZERO_P] (CHR): Likewise.
4358 (memset): Likewise. Do not use BP_SYM.
4359 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4360 "bp-asm.h".
4361 (PARMS): Do not use macros from bp-asm.h.
4362 (S1): Likewise.
4363 (SIZE): Likewise.
4364 (__mpn_mul_1): Do not use BP_SYM.
4365 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4366 "bp-asm.h".
4367 (PARMS): Do not use macros from bp-asm.h.
4368 (S): Likewise.
4369 (SIZE): Likewise.
4370 (__mpn_rshift): Do not use BP_SYM.
4371 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4372 "bp-asm.h".
4373 (PARMS): Do not use macros from bp-asm.h.
4374 (STR): Likewise.
4375 (CHR): Likewise.
4376 (strchr): Likewise. Do not use BP_SYM.
4377 (index): Do not use BP_SYM in weak_alias.
4378 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4379 "bp-asm.h".
4380 (PARMS): Do not use macros from bp-asm.h.
4381 (DEST): Likewise.
4382 (SRC): Likewise.
4383 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4384 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4385 "bp-asm.h".
4386 (PARMS): Do not use macros from bp-asm.h.
4387 (strlen): Do not use BP_SYM.
4388 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4389 "bp-asm.h".
4390 (PARMS): Do not use macros from bp-asm.h.
4391 (S1): Likewise.
4392 (S2): Likewise.
4393 (SIZE): Likewise.
4394 (__mpn_sub_n): Do not use BP_SYM.
4395 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4396 "bp-asm.h".
4397 (PARMS): Do not use macros from bp-asm.h.
4398 (S1): Likewise.
4399 (SIZE): Likewise.
4400 (__mpn_submul_1): Do not use BP_SYM.
4401 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4402 "bp-asm.h".
4403 (PARMS): Do not use macros from bp-asm.h.
4404 (S1): Likewise.
4405 (S2): Likewise.
4406 (SIZE): Likewise.
4407 (__mpn_add_n): Do not use BP_SYM.
4408 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4409 weak_alias.
4410 (bzero): Likewise.
4411 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4412 "bp-asm.h".
4413 (PARMS): Do not use macros from bp-asm.h.
4414 (BLK2): Likewise.
4415 (LEN): Likewise.
4416 (memcmp): Do not use BP_SYM.
4417 (bcmp): Do not use BP_SYM in weak_alias.
4418 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4419 "bp-asm.h".
4420 (PARMS): Do not use macros from bp-asm.h.
4421 (DEST): Likewise.
4422 (SRC): Likewise.
4423 (LEN): Likewise.
4424 (memcpy): Likewise. Do not use BP_SYM.
4425 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4426 "bp-asm.h".
4427 (PARMS): Do not use macros from bp-asm.h.
4428 (DEST): Likewise.
4429 (SRC): Likewise.
4430 (LEN): Likewise.
4431 (memmove): Likewise. Do not use BP_SYM.
4432 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4433 "bp-asm.h".
4434 (PARMS): Do not use macros from bp-asm.h.
4435 (DEST): Likewise.
4436 (SRC): Likewise.
4437 (LEN): Likewise.
4438 (__mempcpy): Likewise. Do not use BP_SYM.
4439 (mempcpy): Do not use BP_SYM in weak_alias.
4440 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4441 "bp-asm.h".
4442 (PARMS): Do not use macros from bp-asm.h.
4443 (DEST): Likewise.
4444 (LEN): Likewise.
4445 [!BZERO_P] (CHR): Likewise.
4446 (memset): Likewise. Do not use BP_SYM.
4447 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4448 "bp-asm.h".
4449 (PARMS): Do not use macros from bp-asm.h.
4450 (STR2): Likewise.
4451 (strcmp): Do not use BP_SYM.
4452 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4453 "bp-asm.h".
4454 (PARMS): Do not use macros from bp-asm.h.
4455 (STR): Likewise.
4456 (DELIM): Likewise.
4457 [USE_AS_STRTOK_R] (SAVE): Likewise.
4458 (FUNCTION): Likewise. Do not use BP_SYM.
4459 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4460 aliases.
4461 (strtok_r): Likewise.
4462 (__GI___strtok_r): Likewise.
4463 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4464 (PARMS): Do not use macros from bp-asm.h.
4465 (S): Likewise.
4466 (SIZE): Likewise.
4467 (__mpn_lshift): Do not use BP_SYM.
4468 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4469 (PARMS): Do not use macros from bp-asm.h.
4470 (STR): Likewise.
4471 (CHR): Likewise.
4472 (__memchr): Do not use BP_SYM.
4473 (memchr): Do not use BP_SYM in weak_alias.
4474 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4475 (PARMS): Do not use macros from bp-asm.h.
4476 (BLK2): Likewise.
4477 (LEN): Likewise.
4478 (memcmp): Do not use BP_SYM.
4479 (bcmp): Do not use BP_SYM in weak_alias.
4480 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4481 (PARMS): Do not use macros from bp-asm.h.
4482 (S1): Likewise.
4483 (SIZE): Likewise.
4484 (__mpn_mul_1): Do not use BP_SYM.
4485 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4486 "bp-asm.h".
4487 (PARMS): Do not use macros from bp-asm.h.
4488 (STR): Likewise.
4489 (CHR): Likewise.
4490 (__rawmemchr): Do not use BP_SYM.
4491 (rawmemchr): Do not use BP_SYM in weak_alias.
4492 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4493 (PARMS): Do not use macros from bp-asm.h.
4494 (S): Likewise.
4495 (SIZE): Likewise.
4496 (__mpn_rshift): Do not use BP_SYM.
4497 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4498 (PARMS): Do not use macros from bp-asm.h.
4499 (SIGMSK): Likewise.
4500 (__sigsetjmp): Likewise. Do not use BP_SYM.
4501 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4502 (_start): Do not use BP_SYM.
4503 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4504 (PARMS): Do not use macros from bp-asm.h.
4505 (DEST): Likewise.
4506 (SRC): Likewise.
4507 (__stpcpy): Likewise. Do not use BP_SYM.
4508 (stpcpy): Do not use BP_SYM in weak_alias.
4509 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4510 "bp-asm.h".
4511 (PARMS): Do not use macros from bp-asm.h.
4512 (DEST): Likewise.
4513 (SRC): Likewise.
4514 (LEN): Likewise.
4515 (__stpncpy): Likewise. Do not use BP_SYM.
4516 (stpncpy): Do not use BP_SYM in weak_alias.
4517 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4518 (PARMS): Do not use macros from bp-asm.h.
4519 (STR): Likewise.
4520 (CHR): Likewise.
4521 (strchr): Likewise. Do not use BP_SYM.
4522 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4523 "bp-asm.h".
4524 (PARMS): Do not use macros from bp-asm.h.
4525 (STR): Likewise.
4526 (CHR): Likewise.
4527 (__strchrnul): Likewise. Do not use BP_SYM.
4528 (strchrnul): Do not use BP_SYM in weak_alias.
4529 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4530 "bp-asm.h".
4531 (PARMS): Do not use macros from bp-asm.h.
4532 (STOP): Likewise.
4533 (strcspn): Do not use BP_SYM.
4534 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4535 "bp-asm.h".
4536 (PARMS): Do not use macros from bp-asm.h.
4537 (STR): Likewise.
4538 (STOP): Likewise.
4539 (strpbrk): Likewise. Do not use BP_SYM.
4540 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4541 "bp-asm.h".
4542 (PARMS): Do not use macros from bp-asm.h.
4543 (STR): Likewise.
4544 (CHR): Likewise.
4545 (strrchr): Likewise. Do not use BP_SYM.
4546 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4547 (PARMS): Do not use macros from bp-asm.h.
4548 (SKIP): Likewise.
4549 (strspn): Do not use BP_SYM.
4550 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4551 (PARMS): Do not use macros from bp-asm.h.
4552 (STR): Likewise.
4553 (DELIM): Likewise.
4554 (SAVE): Likewise.
4555 (FUNCTION): Likewise. Do not use BP_SYM.
4556 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4557 aliases.
4558 (strtok_r): Likewise.
4559 (__GI___strtok_r): Likewise.
4560 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4561 (PARMS): Do not use macros from bp-asm.h.
4562 (S1): Likewise.
4563 (S2): Likewise.
4564 (SIZE): Likewise.
4565 (__mpn_sub_n): Do not use BP_SYM.
4566 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4567 "bp-asm.h".
4568 (PARMS): Do not use macros from bp-asm.h.
4569 (S1): Likewise.
4570 (SIZE): Likewise.
4571 (__mpn_submul_1): Do not use BP_SYM.
4572 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4573 <bp-sym.h>.
4574 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4575 and <bp-asm.h>.
4576 (PARMS): Do not use macros from bp-asm.h.
4577 (FLAGS): Likewise.
4578 (PTID): Likewise.
4579 (TLS): Likewise.
4580 (CTID): Likewise.
4581 (__clone): Do not use BP_SYM.
4582 (clone): Do not use BP_SYM in weak_alias.
4583 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4584 and <bp-asm.h>.
4585 (PARMS): Do not use macros from bp-asm.h.
4586 (LEN): Likewise.
4587 (__mmap64): Do not use BP_SYM.
4588 (mmap64): Do not use BP_SYM in weak_alias.
4589 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4590 <bp-sym.h> and <bp-asm.h>.
4591 (PARMS): Do not use macros from bp-asm.h.
4592 (__posix_fadvise64_l64): Do not use BP_SYM.
4593 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4594 (PARMS): Do not use macros from bp-asm.h.
4595 (NSOPS): Likewise.
4596 (semtimedop): Do not use BP_SYM.
4597 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4598 and <bp-asm.h>.
4599
46002013-02-21 Allan McRae <allan@archlinux.org>
4601
4602 * manual/message.texi (Charset conversion in gettext):
4603 Move @end statement to beginning of line.
4604
46052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4606
4607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4608 static.
4609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4610 Likewise.
4611
4612 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4613 (denorm): Likewise.
4614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4616
46172013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4618
4619 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4620 tail-call to the resolved function if pltexit isn't needed.
4621
46222013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4623
4624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4625 or Y being zero as being unlikely.
4626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4627 Likewise.
4628
46292013-02-20 Carlos O'Donell <carlos@redhat.com>
4630
4631 * manual/nss.texi (System Databases and Name Service Switch):
4632 Remove frobnicate @pxref.
4633
46342013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4635
4636 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4637 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4638
46392013-02-20 Petr Machata <pmachata@redhat.com>
4640
4641 * elf/elf.h (R_ARM_TARGET1): New macro.
4642 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4643 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4644 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4645 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4646 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4647 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4648 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4649 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4650 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4651 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4652 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4653 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4654 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4655 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4656 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4657 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4658 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4659 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4660 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4661 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4662 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4663 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4664 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4665 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4666 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4667 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4668 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4669 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4670 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4671 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4672 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4673 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4674 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4675 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4676 (R_ARM_THM_GOT_BREL12): Likewise.
4677 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4678 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4679 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4680 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4681 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4682 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4683 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4684 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4685 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4686
46872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4688
4689 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4690 __attribute_used__ to __attribute__ ((unused)).
4691
46922013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4693
4694 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4695 powerpc mpa.c.
4696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4697 comment formatting.
4698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4699
47002013-02-19 Joseph Myers <joseph@codesourcery.com>
4701
4702 [BZ #13550]
4703 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4704 Remove macro.
4705 (ENTER): Remove both macro definitions.
4706 (LEAVE): Likewise.
4707 (CHECK_BOUNDS_LOW): Likewise.
4708 (CHECK_BOUNDS_HIGH): Likewise.
4709 (CHECK_BOUNDS_BOTH): Likewise.
4710 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4711 (RETURN_BOUNDED_POINTER): Likewise.
4712 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4713 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4714 (POP_ERRNO_LOCATION_RETURN): Likewise.
4715 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4716 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4717 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4718 macros.
4719 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4720 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4721 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4722 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4723 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4724 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4725 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4726 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4727 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4728 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4729 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4730 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4731 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4732 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4733 removed macros.
4734 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4735 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4736 macros.
4737 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4738 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4739 * sysdeps/i386/i586/memset.S (memset): Likewise.
4740 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4741 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4742 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4743 macros.
4744 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4745 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4746 Change uses of L(2) to L(out).
4747 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4748 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4749 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4750 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4751 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4752 removed macros.
4753 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4754 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4755 macros.
4756 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4757 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4758 (RETURN): Do not use macro LEAVE.
4759 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4760 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4761 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4762 * sysdeps/i386/i686/memset.S (memset): Likewise.
4763 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4764 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4765 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4766 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4767 Likewise.
4768 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4769 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4770 L(1_2) and L(1_3) into L(1).
4771 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4772 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4773 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4774 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4775 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4776 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4777 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4778 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4779 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4780 macros.
4781 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4782 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4783 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4784 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4785 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4786 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4787 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4788 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4789 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4790 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4791 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4792 * sysdeps/i386/strspn.S (strspn): Likewise.
4793 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4794 conditional code.
4795 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4796 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4797 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4798 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4799 L(1_3) into L(1_1).
4800 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4801 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4802 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4803 macros.
4804 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4805
48062013-02-19 Jakub Jelinek <jakub@redhat.com>
4807
4808 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4809 macro.
4810
48112013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4812
4813 * math/atest-exp.c (exp_mpn): Remove ROUND.
4814 * math/atest-exp2.c (exp_mpn): Likewise.
4815 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4816
4817 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4818 * stdlib/tst-tls-atexit-lib.c: Likewise.
4819 * stdlib/tst-tls-atexit.c: Likewise.
4820
48212013-02-18 Mike Frysinger <vapier@gentoo.org>
4822
4823 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4824 and __attribute_alloc_size__.
4825
48262013-02-18 Mike Frysinger <vapier@gentoo.org>
4827
4828 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4829 __attribute_alloc_size__.
4830 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4831 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4832
48332013-02-18 Mike Frysinger <vapier@gentoo.org>
4834
4835 * include/programs/xmalloc.h: New file.
4836 * catgets/gencat.c: Include it.
4837 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4838 * elf/pldd.c: Likewise.
4839 * iconv/iconv_charmap.c: Likewise.
4840 * iconv/iconvconfig.c: Likewise.
4841 * iconv/strtab.c: Likewise.
4842 * locale/programs/locale.c: Likewise.
4843 * locale/programs/localedef.h: Likewise.
4844 * locale/programs/simple-hash.c: Likewise.
4845 * nscd/nscd.h: Likewise.
4846 * nss/makedb.c: Likewise.
4847 * sysdeps/generic/ldconfig.h: Likewise.
4848
48492013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4850
4851 * Versions.def: Add GLIBC_2.18.
4852 * include/link.h (struct link_map): New member l_tls_dtor_count.
4853 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4854 (__call_tls_dtors): Likewise.
4855 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4856 __cxa_thread_atexit_impl.
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4858 Likewise.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4860 Likewise.
4861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4862 Likewise.
4863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4864 Likewise.
4865 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4867 Likewise.
4868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4869 Likewise.
4870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4872 Likewise.
4873 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4874 (tests): Add test case tst-tls-atexit.
4875 (modules-names): Add shared library for tst-tls-atexit.
4876 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4877 (GLIBC_PRIVATE): Add __call_tls_dtors.
4878 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4879 for libstdc++.
4880 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4881 * stdlib/tst-tls-atexit.c: New test case.
4882 * stdlib/tst-tls-atexit-lib.c: New test case.
4883
4884 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
4885
4886 * elf/Versions (ld): Add _dl_find_dso_for_object.
4887 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4888 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4889 (dl_open_worker): Use _dl_find_dso_for_object.
4890 * elf/dl-sym.c (do_sym): Likewise.
4891 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4892
48932013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4894
4895 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4896 Syntactic changes only.
4897 (_dl_runtime_profile): Do a tail-call to the resolved function.
4898
48992013-02-17 Joseph Myers <joseph@codesourcery.com>
4900
4901 [BZ #13550]
4902 * sysdeps/x86_64/bp-asm.h: Remove file.
4903 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4904 <bp-sym.h> and <bp-asm.h>.
4905 (__clone): Do not use BP_SYM.
4906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4907 <bp-sym.h> and <bp-asm.h>.
4908 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4909 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4910 "bp-asm.h".
4911 (_setjmp): Do not use BP_SYM.
4912 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4913 "bp-asm.h".
4914 (setjmp): Do not use BP_SYM.
4915 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4916 libc_hidden_def.
4917 (mempcpy): Do not use BP_SYM in weak_alias.
4918 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4919 "bp-asm.h".
4920 (strchr): Do not use BP_SYM.
4921 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4922 "bp-asm.h".
4923 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4924 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4925 (_start): Do not use BP_SYM.
4926 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4927 "bp-asm.h".
4928 (strcat): Do not use BP_SYM.
4929 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4930 "bp-asm.h".
4931 (STRCMP): Do not use BP_SYM.
4932 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4933 "bp-asm.h".
4934 (STRCPY): Do not use BP_SYM.
4935 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4936 "bp-asm.h".
4937 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4938 "bp-asm.h".
4939 (FUNCTION): Do not use BP_SYM.
4940 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4941 weak_alias.
4942 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4943
49442013-02-17 Andreas Jaeger <aj@suse.de>
4945
4946 * time/Versions: Sort entries.
4947 * string/Versions: Likewise.
4948 * resolv/Versions: Likewise.
4949 * posix/Versions: Likewise.
4950 * iconv/Versions: Likewise.
4951 * elf/Versions: Likewise.
4952 * wcsmbs/Versions: Likewise.
4953
49542013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4955
4956 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4957 loop termination condition.
4958
4959 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4960 variable to calculate EZ.
4961 (__sqr): Likewise.
4962
4963 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4964 the lower precision input.
4965
49662013-02-15 Joseph Myers <joseph@codesourcery.com>
4967
4968 [BZ #13550]
4969 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
4970 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
4971 (run-via-rtld-prefix): Do not handle %-bp tests.
4972 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
4973 (all-object-suffixes): Remove .ob.
4974 (bppfx): Remove variable.
4975 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
4976 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
4977 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
4978 [$(build-bounded) = yes] (libtype.ob): Likewise.
4979 * Makerules (elide-routines.ob): Remove variable.
4980 (do-tests-clean): Do not handle *-bp.out.
4981 (common-mostlyclean): Do not handle *-bp and *-bp.out.
4982 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
4983 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
4984 (tests): Do not include $(tests-bp.out).
4985 (xtests): Do not include $(xtests-bp.out).
4986 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
4987 [$(build-bounded) = yes] ($(addprefix
4988 $(objpfx),$(binaries-bounded))): Remove rule.
4989 ($(objpfx)%-bp.out): Remove rule.
4990 * config.make.in (build-bounded): Remove variable.
4991 * crypt/Makefile [$(build-bounded) = yes]
4992 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
4993 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
4994 append to variable.
4995 [$(build-bounded) = yes] (install-lib): Likewise.
4996 [$(build-bounded) = yes] (generated): Likewise.
4997 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
4998 Remove rule.
4999 * intl/Makefile [$(build-bounded) = yes]
5000 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5001 * math/Makefile [$(build-bounded) = yes]
5002 ($(tests:%=$(objpfx)%-bp): Likewise.
5003 * misc/Makefile [$(build-bounded) = yes]
5004 ($(objpfx)tst-tsearch-bp): Likewise.
5005 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5006 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5007 Remove dependency.
5008 * string/Makefile (o-objects.ob): Remove variable.
5009 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5010 (CFLAGS-.ob): Remove variable.
5011 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5012 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5013 both definitions of variable.
5014 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5015 (ASFLAGS-.ob): Remove variable.
5016
50172013-02-14 Joseph Myers <joseph@codesourcery.com>
5018
5019 [BZ #13550]
5020 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5021 Remove __BOUNDED_POINTERS__ from condition.
5022 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5023 * string/bits/string2.h [!__NO_STRING_INLINES &&
5024 !__BOUNDED_POINTERS__]: Likewise.
5025 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5026 Likewise.
5027 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5028 Remove conditional code.
5029 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5030 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5031 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5032 condition.
5033
5034 [BZ #13550]
5035 * csu/libc-start.c: Do not include <bp-sym.h>.
5036 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5037 * elf/dl-open.c: Do not include <bp-sym.h>.
5038 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5039 * math/fegetenv.c: Do not include <bp-sym.h>.
5040 (fegetenv): Do not use BP_SYM in versioned symbols.
5041 * nptl/sysdeps/pthread/bits/libc-lockP.h
5042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5043 <bp-sym.h>.
5044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5045 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5047 (__pthread_mutex_destroy): Likewise.
5048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5049 (__pthread_mutex_lock): Likewise.
5050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5051 (__pthread_mutex_trylock): Likewise.
5052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5053 (__pthread_mutex_unlock): Likewise.
5054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5055 (__pthread_mutexattr_init): Likewise.
5056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5057 (__pthread_mutexattr_destroy): Likewise.
5058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5059 (__pthread_mutexattr_settype): Likewise.
5060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5061 (__pthread_rwlock_init): Likewise.
5062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5063 (__pthread_rwlock_destroy): Likewise.
5064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5065 (__pthread_rwlock_rdlock): Likewise.
5066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5067 (__pthread_rwlock_tryrdlock): Likewise.
5068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5069 (__pthread_rwlock_wrlock): Likewise.
5070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5071 (__pthread_rwlock_trywrlock): Likewise.
5072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5073 (__pthread_rwlock_unlock): Likewise.
5074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5075 (__pthread_key_create): Likewise.
5076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5077 (__pthread_setspecific): Likewise.
5078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5079 (__pthread_getspecific): Likewise.
5080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5081 Likewise.
5082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5083 (_pthread_cleanup_push_defer): Likewise.
5084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5085 (_pthread_cleanup_pop_restore): Likewise.
5086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5087 (pthread_setcancelstate): Likewise.
5088 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5089 <bp-sym.h>.
5090 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5091 (memchr): Do not use BP_SYM in weak_alias.
5092 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5093 (fegetenv): Do not use BP_SYM in versioned symbols.
5094 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5095 (fesetenv): Do not use BP_SYM in versioned symbols.
5096 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5097 (feupdateenv): Do not use BP_SYM in versioned symbols.
5098 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5099 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5100 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5101 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5102 (open64): Do not use BP_SYM in weak_alias.
5103 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5104 (fegetenv): Do not use BP_SYM in versioned symbols.
5105 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5106 (fesetenv): Do not use BP_SYM in versioned symbols.
5107 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5108 (feupdateenv): Do not use BP_SYM in versioned symbols.
5109 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5110 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5111 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5112 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5113 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5114 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5115 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5116 <bp-sym.h>.
5117 (__libc_start_main): Do not use BP_SYM.
5118
51192013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5120
5121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5122 redundant return line.
5123 (norm): Likewise.
5124 (denorm): Likewise.
5125 (dbl_mp): Likewise.
5126 (sub_magnitudes): Likewise.
5127 (__add): Likewise.
5128 (__sub): Likewise.
5129 (__mul): Likewise.
5130 (__inv): Likewise.
5131 (__dvd): Likewise.
5132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5133 (norm): Likewise.
5134 (denorm): Likewise.
5135 (dbl_mp): Likewise.
5136 (sub_magnitudes): Likewise.
5137 (__add): Likewise.
5138 (__sub): Likewise.
5139 (__mul): Likewise.
5140 (__inv): Likewise.
5141 (__dvd): Likewise.
5142
5143 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5144 instead of __mul.
5145 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5146 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5147 (cc32): Likewise.
5148
5149 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5150 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5152 of __mul for squares.
5153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5154 function
5155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5156 Likewise.
5157 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5158 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5159
51602013-02-13 Joseph Myers <joseph@codesourcery.com>
5161
5162 [BZ #13550]
5163 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5164 code.
5165 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5166 prototype or function definition. Rename ubp_* variables and
5167 parameters. Remove argv definitions conditional on
5168 [__BOUNDED_POINTERS__].
5169 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5170 * elf/dl-runtime.c (_dl_fixup): Likewise.
5171 * include/set-hooks.h (RUN_HOOK): Likewise.
5172 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5173 definition.
5174 * string/strcpy.c (strcpy): Do not use __unbounded.
5175 * sysdeps/generic/frame.h (struct layout): Likewise.
5176 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5177 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5178 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5179 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5180 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5181 (__backtrace): Likewise.
5182 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5183 use __ptrvalue.
5184 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5185 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5186 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5187 Likewise.
5188 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5189 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5190 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5191 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5192 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5193 Do not use __unbounded.
5194 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5195 Rename __unboundedrlimits parameter to rlimits in prototype.
5196 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5197 Do not use __unbounded.
5198 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5199 not use __ptrvalue.
5200 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5201 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5202 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5203 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5204 __ptrvalue or __unbounded.
5205 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5206 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5207 use __unbounded.
5208 (__new_msgctl): Do not use __ptrvalue.
5209 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5210 __unbounded.
5211 (__libc_msgrcv): Do not use __ptrvalue.
5212 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5213 startup_info): Do not use __unbounded.
5214 (__libc_start_main): Likewise. Rename ubp_* variables and
5215 parameters. Remove argv definitions conditional on
5216 [__BOUNDED_POINTERS__].
5217 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5218 __ptrvalue.
5219 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5220 use __unbounded.
5221 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5222 or __ptrvalue.
5223 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5224 use __unbounded.
5225 (__new_shmctl): Do not use __ptrvalue.
5226 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5227 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5228 Likewise.
5229 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5230 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5231 (__libc_sigaction): Likewise.
5232 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5233 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5234 Likewise.
5235 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5236
52372013-02-13 Ondřej Bílka <neleai@seznam.cz>
5238
5239 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
5240
5241 * string/mempcpy.c: Implement by calling memcpy.
5242
52432013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5244
5245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5246
5247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5248 evaluation.
5249
5250 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5251 values in the mantissa.
5252
5253 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5254 minimize writes to Z.
5255 (sub_magnitudes): Simplify code a bit.
5256
52572013-02-12 Roland McGrath <roland@hack.frob.com>
5258
5259 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5260 from the message. The linker prefixes all warnings with that already.
5261
52622013-02-12 Andreas Schwab <schwab@suse.de>
5263
5264 [BZ #15078]
5265 * posix/regexec.c (extend_buffers): Add parameter min_len.
5266 (check_matching): Pass minimum needed length.
5267 (clean_state_log_if_needed): Likewise.
5268 (get_subexp): Likewise.
5269 * posix/Makefile (tests): Add bug-regex34.
5270 (bug-regex34-ENV): Define.
5271 * posix/bug-regex34.c: New file.
5272
5273 [BZ #11561]
5274 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5275 elements compare against the byte sequence of it, not its name.
5276 * posix/Makefile (tests): Add bug-regex35.
5277 (bug-regex35-ENV): Define.
5278 * posix/bug-regex35.c: New file.
5279
52802013-02-11 Tom de Vries <tom@codesourcery.com>
5281
5282 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5283 comment.
5284 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5285 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5286 (CHECK_EOL): Add undef.
5287
52882013-02-11 Ondřej Bílka <neleai@seznam.cz>
5289
5290 * bits/stdlib-bsearch.h: New file.
5291 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
5292 * stdlib/stdlib.h: Likewise.
5293
52942013-02-11 Roland McGrath <roland@hack.frob.com>
5295
5296 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5297 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5298 declaration.
5299 * manual/search.texi (Array Search Function): Add missing const in
5300 lfind prototype.
5301 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5302 declaration to use rlim_t.
5303 (Basic Scheduling Functions): Remove erroneous const from
5304 sched_getparam prototype. Remove erroneous * from
5305 sched_get_priority_max and sched_get_priority_min prototypes.
5306 (Resource Usage): Fix summary @comment on vtimes to refer to
5307 sys/vtimes.h rather than vtimes.h.
5308 Add missing *s in vtimes prototype.
5309 (Limits on Resources): Fix ulimit prototype to return long int.
5310 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5311 prototypes to use long int rather than double.
5312 (BSD Random): Fix initstate and setstate to use char *, not void *.
5313 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5314 prototype to make second argument 'struct aiocb64 *const[]'.
5315 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5316 (Status of AIO Operations): Remove erroneous const in aio_return and
5317 aio_return64 prototypes.
5318 (Synchronizing I/O): Fix sync prototype to return void.
5319 * manual/startup.texi (Suboptions): Remove an erroneous const in
5320 getsubopt prototype.
5321 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5322 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5323 use size_t rather than int.
5324 (Scanning All Users): Likewise for getpwent_r.
5325 (Setting Groups): Add missing const to setgroups prototype.
5326 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5327 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5328 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5329 'const void *' rather than 'const char *'.
5330 (Host Address Functions): Likewise for inet_ntop.
5331 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5332 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5333 ssize_t for return value.
5334 (Sending Data): Likewise for send, sendto, sendmsg.
5335 (Socket Option Functions): Add a missing const in setsockopt prototype.
5336 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5337 use wchar_t for the argument.
5338 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5339 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5340 take no arguments.
5341 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5342 double/float/long double for second argument.
5343 Fix return types of significand, significandf, significandl.
5344 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5345 argument in fchmod prototype.
5346 (File Owner): Use uid_t and gid_t in fchown prototype.
5347 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5348 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5349 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5350 use 'const struct dirent **' as argument types to CMP function pointer
5351 argument.
5352 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5353 (File Times): Fix summary magic @comment for struct utimbuf and utime
5354 to refer to utime.h, not time.h.
5355 * manual/string.texi (Argz Functions): Add missing const in
5356 argz_extract and argz_next prototypes.
5357 (Finding Tokens in a String): Likewise for basename.
5358 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5359 (Copying and Concatenation): Fix typo in wmemmove prototype.
5360 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5361 (Signal Stack): Remove erroneous const in sigstack prototype.
5362 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5363 prototype.
5364 (Simple Calendar Time): Likewise for stime.
5365 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5366 prototype.
5367 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5368 say sys/sysctl.h instead.
5369 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5370 and vsyslog prototypes.
5371
53722013-02-11 Tom de Vries <tom@codesourcery.com>
5373
5374 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5375 Remove.
5376
53772013-02-11 Roland McGrath <roland@hack.frob.com>
5378
5379 * misc/sys/mman.h: Fix typo in mremap comment.
5380
53812013-02-08 Roland McGrath <roland@hack.frob.com>
5382
5383 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5384 the '\0' terminator.
5385
53862013-02-08 Joseph Myers <joseph@codesourcery.com>
5387
5388 [BZ #13550]
5389 * debug/segfault.c: Don't include <bp-checks.h>.
5390 * sysdeps/generic/bp-checks.h: Remove file.
5391 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5392 (__GETDENTS): Don't use CHECK_N.
5393 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5394 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5395 (__getgroups): Don't use CHECK_N.
5396 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5397 (setgroups): Don't use CHECK_N.
5398 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5399 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5400 (__libc_msgrcv): Don't use CHECK_N.
5401 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5402 (__libc_msgsnd): Don't use CHECK_N.
5403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5404 <bp-checks.h>.
5405 (__libc_pread): Don't use CHECK_N.
5406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5407 include <bp-checks.h>.
5408 (__libc_pread64): Don't use CHECK_N.
5409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5410 include <bp-checks.h>.
5411 (__libc_pwrite): Don't use CHECK_N.
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5413 include <bp-checks.h>.
5414 (__libc_pwrite64): Don't use CHECK_N.
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5416 <bp-checks.h>.
5417 (__libc_pread): Don't use CHECK_N.
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5419 include <bp-checks.h>.
5420 (__libc_pread64): Don't use CHECK_N.
5421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5422 include <bp-checks.h>.
5423 (__libc_pwrite): Don't use CHECK_N.
5424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5425 include <bp-checks.h>.
5426 (__libc_pwrite64): Don't use CHECK_N.
5427 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5428 (do_pread): Don't use CHECK_N.
5429 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5430 (do_pread64): Don't use CHECK_N.
5431 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5432 (do_pwrite): Don't use CHECK_N.
5433 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5434 (do_pwrite64): Don't use CHECK_N.
5435 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5436 (__libc_readv): Don't use CHECK_N.
5437 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5438 (semop): Don't use CHECK_N.
5439 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5440 <bp-checks.h>.
5441 (semtimedop): Don't use CHECK_N.
5442 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5443 (__libc_pread): Don't use CHECK_N.
5444 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5445 <bp-checks.h>.
5446 (__libc_pread64): Don't use CHECK_N.
5447 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5448 <bp-checks.h>.
5449 (__libc_pwrite): Don't use CHECK_N.
5450 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5451 <bp-checks.h>.
5452 (__libc_pwrite64): Don't use CHECK_N.
5453 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5454 <bp-checks.h>.
5455 (__libc_msgrcv): Don't use CHECK_N.
5456 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5457 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5458 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5459 (__libc_writev): Don't use CHECK_N.
5460
54612013-02-08 Roland McGrath <roland@hack.frob.com>
5462
5463 * string/strcpy.c: Removed unused variable.
5464
5465 * Makeconfig (+sysdep-includes): Define with := rather than =.
5466 Use an existing include/ subdir of each sysdeps dir before it.
5467
54682013-02-08 Carlos O'Donell <carlos@redhat.com>
5469
5470 * nscd/connection.c (register_traced_file): Comment function.
5471 [HAVE_INOTIFY] (union __inev): Define.
5472 [HAVE_INOTIFY] (inotify_check_files): New function.
5473 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5474 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5475 clear_db_cache.
5476 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5477
54782013-02-08 Carlos O'Donell <carlos@redhat.com>
5479
5480 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5481 loaded if not already and that a failure is permanent.
5482
54832013-02-08 Carlos O'Donell <carlos@redhat.com>
5484
5485 [BZ #15006]
5486 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5487 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5488
54892013-02-08 Joseph Myers <joseph@codesourcery.com>
5490
5491 [BZ #13550]
5492 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5493 (CHECK_1_NULL_OK): Likewise.
5494 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5495 (__fxstat): Do not use CHECK_1.
5496 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5497 <bp-checks.h>.
5498 (___fxstat64): Do not use CHECK_1.
5499 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5500 <bp-checks.h>.
5501 (__fxstatat): Do not use CHECK_1.
5502 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5503 <bp-checks.h>.
5504 (__fxstatat64): Do not use CHECK_1.
5505 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5506 <bp-checks.h>.
5507 (__fxstat): Do not use CHECK_1.
5508 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5509 <bp-checks.h>.
5510 (__fxstatat): Do not use CHECK_1.
5511 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5512 <bp-checks.h>.
5513 (__getresgid): Do not use CHECK_1.
5514 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5515 <bp-checks.h>.
5516 (__getresuid): Do not use CHECK_1.
5517 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5518 <bp-checks.h>.
5519 (__lxstat): Do not use CHECK_1.
5520 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5521 <bp-checks.h>.
5522 (__old_msgctl): Do not use CHECK_1.
5523 (__new_msgctl): Likewise.
5524 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5525 <bp-checks.h>.
5526 (__new_setrlimit): Do not use CHECK_1.
5527 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5528 <bp-checks.h>.
5529 (__old_shmctl): Do not use CHECK_1.
5530 (__new_shmctl): Likewise.
5531 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5532 <bp-checks.h>.
5533 (__xstat): Do not use CHECK_1.
5534 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5535 (__lxstat): Do not use CHECK_1.
5536 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5537 <bp-checks.h>.
5538 (___lxstat64): Do not use CHECK_1.
5539 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5540 (__old_msgctl): Do not use CHECK_1.
5541 (__new_msgctl): Likewise.
5542 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5543 <bp-checks.h>.
5544 (__gettimeofday): Do not use CHECK_1.
5545 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5546 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5547 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5548 <bp-checks.h>.
5549 (__gettimeofday): Do not use CHECK_1.
5550 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5551 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5552 (__new_shmctl): Do not use CHECK_1.
5553 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5554 <bp-checks.h>.
5555 (do_sigtimedwait): Do not use CHECK_1.
5556 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5557 <bp-checks.h>.
5558 (do_sigwaitinfo): Do not use CHECK_1.
5559 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5560 <bp-checks.h>.
5561 (msgctl): Do not use CHECK_1.
5562 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5563 <bp-checks.h>.
5564 (shmctl): Do not use CHECK_1.
5565 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5566 (ustat): Do not use CHECK_1.
5567 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5568 <bp-checks.h>.
5569 (__fxstat): Do not use CHECK_1.
5570 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5571 <bp-checks.h>.
5572 (__fxstatat): Do not use CHECK_1.
5573 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5574 <bp-checks.h>.
5575 (__lxstat): Do not use CHECK_1.
5576 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5577 <bp-checks.h>.
5578 (__xstat): Do not use CHECK_1.
5579 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5580 (__xstat): Do not use CHECK_1.
5581 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5582 (___xstat64): Do not use CHECK_1.
5583
5584 [BZ #13550]
5585 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5586 definitions.
5587 (CHECK_BOUNDS_HIGH): Likewise.
5588 * string/strcpy.c: Do not include <bp-checks.h>.
5589 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5590
55912013-02-07 Roland McGrath <roland@hack.frob.com>
5592
5593 * nscd/nscd-client.h (__nscd_drop_map_ref):
5594 Add __attribute__ ((unused)).
5595 * nis/nss-nisplus.h (niserr2nss): Likewise.
5596
5597 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5598 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5599
5600 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5601 Remove inline keyword.
5602 * include/rounding-mode.h (round_away): Likewise.
5603 * libio/wfileops.c (adjust_wide_data): Likewise.
5604 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5605 (__m128i_strloadu_tolower): Likewise.
5606 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5607 (__m128i_strloadu_tolower): Likewise.
5608 * time/mktime.c (ydhms_diff): Likewise.
5609 * locale/elem-hash.h (elem_hash): Likewise.
5610 * locale/setlocale.c (setdata): Likewise.
5611 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5612 (re_string_wchar_at): Likewise.
5613 (bitset_not, bitset_merge, bitset_mask): Likewise.
5614 [!(__GNUC__ > 3)] (inline): Remove macro.
5615 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5616 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5617 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5618 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5619 * string/memcmp.c (memcmp_bytes): Likewise.
5620 * locale/programs/locarchive.c (compute_hashval): Likewise.
5621 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5622 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5623 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5624 * nss/getent.c (print_rpc, print_protocols): Likewise.
5625 (print_passwd, print_group, print_aliases): Likewise.
5626 * nis/nss-nisplus.h (niserr2nss): Likewise.
5627 * nscd/connections.c (restart_p): Likewise.
5628 Change return type to bool.
5629
56302013-02-05 Roland McGrath <roland@hack.frob.com>
5631
5632 * Makeconfig (all-Depend-files): Add existing
5633 $(sorted-subdirs:=/Depend) files.
5634 (all-subdirs): Remove nss.
5635 * sysdeps/unix/inet/Subdirs: Add it here instead.
5636 * hesiod/Depend: New file.
5637
5638 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5639 instead of calling alloca.
5640
5641 * io/lseek.c (__lseek): Rename to __libc_lseek.
5642 Define __lseek as an alias.
5643
5644 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5645
56462013-02-04 Carlos O'Donell <carlos@redhat.com>
5647
5648 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5649 else clause and remove check for non-standard endianness.
5650
56512013-02-04 David S. Miller <davem@davemloft.net>
5652
5653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5654
56552013-02-04 Joseph Myers <joseph@codesourcery.com>
5656
5657 [BZ #13550]
5658 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5659 (__ubp_memchr): Remove prototype.
5660 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5661 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5662 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5663 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5664 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5665 Remove alias.
5666 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5667 (__ubp_memchr): Likewise.
5668 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5669 (__ubp_memchr): Likewise.
5670 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5671 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5672 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5673 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5674 CHECK_STRING.
5675 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5676 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5677 (__getcwd): Do not use CHECK_STRING.
5678 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5679 <bp-checks.h>.
5680 (__real_chown): Do not use CHECK_STRING.
5681 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5682 <bp-checks.h>.
5683 (fchownat): Do not use CHECK_STRING.
5684 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5685 CHECK_STRING.
5686 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5687 <bp-checks.h>.
5688 (__lchown): Do not use CHECK_STRING.
5689 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5690 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5691 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5692 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5694 include <bp-checks.h>.
5695 (truncate64): Do not use CHECK_STRING.
5696 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5697 <bp-checks.h>.
5698 (__real_chown): Do not use CHECK_STRING.
5699 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5700 <bp-checks.h>.
5701 (__lchown): Do not use CHECK_STRING.
5702 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5703 <bp-checks.h>.
5704 (__chown): Do not use CHECK_STRING.
5705 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5706 <bp-checks.h>.
5707 (truncate64): Do not use CHECK_STRING.
5708 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5709 Likewise.
5710 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5711 (__xmknod): Do not use CHECK_STRING.
5712 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5713 <bp-checks.h>.
5714 (__xmknodat): Do not use CHECK_STRING.
5715 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5716 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5717
57182013-02-04 Andreas Schwab <schwab@suse.de>
5719
5720 [BZ #14142]
5721 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5722 * include/netdb.h: Likewise for h_errno.
5723 * elf/tst-stackguard1.c: Include <tls.h>.
5724
57252013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5726
5727 * elf/link.h (struct link_map): Extend the l_addr comment.
5728 * include/link.h (struct link_map): Likewise.
5729
57302013-02-01 Joseph Myers <joseph@codesourcery.com>
5731
5732 [BZ #13550]
5733 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5734 (BOUNDED_1): Remove macro.
5735 * debug/backtrace.c: Don't include <bp-checks.h>.
5736 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5737 (__backtrace): Likewise.
5738 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5739 <bp-checks.h>.
5740 (__backtrace): Don't use BOUNDED_1.
5741 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5742 <bp-checks.h>.
5743 (__backtrace): Don't use BOUNDED_1.
5744 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5745 (__backtrace): Don't use BOUNDED_1.
5746 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5747 (shmat): Don't use BOUNDED_N.
5748
57492013-01-31 Joseph Myers <joseph@codesourcery.com>
5750
5751 [BZ #13550]
5752 * sysdeps/generic/bp-start.h: Remove file.
5753 * csu/libc-start.c: Don't include <bp-start.h>.
5754 (LIBC_START_MAIN): Set up __environ directly instead of using
5755 INIT_ARGV_and_ENVIRON.
5756 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5757 <bp-start.h>.
5758
5759 [BZ #13550]
5760 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5761 definitions.
5762 (CHECK_FCNTL): Likewise.
5763 (CHECK_N_PAGES): Likewise.
5764
5765 [BZ #13550]
5766 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5767 definitions.
5768 (CHECK_SIGSET_NULL_OK): Likewise.
5769 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5770 <bp-checks.h>.
5771 (sigpending): Don't use CHECK_SIGSET.
5772 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5773 <bp-checks.h>.
5774 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5775 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5776 <bp-checks.h>.
5777 (do_sigsuspend): Don't use CHECK_SIGSET.
5778 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5779 use CHECK_SIGSET.
5780 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5781 (do_sigwait): Don't use CHECK_SIGSET.
5782 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5783 use CHECK_SIGSET.
5784 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5785 include <bp-checks.h>.
5786 (sigpending): Don't use CHECK_SIGSET.
5787 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5788 include <bp-checks.h>.
5789 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5790 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5791 <bp-checks.h>.
5792 (sigpending): Don't use CHECK_SIGSET.
5793 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5794 <bp-checks.h>.
5795 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5796
5797 [BZ #13550]
5798 * sysdeps/generic/bp-semctl.h: Remove file.
5799 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5800 <bp-checks.h> and <bp-semctl.h>.
5801 (__old_semctl): Don't use CHECK_SEMCTL.
5802 (__new_semctl): Likewise.
5803 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5804 and <bp-semctl.h>.
5805 (__old_semctl): Don't use CHECK_SEMCTL.
5806 (__new_semctl): Likewise.
5807 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5808 <bp-checks.h> and <bp-semctl.h>.
5809 (__old_semctl): Don't use CHECK_SEMCTL.
5810 (__new_semctl): Likewise.
5811 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5812 <bp-checks.h> and <bp-semctl.h>.
5813 (semctl): Don't use CHECK_SEMCTL.
5814
5815 [BZ #13550]
5816 * Makerules (elide-bp-thunks): Remove variable.
5817 (elide-routines.oS): Don't use $(elide-bp-thunks).
5818 (elide-routines.os): Likewise.
5819 (elide-routines.o): Likewise.
5820 (elide-routines.op): Likewise.
5821 (elide-routines.og): Likewise.
5822 (objects): Don't use $(bp-thunks).
5823 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5824 include.
5825 (common-generated): Do not add s-proto-bp.d.
5826 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5827 (int): Likewise.
5828 (typ): Likewise.
5829 Do not generate makefile rules for bounded-pointer thunks.
5830 * sysdeps/generic/bp-thunks.h: Remove file.
5831 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5832 * sysdeps/unix/s-proto-bp.S: Likewise.
5833
5834 [BZ #15062]
5835 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5836 parts of result separately when argument is not close to line from
5837 -i to i and one part of argument is small.
5838 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5839 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5840 * math/libm-test.inc (cacos_test): Add more tests.
5841 (casin_test): Likewise.
5842 (casinh_test): Likewise.
5843 * sysdeps/i386/fpu/libm-test-ulps: Update.
5844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5845
58462013-01-31 David S. Miller <davem@davemloft.net>
5847
5848 * po/de.po: Update from translation team.
5849
58502013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5851
5852 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5853
58542013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5855
5856 * configure.in (_AC_PROG_CC_C89): New definition.
5857 * configure: Regenerate.
5858
5859 * configure.in (AC_PROG_CPP): New definition.
5860 * configure: Regenerate.
5861
58622013-01-23 Joseph Myers <joseph@codesourcery.com>
5863
5864 * debug/tst-backtrace.h: New file.
5865 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5866 (ret): Remove variable.
5867 (x): Likewise.
5868 (FAIL): Remove macro.
5869 (NO_INLINE): Likewise.
5870 (fn1): Use match function instead of strstr.
5871 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5872 (ret): Remove variable.
5873 (x): Likewise.
5874 (FAIL): Remove macro.
5875 (NO_INLINE): Likewise.
5876 (fn): Use match function instead of strstr.
5877 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5878 (ret): Remove variable.
5879 (x): Likewise.
5880 (FAIL): Remove macro.
5881 (NO_INLINE): Likewise.
5882 (handle_signal): Use match function instead of strstr.
5883 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5884 (ret): Remove variable.
5885 (x): Likewise.
5886 (FAIL): Remove macro.
5887 (NO_INLINE): Likewise.
5888 (handle_signal): Use match function instead of strstr.
5889
58902013-01-23 Roland McGrath <roland@hack.frob.com>
5891
5892 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5893
58942013-01-23 David S. Miller <davem@davemloft.net>
5895
5896 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5897 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5898 argument of CAS if possible.
5899 * sysdeps/sparc/sparc64/bits/atomic.h
5900 (__arch_compare_and_exchange_val_32_acq): Likewise.
5901 (__arch_compare_and_exchange_val_64_acq): Likewise.
5902
59032013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5904
5905 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5906 * sysdeps/posix/ulimit.c: ... this.
5907 Include <limits.h>.
5908 * sysdeps/unix/bsd/ulimit.c: Remove file.
5909
59102013-01-23 Adam Conrad <adconrad@0c3.net>
5911
5912 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5913 (LDFLAGS-tst-array5): Likewise.
5914
59152013-01-23 Joseph Myers <joseph@codesourcery.com>
5916
5917 [BZ #15036]
5918 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5919 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5920 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5921 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5922
59232013-01-21 David S. Miller <davem@davemloft.net>
5924
5925 * sysdeps/sparc/backtrace.c: New file.
5926 * sysdeps/sparc/sparc32/backtrace.h: New file.
5927 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5928 * sysdeps/sparc/sparc64/backtrace.h: New file.
5929 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5930 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5931 -funwind-tables.
5932
59332013-01-21 Andreas Schwab <schwab@suse.de>
5934
5935 [BZ #15020]
5936 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5937 closed its stdout.
5938
59392013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5940
5941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5942 "mpa2.h".
5943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5944
59452013-01-18 Joseph Myers <joseph@codesourcery.com>
5946 Mark Mitchell <mark@codesourcery.com>
5947 Tom de Vries <tom@codesourcery.com>
5948 Paul Pluzhnikov <ppluzhnikov@google.com>
5949
5950 * debug/tst-backtrace2.c: New file.
5951 * debug/tst-backtrace3.c: Likewise.
5952 * debug/tst-backtrace4.c: Likewise.
5953 * debug/tst-backtrace5.c: Likewise.
5954 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5955 (CFLAGS-tst-backtrace3.c): Likewise.
5956 (CFLAGS-tst-backtrace4.c): Likewise.
5957 (CFLAGS-tst-backtrace5.c): Likewise.
5958 (LDFLAGS-tst-backtrace2): Likewise.
5959 (LDFLAGS-tst-backtrace3): Likewise.
5960 (LDFLAGS-tst-backtrace4): Likewise.
5961 (LDFLAGS-tst-backtrace5): Likewise.
5962 (tests): Add new tests tst-backtrace2, tst-backtrace3,
5963 tst-backtrace4 and tst-backtrace5.
5964
59652013-01-18 Anton Blanchard <anton@samba.org>
5966 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5967
5968 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5969 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
5970 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
5971 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
5972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5973 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
5974 "+r" and remove output regs list as redundant. Add explicit inline
5975 asm to specify register of return val to work around compiler codegen
5976 bug. Remove (int) cast on return value. Add return type parameter to
5977 use in macro so that this macro does not truncate return value for
5978 64-bit values.
5979 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
5980 pass to INTERNAL_VSYSCALL_NCS.
5981 (INLINE_VSYSCALL): Add 'long int' as return type to
5982 INTERNAL_VSYSCALL_NCS macro invocation.
5983 (INTERNAL_VSYSCALL): Add 'long int' as return type to
5984 INTERNAL_VSYSCALL_NCS macro invocation.
5985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5986
59872013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5988
5989 [BZ #14496]
5990 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5991 Fix application of SIMD FP exception mask.
5992
5993 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
5994 mp_no from a power of two.
5995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
5996 __mpexp_twomm1. Use __pow_mp.
5997
5998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
5999 multiplication.
6000
60012013-01-17 David S. Miller <davem@davemloft.net>
6002
6003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6004
60052013-01-17 Joseph Myers <joseph@codesourcery.com>
6006
6007 [BZ #15023]
6008 * include/complex.h: Condition contents on [!_COMPLEX_H].
6009 (__kernel_casinhf): New prototype.
6010 (__kernel_casinh): Likewise.
6011 (__kernel_casinhl): Likewise.
6012 * math/Makefile (libm_calls): Add k_casinh.
6013 * math/k_casinh.c: New file.
6014 * math/k_casinhf.c: Likewise.
6015 * math/k_casinhl.c: Likewise.
6016 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6017 finite nonzero arguments.
6018 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6019 finite nonzero arguments.
6020 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6021 finite nonzero arguments.
6022 * math/s_casinh.c: Do not include <float.h>.
6023 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6024 * math/s_casinhf.c: Do not include <float.h>.
6025 (__casinhf): Move code for finite nonzero arguments to
6026 k_casinhf.c.
6027 * math/s_casinhl.c: Do not include <float.h>.
6028 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6029 redefine.
6030 (__casinhl): Move code for finite nonzero arguments to
6031 k_casinhl.c.
6032 * math/libm-test.inc (cacos_test): Add more tests.
6033 * sysdeps/i386/fpu/libm-test-ulps: Update.
6034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6035
60362013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6037
6038 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6039 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6040 [!HAVE_MREMAP]: Remove [defined linux] case.
6041 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6042
60432013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6044
6045 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6046
60472013-01-17 H.J. Lu <hongjiu.lu@intel.com>
6048
6049 * elf/elf.h (R_386_SIZE32): New relocation.
6050 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6051 R_386_SIZE32.
6052 (elf_machine_rela): Likewise.
6053 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6054 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6055
60562013-01-17 Joseph Myers <joseph@codesourcery.com>
6057
6058 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6059 (FP_FAST_FMA): Do not define.
6060 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6061 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6062 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6063 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6064 !_SOFT_FLOAT]: Likewise.
6065 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6066 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6067 value.
6068 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6069 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6070 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6071 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6072 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6073 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6074 file.
6075
60762013-01-16 Andreas Schwab <schwab@suse.de>
6077
6078 [BZ #14327]
6079 * include/stdlib.h (__mktemp): Add declaration.
6080 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6081 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6082
60832013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6084
6085 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6086 definitions.
6087 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6088 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6089 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6090 definitions here.
6091 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6092 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6093 definitions.
6094 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6095 and ONE.
6096 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6097 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6098 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6099 definitions.
6100 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6101 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6102 definitions.
6103 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6104
6105 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6106
61072013-01-15 David S. Miller <davem@davemloft.net>
6108
6109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6110 trunc{,f} to libm-sysdep_routes.
6111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6113 file.
6114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6116 file.
6117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6118 file.
6119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6121 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6122 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6123 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6124 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6125 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6126 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6127
6128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6129 nearbyint{,f} to libm-sysdep_routes.
6130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6132 New file.
6133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6134 file.
6135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6136 New file.
6137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6138 file.
6139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6141 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6142 file.
6143 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6144 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6145 file.
6146 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6147 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6148 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6149
6150 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6151 libc_feholdexcept and libc_fesetenv.
6152
61532013-01-15 Mike Frysinger <vapier@gentoo.org>
6154
6155 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6156
61572013-01-14 David S. Miller <davem@davemloft.net>
6158
6159 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6160 (SPARC_ASM_VIS2_IFUNC): Likewise.
6161 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6163 use of 'siam' instruction.
6164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6165 Likewise.
6166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6167 Likewise.
6168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6169 Likewise.
6170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6175 file.
6176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6177 file.
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6179 file.
6180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6181 file.
6182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6187 new VIS2 routines.
6188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6191 Likewise.
6192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6197 routines to libm-sysdep_routines.
6198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6199
6200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6201 fdim/fdimf to libm-sysdep_routines.
6202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6203 file.
6204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6206 file.
6207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6210 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6211 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6212 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6213 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6214
62152013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6216
6217 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6218 to optimize copies.
6219
6220 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6223
6224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6225 local variable MPTWO.
6226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6227 Likewise.
6228
62292013-01-13 Mike Frysinger <vapier@gentoo.org>
6230
6231 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6232 GLOB_NOESCAPE.
6233
62342013-01-13 Mike Frysinger <vapier@gentoo.org>
6235
6236 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6237
62382013-01-13 Mike Frysinger <vapier@gentoo.org>
6239
6240 * manual/pattern.texi (glob_t): Document gl_flags.
6241 (glob64_t): Likewise.
6242
62432013-01-11 David S. Miller <davem@davemloft.net>
6244
6245 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6246 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6247 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
6248 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6249 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6250 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6251 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6252 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6253 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6254 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6255 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6256 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6257 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6258
6259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6260 sparc V9 rather than using V8 code.
6261 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6262 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6263
6264 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6265 Move to...
6266 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6267 Here.
6268
62692013-01-11 Roland McGrath <roland@hack.frob.com>
6270
6271 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6272 not in the main loop.
6273 * configure: Regenerated.
6274
62752013-01-11 Joseph Myers <joseph@codesourcery.com>
6276
6277 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6278 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6279 to just #else.
6280 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6281 [!__GLIBC_HAVE_LONG_LONG] case.
6282 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6283 condition to just #else.
6284 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6285 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6286 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6287 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6288 unconditional.
6289 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6290 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6291 #elif condition to just #else.
6292 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6293 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6294 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6295 #elif condition to just #else.
6296
62972013-01-11 Steve Ellcey <sellcey@mips.com>
6298
6299 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6300 (EF_MIPS_ARCH_64): Fix value.
6301 (EF_MIPS_ARCH_32R2): New.
6302 (EF_MIPS_ARCH_64R2): New.
6303
63042013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6305
6306 * Makeconfig (+link-pie-before-libc): New.
6307 (+link-pie-after-libc): Likewise.
6308 (+link-pie-tests): Likewise.
6309 (+link-pie): Rewritten.
6310 (link-before-libc): Remove $(config-LDFLAGS).
6311 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6312 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6313 (config-LDFLAGS): Renamed to ...
6314 (rtld-LDFLAGS): This.
6315 (rtld-tests-LDFLAGS): New macro.
6316 (link-libc-rpath-link): Likewise.
6317 (link-libc-tests-rpath-link): Likewise.
6318 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6319 (link-libc): Prepand $(link-libc-rpath-link).
6320 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6321 (test-program-prefix): New macro.
6322 (test-via-rtld-prefix): Likewise.
6323 (test-program-cmd): Likewise.
6324 (host-test-program-cmd): Likewise.
6325 * Makefile ($(common-objpfx)testrun.sh): Replace
6326 $(run-program-prefix) with $(test-program-prefix).
6327 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6328 $(rtld-LDFLAGS).
6329 ($(common-objpfx)shlib.lds): Likewise.
6330 (build-module-helper): Likewise.
6331 ($(common-objpfx)format.lds): Likewise.
6332 * Rules (binaries-pie-tests): New.
6333 (binaries-pie-notests): Likewise.
6334 (binaries-pie): Rewritten.
6335 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6336 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6337 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6338 (make-test-out): Replace $(host-built-program-cmd) with
6339 $(host-test-program-cmd).
6340 * config.make.in (build-hardcoded-path-in-tests): New variable.
6341 * configure.in (--enable-hardcoded-path-in-tests): New configure
6342 option.
6343 (hardcoded_path_in_tests): New AC_SUBST.
6344 * configure: Regenerated.
6345 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6346 $(built-program-cmd) with $(test-program-cmd).
6347 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6348 (test_program_cmd): This.
6349 * elf/Makefile ($(objpfx)order.out): Run test with
6350 $(test-program-prefix).
6351 ($(objpfx)order2.out): Likewise.
6352 ($(objpfx)tst-initorder.out): Likewise.
6353 ($(objpfx)tst-initorder2.out): Likewise.
6354 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6355 $(test-program-cmd).
6356 ($(objpfx)tst-array1-static.out): Likewise.
6357 ($(objpfx)tst-array2.out): Likewise.
6358 ($(objpfx)tst-array3.out): Likewise.
6359 ($(objpfx)tst-array4.out): Likewise.
6360 ($(objpfx)tst-array5.out): Likewise.
6361 ($(objpfx)tst-array5-static.out): Likewise.
6362 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6363 $(test-program-cmd).
6364 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6365 $(run-program-prefix) with $(test-program-prefix).
6366 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6367 (test_program_prefix): This.
6368 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6369 $(run-program-prefix) with $(test-program-prefix).
6370 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6371 (test_program_prefix): This.
6372 * iconvdata/tst-tables.sh: Likewise.
6373 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6374 $(run-program-prefix) with $(test-program-prefix).
6375 ($(objpfx)tst-translit.out): Likewise.
6376 ($(objpfx)tst-gettext2.out): Likewise.
6377 ($(objpfx)tst-gettext4.out): Likewise.
6378 ($(objpfx)tst-gettext6.out): Likewise.
6379 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6380 (test_program_prefix): This.
6381 * intl/tst-gettext2.sh: Likewise.
6382 * intl/tst-gettext4.sh Likewise.
6383 * intl/tst-gettext6.sh: Likewise.
6384 * intl/tst-translit.sh: Likewise.
6385 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6386 with $(test-program-cmd).
6387 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6388 $(run-program-prefix) with $(test-program-prefix).
6389 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6390 (test_program_prefix): This.
6391 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6392 $(run-program-prefix) with $(test-program-prefix).
6393 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6394 (test_program_prefix): This.
6395 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6396 * posix/Makefile ($(objpfx)globtest.out): Replace
6397 $(run-via-rtld-prefix) and $(test-wrapper) with
6398 $(test-program-prefix) and $(test-via-rtld-prefix).
6399 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6400 $(test-program-prefix).
6401 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6402 $(host-test-program-cmd).
6403 (tst-spawn-ARGS): Likewise.
6404 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6405 $(test-program-prefix).
6406 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6407 (test_via_rtld_prefix): This.
6408 (test_wrapper): Renamed to ...
6409 (test_program_prefix): This.
6410 (run_program_prefix): Replaced by test_program_prefix.
6411 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6412 (test_program_prefix): This.
6413 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6414 with $(host-test-program-cmd).
6415 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6416 $(run-program-prefix) with $(test-program-prefix).
6417 ($(objpfx)tst-printf.out): Likewise.
6418 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6419 $(test-program-cmd).
6420 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6421 (test_program_prefix): This.
6422 * stdio-common/tst-unbputc.sh: Likewise.
6423 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6424 $(run-program-prefix) with $(test-program-prefix).
6425 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6426 (test_program_prefix): This.
6427 * string/Makefile ($(objpfx)tst-svc.out): Replace
6428 $(built-program-cmd) with $(test-program-cmd).
6429
64302013-01-11 Andreas Jaeger <aj@suse.de>
6431
6432 [BZ #15003]
6433 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6434 value. Sync with Linux 3.7.
6435
64362013-01-10 David S. Miller <davem@davemloft.net>
6437
6438 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6439 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6440 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6441
64422013-01-10 Roland McGrath <roland@hack.frob.com>
6443
6444 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6445 never set.
6446 * configure: Regenerated.
6447
64482013-01-10 David S. Miller <davem@davemloft.net>
6449
6450 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6451 sparc V9 rather than using V8 code.
6452 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6453 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6454
64552013-01-10 Roland McGrath <roland@hack.frob.com>
6456
6457 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6458 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6459 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6460 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6461 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6462 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6463 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6464 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6465 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6466 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6467 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6468 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6469 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6470 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6471 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6472 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6473 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6474 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6475 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6476 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6477 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6478 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6479 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6480 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6481 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6482 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6483 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6484
64852013-01-10 David S. Miller <davem@davemloft.net>
6486
6487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6488
64892013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6490
6491 * posix/Makefile (tests-static): New variable.
6492 (tests): Add $(tests-static).
6493 (tst-exec-static-ARGS): New variable.
6494 (tst-spawn-static-ARGS): Likewise.
6495 * posix/tst-exec-static.c: New file.
6496 * posix/tst-spawn-static.c: Likewise.
6497 * posix/tst-exec.c: Support run directly.
6498 * posix/tst-spawn.c: Likewise.
6499
65002013-01-10 Joseph Myers <joseph@codesourcery.com>
6501
6502 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6503 long.
6504 * math/bits/mathcalls.h (llrint): Likewise.
6505 (llround): Likewise.
6506 * stdlib/stdlib.h (struct drand48_data): Likewise.
6507 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6508 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6509 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6510 Likewise.
6511 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6512 Likewise.
6513 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6514 (elf_greg_t): Likewise.
6515 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6516 (__jmp_buf): Likewise.
6517 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6518 definitions.
6519 (llrint): Likewise, for all definitions.
6520 (llrintl): Likewise.
6521
6522 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6523 Remove [__GNUC__] condition.
6524 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6525 condition to just [__USE_ISOC99].
6526 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6527
65282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6529
6530 [BZ #14200]
6531 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6532 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6533 defined.
6534 (_POSIX_V6_ILP32_OFF32): Likewise.
6535 (_XBS5_ILP32_OFF32): Likewise.
6536 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6537 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6538
65392013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6540
6541 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6542
6543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6544 doubles __mpexp_twomm1. Adjust usage.
6545 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6546 Remove.
6547
65482013-01-10 Andreas Schwab <schwab@suse.de>
6549
6550 [BZ #14964]
6551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6552 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6553
65542013-01-09 David S. Miller <davem@davemloft.net>
6555
6556 [BZ #15003]
6557 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6558 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6559 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6560 TCP_FASTOPEN): Define.
6561 (tcp_repair_opt): New structure.
6562 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6563 enum values.
6564 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6565 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6566 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6567 (tcp_cookie_transactions): New structure.
6568
65692013-01-09 Anton Blanchard <anton@samba.org>
6570
6571 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6572 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6573 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6574 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6575
65762013-01-09 Joseph Myers <joseph@codesourcery.com>
6577
6578 * include/features.h (__USE_ANSI): Remove.
6579
65802013-01-09 Roland McGrath <roland@hack.frob.com>
6581
6582 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6583
6584 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6585
65862013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6587
6588 * sysdeps/s390/fpu/libm-test-ulps: Update.
6589
6590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6591
6592 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6593 (__acr): Likewise.
6594 (__cpy): Likewise.
6595 (norm): Likewise.
6596 (denorm): Likewise.
6597 (__mp_dbl): Likewise.
6598 (__dbl_mp): Likewise.
6599 (add_magnitudes): Likewise.
6600 (sub_magnitudes): Likewise.
6601 (__add): Likewise.
6602 (__sub): Likewise.
6603 (__mul): Likewise.
6604 (__inv): Likewise.
6605 (__dvd): Likewise.
6606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6607 (__acr): Likewise.
6608 (__cpy): Likewise.
6609 (norm): Likewise.
6610 (denorm): Likewise.
6611 (__mp_dbl): Likewise.
6612 (__dbl_mp): Likewise.
6613 (add_magnitudes): Likewise.
6614 (sub_magnitudes): Likewise.
6615 (__add): Likewise.
6616 (__sub): Likewise.
6617 (__mul): Likewise.
6618 (__inv): Likewise.
6619 (__dvd): Likewise.
6620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6621 (__acr): Likewise.
6622 (__cpy): Likewise.
6623 (norm): Likewise.
6624 (denorm): Likewise.
6625 (__mp_dbl): Likewise.
6626 (__dbl_mp): Likewise.
6627 (add_magnitudes): Likewise.
6628 (sub_magnitudes): Likewise.
6629 (__add): Likewise.
6630 (__sub): Likewise.
6631 (__mul): Likewise.
6632 (__inv): Likewise.
6633 (__dvd): Likewise.
6634
66352013-01-08 Joseph Myers <joseph@codesourcery.com>
6636
6637 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6638 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6639 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6640 2 && __USE_EXTERN_INLINES]: Likewise.
6641
66422013-01-08 Andreas Jaeger <aj@suse.de>
6643
6644 [BZ# 14985]
6645 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6646 Remove.
6647 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6648 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6649
66502013-01-07 Anton Blanchard <anton@samba.org>
6651
6652 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6653 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6654 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6655 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6656 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6657 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6658 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6659 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6662 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6663 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6664 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6665 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6666 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6667 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6668 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6669 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6670 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6671 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6672 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6673 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6675 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6676 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6677 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6678 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6679 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6681 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6682 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6684 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6685 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6686 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6687 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6688 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6689 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6690 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6692 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6694 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6695
66962013-01-07 Joseph Myers <joseph@codesourcery.com>
6697
6698 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6699 (__MALLOC_PMT): Likewise.
6700 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6701 [__GNUC__], only on [_LIBC].
6702 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6703 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6704 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6705 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6706 forward declaration.
6707 (realloc_hook_ini): Likewise.
6708 (memalign_hook_ini): Likewise.
6709 (__libc_memalign): Do not use __MALLOC_PMT in variable
6710 declaration.
6711 (__libc_valloc): Likewise.
6712 (__libc_pvalloc): Likewise.
6713 (__libc_calloc): Likewise.
6714 (__posix_memalign): Likewise.
6715
6716 [BZ #14996]
6717 * math/s_casinh.c: Include <float.h>.
6718 (__casinh): Do not do computation with squaring and square root
6719 for large arguments.
6720 * math/s_casinhf.c: Include <float.h>.
6721 (__casinhf): Do not do computation with squaring and square root
6722 for large arguments.
6723 * math/s_casinhl.c: Include <float.h>.
6724 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6725 (__casinhl): Do not do computation with squaring and square root
6726 for large arguments.
6727 * math/libm-test.inc (casin_test): Add more tests.
6728 (casinh_test): Likewise.
6729 * sysdeps/i386/fpu/libm-test-ulps: Update.
6730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6731
67322013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6733
6734 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6735 (__x86_64_raw_data_cache_size): Likewise.
6736 (__x86_64_data_cache_size_half): Likewise.
6737 (__x86_64_raw_data_cache_size_half): Likewise.
6738 (__x86_64_shared_cache_size): Likewise.
6739 (__x86_64_raw_shared_cache_size): Likewise.
6740 (__x86_64_shared_cache_size_half): Likewise.
6741 (__x86_64_raw_shared_cache_size_half): Likewise.
6742 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6743 to ...
6744 (__x86_data_cache_size): This.
6745 (__x86_64_raw_data_cache_size): Renamed to ...
6746 (__x86_raw_data_cache_size): This.
6747 (__x86_64_data_cache_size_half): Renamed to ...
6748 (__x86_data_cache_size_half): This.
6749 (__x86_64_raw_data_cache_size_half): Renamed to ...
6750 (__x86_raw_data_cache_size_half): This.
6751 (__x86_64_shared_cache_size): Renamed to ...
6752 (__x86_shared_cache_size): This.
6753 (__x86_64_raw_shared_cache_size): Renamed to ...
6754 (__x86_raw_shared_cache_size): This.
6755 (__x86_64_shared_cache_size_half): Renamed to ...
6756 (__x86_shared_cache_size_half): This.
6757 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6758 (__x86_raw_shared_cache_size_half): This.
6759 * sysdeps/x86_64/memcpy.S: Updated.
6760 * sysdeps/x86_64/memset.S: Likewise.
6761 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6762 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6763 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6764
67652013-01-04 David S. Miller <davem@davemloft.net>
6766
6767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6768
67692013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6770
6771 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6772 1 to avoid redefinition warning.
6773 (__USE_GNU): Don't define.
6774 (init_signaling_nan): Protoize.
6775
6776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6777
67782013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6779
6780 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6782 (__cpymn): Likewise.
6783 (norm): Remove commented code.
6784 (denorm): Likewise.
6785 (__mp_dbl): Likewise.
6786 (__inv): Likewise.
6787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6788 (__cpymn): Likewise.
6789 (norm): Remove commented code.
6790 (denorm): Likewise.
6791 (__mp_dbl): Likewise.
6792 (__inv): Likewise.
6793
6794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6795 mp_no value for 1.0 and 2.0.
6796 (norm): Use RADIXI instead of radixi.d.
6797 (denorm): Likewise.
6798 (__mul): Use 0.0 instead of zero.d.
6799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6800 mp_no value for 1.0 and 2.0.
6801 (norm): Use RADIXI instead of radixi.d.
6802 (denorm): Likewise.
6803 (__mul): Use 0.0 instead of zero.d.
6804
68052013-01-04 Joseph Myers <joseph@codesourcery.com>
6806
6807 [BZ #14994]
6808 * math/s_casinh.c (__casinh): Reduce finite argument to first
6809 quadrant then set signs of results at the end.
6810 * math/s_casinhf.c (__casinhf): Likewise.
6811 * math/s_casinhl.c (__casinhl): Likewise.
6812 * math/libm-test.inc (casin_test): Add more tests.
6813 (casinh_test): Likewise.
6814 * sysdeps/i386/fpu/libm-test-ulps: Update.
6815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6816
68172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6818
6819 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6820
6821 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6822
6823 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6824 declarations.
6825 (denorm): Likewise.
6826 (__mp_dbl): Likewise.
6827 (__inv): Likewise.
6828
6829 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6830 and adjust the header comment.
6831
6832 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6833 variable name from declaration.
6834
68352013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6836
6837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6838 Initialize COMMON_CPUID_INDEX_7 element.
6839 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6840 (CPUID_RTM): Likewise.
6841 (HAS_RTM): Likewise.
6842 (COMMON_CPUID_INDEX_7): New enum.
6843
68442013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6845
6846 [BZ #14981]
6847 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6848 size is zero, record memory as freed.
6849
68502013-01-03 Andreas Jaeger <aj@suse.de>
6851
6852 * po/ia.po: Add new Interlingua translation.
6853
68542012-01-03 Allan McRae <allan@archlinux.org>
6855
6856 * locale/programs/localedef.c: Fix description of '--posix' flag.
6857
68582013-01-02 Joseph Myers <joseph@codesourcery.com>
6859
6860 * NEWS: Update dates in second copyright notice.
6861 * README: Update copyright dates in example.
6862 * manual/libc.texinfo: Update copyright dates.
6863 * scripts/test-installation.pl: Update copyright date in --version
6864 output.
6865
6866 * hurd/ctty-input.c: Fix copyright notice formatting.
6867 * hurd/ctty-output.c: Likewise.
6868 * hurd/dtable.c: Likewise.
6869 * hurd/hurd-raise.c: Likewise.
6870 * hurd/hurdprio.c: Likewise.
6871 * hurd/msgportdemux.c: Likewise.
6872 * misc/sys/file.h: Likewise.
6873 * misc/sys/ioctl.h: Likewise.
6874 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6875 * sysdeps/mach/hurd/chdir.c: Likewise.
6876 * sysdeps/mach/hurd/fchdir.c: Likewise.
6877 * sysdeps/mach/hurd/rename.c: Likewise.
6878 * sysdeps/mach/hurd/rmdir.c: Likewise.
6879 * sysdeps/mach/hurd/seekdir.c: Likewise.
6880 * sysdeps/mach/hurd/setsid.c: Likewise.
6881 * sysdeps/posix/wait3.c: Likewise.
6882
6883 * All files with FSF copyright notices: Update copyright dates
6884 using scripts/update-copyrights.
6885 * intl/plural.c: Regenerated.
6886 * locale/programs/charmap-kw.h: Likewise.
6887 * locale/programs/locfile-kw.h: Likewise.
6888
68892013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6890
6891 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6892 four values.
6893
6894 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6895 calculation loop and add branch prediction.
6896
6897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6898 check access beyond bounds of m1np.
6899
6900 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6901 MPTWO.
6902 (__inv): Remove local variable MPTWO to use the global
6903 constant.
6904 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6906 variable MPTWO.
6907 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6908 MP3HALFS static const.
6909
69102013-01-01 David S. Miller <davem@davemloft.net>
6911
6912 * po/ca.po: Update from translation team.
6913
69142013-01-01 Joseph Myers <joseph@codesourcery.com>
6915
6916 * scripts/update-copyrights: New file.
6917 * Makeconfig: Reformat copyright notice.
6918 * ctype/ctype.h: Likewise.
6919 * debug/swprintf_chk.c: Likewise.
6920 * elf/dl-cache.c: Likewise.
6921 * elf/dl-debug.c: Likewise.
6922 * elf/dl-object.c: Likewise.
6923 * grp/initgroups.c: Likewise.
6924 * hurd/Makefile: Likewise.
6925 * hurd/hurd/signal.h: Likewise.
6926 * hurd/hurdfault.c: Likewise.
6927 * hurd/hurdioctl.c: Likewise.
6928 * hurd/hurdlookup.c: Likewise.
6929 * hurd/intr-msg.c: Likewise.
6930 * iconv/gconv_open.c: Likewise.
6931 * libio/swprintf.c: Likewise.
6932 * locale/lc-ctype.c: Likewise.
6933 * locale/nl_langinfo.c: Likewise.
6934 * mach/Machrules: Likewise.
6935 * mach/Makefile: Likewise.
6936 * malloc/obstack.h: Likewise.
6937 * manual/Makefile: Likewise.
6938 * manual/tsort.awk: Likewise.
6939 * misc/bits/stab.def: Likewise.
6940 * nis/nis_print_group_entry.c: Likewise.
6941 * nis/nis_table.c: Likewise.
6942 * nis/nss_compat/compat-pwd.c: Likewise.
6943 * nis/nss_compat/compat-spwd.c: Likewise.
6944 * po/Makefile: Likewise.
6945 * posix/fnmatch.c: Likewise.
6946 * posix/regex.h: Likewise.
6947 * resolv/Makefile: Likewise.
6948 * resolv/nss_dns/dns-network.c: Likewise.
6949 * resolv/res_hconf.c: Likewise.
6950 * scripts/gen-sorted.awk: Likewise.
6951 * soft-fp/soft-fp.h: Likewise.
6952 * stdio-common/printf.h: Likewise.
6953 * stdlib/monetary.h: Likewise.
6954 * stdlib/random.c: Likewise.
6955 * stdlib/random_r.c: Likewise.
6956 * sysdeps/generic/Makefile: Likewise.
6957 * sysdeps/gnu/Makefile: Likewise.
6958 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6960 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6962 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6965 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6966 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6968 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6969 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6970 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6971 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6972 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6973 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6974 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6976 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6977 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6978 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6979 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6980 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6981 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6982 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
6983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6984 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
6986 * sysdeps/mach/hurd/errnos.awk: Likewise.
6987 * sysdeps/mach/hurd/fork.c: Likewise.
6988 * sysdeps/mach/hurd/getcwd.c: Likewise.
6989 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6990 * sysdeps/mach/hurd/mmap.c: Likewise.
6991 * sysdeps/mach/hurd/utimes.c: Likewise.
6992 * sysdeps/mach/hurd/xmknod.c: Likewise.
6993 * sysdeps/posix/profil.c: Likewise.
6994 * sysdeps/posix/readdir_r.c: Likewise.
6995 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6996 * sysdeps/powerpc/bits/setjmp.h: Likewise.
6997 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
6998 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7000 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7001 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7002 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7004 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7005 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7006 * sysdeps/pthread/lio_listio.c: Likewise.
7007 * sysdeps/sparc/dl-procinfo.h: Likewise.
7008 * sysdeps/unix/i386/sysdep.S: Likewise.
7009 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7010 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7011 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7012 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7014 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7015 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7016 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7017 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7018 * sysdeps/wordsize-32/divdi3.c: Likewise.
7019 * time/sys/time.h: Likewise.
7020 * wcsmbs/Makefile: Likewise.
7021
70222013-01-01 David S. Miller <davem@davemloft.net>
7023
7024 * po/fr.po: Update from translation team.
7025
7026 * catgets/gencat.c: Update copyright year.
7027 * csu/version.c: Likewise.
7028 * debug/catchsegv.sh: Likewise.
7029 * debug/pcprofiledump.c: Likewise.
7030 * debug/xtrace.sh: Likewise.
7031 * elf/ldconfig.c: Likewise.
7032 * elf/ldd.bash.in: Likewise.
7033 * elf/pldd.c: Likewise.
7034 * elf/sotruss.ksh: Likewise.
7035 * elf/sprof.c: Likewise.
7036 * iconv/iconv_prog.c: Likewise.
7037 * iconv/iconvconfig.c: Likewise.
7038 * locale/programs/locale.c: Likewise.
7039 * locale/programs/localedef.c: Likewise.
7040 * login/programs/pt_chown.c: Likewise.
7041 * malloc/memusage.sh: Likewise.
7042 * malloc/memusagestat.c: Likewise.
7043 * malloc/mtrace.pl: Likewise.
7044 * nscd/nscd.c: Likewise.
7045 * nss/getent.c: Likewise.
7046 * nss/makedb.c: Likewise.
7047 * posix/getconf.c: Likewise.
7048
70492012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7050
7051 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7052 numbers.
7053
70542012-12-30 Mike Frysinger <vapier@gentoo.org>
7055
7056 * math/bits/mathcalls.h (modf): Use __nonnull.
7057
70582012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7059
7060 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7061 (split): Use macro CN instead of the bare value.
7062 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7063 could be used.
7064 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7065 instead of the bare value.
7066 (power1): Likewise.
7067
70682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7069
7070 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7071 __ATAN_TWOM.
7072 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7073
7074 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7075 their values.
7076 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7077 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7078 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7079 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7080
70812012-12-28 Andreas Jaeger <aj@suse.de>
7082
7083 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7084 values are from Linux 3.7.
7085
7086 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7087 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7088
70892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7090
7091 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7092 TRUE case.
7093
7094 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7095 (norm): Likewise.
7096 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7097 variables with preprocessor constants.
7098 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7099 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7100 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7101
71022012-12-27 Bruno Haible <bruno@clisp.org>
7103
7104 [BZ #14317]
7105 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7106 only if needed.
7107
71082012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7109
7110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7111 and use variable directly.
7112 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7113
7114 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7115 MPONE.
7116 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7118 variable MPONE.
7119 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7121 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7122 include directive. Remove local variable MPONE.
7123 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7124 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7125 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7126
71272012-12-25 David S. Miller <davem@davemloft.net>
7128
7129 * version.h (RELEASE): Set to "development".
7130 (VERSION): Set to "2.17.90".
7131 * NEWS: Add 2.18 section.
7132
71332012-12-21 David S. Miller <davem@davemloft.net>
7134
7135 * po/hr.po: Update from translation team.
7136
71372012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7138
7139 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7140
71412012-12-19 Steve Ellcey <sellcey@mips.com>
7142
7143 * NEWS: Mention new memcpy for MIPS.
7144
71452012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7146
7147 * manual/contrib.texi (Contributors): Spelling correction.
7148
71492012-12-15 David S. Miller <davem@davemloft.net>
7150
7151 * po/ru.po: Update from translation team.
7152
71532012-12-13 David S. Miller <davem@davemloft.net>
7154
7155 * NEWS: Mention IFUNC testsuite enhancements.
7156
7157 * po/pl.po: Update from translation team.
7158 * po/bg.po: Likewise.
7159
7160 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7161 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7162
71632012-12-11 David S. Miller <davem@davemloft.net>
7164
7165 * po/sv.po: Update from translation team.
7166
7167 * po/vi.po: Update from translation team.
7168
7169 * po/cs.po: Update from translation team.
7170
7171 * po/de.po: Update from translation team.
7172 * po/eo.po: Likewise.
7173 * po/nl.po: Likewise.
7174
71752012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7176
7177 [BZ #14246]
7178 * manual/argp.texi (Argp Helper Functions): Move node to follow
7179 Argp Parsing State.
7180
7181 [BZ #14872]
7182 * manual/conf.texi (Limits on File System Capacity): Mention if
7183 terminating null is included in the max size.
7184
71852012-12-10 Andreas Jaeger <aj@suse.de>
7186
7187 * po/cs.po: Update from translation team.
7188
71892012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7190
7191 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7192 void pointer and cast to uintptr_t.
7193 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7194 path.
7195 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7196 * sysdeps/s390/s390-64/memset.S: Likewise.
7197
71982012-12-08 Benno Schulenberg <bensberg@justemail.net>
7199
7200 [BZ #14833]
7201 * menual/message.texi (Message Translation): Fix typos.
7202 (Helper programs for gettext): Likewise.
7203
72042012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7205
7206 [BZ #14898]
7207 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7208 Change to -1.
7209
72102012-12-07 David S. Miller <davem@davemloft.net>
7211
7212 * po/libc.pot: Update.
7213
72142012-12-07 Richard Henderson <rth@redhat.com>
7215
7216 [BZ #10114]
7217 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7218 normal/normal case to before the switch.
7219 (_FP_DIV): Likewise.
7220
72212012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7222 Mike Frysinger <vapier@gentoo.org>
7223
7224 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7225 check for __NR_fadvise64_64.
7226
72272012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7228
7229 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7230 0, not just to plain "0" as a statement.
7231 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7232 with cw.
7233
72342012-12-06 Joseph Myers <joseph@codesourcery.com>
7235
7236 * NEWS: Use sourceware.org in Bugzilla URL.
7237
72382012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7239
7240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7241 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7242
7243 * stdio-common/tst-put-error.c (do_test): Add newline to the
7244 padded test to ensure flush.
7245
72462012-12-05 Jeff Law <law@redhat.com>
7247
7248 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7249
72502012-12-05 Joseph Myers <joseph@codesourcery.com>
7251
7252 * README: Don't refer to ports add-on as distributed separately.
7253 Mention AArch64 in list of systems supported in the ports add-on.
7254
7255 * LICENSES: Add more non-FSF copyright and license notices.
7256
7257 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7258 ((unused)).
7259
7260 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7261
7262 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7263 10000 as width of padded output.
7264
72652012-12-04 Joseph Myers <joseph@codesourcery.com>
7266
7267 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7268
7269 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7270 variable LX with __attribute__ ((unused)).
7271 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7272 Likewise.
7273 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7274 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7275 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7276 with __attribute__ ((unused)).
7277
72782012-12-04 David S. Miller <davem@abraco.davemloft.net>
7279
7280 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7281
72822012-12-04 Joseph Myers <joseph@codesourcery.com>
7283
7284 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7285 (CFLAGS-nldbl-acos.c): New variable.
7286 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7287 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7288 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7289 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7290 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7291 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7292 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7293 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7294 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7295 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7296 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7297 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7298 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7299 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7300 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7301 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7302 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7303 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7304 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7305 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7306 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7307 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7308 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7309 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7310 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7311 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7312 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7313 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7314 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7315 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7316 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7317 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7318 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7319 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7320 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7321 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7322 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7323 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7324 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7325 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7326 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7327 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7328 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7329 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7330 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7331 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7332 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7333 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7334 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7335 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7336 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7337 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7338 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7339 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7340 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7341 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7342 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7343 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7344 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7345 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7346 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7347 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7348 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7349 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7350 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7351 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7352 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7353 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7354 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7355 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7356 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7357 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7358 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7359 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7360 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7361 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7362 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7363 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7364 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7365 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7366 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7367 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7368 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7369 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7370 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7371 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7372 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7373 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7374 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7375 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7376 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7377 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7378 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7379 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7380 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7381 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7382 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7383
7384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7385 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7386
7387 [BZ #14914]
7388 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7389 whole low double instead of just low 47 bits when splitting values
7390 into two parts.
7391
73922012-12-03 Allan McRae <allan@archlinux.org>
7393
7394 * manual/stdio.texi (Predefined Printf Handlers): Remove
7395 @hsep and @vsep usage.
7396
73972012-12-03 Mike Frysinger <vapier@gentoo.org>
7398
7399 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7400 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7401
74022012-12-03 Jeff Law <law@redhat.com>
7403
7404 * time/sys/time.h (settimeofday): Do not mark TV argument
7405 as __nonnull.
7406
74072012-12-01 Mike Frysinger <vapier@gentoo.org>
7408
7409 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7410 when currently writing and seek to current position when not.
7411 * libio/Makefile (tests): Remove bug-fclose1.
7412 * libio/bug-fclose1.c: Delete.
7413
74142012-12-01 Joseph Myers <joseph@codesourcery.com>
7415
7416 * manual/arith.texi (feenableexcept): Fix typo.
7417 (fedisableexcept): Likewise.
7418
74192012-11-30 Roland McGrath <roland@hack.frob.com>
7420
7421 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7422 second, differently-typed declaration, rather than a cast.
7423
74242012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7425
7426 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7427 * include/rpc/svc.h: ... here.
7428
74292012-11-30 Aurelien Jarno <aurel32@debian.org>
7430
7431 [BZ #13013]
7432 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7433 depending n and resplen2 to catch cases where answer
7434 equals answerp2.
7435
74362012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7437
7438 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7439 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7440
74412012-11-29 Mike Frysinger <vapier@gentoo.org>
7442
7443 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7444
74452012-11-29 Roland McGrath <roland@hack.frob.com>
7446
7447 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7448
74492012-11-28 Jeff Law <law@redhat.com>
7450
7451 [BZ #13761]
7452 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7453 dataset_temporary. Track alloca usage into alloca_used.
7454 If dataset is large allocate and release it via malloc/free.
7455
74562012-06-04 Florian Weimer <fweimer@redhat.com>
7457
7458 [BZ #14197]
7459 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7460
74612012-11-28 David S. Miller <davem@davemloft.net>
7462
7463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7464
74652012-11-28 Joseph Myers <joseph@codesourcery.com>
7466
7467 [BZ #14803]
7468 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7469 of pi/2 rounded to nearest to 64 bits.
7470 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7471 nearest to 64 bits.
7472 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7473 bits.
7474
74752012-11-28 Jeff Law <law@redhat.com>
7476 Martin Osvald <mosvald@redhat.com>
7477
7478 [BZ #14889]
7479 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7480 * sunrpc/svc.c: Include time.h.
7481 (__svc_accept_failed): New function.
7482 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7483 any reason other than EINTR, call __svc_accept_failed.
7484 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7485 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7486
74872012-11-28 Andreas Schwab <schwab@suse.de>
7488
7489 * scripts/abilist.awk: Also handle indirect functions in .opd
7490 section.
7491
74922012-11-28 Joseph Myers <joseph@codesourcery.com>
7493
7494 [BZ #13881]
7495 * sysdeps/x86/fpu/powl_helper.c: New file.
7496 * sysdeps/x86/fpu/Makefile: Likewise.
7497 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7498 (p3): New object.
7499 (__ieee754_powl): Use __powl_helper for finite arguments except
7500 integer exponents below 8.
7501 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7502 (p3): New object.
7503 (__ieee754_powl): Use __powl_helper for finite arguments except
7504 integer exponents below 8.
7505 * math/libm-test.inc (pow_test): Add more tests and enable some
7506 previously disabled tests.
7507 * sysdeps/i386/fpu/libm-test-ulps: Update.
7508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7509
75102012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7511 Carlos O'Donell <carlos_odonell@mentor.com>
7512
7513 * nss/makedb.c (is_prime): Assert that input is odd and greater
7514 than 4. Note that fact in a comment too.
7515 (next_prime): Add 4 to input.
7516
75172012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7518
7519 [BZ #11741]
7520 * libio/Makefile (tests): Add test case tst-fwrite-error.
7521 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7522 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7523 * libio/tst-fwrite-error.c: New test case.
7524
75252012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7526
7527 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7528 before casting to void *.
7529 * include/libc-internal.h (__pointer_type): New macro.
7530 (__integer_if_pointer_type_sub): Likewise.
7531 (__integer_if_pointer_type): Likewise.
7532 (cast_to_integer): Likewise.
7533 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7534 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7535 before casting to atomic64_t.
7536 (atomic_exchange_acq): Likewise.
7537 (__arch_exchange_and_add_body): Likewise.
7538 (__arch_add_body): Likewise.
7539 (atomic_add_negative): Likewise.
7540 (atomic_add_zero): Likewise.
7541
75422012-11-26 Joseph Myers <joseph@codesourcery.com>
7543
7544 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7545 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7546 (add_fdes): Likewise.
7547 (linear_search_fdes): Likewise.
7548 (binary_search_unencoded_fdes): Likewise.
7549
75502012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7551
7552 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7553
75542012-11-24 Adam Conrad <adconrad@0c3.net>
7555
7556 * configure.in: Autodetect C++ header directories.
7557 * configure: Regenerated.
7558
75592012-11-23 Mike Frysinger <vapier@gentoo.org>
7560
7561 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7562
75632012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7564
7565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7566
75672012-11-22 Joseph Myers <joseph@codesourcery.com>
7568
7569 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7570 LDBL_MANT_DIG == 106]: Disable some tests.
7571 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7572 Likewise.
7573 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7574 Likewise.
7575
7576 [BZ #14871]
7577 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7578 input for small inputs. Return +/- pi/2 for large inputs.
7579 * math/libm-test.inc (atan_test): Add more tests.
7580
7581 * sysdeps/generic/unwind-dw2-fde-glibc.c
7582 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7583 __attribute__ ((unused)).
7584
7585 [BZ #14645]
7586 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7587 x * y if x and y are nonzero and z is zero.
7588
7589 [BZ #14811]
7590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7591 nonzero exponents with absolute value below 0x1p-117 to +/-
7592 0x1p-117.
7593
7594 [BZ #14869]
7595 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7596 up arguments below 2**-450, not just those below 2**-500.
7597 * math/libm-test.inc (hypot_test): Add another test.
7598
7599 [BZ #14868]
7600 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7601 Return a+b for ratio over 2**120, not 2**60.
7602 * math/libm-test.inc (hypot_test): Add another test.
7603
7604 * math/libm-test.inc (clog_test): Use
7605 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7606 (clog10_test): Likewise.
7607
7608 [BZ #6778]
7609 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7610
76112012-11-22 Andreas Schwab <schwab@suse.de>
7612
7613 * sysdeps/i386/fpu/libm-test-ulps: Update.
7614
76152012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7616
7617 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7618 printf output with newline.
7619
76202012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7621
7622 [BZ #14865]
7623 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7624 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7625 -z nodlopen, -z initfirst and -z execstack support.
7626 * configure: Regenerated.
7627
7628 * elf/elf.h (DF_1_NODIRECT): New macro.
7629 (DF_1_IGNMULDEF): Likewise.
7630 (DF_1_NOKSYMS): Likewise.
7631 (DF_1_NOHDR): Likewise.
7632 (DF_1_EDITED): Likewise.
7633 (DF_1_NORELOC): Likewise.
7634 (DF_1_SYMINTPOSE): Likewise.
7635 (DF_1_GLOBAUDIT): Likewise.
7636 (DF_1_SINGLETON): Likewise.
7637 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7638 DT_1_SUPPORTED_MASK bits.
7639 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7640
76412012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7642
7643 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7644
76452012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7646
7647 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7648 macro.
7649
7650 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7651 (sendmmsg): Move declarations...
7652 * socket/sys/socket.h: ... here.
7653 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7654 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7655 include it from...
7656 * socket/recvmmsg.c: ... this new file.
7657 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7658 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7659 definition of __sendmmsg hidden.
7660 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7661 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7662 Move ENOSYS stub into and include it from...
7663 * socket/sendmmsg.c: ... this new file.
7664 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7665 (sysdep_routines): Move recvmmsg and sendmmsg...
7666 * socket/Makefile (routines): ... here.
7667 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7668 (GLIBC_PRIVATE): Add __sendmmsg.
7669 * include/sys/socket.h (__sendmmsg): Add declarations.
7670 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7671 sendmmsg.
7672
76732012-11-20 Joseph Myers <joseph@codesourcery.com>
7674
7675 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7676 variable I1 with __attribute__ ((unused)).
7677 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7678
76792012-11-19 Joseph Myers <joseph@codesourcery.com>
7680
7681 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7682 DUMMY variables with __attribute__ ((unused)).
7683
7684 * bits/byteswap.h: Include <bits/types.h>.
7685 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7686
76872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7688
7689 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7690 string_t. Do not manually set errno.
7691 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7692 length with __strnlen. Make sure to both set errno and return it on
7693 failure.
7694
76952012-11-19 David S. Miller <davem@davemloft.net>
7696
7697 With help from Joseph Myers.
7698 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7699 very large arguments properly.
7700 * math/libm-test.inc (atan_test): New tests.
7701 (atan2_test): New tests.
7702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7704
77052012-11-19 Joseph Myers <joseph@codesourcery.com>
7706
7707 [BZ #14856]
7708 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7709 Define to 3.
7710
7711 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7712 [POSIX] (EADDRNOTAVAIL): Likewise.
7713 [POSIX] (EAFNOSUPPORT): Likewise.
7714 [POSIX] (EALREADY): Likewise.
7715 [POSIX] (ECONNABORTED): Likewise.
7716 [POSIX] (ECONNREFUSED): Likewise.
7717 [POSIX] (ECONNRESET): Likewise.
7718 [POSIX] (EDESTADDRREQ): Likewise.
7719 [POSIX] (EDQUOT): Likewise.
7720 [POSIX] (EHOSTUNREACH): Likewise.
7721 [POSIX] (EIDRM): Likewise.
7722 [POSIX] (EISCONN): Likewise.
7723 [POSIX] (ELOOP): Likewise.
7724 [POSIX] (EMULTIHOP): Likewise.
7725 [POSIX] (ENETDOWN): Likewise.
7726 [POSIX] (ENETUNREACH): Likewise.
7727 [POSIX] (ENOBUFS): Likewise.
7728 [POSIX] (ENODATA): Likewise.
7729 [POSIX] (ENOLINK): Likewise.
7730 [POSIX] (ENOMSG): Likewise.
7731 [POSIX] (ENOPROTOOPT): Likewise.
7732 [POSIX] (ENOSR): Likewise.
7733 [POSIX] (ENOSTR): Likewise.
7734 [POSIX] (ENOTCONN): Likewise.
7735 [POSIX] (ENOTSOCK): Likewise.
7736 [POSIX] (EOPNOTSUPP): Likewise.
7737 [POSIX] (EOVERFLOW): Likewise.
7738 [POSIX] (EPROTO): Likewise.
7739 [POSIX] (EPROTONOSUPPORT): Likewise.
7740 [POSIX] (EPROTOTYPE): Likewise.
7741 [POSIX] (ESTALE): Likewise.
7742 [POSIX] (ETIME): Likewise.
7743 [POSIX] (ETXTBSY): Likewise.
7744 [POSIX] (EWOULDBLOCK): Likewise.
7745 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7746 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7747 [POSIX] (SEEK_CUR): Likewise.
7748 [POSIX] (SEEK_END): Likewise.
7749 [POSIX || UNIX98] (mode_t): Do not require.
7750 [POSIX] (off_t): Likewise.
7751 [POSIX] (pid_t): Likewise.
7752 [POSIX] (sys/stat.h): Do not allow header.
7753 [POSIX] (unistd.h): Likewise.
7754 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7755 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7756 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7757 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7758 require.
7759 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7760 sigevent): Specify elements.
7761 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7762 entry.
7763 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7764 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7765
7766 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7767 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7768 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7769 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7770 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7771 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7772 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7773 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7774 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7775 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7776 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7777 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7778 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7779 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7780 Likewise.
7781 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7782 Likewise.
7783 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7784 Likewise.
7785 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7786 Likewise.
7787 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7788 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7789 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7790 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7792 Specify lower bound on value.
7793 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7794 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7795 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7796 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7797 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7798 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7799 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7800 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7801 value.
7802 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7803 as optional.
7804 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7805 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7806 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7807 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7808 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7809 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7810 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7811 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7812 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7813 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7814 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7815 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7816 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7817 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7818 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7819 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7820 entry.
7821 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7822 optional.
7823 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7824 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7825 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7826 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7827 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7828 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7829 Likewise.
7830 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7831 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7832 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7833 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7834 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7835 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7836 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7837 as optional.
7838 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7839 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7840 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7841 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7842 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7843 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7844 specify as optional.
7845 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7846 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7847 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7848 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7849 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7850 [XPG3] (NL_LANGMAX): Likewise.
7851 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7852 [POSIX || XPG3] (NL_NMAX): Likewise.
7853 [POSIX || XPG3] (NL_SETMAX): Likewise.
7854 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7855 [XPG3] (NZERO): Likewise.
7856 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7857 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7858 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7859 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7860 (REG_ERANGE): Expect.
7861 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7862 optional-constant.
7863 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7864 Use (void) in prototype.
7865 [POSIX] (*_t): Allow.
7866 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7867 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7868 (WRDE_BADVAL): Expect.
7869
7870 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7871 expect.
7872 [XPG3 || XPG4] (O_RSYNC): Likewise.
7873 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7874 Likewise.
7875 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7876 [XPG3 || XPG4] (sigqueue): Likewise.
7877 [XPG3 || XPG4] (sigtimedwait): Likewise.
7878 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7879 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7880 [XPG3 || XPG4] (vsnprintf): Likewise.
7881 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7882 Likewise.
7883 [XPG3 || XPG4] (blksize_t): Likewise.
7884 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7885 Likewise.
7886 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7887 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7888 [XPG3 || XPG4] (struct itimerspec): Likewise.
7889 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7890 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7891 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7892 [XPG3 || XPG4] (clockid_t): Likewise.
7893 [XPG3 || XPG4] (timer_t): Likewise.
7894 [XPG3 || XPG4] (clock_getres): Likewise.
7895 [XPG3 || XPG4] (clock_gettime): Likewise.
7896 [XPG3 || XPG4] (clock_settime): Likewise.
7897 [XPG3 || XPG4] (nanosleep): Likewise.
7898 [XPG3 || XPG4] (timer_create): Likewise.
7899 [XPG3 || XPG4] (timer_delete): Likewise.
7900 [XPG3 || XPG4] (timer_gettime): Likewise.
7901 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7902 [XPG3 || XPG4] (timer_settime): Likewise.
7903 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7904 [XPG3 || XPG4] (getlogin_r): Likewise.
7905 [XPG3 || XPG4] (pread): Likewise.
7906 [XPG3 || XPG4] (pthread_atfork): Likewise.
7907 [XPG3 || XPG4] (pwrite): Likewise.
7908
7909 [BZ #14835]
7910 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7911 <bits/siginfo.h>.
7912
79132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7914
7915 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7916 finalizing MALLSTREAM.
7917
7918 * sysdeps/mach/hurd/syncfs.c: New file.
7919
79202012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7921
7922 [BZ #14719]
7923 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7924 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7925 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7926 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7927 (_nss_dns_gethostbyname4_r): Likewise.
7928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7929 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7930
79312012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7932
7933 [BZ #13763]
7934 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7935
79362012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7937
7938 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7939 * elf/cache.c (print_entry): Print ",AArch64" for
7940 FLAG_AARCH64_LIB64
7941
7942 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7943 * elf/cache.c (print_entry): Print ",hard-float" for
7944 FLAG_ARM_LIBHF.
7945
79462012-11-18 David S. Miller <davem@davemloft.net>
7947
7948 With help from Joseph Myers.
7949 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7950 cutoff to 2**-13.
7951 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7952 cutoff to 2**-25.
7953 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7954 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7955 small.
7956 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7957 * math/libm-test.inc (y0_test): New tests.
7958 (y1_test): New tests.
7959 * sysdeps/i386/fpu/libm-test-ulps: Update.
7960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7962
79632012-11-18 Andreas Schwab <schwab@linux-m68k.org>
7964
7965 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
7966 64-bit targets.
7967 * configure: Regenerated.
7968
79692012-11-17 David S. Miller <davem@davemloft.net>
7970
7971 [BZ #14811]
7972 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
7973 nonzero exponents with absolute value below 0x1p-128 to +/-
7974 0x1p-128.
7975
79762012-11-17 Joseph Myers <joseph@codesourcery.com>
7977
7978 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
7979
7980 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
7981
7982 * posix/getconf-speclist.c: New file.
7983 * posix/posix-envs.def: Likewise.
7984 * posix/confstr.c (START_ENV_GROUP): New macro.
7985 (END_ENV_GROUP): Likewise.
7986 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7987 (KNOWN_PRESENT_ENV_STRING): Likewise.
7988 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7989 (UNKNOWN_ENVIRONMENT): Likewise.
7990 (confstr): Include posix-envs.def instead of handling
7991 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
7992 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
7993 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
7994 (END_ENV_GROUP): Likewise.
7995 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7996 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7997 (UNKNOWN_ENVIRONMENT): Likewise.
7998 (__sysconf): Include posix-envs.def instead of handling associated
7999 cases directly here.
8000 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8001 preprocessing getconf-speclist.c rather than running getconf or
8002 generating empty file.
8003
80042012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8005
8006 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8007
80082012-11-16 Andrej Lajovic <natrij@gmail.com>
8009
8010 [BZ #14672]
8011 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8012
80132012-11-16 David S. Miller <davem@davemloft.net>
8014
8015 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8016 smaller than LDBL_EPSILON/2.0L, just return xm1.
8017
80182012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8019
8020 * elf/tst-array1.c (init): Set constructor priority to 1000.
8021 (fini): Set destructor priority to 1000.
8022 * elf/tst-array2dep.c: Likewise.
8023
80242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8025
8026 [BZ #11741]
8027 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8028 (_IO_new_file_xsputn): Also return EOF if none of the input
8029 data was written when overflow failed.
8030 * libio/iopadn.c (_IO_padn): Likewise.
8031 * libio/iowpadn.c (_IO_wpadn): Likewise.
8032 * stdio-common/tst-put-error.c: Add copyright notice.
8033 (do_test): Add case for printing padded string.
8034 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8035 _IO_padn returned error.
8036 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8037 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8038 return EOF.
8039
80402012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8041
8042 * libio/libioP.h: Add comment note that the references to C++
8043 bits are now obsolete.
8044
80452012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8046
8047 * math/libm-test.inc (check_complex): Use asprintf.
8048
80492012-11-14 Joseph Myers <joseph@codesourcery.com>
8050
8051 * debug/pcprofiledump.c (print_version): Update copyright year.
8052 * malloc/memusagestat.c (print_version): Likewise.
8053
80542012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8055
8056 [BZ #14831]
8057 * elf/Makefile (tests): Add tst-audit8.
8058 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8059 ($(objpfx)tst-audit8.out): New target.
8060 (tst-audit8-ENV): New variable.
8061 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8062 audit if l_reloc_result is NULL.
8063 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8064 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8065 * elf/tst-audit8.c: New file.
8066
80672012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8068
8069 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8070 * misc/Makefile (CFLAGS-select.c): Define.
8071 * posix/Makefile (CFLAGS-pause.c): Define.
8072
80732012-11-13 David S. Miller <davem@davemloft.net>
8074
8075 * crypt/Makefile: Move test targets after toplevel Rules
8076 inclusion. Grab any necessary sysdep routines when linking.
8077 * crypt/md5.c (md5_process_block): Remove define, we will always
8078 name it __md5_process_block.
8079 (md5_finish_ctx): Update md5_process_block call.
8080 (md5_stream): Likewise.
8081 (md5_process_bytes): Likewise.
8082 (md5_process_block): Rename to __md5_process_block and move to ...
8083 * crypt/md5-block.c: ... here.
8084 * crypt/sha256.c (sha256_process_block): Move to ...
8085 * crypt/sha256-block.c: ... here.
8086 * crypt/sha512.c (sha512_process_block): Move to ...
8087 * crypt/sha512-block.c: ... here.
8088 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8089 path.
8090 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8091 * sysdeps/sparc/sparc64/multiarch/Makefile
8092 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8093 crypt subdir.
8094 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8095 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8096 multiarch changes.
8097 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8098 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8099 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8100 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8101 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8102 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8103 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8104 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8105 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8106 file.
8107 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8108 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8109 file.
8110 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8111
81122012-11-13 Joseph Myers <joseph@codesourcery.com>
8113
8114 * timezone/tzselect.ksh: Update from tzcode git revision
8115 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8116 * timezone/zdump.c: Likewise.
8117 * timezone/zic.c: Likewise.
8118 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8119 in TZVERSION setting, not $(PKGVERSION).
8120 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8121 REPORT_BUGS_TO settings.
8122
8123 [BZ #14838]
8124 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8125 macro.
8126
81272012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8128
8129 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8130 detection to immediately after _FP_ROUND().
8131 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8132 bits are 0.
8133
81342012-11-11 David S. Miller <davem@davemloft.net>
8135
8136 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8137 inttypes.h
8138 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8139 __close rather than their public counterparts.
8140
81412012-11-10 Joseph Myers <joseph@codesourcery.com>
8142
8143 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8144 file.
8145 [UNIX98] (sem_timedwait): Do not expect.
8146 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8147 [XPG4 || UNIX98] (sockatmark): Do not expect.
8148 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8149 (clock_getcpuclockid): Do not expect.
8150 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8151 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8152 Do not expect.
8153 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8154 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8155 [UNIX98] (vwscanf): Likewise.
8156 [UNIX98] (vswscanf): Likewise.
8157
81582012-11-09 Joseph Myers <joseph@codesourcery.com>
8159
8160 * timezone/version.h: Remove file.
8161 * timezone/README: Do not refer to version.h.
8162 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8163 $(objpfx)version.h.
8164 ($(objpfx)zdump.o): Likewise.
8165 ($(objpfx)version.h): New target.
8166
8167 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8168 2012i.
8169 * timezone/README: Don't mention modification to tzselect.ksh.
8170 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8171 work on unmodified tzselect.ksh. Substitute version numbers in
8172 tzselect.ksh.
8173
8174 * Makefile (format-me): Remove.
8175 (INSTALL): Adjust indentation. Use commands directly instead of
8176 using $(format-me).
8177
8178 * aclocal.m4 (ACX_PKGVERSION): New macro.
8179 (ACX_BUGURL): Likewise.
8180 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8181 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8182 (REPORT_BUGS_TO): Likewise.
8183 * configure: Regenerated.
8184 * config.h.in (PKGVERSION): New macro.
8185 (REPORT_BUGS_TO): Likewise.
8186 * config.make.in (PKGVERSION): New variable.
8187 (PKGVERSION_TEXI): Likewise.
8188 (REPORT_BUGS_TO): Likewise.
8189 (REPORT_BUGS_TEXI): Likewise.
8190 * Makefile (format-me): Use -I$(common-objpfx)manual.
8191 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8192 ($(common-objpfx)manual/%): New target.
8193 (manual/%): Remove target.
8194 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8195 (print_version): Use PKGVERSION.
8196 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8197 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8198 and REPORT_BUGS_TO.
8199 ($(objpfx)xtrace): Likewise.
8200 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8201 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8202 (print_version): Use PKGVERSION.
8203 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8204 (do_version): Use PKGVERSION.
8205 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8206 REPORT_BUGS_TO.
8207 (common-ldd-rewrite): Likewise.
8208 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8209 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8210 (print_version): Use PKGVERSION.
8211 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8212 * elf/pldd.c (argp_program_bug_address): Remove variable.
8213 (more_help): New function.
8214 (argp): Use more_help.
8215 (print_version): Use PKGVERSION.
8216 * elf/sln.c (main): Use PKGVERSION.
8217 (usage): Use REPORT_BUGS_TO.
8218 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8219 (top level): Use PKGVERSION.
8220 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8221 (print_version): Use PKGVERSION.
8222 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8223 (print_version): Use PKGVERSION.
8224 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8225 (print_version): Use PKGVERSION.
8226 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8227 (print_version): Use PKGVERSION.
8228 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8229 (print_version): Use PKGVERSION.
8230 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8231 (print_version): Use PKGVERSION.
8232 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8233 and BUGURL.
8234 ($(objpfx)memusage): Likewise.
8235 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8236 (do_version): Use PKGVERSION.
8237 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8238 (print_version): Use PKGVERSION.
8239 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8240 ($PKGVERSION): New variable.
8241 ($REPORT_BUGS_TO): Likewise.
8242 (usage): Use $REPORT_BUGS_TO.
8243 (top level): Use $PKGVERSION.
8244 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8245 ($(objpfx)pkgvers.texi): New rule.
8246 ($(objpfx)stamp-pkgvers): Likewise.
8247 * manual/install.texi: Include pkgvers.texi.
8248 (--with-pkgversion): Document new configure option.
8249 (--with-bugurl): Likewise.
8250 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8251 than necessarily for this particular distribution. Use
8252 REPORT_BUGS_TO for where to report bugs.
8253 * INSTALL: Regenerated.
8254 * manual/libc.texinfo: Include pkgvers.texi.
8255 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8256 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8257 (print_version): Use PKGVERSION.
8258 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8259 (print_version): Use PKGVERSION.
8260 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8261 (print_version): Use PKGVERSION.
8262 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8263 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8264 macro.
8265 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8266 (print_version): Use PKGVERSION.
8267 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8268 (print_version): Use PKGVERSION.
8269 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8270 and PKGVERSION.
8271
8272 * timezone/checktab.awk: Update from tzcode 2012i.
8273 * timezone/ialloc.c: Likewise.
8274 * timezone/private.h: Likewise.
8275 * timezone/scheck.c: Likewise.
8276 * timezone/tzfile.h: Likewise.
8277 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8278 (TZVERSION): Hardcode tzcode version number.
8279 * timezone/zdump.c: Update from tzcode 2012i.
8280 * timezone/zic.c: Likewise.
8281 * timezone/version.h: New file.
8282 * timezone/README: Describe version.h. Update upstream location.
8283
8284 [BZ #14824]
8285 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8286 (mktemp): Enable declaration.
8287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8288 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8289 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8290 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8291 Likewise.
8292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8293 Likewise.
8294 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8295 Likewise.
8296 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8297 Likewise.
8298 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8299 Likewise.
8300 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8301 Likewise.
8302
8303 [BZ #14821]
8304 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8305 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8306 for copies of such integer values.
8307 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8308 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8309
83102012-11-09 Andreas Jaeger <aj@suse.de>
8311
8312 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8313 definitions and declarations that are provided by
8314 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8315
83162012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8317
8318 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
8319 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8320 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8321 definition.
8322
83232012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8324
8325 * elf/elf.h: Update comment before AArch64 relocations.
8326
83272012-11-07 David S. Miller <davem@davemloft.net>
8328
8329 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8330 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8331 (__start_context): Declare.
8332 (__makecontext_ret): Delete.
8333 (__makecontext): Hook up __start_context instead of
8334 __makecontext_ret.
8335 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8336 (sysdep_routines): Add __start_context when in stdlib.
8337
83382012-11-07 Joseph Myers <joseph@codesourcery.com>
8339
8340 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8341 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8342 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8343 hardcoded "nm".
8344 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8345 (READELF): New variable. Use it instead of hardcoded "readelf".
8346
83472012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8348
8349 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8350 * sysdeps/x86/Makefile: Here.
8351 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8352 * sysdeps/x86/tst-xmmymm.sh: This.
8353
83542012-11-07 Joseph Myers <joseph@codesourcery.com>
8355
8356 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8357 expectations.
8358 [UNIX98] (pthread_barrier_t): Do not expect.
8359 [UNIX98] (pthread_barrierattr_t): Likewise.
8360 [UNIX98] (pthread_spinlock_t): Likewise.
8361 [UNIX98] (pthread_barrier_destroy): Likewise.
8362 [UNIX98] (pthread_barrier_init): Likewise.
8363 [UNIX98] (pthread_barrier_wait): Likewise.
8364 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8365 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8366 [UNIX98] (pthread_barrierattr_init): Likewise.
8367 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8368 [UNIX98] (pthread_getcpuclockid): Likewise.
8369 [UNIX98] (pthread_mutex_timedlock): Likewise.
8370 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8371 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8372 [UNIX98] (pthread_sigmask): Likewise.
8373 [UNIX98] (pthread_spin_destroy): Likewise.
8374 [UNIX98] (pthread_spin_init): Likewise.
8375 [UNIX98] (pthread_spin_lock): Likewise.
8376 [UNIX98] (pthread_spin_trylock): Likewise.
8377 [UNIX98] (pthread_spin_unlock): Likewise.
8378 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8379 Do not expect.
8380 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8381 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8382 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8383 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8384 [XPG3 || XPG4] (pthread_key_t): Likewise.
8385 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8386 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8387 [XPG3 || XPG4] (pthread_once_t): Likewise.
8388 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8389 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8390 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8391 [XPG3 || XPG4] (pthread_t): Likewise.
8392
8393 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8394 not expect.
8395 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8396
8397 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8398 Change function return type to int.
8399
8400 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8401 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8402 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8403 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8404 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8405 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8406 [!POSIX] (posix_madvise): Likewise.
8407 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8408 && !UNIX98].
8409 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8410 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8411 (mode_t): Likewise.
8412 (posix_mem_offset): Likewise.
8413 (posix_typed_mem_get_info): Likewise.
8414 (posix_typed_mem_open): Likewise.
8415
8416 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8417 Change condition to [XOPEN2K8].
8418
8419 * conform/conformtest.pl: Preprocess allow-header data with -x c
8420 instead of from stdin.
8421 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8422 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8423 [C99-based standards] (cerfc): Likewise.
8424 [C99-based standards] (cexp2): Likewise.
8425 [C99-based standards] (cexpm1): Likewise.
8426 [C99-based standards] (clog10): Likewise.
8427 [C99-based standards] (clog1p): Likewise.
8428 [C99-based standards] (clog2): Likewise.
8429 [C99-based standards] (clgamma): Likewise.
8430 [C99-based standards] (ctgamma): Likewise.
8431 [C99-based standards] (cerff): Likewise.
8432 [C99-based standards] (cerfcf): Likewise.
8433 [C99-based standards] (cexp2f): Likewise.
8434 [C99-based standards] (cexpm1f): Likewise.
8435 [C99-based standards] (clog10f): Likewise.
8436 [C99-based standards] (clog1pf): Likewise.
8437 [C99-based standards] (clog2f): Likewise.
8438 [C99-based standards] (clgammaf): Likewise.
8439 [C99-based standards] (ctgammaf): Likewise.
8440 [C99-based standards] (cerfl): Likewise.
8441 [C99-based standards] (cerfcl): Likewise.
8442 [C99-based standards] (cexp2l): Likewise.
8443 [C99-based standards] (cexpm1l): Likewise.
8444 [C99-based standards] (clog10l): Likewise.
8445 [C99-based standards] (clog1pl): Likewise.
8446 [C99-based standards] (clog2l): Likewise.
8447 [C99-based standards] (clgammal): Likewise.
8448 [C99-based standards] (ctgammal): Likewise.
8449 * conform/data/inttypes.h-data [C99-based standards]: Include
8450 stdint.h-data. Remove all expectations for stdint.h contents.
8451 [C99-based standards] (PRI*): Do not allow.
8452 [C99-based standards] (SCN*): Likewise.
8453 [C99-based standards] (*_t): Likewise.
8454 [C99-based-standards] (PRId8): Expect macro.
8455 [C99-based-standards] (PRIi8): Likewise.
8456 [C99-based-standards] (PRIo8): Likewise.
8457 [C99-based-standards] (PRIu8): Likewise.
8458 [C99-based-standards] (PRIx8): Likewise.
8459 [C99-based-standards] (PRIX8): Likewise.
8460 [C99-based-standards] (SCNd8): Likewise.
8461 [C99-based-standards] (SCNi8): Likewise.
8462 [C99-based-standards] (SCNo8): Likewise.
8463 [C99-based-standards] (SCNu8): Likewise.
8464 [C99-based-standards] (SCNx8): Likewise.
8465 [C99-based-standards] (PRIdLEAST8): Likewise.
8466 [C99-based-standards] (PRIiLEAST8): Likewise.
8467 [C99-based-standards] (PRIoLEAST8): Likewise.
8468 [C99-based-standards] (PRIuLEAST8): Likewise.
8469 [C99-based-standards] (PRIxLEAST8): Likewise.
8470 [C99-based-standards] (PRIXLEAST8): Likewise.
8471 [C99-based-standards] (SCNdLEAST8): Likewise.
8472 [C99-based-standards] (SCNiLEAST8): Likewise.
8473 [C99-based-standards] (SCNoLEAST8): Likewise.
8474 [C99-based-standards] (SCNuLEAST8): Likewise.
8475 [C99-based-standards] (SCNxLEAST8): Likewise.
8476 [C99-based-standards] (PRIdFAST8): Likewise.
8477 [C99-based-standards] (PRIiFAST8): Likewise.
8478 [C99-based-standards] (PRIoFAST8): Likewise.
8479 [C99-based-standards] (PRIuFAST8): Likewise.
8480 [C99-based-standards] (PRIxFAST8): Likewise.
8481 [C99-based-standards] (PRIXFAST8): Likewise.
8482 [C99-based-standards] (SCNdFAST8): Likewise.
8483 [C99-based-standards] (SCNiFAST8): Likewise.
8484 [C99-based-standards] (SCNoFAST8): Likewise.
8485 [C99-based-standards] (SCNuFAST8): Likewise.
8486 [C99-based-standards] (SCNxFAST8): Likewise.
8487 [C99-based-standards] (PRId16): Likewise.
8488 [C99-based-standards] (PRIi16): Likewise.
8489 [C99-based-standards] (PRIo16): Likewise.
8490 [C99-based-standards] (PRIu16): Likewise.
8491 [C99-based-standards] (PRIx16): Likewise.
8492 [C99-based-standards] (PRIX16): Likewise.
8493 [C99-based-standards] (SCNd16): Likewise.
8494 [C99-based-standards] (SCNi16): Likewise.
8495 [C99-based-standards] (SCNo16): Likewise.
8496 [C99-based-standards] (SCNu16): Likewise.
8497 [C99-based-standards] (SCNx16): Likewise.
8498 [C99-based-standards] (PRIdLEAST16): Likewise.
8499 [C99-based-standards] (PRIiLEAST16): Likewise.
8500 [C99-based-standards] (PRIoLEAST16): Likewise.
8501 [C99-based-standards] (PRIuLEAST16): Likewise.
8502 [C99-based-standards] (PRIxLEAST16): Likewise.
8503 [C99-based-standards] (PRIXLEAST16): Likewise.
8504 [C99-based-standards] (SCNdLEAST16): Likewise.
8505 [C99-based-standards] (SCNiLEAST16): Likewise.
8506 [C99-based-standards] (SCNoLEAST16): Likewise.
8507 [C99-based-standards] (SCNuLEAST16): Likewise.
8508 [C99-based-standards] (SCNxLEAST16): Likewise.
8509 [C99-based-standards] (PRIdFAST16): Likewise.
8510 [C99-based-standards] (PRIiFAST16): Likewise.
8511 [C99-based-standards] (PRIoFAST16): Likewise.
8512 [C99-based-standards] (PRIuFAST16): Likewise.
8513 [C99-based-standards] (PRIxFAST16): Likewise.
8514 [C99-based-standards] (PRIXFAST16): Likewise.
8515 [C99-based-standards] (SCNdFAST16): Likewise.
8516 [C99-based-standards] (SCNiFAST16): Likewise.
8517 [C99-based-standards] (SCNoFAST16): Likewise.
8518 [C99-based-standards] (SCNuFAST16): Likewise.
8519 [C99-based-standards] (SCNxFAST16): Likewise.
8520 [C99-based-standards] (PRId32): Likewise.
8521 [C99-based-standards] (PRIi32): Likewise.
8522 [C99-based-standards] (PRIo32): Likewise.
8523 [C99-based-standards] (PRIu32): Likewise.
8524 [C99-based-standards] (PRIx32): Likewise.
8525 [C99-based-standards] (PRIX32): Likewise.
8526 [C99-based-standards] (SCNd32): Likewise.
8527 [C99-based-standards] (SCNi32): Likewise.
8528 [C99-based-standards] (SCNo32): Likewise.
8529 [C99-based-standards] (SCNu32): Likewise.
8530 [C99-based-standards] (SCNx32): Likewise.
8531 [C99-based-standards] (PRIdLEAST32): Likewise.
8532 [C99-based-standards] (PRIiLEAST32): Likewise.
8533 [C99-based-standards] (PRIoLEAST32): Likewise.
8534 [C99-based-standards] (PRIuLEAST32): Likewise.
8535 [C99-based-standards] (PRIxLEAST32): Likewise.
8536 [C99-based-standards] (PRIXLEAST32): Likewise.
8537 [C99-based-standards] (SCNdLEAST32): Likewise.
8538 [C99-based-standards] (SCNiLEAST32): Likewise.
8539 [C99-based-standards] (SCNoLEAST32): Likewise.
8540 [C99-based-standards] (SCNuLEAST32): Likewise.
8541 [C99-based-standards] (SCNxLEAST32): Likewise.
8542 [C99-based-standards] (PRIdFAST32): Likewise.
8543 [C99-based-standards] (PRIiFAST32): Likewise.
8544 [C99-based-standards] (PRIoFAST32): Likewise.
8545 [C99-based-standards] (PRIuFAST32): Likewise.
8546 [C99-based-standards] (PRIxFAST32): Likewise.
8547 [C99-based-standards] (PRIXFAST32): Likewise.
8548 [C99-based-standards] (SCNdFAST32): Likewise.
8549 [C99-based-standards] (SCNiFAST32): Likewise.
8550 [C99-based-standards] (SCNoFAST32): Likewise.
8551 [C99-based-standards] (SCNuFAST32): Likewise.
8552 [C99-based-standards] (SCNxFAST32): Likewise.
8553 [C99-based-standards] (PRId64): Likewise.
8554 [C99-based-standards] (PRIi64): Likewise.
8555 [C99-based-standards] (PRIo64): Likewise.
8556 [C99-based-standards] (PRIu64): Likewise.
8557 [C99-based-standards] (PRIx64): Likewise.
8558 [C99-based-standards] (PRIX64): Likewise.
8559 [C99-based-standards] (SCNd64): Likewise.
8560 [C99-based-standards] (SCNi64): Likewise.
8561 [C99-based-standards] (SCNo64): Likewise.
8562 [C99-based-standards] (SCNu64): Likewise.
8563 [C99-based-standards] (SCNx64): Likewise.
8564 [C99-based-standards] (PRIdLEAST64): Likewise.
8565 [C99-based-standards] (PRIiLEAST64): Likewise.
8566 [C99-based-standards] (PRIoLEAST64): Likewise.
8567 [C99-based-standards] (PRIuLEAST64): Likewise.
8568 [C99-based-standards] (PRIxLEAST64): Likewise.
8569 [C99-based-standards] (PRIXLEAST64): Likewise.
8570 [C99-based-standards] (SCNdLEAST64): Likewise.
8571 [C99-based-standards] (SCNiLEAST64): Likewise.
8572 [C99-based-standards] (SCNoLEAST64): Likewise.
8573 [C99-based-standards] (SCNuLEAST64): Likewise.
8574 [C99-based-standards] (SCNxLEAST64): Likewise.
8575 [C99-based-standards] (PRIdFAST64): Likewise.
8576 [C99-based-standards] (PRIiFAST64): Likewise.
8577 [C99-based-standards] (PRIoFAST64): Likewise.
8578 [C99-based-standards] (PRIuFAST64): Likewise.
8579 [C99-based-standards] (PRIxFAST64): Likewise.
8580 [C99-based-standards] (PRIXFAST64): Likewise.
8581 [C99-based-standards] (SCNdFAST64): Likewise.
8582 [C99-based-standards] (SCNiFAST64): Likewise.
8583 [C99-based-standards] (SCNoFAST64): Likewise.
8584 [C99-based-standards] (SCNuFAST64): Likewise.
8585 [C99-based-standards] (SCNxFAST64): Likewise.
8586 [C99-based-standards] (PRIdMAX): Likewise.
8587 [C99-based-standards] (PRIiMAX): Likewise.
8588 [C99-based-standards] (PRIoMAX): Likewise.
8589 [C99-based-standards] (PRIuMAX): Likewise.
8590 [C99-based-standards] (PRIxMAX): Likewise.
8591 [C99-based-standards] (PRIXMAX): Likewise.
8592 [C99-based-standards] (SCNdMAX): Likewise.
8593 [C99-based-standards] (SCNiMAX): Likewise.
8594 [C99-based-standards] (SCNoMAX): Likewise.
8595 [C99-based-standards] (SCNuMAX): Likewise.
8596 [C99-based-standards] (SCNxMAX): Likewise.
8597 [C99-based-standards] (PRIdPTR): Likewise.
8598 [C99-based-standards] (PRIiPTR): Likewise.
8599 [C99-based-standards] (PRIoPTR): Likewise.
8600 [C99-based-standards] (PRIuPTR): Likewise.
8601 [C99-based-standards] (PRIxPTR): Likewise.
8602 [C99-based-standards] (PRIXPTR): Likewise.
8603 [C99-based-standards] (SCNdPTR): Likewise.
8604 [C99-based-standards] (SCNiPTR): Likewise.
8605 [C99-based-standards] (SCNoPTR): Likewise.
8606 [C99-based-standards] (SCNuPTR): Likewise.
8607 [C99-based-standards] (SCNxPTR): Likewise.
8608 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8609 allow.
8610 * conform/data/stdint.h-data: Update comments to clarify
8611 requirements.
8612 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8613 type.
8614 [C99-based standards] (INT8_MAX): Likewise.
8615 [C99-based standards] (INT16_MIN): Likewise.
8616 [C99-based standards] (INT16_MAX): Likewise.
8617 [C99-based standards] (INT32_MIN): Likewise.
8618 [C99-based standards] (INT32_MAX): Likewise.
8619 [C99-based standards] (INT64_MIN): Likewise.
8620 [C99-based standards] (INT64_MAX): Likewise.
8621 [C99-based standards] (UINT8_MAX): Likewise.
8622 [C99-based standards] (UINT16_MAX): Likewise.
8623 [C99-based standards] (UINT32_MAX): Likewise.
8624 [C99-based standards] (UINT64_MAX): Likewise.
8625 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8626 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8627 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8628 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8629 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8630 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8631 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8632 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8633 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8634 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8635 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8636 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8637 [C99-based standards] (INT_FAST8_MIN): Likewise.
8638 [C99-based standards] (INT_FAST8_MAX): Likewise.
8639 [C99-based standards] (INT_FAST16_MIN): Likewise.
8640 [C99-based standards] (INT_FAST16_MAX): Likewise.
8641 [C99-based standards] (INT_FAST32_MIN): Likewise.
8642 [C99-based standards] (INT_FAST32_MAX): Likewise.
8643 [C99-based standards] (INT_FAST64_MIN): Likewise.
8644 [C99-based standards] (INT_FAST64_MAX): Likewise.
8645 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8646 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8647 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8648 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8649 [C99-based standards] (INTPTR_MIN): Likewise.
8650 [C99-based standards] (INTPTR_MAX): Likewise.
8651 [C99-based standards] (UINTPTR_MAX): Likewise.
8652 [C99-based standards] (INTMAX_MIN): Likewise.
8653 [C99-based standards] (INTMAX_MAX): Likewise.
8654 [C99-based standards] (UINTMAX_MAX): Likewise.
8655 [C99-based standards] (PTRDIFF_MIN): Likewise.
8656 [C99-based standards] (PTRDIFF_MAX): Likewise.
8657 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8658 [C99-based standards] (SIZE_MAX): Likewise.
8659 [C99-based standards] (WCHAR_MAX): Likewise.
8660 [C99-based standards] (WINT_MAX): Likewise.
8661 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8662 constraint on value.
8663 [C99-based standards] (WCHAR_MIN): Likewise.
8664 [C99-based standards] (WINT_MIN): Likewise.
8665 [C99-based standards] (*_t): Allow.
8666 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8667 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8668 Include math.h-data and complex.h-data. Remove all expectations
8669 of math.h and complex.h contents.
8670 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8671 at end of line.
8672 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8673 (struct tm): Expect tag.
8674 [C99-based-standards] (wcstof): Expect function.
8675 [C99-based-standards] (wcstold): Likewise.
8676 [C99-based-standards] (wcstoll): Likewise.
8677 [C99-based-standards] (wcstoull): Likewise.
8678 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8679 macro-int-constant. Specify type.
8680 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8681 constraint on value.
8682 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8683 Specify type.
8684 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8685 Specify value.
8686 [ISO C standards]: Do not allow headers.
8687 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8688 wcs[abcdefghijklmnopqrstuvwxyz]*.
8689 [ISO C standards] (*_t): Do not allow.
8690 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8691 Expect function.
8692 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8693 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8694 Specify type.
8695 [ISO C standards]: Do not allow headers.
8696 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8697 is[abcdefghijklmnopqrstuvwxyz]*.
8698 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8699 to[abcdefghijklmnopqrstuvwxyz]*.
8700 [ISO C standards] (*_t): Do not allow.
8701 * conform/data/stdalign.h-data: New file.
8702 * conform/data/stdbool.h-data: Likewise.
8703 * conform/data/stdnoreturn.h-data: Likewise.
8704
87052012-11-07 Roland McGrath <roland@hack.frob.com>
8706
8707 [BZ #14815]
8708 * manual/filesys.texi (Directory Entries): Typo fix.
8709 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8710
87112012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8712
8713 * elf/elf.h (EM_AARCH64): New macro.
8714 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8715 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8716 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8717 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8718 (R_AARCH64_TLSDESC): Likewise.
8719 (NT_ARM_TLS): Likewise.
8720 (NT_ARM_HW_BREAK): Likewise.
8721 (NT_ARM_HW_WATCH): Likewise.
8722
87232012-11-07 Joseph Myers <joseph@codesourcery.com>
8724
8725 [BZ #14811]
8726 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8727 (__ieee754_powl): Saturate nonzero exponents with absolute value
8728 below 0x1p-79 to +/- 0x1p-79.
8729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8730 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8731 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8732 nonzero exponents with absolute value below 0x1p-32 to +/-
8733 0x1p-32.
8734 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8735 (__ieee754_powl): Saturate nonzero exponents with absolute value
8736 below 0x1p-79 to +/- 0x1p-79.
8737 * math/libm-test.inc (pow_test): Add more tests.
8738
87392012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8740
8741 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8742 _dl_s390_cap_flags with kernel. Increase string length.
8743 (_dl_s390_platforms): Add z196 and zEC12.
8744
87452012-11-07 Joseph Myers <joseph@codesourcery.com>
8746
8747 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8748 Change XOPEN21K to XOPEN2K.
8749
87502012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8751
8752 * string/memmove.c: Use memcpy when possible.
8753
87542012-11-06 Andreas Jaeger <aj@suse.de>
8755
8756 * po/eo.po: Update from translation team.
8757
87582012-11-06 Joseph Myers <joseph@codesourcery.com>
8759
8760 [BZ #14793]
8761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8762 exponent and small x and y exponents, scale x or y up. Increase
8763 by 2 the exponent used in scaling up.
8764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8766 * math/libm-test.inc (fma_test): Add more tests.
8767 (fma_test_towardzero): Likewise.
8768 (fma_test_downward): Likewise.
8769 (fma_test_upward): Likewise.
8770
87712012-11-05 Joseph Myers <joseph@codesourcery.com>
8772
8773 [BZ #14805]
8774 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8775 fenv_t *.
8776
8777 [BZ #14801]
8778 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8779 namespace for names of struct fields.
8780 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8781 fenv_t fields.
8782 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8783 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8784
87852012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8786
8787 [BZ #3665]
8788 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8789
87902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8791
8792 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8793 PTR_DEMANGLE.
8794
8795 [BZ #5246]
8796 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8797 PTR_DEMANGLE.
8798
87992012-11-04 Joseph Myers <joseph@codesourcery.com>
8800
8801 [BZ #14797]
8802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8803 definitely overflow as x * y not x * y + z.
8804 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8805 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8806 * math/libm-test.inc (fma_test): Add more tests.
8807 (fma_test_towardzero): Likewise.
8808 (fma_test_downward): Likewise.
8809 (fma_test_upward): Likewise.
8810
88112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8812
8813 [BZ #157]
8814
8815 * include/stub-tag.h: Remove file.
8816 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8817 '#include' of it.
8818 * manual/maint.texi (Porting): Don't reference it.
8819 * Makerules ($(objpfx)stubs): Likewise.
8820 * dirent/closedir.c: Don't include <stub-tag.h>.
8821 * dirent/dirfd.c: Likewise.
8822 * dirent/fdopendir.c: Likewise.
8823 * dirent/getdents.c: Likewise.
8824 * dirent/getdents64.c: Likewise.
8825 * dirent/opendir.c: Likewise.
8826 * dirent/readdir.c: Likewise.
8827 * dirent/readdir64.c: Likewise.
8828 * dirent/readdir64_r.c: Likewise.
8829 * dirent/readdir_r.c: Likewise.
8830 * dirent/rewinddir.c: Likewise.
8831 * dirent/seekdir.c: Likewise.
8832 * dirent/telldir.c: Likewise.
8833 * gmon/profil.c: Likewise.
8834 * grp/setgroups.c: Likewise.
8835 * inet/if_index.c: Likewise.
8836 * io/access.c: Likewise.
8837 * io/chdir.c: Likewise.
8838 * io/chmod.c: Likewise.
8839 * io/chown.c: Likewise.
8840 * io/close.c: Likewise.
8841 * io/dup.c: Likewise.
8842 * io/dup2.c: Likewise.
8843 * io/dup3.c: Likewise.
8844 * io/euidaccess.c: Likewise.
8845 * io/faccessat.c: Likewise.
8846 * io/fchdir.c: Likewise.
8847 * io/fchmod.c: Likewise.
8848 * io/fchmodat.c: Likewise.
8849 * io/fchown.c: Likewise.
8850 * io/fchownat.c: Likewise.
8851 * io/fcntl.c: Likewise.
8852 * io/flock.c: Likewise.
8853 * io/fstatfs.c: Likewise.
8854 * io/fstatfs64.c: Likewise.
8855 * io/fstatvfs.c: Likewise.
8856 * io/fstatvfs64.c: Likewise.
8857 * io/futimens.c: Likewise.
8858 * io/fxstat.c: Likewise.
8859 * io/fxstat64.c: Likewise.
8860 * io/fxstatat.c: Likewise.
8861 * io/fxstatat64.c: Likewise.
8862 * io/getcwd.c: Likewise.
8863 * io/isatty.c: Likewise.
8864 * io/lchmod.c: Likewise.
8865 * io/lchown.c: Likewise.
8866 * io/link.c: Likewise.
8867 * io/linkat.c: Likewise.
8868 * io/lseek.c: Likewise.
8869 * io/lseek64.c: Likewise.
8870 * io/lxstat64.c: Likewise.
8871 * io/mkdir.c: Likewise.
8872 * io/mkdirat.c: Likewise.
8873 * io/mkfifo.c: Likewise.
8874 * io/mkfifoat.c: Likewise.
8875 * io/open.c: Likewise.
8876 * io/open64.c: Likewise.
8877 * io/openat.c: Likewise.
8878 * io/openat64.c: Likewise.
8879 * io/pipe.c: Likewise.
8880 * io/pipe2.c: Likewise.
8881 * io/poll.c: Likewise.
8882 * io/posix_fadvise.c: Likewise.
8883 * io/posix_fadvise64.c: Likewise.
8884 * io/posix_fallocate.c: Likewise.
8885 * io/posix_fallocate64.c: Likewise.
8886 * io/read.c: Likewise.
8887 * io/readlink.c: Likewise.
8888 * io/readlinkat.c: Likewise.
8889 * io/rmdir.c: Likewise.
8890 * io/sendfile.c: Likewise.
8891 * io/sendfile64.c: Likewise.
8892 * io/statfs.c: Likewise.
8893 * io/statfs64.c: Likewise.
8894 * io/statvfs.c: Likewise.
8895 * io/statvfs64.c: Likewise.
8896 * io/symlink.c: Likewise.
8897 * io/symlinkat.c: Likewise.
8898 * io/ttyname.c: Likewise.
8899 * io/ttyname_r.c: Likewise.
8900 * io/umask.c: Likewise.
8901 * io/unlink.c: Likewise.
8902 * io/unlinkat.c: Likewise.
8903 * io/utime.c: Likewise.
8904 * io/utimensat.c: Likewise.
8905 * io/write.c: Likewise.
8906 * io/xmknod.c: Likewise.
8907 * io/xmknodat.c: Likewise.
8908 * io/xstat.c: Likewise.
8909 * io/xstat64.c: Likewise.
8910 * login/getpt.c: Likewise.
8911 * login/grantpt.c: Likewise.
8912 * login/unlockpt.c: Likewise.
8913 * math/e_acoshl.c: Likewise.
8914 * math/e_acosl.c: Likewise.
8915 * math/e_asinl.c: Likewise.
8916 * math/e_atan2l.c: Likewise.
8917 * math/e_atanhl.c: Likewise.
8918 * math/e_coshl.c: Likewise.
8919 * math/e_expl.c: Likewise.
8920 * math/e_fmodl.c: Likewise.
8921 * math/e_gammal_r.c: Likewise.
8922 * math/e_hypotl.c: Likewise.
8923 * math/e_j0l.c: Likewise.
8924 * math/e_j1l.c: Likewise.
8925 * math/e_jnl.c: Likewise.
8926 * math/e_lgammal_r.c: Likewise.
8927 * math/e_log10l.c: Likewise.
8928 * math/e_log2l.c: Likewise.
8929 * math/e_logl.c: Likewise.
8930 * math/e_powl.c: Likewise.
8931 * math/e_rem_pio2l.c: Likewise.
8932 * math/e_sinhl.c: Likewise.
8933 * math/e_sqrtl.c: Likewise.
8934 * math/fclrexcpt.c: Likewise.
8935 * math/fedisblxcpt.c: Likewise.
8936 * math/feenablxcpt.c: Likewise.
8937 * math/fegetenv.c: Likewise.
8938 * math/fegetexcept.c: Likewise.
8939 * math/fegetround.c: Likewise.
8940 * math/feholdexcpt.c: Likewise.
8941 * math/fesetenv.c: Likewise.
8942 * math/fesetround.c: Likewise.
8943 * math/feupdateenv.c: Likewise.
8944 * math/fgetexcptflg.c: Likewise.
8945 * math/fraiseexcpt.c: Likewise.
8946 * math/fsetexcptflg.c: Likewise.
8947 * math/ftestexcept.c: Likewise.
8948 * math/k_cosl.c: Likewise.
8949 * math/k_rem_pio2l.c: Likewise.
8950 * math/k_sinl.c: Likewise.
8951 * math/k_tanl.c: Likewise.
8952 * math/s_asinhl.c: Likewise.
8953 * math/s_atanl.c: Likewise.
8954 * math/s_cbrtl.c: Likewise.
8955 * math/s_erfl.c: Likewise.
8956 * math/s_expm1l.c: Likewise.
8957 * math/s_log1pl.c: Likewise.
8958 * math/s_tanhl.c: Likewise.
8959 * misc/acct.c: Likewise.
8960 * misc/brk.c: Likewise.
8961 * misc/chflags.c: Likewise.
8962 * misc/chroot.c: Likewise.
8963 * misc/fchflags.c: Likewise.
8964 * misc/fgetxattr.c: Likewise.
8965 * misc/flistxattr.c: Likewise.
8966 * misc/fremovexattr.c: Likewise.
8967 * misc/fsetxattr.c: Likewise.
8968 * misc/fsync.c: Likewise.
8969 * misc/ftruncate.c: Likewise.
8970 * misc/futimes.c: Likewise.
8971 * misc/futimesat.c: Likewise.
8972 * misc/getdomain.c: Likewise.
8973 * misc/getdtsz.c: Likewise.
8974 * misc/gethostid.c: Likewise.
8975 * misc/gethostname.c: Likewise.
8976 * misc/getloadavg.c: Likewise.
8977 * misc/getpagesize.c: Likewise.
8978 * misc/getsysstats.c: Likewise.
8979 * misc/getxattr.c: Likewise.
8980 * misc/gtty.c: Likewise.
8981 * misc/ioctl.c: Likewise.
8982 * misc/lgetxattr.c: Likewise.
8983 * misc/listxattr.c: Likewise.
8984 * misc/llistxattr.c: Likewise.
8985 * misc/lremovexattr.c: Likewise.
8986 * misc/lsetxattr.c: Likewise.
8987 * misc/lutimes.c: Likewise.
8988 * misc/madvise.c: Likewise.
8989 * misc/mincore.c: Likewise.
8990 * misc/mlock.c: Likewise.
8991 * misc/mlockall.c: Likewise.
8992 * misc/mmap.c: Likewise.
8993 * misc/mprotect.c: Likewise.
8994 * misc/msync.c: Likewise.
8995 * misc/munlock.c: Likewise.
8996 * misc/munlockall.c: Likewise.
8997 * misc/munmap.c: Likewise.
8998 * misc/preadv.c: Likewise.
8999 * misc/preadv64.c: Likewise.
9000 * misc/ptrace.c: Likewise.
9001 * misc/pwritev.c: Likewise.
9002 * misc/pwritev64.c: Likewise.
9003 * misc/readv.c: Likewise.
9004 * misc/reboot.c: Likewise.
9005 * misc/remap_file_pages.c: Likewise.
9006 * misc/removexattr.c: Likewise.
9007 * misc/revoke.c: Likewise.
9008 * misc/select.c: Likewise.
9009 * misc/setdomain.c: Likewise.
9010 * misc/setegid.c: Likewise.
9011 * misc/seteuid.c: Likewise.
9012 * misc/sethostid.c: Likewise.
9013 * misc/sethostname.c: Likewise.
9014 * misc/setregid.c: Likewise.
9015 * misc/setreuid.c: Likewise.
9016 * misc/setxattr.c: Likewise.
9017 * misc/sstk.c: Likewise.
9018 * misc/stty.c: Likewise.
9019 * misc/swapoff.c: Likewise.
9020 * misc/swapon.c: Likewise.
9021 * misc/sync.c: Likewise.
9022 * misc/syncfs.c: Likewise.
9023 * misc/syscall.c: Likewise.
9024 * misc/truncate.c: Likewise.
9025 * misc/ualarm.c: Likewise.
9026 * misc/usleep.c: Likewise.
9027 * misc/ustat.c: Likewise.
9028 * misc/utimes.c: Likewise.
9029 * misc/vhangup.c: Likewise.
9030 * misc/writev.c: Likewise.
9031 * posix/_exit.c: Likewise.
9032 * posix/alarm.c: Likewise.
9033 * posix/execve.c: Likewise.
9034 * posix/fexecve.c: Likewise.
9035 * posix/fork.c: Likewise.
9036 * posix/fpathconf.c: Likewise.
9037 * posix/getaddrinfo.c: Likewise.
9038 * posix/getegid.c: Likewise.
9039 * posix/geteuid.c: Likewise.
9040 * posix/getgid.c: Likewise.
9041 * posix/getgroups.c: Likewise.
9042 * posix/getlogin.c: Likewise.
9043 * posix/getlogin_r.c: Likewise.
9044 * posix/getpgid.c: Likewise.
9045 * posix/getpid.c: Likewise.
9046 * posix/getppid.c: Likewise.
9047 * posix/getresgid.c: Likewise.
9048 * posix/getresuid.c: Likewise.
9049 * posix/getsid.c: Likewise.
9050 * posix/getuid.c: Likewise.
9051 * posix/glob64.c: Likewise.
9052 * posix/nanosleep.c: Likewise.
9053 * posix/pathconf.c: Likewise.
9054 * posix/pause.c: Likewise.
9055 * posix/posix_madvise.c: Likewise.
9056 * posix/pread.c: Likewise.
9057 * posix/pread64.c: Likewise.
9058 * posix/pwrite.c: Likewise.
9059 * posix/pwrite64.c: Likewise.
9060 * posix/sched_getaffinity.c: Likewise.
9061 * posix/sched_getp.c: Likewise.
9062 * posix/sched_gets.c: Likewise.
9063 * posix/sched_primax.c: Likewise.
9064 * posix/sched_primin.c: Likewise.
9065 * posix/sched_rr_gi.c: Likewise.
9066 * posix/sched_setaffinity.c: Likewise.
9067 * posix/sched_setp.c: Likewise.
9068 * posix/sched_sets.c: Likewise.
9069 * posix/sched_yield.c: Likewise.
9070 * posix/setgid.c: Likewise.
9071 * posix/setlogin.c: Likewise.
9072 * posix/setpgid.c: Likewise.
9073 * posix/setresgid.c: Likewise.
9074 * posix/setresuid.c: Likewise.
9075 * posix/setsid.c: Likewise.
9076 * posix/setuid.c: Likewise.
9077 * posix/sleep.c: Likewise.
9078 * posix/spawni.c: Likewise.
9079 * posix/sysconf.c: Likewise.
9080 * posix/times.c: Likewise.
9081 * posix/wait.c: Likewise.
9082 * posix/wait3.c: Likewise.
9083 * posix/wait4.c: Likewise.
9084 * posix/waitpid.c: Likewise.
9085 * resolv/gai_sigqueue.c: Likewise.
9086 * resource/getpriority.c: Likewise.
9087 * resource/getrlimit.c: Likewise.
9088 * resource/getrusage.c: Likewise.
9089 * resource/nice.c: Likewise.
9090 * resource/setpriority.c: Likewise.
9091 * resource/setrlimit.c: Likewise.
9092 * resource/ulimit.c: Likewise.
9093 * rt/aio_cancel.c: Likewise.
9094 * rt/aio_fsync.c: Likewise.
9095 * rt/aio_read.c: Likewise.
9096 * rt/aio_sigqueue.c: Likewise.
9097 * rt/aio_suspend.c: Likewise.
9098 * rt/aio_write.c: Likewise.
9099 * rt/clock_getres.c: Likewise.
9100 * rt/clock_gettime.c: Likewise.
9101 * rt/clock_nanosleep.c: Likewise.
9102 * rt/clock_settime.c: Likewise.
9103 * rt/lio_listio.c: Likewise.
9104 * rt/mq_close.c: Likewise.
9105 * rt/mq_getattr.c: Likewise.
9106 * rt/mq_notify.c: Likewise.
9107 * rt/mq_open.c: Likewise.
9108 * rt/mq_receive.c: Likewise.
9109 * rt/mq_send.c: Likewise.
9110 * rt/mq_setattr.c: Likewise.
9111 * rt/mq_timedreceive.c: Likewise.
9112 * rt/mq_timedsend.c: Likewise.
9113 * rt/mq_unlink.c: Likewise.
9114 * rt/shm_open.c: Likewise.
9115 * rt/shm_unlink.c: Likewise.
9116 * rt/timer_create.c: Likewise.
9117 * rt/timer_delete.c: Likewise.
9118 * rt/timer_getoverr.c: Likewise.
9119 * rt/timer_gettime.c: Likewise.
9120 * rt/timer_settime.c: Likewise.
9121 * setjmp/__longjmp.c: Likewise.
9122 * setjmp/setjmp.c: Likewise.
9123 * signal/kill.c: Likewise.
9124 * signal/killpg.c: Likewise.
9125 * signal/raise.c: Likewise.
9126 * signal/sigaction.c: Likewise.
9127 * signal/sigaltstack.c: Likewise.
9128 * signal/sigblock.c: Likewise.
9129 * signal/sigignore.c: Likewise.
9130 * signal/sigintr.c: Likewise.
9131 * signal/signal.c: Likewise.
9132 * signal/sigpause.c: Likewise.
9133 * signal/sigpending.c: Likewise.
9134 * signal/sigqueue.c: Likewise.
9135 * signal/sigreturn.c: Likewise.
9136 * signal/sigset.c: Likewise.
9137 * signal/sigsetmask.c: Likewise.
9138 * signal/sigstack.c: Likewise.
9139 * signal/sigsuspend.c: Likewise.
9140 * signal/sigtimedwait.c: Likewise.
9141 * signal/sigvec.c: Likewise.
9142 * signal/sigwait.c: Likewise.
9143 * signal/sigwaitinfo.c: Likewise.
9144 * signal/sysv_signal.c: Likewise.
9145 * socket/accept.c: Likewise.
9146 * socket/accept4.c: Likewise.
9147 * socket/bind.c: Likewise.
9148 * socket/connect.c: Likewise.
9149 * socket/getpeername.c: Likewise.
9150 * socket/getsockname.c: Likewise.
9151 * socket/getsockopt.c: Likewise.
9152 * socket/isfdtype.c: Likewise.
9153 * socket/listen.c: Likewise.
9154 * socket/recv.c: Likewise.
9155 * socket/recvfrom.c: Likewise.
9156 * socket/recvmsg.c: Likewise.
9157 * socket/send.c: Likewise.
9158 * socket/sendmsg.c: Likewise.
9159 * socket/sendto.c: Likewise.
9160 * socket/setsockopt.c: Likewise.
9161 * socket/shutdown.c: Likewise.
9162 * socket/sockatmark.c: Likewise.
9163 * socket/socket.c: Likewise.
9164 * socket/socketpair.c: Likewise.
9165 * stdio-common/ctermid.c: Likewise.
9166 * stdio-common/cuserid.c: Likewise.
9167 * stdio-common/remove.c: Likewise.
9168 * stdio-common/rename.c: Likewise.
9169 * stdio-common/renameat.c: Likewise.
9170 * stdio-common/tempname.c: Likewise.
9171 * stdlib/getcontext.c: Likewise.
9172 * stdlib/makecontext.c: Likewise.
9173 * stdlib/setcontext.c: Likewise.
9174 * stdlib/swapcontext.c: Likewise.
9175 * stdlib/system.c: Likewise.
9176 * streams/fattach.c: Likewise.
9177 * streams/fdetach.c: Likewise.
9178 * streams/getmsg.c: Likewise.
9179 * streams/getpmsg.c: Likewise.
9180 * streams/putmsg.c: Likewise.
9181 * streams/putpmsg.c: Likewise.
9182 * sysdeps/unix/bsd/getpt.c: Likewise.
9183 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9184 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9185 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9187 Likewise.
9188 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9189 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9190 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9191 * sysvipc/msgctl.c: Likewise.
9192 * sysvipc/msgget.c: Likewise.
9193 * sysvipc/msgrcv.c: Likewise.
9194 * sysvipc/msgsnd.c: Likewise.
9195 * sysvipc/semctl.c: Likewise.
9196 * sysvipc/semget.c: Likewise.
9197 * sysvipc/semop.c: Likewise.
9198 * sysvipc/semtimedop.c: Likewise.
9199 * sysvipc/shmat.c: Likewise.
9200 * sysvipc/shmctl.c: Likewise.
9201 * sysvipc/shmdt.c: Likewise.
9202 * sysvipc/shmget.c: Likewise.
9203 * termios/tcdrain.c: Likewise.
9204 * termios/tcflow.c: Likewise.
9205 * termios/tcflush.c: Likewise.
9206 * termios/tcgetattr.c: Likewise.
9207 * termios/tcgetpgrp.c: Likewise.
9208 * termios/tcsendbrk.c: Likewise.
9209 * termios/tcsetattr.c: Likewise.
9210 * termios/tcsetpgrp.c: Likewise.
9211 * time/adjtime.c: Likewise.
9212 * time/clock.c: Likewise.
9213 * time/getitimer.c: Likewise.
9214 * time/gettimeofday.c: Likewise.
9215 * time/setitimer.c: Likewise.
9216 * time/settimeofday.c: Likewise.
9217 * time/stime.c: Likewise.
9218 * time/time.c: Likewise.
9219
92202012-11-04 Pino Toscano <toscano.pino@tiscali.it>
9221
9222 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9223 /usr/old/bin.
9224
9225 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9226 instead of spaces.
9227 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9228
92292012-11-03 Joseph Myers <joseph@codesourcery.com>
9230
9231 [BZ #14796]
9232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9233 FE_TONEAREST before applying Dekker multiplication and Knuth
9234 addition. Clear inexact exceptions and check for exact zero
9235 results afterwards.
9236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9237 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9238 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9239 * math/libm-test.inc (fma_test): Add more tests.
9240 (fma_test_towardzero): Likewise.
9241 (fma_test_downward): Likewise.
9242 (fma_test_upward): Likewise.
9243 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9244 function.
9245 (libc_fesetround): New macro.
9246 (libc_fesetroundf): Likewise.
9247 (libc_fesetroundl): Likewise.
9248 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9249 function.
9250 (libc_fesetround_387): Likewise.
9251 (libc_fesetroundf): New macro.
9252 (libc_fesetround): Likewise.
9253 (libc_fesetroundl): Likewise.
9254 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9255 function.
9256 (libc_fesetroundf): New macro.
9257 (libc_fesetround): Likewise.
9258 (libc_fesetroundl): Likewise.
9259 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9260 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9261 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9262 libm_hidden_ver.
9263 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9264 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9265 libm_hidden_def.
9266 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9267 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9268 libm_hidden_ver.
9269 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9270 libm_hidden_def.
9271
9272 [BZ #3439]
9273 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9274 integer constant usable in #if and use that to give value to enum
9275 constant.
9276 (FE_DIVBYZERO): Likewise.
9277 (FE_UNDERFLOW): Likewise.
9278 (FE_OVERFLOW): Likewise.
9279 (FE_INVALID): Likewise.
9280 (FE_INVALID_SNAN): Likewise.
9281 (FE_INVALID_ISI): Likewise.
9282 (FE_INVALID_IDI): Likewise.
9283 (FE_INVALID_ZDZ): Likewise.
9284 (FE_INVALID_IMZ): Likewise.
9285 (FE_INVALID_COMPARE): Likewise.
9286 (FE_INVALID_SOFTWARE): Likewise.
9287 (FE_INVALID_SQRT): Likewise.
9288 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9289 (FE_TONEAREST): Likewise.
9290 (FE_TOWARDZERO): Likewise.
9291 (FE_UPWARD): Likewise.
9292 (FE_DOWNWARD): Likewise.
9293 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9294 (FE_DIVBYZERO): Likewise.
9295 (FE_OVERFLOW): Likewise.
9296 (FE_UNDERFLOW): Likewise.
9297 (FE_INEXACT): Likewise.
9298 (FE_TONEAREST): Likewise.
9299 (FE_DOWNWARD): Likewise.
9300 (FE_UPWARD): Likewise.
9301 (FE_TOWARDZERO): Likewise.
9302 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9303 (FE_UNDERFLOW): Likewise.
9304 (FE_OVERFLOW): Likewise.
9305 (FE_DIVBYZERO): Likewise.
9306 (FE_INVALID): Likewise.
9307 (FE_TONEAREST): Likewise.
9308 (FE_TOWARDZERO): Likewise.
9309 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9310 (FE_OVERFLOW): Likewise.
9311 (FE_UNDERFLOW): Likewise.
9312 (FE_DIVBYZERO): Likewise.
9313 (FE_INEXACT): Likewise.
9314 (FE_TONEAREST): Likewise.
9315 (FE_TOWARDZERO): Likewise.
9316 (FE_UPWARD): Likewise.
9317 (FE_DOWNWARD): Likewise.
9318 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9319 (FE_DIVBYZERO): Likewise.
9320 (FE_OVERFLOW): Likewise.
9321 (FE_UNDERFLOW): Likewise.
9322 (FE_INEXACT): Likewise.
9323 (FE_TONEAREST): Likewise.
9324 (FE_DOWNWARD): Likewise.
9325 (FE_UPWARD): Likewise.
9326 (FE_TOWARDZERO): Likewise.
9327
93282012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9329
9330 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9331
93322012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9333
9334 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9335 commands. Quote $PWD.
9336 (blacklist_exports): Don't use remove_newlines. Replace "declare
9337 -x" by "export".
9338 (remove_newlines): Remove.
9339
93402012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9341
9342 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9343 * stdlib/stdlib.h (atof): Moved to ...
9344 * include/bits/stdlib-float.h: Here. New file.
9345 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9346 * stdlib/bits/stdlib-float.h: New file.
9347 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9348 -mno-sse -mno-mmx.
9349 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9350 <xmmintrin.h>.
9351
93522012-11-02 Joseph Myers <joseph@codesourcery.com>
9353
9354 * conform/conformtest.pl (@headers): Add fenv.h.
9355 * conform/data/fenv.h-data: New file.
9356 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9357 include of <math/fenv.h>.
9358
9359 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9360 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9361 && !UNIX98]. Enables tests for XOPEN2K8.
9362 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9363 POSIX2008]: Likewise.
9364
9365 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9366 (struct rusage): Do not expect type or its members.
9367
9368 [BZ #3439]
9369 * math/math.h (FP_NAN): Define macro to integer constant usable in
9370 #if and use that to give value to enum constant.
9371 (FP_INFINITE): Likewise.
9372 (FP_ZERO): Likewise.
9373 (FP_SUBNORMAL): Likewise.
9374 (FP_NORMAL): Likewise.
9375
93762012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9377
9378 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9379 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9380 arguments.
9381
93822012-11-02 Roland McGrath <roland@hack.frob.com>
9383
9384 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9385 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9386 autoconf-time if not.
9387 * configure.in: Remove AC_PREREQ.
9388
93892012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9390
9391 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9392 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9393 of the internal implementation.
9394
93952012-11-02 Joseph Myers <joseph@codesourcery.com>
9396
9397 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9398 except include of <misc/sys/syslog.h>.
9399
94002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9401
9402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9403 function returns with a NULL context exit with zero.
9404
94052012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9406
9407 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9408
94092012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9410
9411 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9412 (run_program_cmd): This.
9413 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9414 (tst_langinfo): New variable. Use it.
9415
94162012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9417
9418 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9419 floating point opcodes.
9420
94212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9422
9423 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9424 variable.
9425
9426 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9427
9428 * sysdeps/mach/hurd/powerpc: Remove directory.
9429 * sysdeps/mach/powerpc: Likewise.
9430
94312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9432
9433 * scripts/check-local-headers.sh: Ignore c++ headers.
9434
94352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9436
9437 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9438 __libc_cleanup_region_start argument.
9439
94402012-11-01 Joseph Myers <joseph@codesourcery.com>
9441
9442 [BZ #14784]
9443 [BZ #14785]
9444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9445 x * y using scaling, not as x * y + z.
9446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9448 * math/libm-test.inc (fma_test): Add more tests.
9449 (fma_test_towardzero): Likewise.
9450 (fma_test_downward): Likewise.
9451 (fma_test_upward): Likewise.
9452
94532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9454
9455 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9456
94572012-10-31 Joseph Myers <joseph@codesourcery.com>
9458
9459 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9460 New variable.
9461
94622012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9463
9464 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9465
94662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9467
9468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9469 Fix sort order.
9470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9471 Likewise.
9472
94732012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9474
9475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9476 Fix the order of the list for glibc 2.17.
9477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9478 Likewise.
9479
94802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9481
9482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9483
94842012-10-31 Joseph Myers <joseph@codesourcery.com>
9485
9486 [BZ #14610]
9487 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9488 for low part of x being zero before using __atanl (y).
9489 * math/libm-test.inc (atan2_test): Add another test.
9490
9491 * manual/install.texi (Configuring and compiling): Document
9492 general use of test-wrapper and test-wrapper-env.
9493 * INSTALL: Regenerated.
9494
9495 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9496 (__fma): Do not extract and scale down low bits on after-rounding
9497 systems when result rounded to normal precision would have normal
9498 exponent.
9499 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9500 (__fmal): Do not extract and scale down low bits on after-rounding
9501 systems when result rounded to normal precision would have normal
9502 exponent.
9503 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9504 (__fmal): Do not extract and scale down low bits on after-rounding
9505 systems when result rounded to normal precision would have normal
9506 exponent.
9507 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9508 macro.
9509 (fma_test): Add more tests.
9510 (fma_test_towardzero): Likewise.
9511 (fma_test_downward): Likewise.
9512 (fma_test_upward): Likewise.
9513
95142012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9515
9516 * sysdeps/i386/tininess.h: Renamed to ...
9517 * sysdeps/x86/tininess.h: This.
9518 * sysdeps/x86_64/tininess.h: Removed.
9519
95202012-10-30 Joseph Myers <joseph@codesourcery.com>
9521
9522 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9523 input. Use $(build-program-cmd).
9524 ($(objpfx)tst-array1-static.out): Likewise.
9525 ($(objpfx)tst-array2.out): Likewise.
9526 ($(objpfx)tst-array3.out): Likewise.
9527 ($(objpfx)tst-array4.out): Likewise.
9528 ($(objpfx)tst-array5.out): Likewise.
9529 ($(objpfx)tst-array5-static.out): Likewise.
9530
95312012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9532
9533 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9534 if defined.
9535
9536 * nss/nsswitch.h (nss_interface_function): Provide new
9537 macro for use with NSS functions.
9538 * grp/initgroups.c: Use new macro.
9539 * nss/getXXbyYY.c: Likewise.
9540 * nss/getXXbyYY_r.c: Likewise.
9541 * nss/getXXent.c: Likewise.
9542 * nss/getXXent_r.c: Likewise.
9543 * sysdeps/posix/getaddrinfo.c: Likewise.
9544
95452012-10-30 Andreas Jaeger <aj@suse.de>
9546
9547 * po/ru.po: Update Russion translation from translation project.
9548
95492012-10-30 Joseph Myers <joseph@codesourcery.com>
9550
9551 [BZ #14152]
9552 [BZ #14783]
9553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9554 result and shift together with sticky bit instead of replicating
9555 round-to-nearest rounding.
9556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9557 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9558 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9559 missing underflow exceptions.
9560 (fma_test_towardzero): Add more tests.
9561 (fma_test_downward): Likewise.
9562 (fma_test_upward): Likewise.
9563
9564 [BZ #14047]
9565 * sysdeps/generic/tininess.h: New file.
9566 * sysdeps/i386/tininess.h: Likewise.
9567 * sysdeps/sh/tininess.h: Likewise.
9568 * sysdeps/x86_64/tininess.h: Likewise.
9569 * stdlib/tst-strtod-underflow.c: Likewise.
9570 * stdlib/tst-tininess.c: Likewise.
9571 * stdlib/strtod_l.c: Include <tininess.h>.
9572 (round_and_return): Do not set errno for exact underflow cases.
9573 Force an underflow exception when setting errno for underflow.
9574 Determine underflow based on rounding to normal precision if
9575 TININESS_AFTER_ROUNDING.
9576 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9577 ERANGE for exact underflow cases.
9578 * stdlib/Makefile (tests): Add tst-tininess and
9579 tst-strtod-underflow.
9580 ($(objpfx)tst-tininess): Use $(link-libm).
9581 ($(objpfx)tst-strtod-underflow): Likewise.
9582
95832012-10-30 Andreas Jaeger <aj@suse.de>
9584
9585 [BZ#14767]
9586 * elf/Makefile (tests): Remove conditional for have-initfini-array
9587 since this is now always required and the variable does not exist
9588 anymore.
9589 (tests-static): Likewise.
9590 (modules-names): Likewise.
9591
9592 * po/eo.po: Add Esperanto translation from translation project.
9593
9594 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9595 merged with constructor/destructor.
9596 (init_array): Likewise.
9597 * elf/tst-array2dep.c (fini_array): Likewise.
9598 (init_array): Likewise.
9599
96002012-10-29 Mike Frysinger <vapier@gentoo.org>
9601
9602 * manual/message.texi: Delete @cartouche tags.
9603
96042012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9605
9606 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9607 EOPNOTSUPP.
9608 * sysdeps/mach/hurd/fsync.c: Likewise.
9609
9610 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9611 [_POSIX_REALTIME_SIGNALS]: Change condition to
9612 [_POSIX_REALTIME_SIGNALS > 0].
9613
96142012-10-27 Andreas Jaeger <aj@suse.de>
9615
9616 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9617 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9619 [__WORDSIZE != 64]: Likewise.
9620
96212012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9622
9623 * iconvdata/tst-table.sh: Remove ${SHELL}.
9624 * iconvdata/tst-tables.sh: Likewise.
9625
96262012-10-25 David S. Miller <davem@davemloft.net>
9627
9628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9629 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9630 of strtoull.
9631
9632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9633 ifunc-impl-list.c
9634 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9635 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9636 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9637 file.
9638
96392012-10-25 Roland McGrath <roland@hack.frob.com>
9640
9641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9642 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9643 __getdirentries.
9644
96452012-10-25 Joseph Myers <joseph@codesourcery.com>
9646 Jim Blandy <jimb@codesourcery.com>
9647
9648 * scripts/cross-test-ssh.sh: New file.
9649 * manual/install.texi (Configuring and compiling): Document use of
9650 cross-test-ssh.sh.
9651 * INSTALL: Regenerated.
9652
96532012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9654
9655 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9656 EOPNOTSUPP.
9657
96582012-10-25 Joseph Myers <joseph@codesourcery.com>
9659
9660 * Makeconfig (run-program-prefix): Fix comment.
9661
96622012-10-24 Joseph Myers <joseph@codesourcery.com>
9663 Jim Blandy <jimb@codesourcery.com>
9664
9665 * Makeconfig (test-wrapper): New variable,
9666 (test-wrapper-env): Likewise.
9667 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9668 (run-built-tests): Define to yes.
9669 (run-program-prefix): Use $(test-wrapper).
9670 (built-program-cmd): Likewise.
9671 * Rules (make-test-out): Use $(test-wrapper-env) and
9672 $(host-built-program-cmd).
9673 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9674 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9675 tst-pathopt.sh.
9676 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9677 $(test-wrapper-env) to tst-rtld-load-self.sh.
9678 ($(objpfx)order2.out): Use $(test-wrapper).
9679 ($(objpfx)tst-initorder.out): Likewise.
9680 ($(objpfx)tst-initorder2.out): Likewise.
9681 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9682 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9683 (test_wrapper_env): New variable. Use it to run ld.so.
9684 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9685 Use it to run ld.so.
9686 (test_wrapper_env): Likewise.
9687 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9688 $(test-wrapper) to run-iconv-test.sh.
9689 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9690 (ICONV): Use $test_wrapper.
9691 * posix/Makefile ($(objpfx)globtest.out): Pass
9692 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9693 globtest.sh, not $(run-program-prefix).
9694 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9695 (test_wrapper): Likewise.
9696 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9697 set together with run_via_rtld_prefix.
9698 (run_program_prefix): Define in terms of test_wrapper and
9699 run_via_rtld_prefix.
9700
97012012-10-24 Roland McGrath <roland@hack.frob.com>
9702
9703 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9704 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9705 Targets removed.
9706
9707 [BZ #14743]
9708 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9709 Declare __clock_getres, __clock_gettime, __clock_settime,
9710 __clock_nanosleep, and __clock_getcpuclockid.
9711 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9712 Remove librt_hidden_def (clock_gettime).
9713 * sysdeps/unix/clock_gettime.c: Likewise.
9714 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9715 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9716 * rt/clock_getres.c: Define __clock_getres as an alias.
9717 * sysdeps/posix/clock_getres.c: Likewise.
9718 * rt/clock_settime.c: Define __clock_settime as an alias.
9719 * sysdeps/unix/clock_settime.c: Likewise.
9720 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9721 * sysdeps/unix/clock_nanosleep.c: Likewise.
9722 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9723 * rt/clock-compat.c: New file.
9724 * rt/Makefile (librt-routines): Add clock-compat and move
9725 $(clock-routines) to ...
9726 (routines): ... here, new variable.
9727 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9728 Don't add get_clockfreq here.
9729 * rt/Versions (libc: GLIBC_2.17): New version set.
9730 Add clock_* symbols here.
9731 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9732 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9733 (GLIBC_2.17): Add clock_* symbols.
9734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9736 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9738 Likewise.
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9740 Likewise.
9741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9745 * NEWS: Mention the move.
9746
9747 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9748 Use __open, __read, __close rather than their public counterparts.
9749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9750 (__get_clockfreq_via_cpuinfo): Likewise.
9751 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9752 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9753
9754 * config.h.in (HAVE_IFUNC): New #undef.
9755 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9756 was successful.
9757 * configure: Regenerated.
9758
97592012-10-24 Mike Frysinger <vapier@gentoo.org>
9760
9761 * configure.in: Move READELF check to start of file.
9762 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9763 libc_cv_asm_gnu_indirect_function in the process.
9764 * configure: Regenerated.
9765
97662012-10-24 Mike Frysinger <vapier@gentoo.org>
9767
9768 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9769 send the output to /dev/null.
9770 (libc_cv_cc_with_libunwind): Likewise.
9771 (libc_cv_as_noexecstack): Likewise.
9772 * configure: Regenerate.
9773
97742012-10-24 Joseph Myers <joseph@codesourcery.com>
9775
9776 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9777
9778 * posix/globtest.sh (TMPDIR): Do not set.
9779 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9780 (testout): Likewise.
9781
97822012-10-24 Andreas Jaeger <aj@suse.de>
9783
9784 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9785 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9786 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9787 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9788 posix_fadvise64, posix_fallocate64.
9789
9790 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9791 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9792 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9793 Likewise.
9794 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9795 Likewise.
9796 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9797
9798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9799 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9800 <bits/fcntl-linux.h>.
9801 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9802
9803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9804 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9805 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9806 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9807 [__WORDSIZE != 64]: Likewise.
9808
98092012-10-23 Joseph Myers <joseph@codesourcery.com>
9810
9811 * Makeconfig (run-built-tests): New variable.
9812 * Rules [$(cross-compiling) = yes]: Change condition to
9813 [$(run-built-tests) = no].
9814 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9815 to [$(run-built-tests) = yes].
9816 * elf/Makefile [$(cross-compiling) = no]: Likewise
9817 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9818 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9819 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9820 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9821 * io/Makefile [$(cross-compiling) = no]: Likewise.
9822 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9823 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9824 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9825 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9826 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9827 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9828 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9829 * string/Makefile [$(cross-compiling) = no]: Likewise.
9830
9831 * posix/Makefile ($(objpfx)globtest.out): Pass
9832 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9833 $(rtld-installed-name).
9834 * posix/globtest.sh (elf_objpfx): Remove variable.
9835 (rtld_installed_name): Likewise.
9836 (library_path): Likewise.
9837 (run_program_prefix): New variable. Use for running globtest
9838 binary.
9839
98402012-10-23 Jim Blandy <jimb@codesourcery.com>
9841 Joseph Myers <joseph@codesourcery.com>
9842
9843 * Makeconfig (host-built-program-cmd): New variable.
9844 * elf/Makefile (tst-stackguard1-ARGS): Use
9845 $(host-built-program-cmd).
9846 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9847 (tst-spawn-ARGS): Likewise.
9848 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9849
98502012-10-23 Joseph Myers <joseph@codesourcery.com>
9851 Jim Blandy <jimb@codesourcery.com>
9852
9853 * Makeconfig (run-via-rtld-prefix): New variable.
9854 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9855 (built-program-cmd): Likewise.
9856
98572012-10-22 Andreas Jaeger <aj@suse.de>
9858
9859 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9860 __O_RSYNC if it exists, otherwise to O_SYNC.
9861
98622012-10-22 Jim Blandy <jimb@codesourcery.com>
9863 Joseph Myers <joseph@codesourcery.com>
9864
9865 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9866 /dev/null.
9867 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9868 from /dev/null
9869 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9870 /dev/null.
9871
98722012-10-22 Andreas Jaeger <aj@suse.de>
9873
9874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9875 Define always.
9876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9877
9878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9879 bits/fcntl-linux.h.
9880
9881 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9882 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9883
9884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9885 to __O_LARGEFILE.
9886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9887 to __O_LARGEFILE.
9888
98892012-10-21 Jim Blandy <jimb@codesourcery.com>
9890 Joseph Myers <joseph@codesourcery.com>
9891
9892 * config.make.in (NM): New variable.
9893
98942012-10-21 Andreas Jaeger <aj@suse.de>
9895
9896 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9897 definitions and declarations that are provided by
9898 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9899
99002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9901
9902 [BZ #14683]
9903 * elf/Makefile (tests-static): Add tst-leaks1-static.
9904 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9905 ($(objpfx)tst-leaks1-static): New rule.
9906 ($(objpfx)tst-leaks1-static-mem): Likewise.
9907 (tst-leaks1-static-ENV): New macro.
9908 * elf/dl-open.c (dl_open_worker): Check the main application
9909 only if SHARED is defined.
9910 * elf/tst-leaks1-static.c: New file.
9911
99122012-10-20 Andreas Jaeger <aj@suse.de>
9913
9914 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9915 generic values for Linux.
9916 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9917 and declarations that are provided by <bits/fcntl-linux.h> and
9918 include <bits/fcntl-linux.h>.
9919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9921
99222012-10-20 Roland McGrath <roland@hack.frob.com>
9923
9924 * io/fcntl.h: Move include of <bits/types.h> to the top and
9925 include it unconditionally.
9926
99272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9928
9929 * wcsmbs/Makefile (tests-ifunc): New variable.
9930 (tests): Add $(tests-ifunc).
9931 * wcsmbs/test-wcschr-ifunc.c: New file.
9932 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9933 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9934 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9935 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9936 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9937
9938 * string/Makefile (tests-ifunc): New variable.
9939 (tests): Add $(tests-ifunc).
9940 * string/test-memccpy.c (TEST_NAME): New macro.
9941 * string/test-memchr.c (TEST_NAME): Likewise.
9942 * string/test-memcmp.c (TEST_NAME): Likewise.
9943 * string/test-memcpy.c (TEST_NAME): Likewise.
9944 * string/test-memmem.c (TEST_NAME): Likewise.
9945 * string/test-memmove.c (TEST_NAME): Likewise.
9946 * string/test-memset.c (TEST_NAME): Likewise.
9947 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9948 * string/test-stpcpy.c (TEST_NAME): Likewise.
9949 * string/test-stpncpy.c (TEST_NAME): Likewise.
9950 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9951 * string/test-strcasestr.c (TEST_NAME): Likewise.
9952 * string/test-strcat.c (TEST_NAME): Likewise.
9953 * string/test-strchr.c (TEST_NAME): Likewise.
9954 * string/test-strcmp.c(TEST_NAME): Likewise.
9955 * string/test-strcpy.c (TEST_NAME): Likewise.
9956 * string/test-strcspn.c (TEST_NAME): Likewise.
9957 * string/test-strlen.c (TEST_NAME): Likewise.
9958 * string/test-strncasecmp.c (TEST_NAME): Likewise.
9959 * string/test-strncmp.c (TEST_NAME): Likewise.
9960 * string/test-strncpy.c (TEST_NAME): Likewise.
9961 * string/test-strnlen.c (TEST_NAME): Likewise.
9962 * string/test-strpbrk.c (TEST_NAME): Likewise.
9963 * string/test-strrchr.c (TEST_NAME): Likewise.
9964 * string/test-strspn.c (TEST_NAME): Likewise.
9965 * string/test-strstr.c (TEST_NAME): Likewise.
9966 * string/test-bcopy-ifunc.c: New file.
9967 * string/test-bzero-ifunc.c: Likewise.
9968 * string/test-memccpy-ifunc.c: Likewise.
9969 * string/test-memchr-ifunc.c: Likewise.
9970 * string/test-memcmp-ifunc.c: Likewise.
9971 * string/test-memcpy-ifunc.c: Likewise.
9972 * string/test-memmem-ifunc.c: Likewise.
9973 * string/test-memmove-ifunc.c: Likewise.
9974 * string/test-mempcpy-ifunc.c: Likewise.
9975 * string/test-memset-ifunc.c: Likewise.
9976 * string/test-rawmemchr-ifunc.c: Likewise.
9977 * string/test-stpcpy-ifunc.c: Likewise.
9978 * string/test-stpncpy-ifunc.c: Likewise.
9979 * string/test-strcasecmp-ifunc.c: Likewise.
9980 * string/test-strcasestr-ifunc.c: Likewise.
9981 * string/test-strcat-ifunc.c: Likewise.
9982 * string/test-strchr-ifunc.c: Likewise.
9983 * string/test-strchrnul-ifunc.c: Likewise.
9984 * string/test-strcmp-ifunc.c: Likewise.
9985 * string/test-strcpy-ifunc.c: Likewise.
9986 * string/test-strcspn-ifunc.c: Likewise.
9987 * string/test-strlen-ifunc.c: Likewise.
9988 * string/test-strncasecmp-ifunc.c: Likewise.
9989 * string/test-strncat-ifunc.c: Likewise.
9990 * string/test-strncmp-ifunc.c: Likewise.
9991 * string/test-strncpy-ifunc.c: Likewise.
9992 * string/test-strnlen-ifunc.c: Likewise.
9993 * string/test-strpbrk-ifunc.c: Likewise.
9994 * string/test-strrchr-ifunc.c: Likewise.
9995 * string/test-strspn-ifunc.c: Likewise.
9996 * string/test-strstr-ifunc.c: Likewise.
9997
9998 * debug/Makefile (tests-ifunc): New variable.
9999 (tests): Add $(tests-ifunc).
10000 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10001 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10002 * debug/test-stpcpy_chk-ifunc.c: New file.
10003 * debug/test-strcpy_chk-ifunc.c: Likewise.
10004
100052012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10006
10007 [BZ #13601]
10008 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10009 header is not read in.
10010
100112012-10-19 Joseph Myers <joseph@codesourcery.com>
10012
10013 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10014 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10015 directly. Pass built executable to script as
10016 $(built-program-cmd).
10017 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10018 $testprogram without using LD_LIBRARY_PATH and $ldso.
10019
10020 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10021 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10022 $(rtld-installed-name).
10023 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10024 (rtld_installed_name): Likewise.
10025 (library_path): Likewise.
10026 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10027 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10028 $(run-program-prefix) to tst-tables.sh.
10029 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10030 it to run tst-table-from and tst-table-to.
10031 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10032 Pass it to tst-table.sh.
10033 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10034 $(run-program-prefix) to tst-gettext.sh.
10035 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10036 tst-translit.sh.
10037 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10038 tst-gettext2.sh.
10039 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10040 to run tst-gettext.
10041 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10042 to run tst-gettext2.
10043 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10044 to run tst-translit.
10045 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10046 $(run-program-prefix) to tst-mtrace.sh.
10047 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10048 to run tst-mtrace.
10049 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10050 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10051 $(rtld-installed-name).
10052 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10053 (rtld_installed_name): Likewise.
10054 (run_program_prefix): New variable. Use it to run wordexp-test.
10055
10056 * Makeconfig (ARCH): Remove all definitions.
10057 (machine): Likewise.
10058 [ARCH]: Remove conditional code.
10059 [!objdir]: Give error.
10060 [!objdir] (objpfx): Remove.
10061 [!objdir] (common-objpfx): Likewise.
10062 [!objdir] (common-objdir): Likewise.
10063 * configure.in (config_makefile): Remove. Hardcode Makefile in
10064 AC_CONFIG_FILES call.
10065 * configure: Regenerated.
10066
10067 [BZ #13888]
10068 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10069 or TMPDIR.
10070 (testout): Likewise.
10071
10072 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10073 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10074 $(rtld-installed-name).
10075 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10076 (rtld_installed_name): Likwise.
10077 (runit): Remove function.
10078 (run_getconf): New variable, Use it for running getconf binary.
10079
100802012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10081
10082 [BZ #14716]
10083 * string/test-memmem.c (check_result): New function.
10084 (do_one_test): Use it.
10085 (check1): New function.
10086 (test_main): Use it.
10087
100882012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10089
10090 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10091
100922012-10-18 Joseph Myers <joseph@codesourcery.com>
10093
10094 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10095 (_G_LSEEK64): Likewise.
10096 (_G_MMAP64): Likewise.
10097 (_G_FSTAT64): Likewise.
10098 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10099 (_G_LSEEK64): Likewise.
10100 (_G_MMAP64): Likewise.
10101 (_G_FSTAT64): Likewise.
10102 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10103 unconditional. Call __mmap64 directly.
10104 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10105 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10106 __lseek64 directly.
10107 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10108 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10109 __mmap64 directly.
10110 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10111 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10112 __lseek64 directly.
10113 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10114 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10115 __lseek64 directly.
10116 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10117 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10118 __lseek64 directly.
10119 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10120 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10121 __fxstat64 directly.
10122 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10123 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10124 unconditional.
10125 (freopen64) [!_G_OPEN64]: Remove conditional code.
10126 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10127 unconditional.
10128 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10129 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10130 unconditional.
10131 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10132 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10133 unconditional.
10134 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10135 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10136 unconditional.
10137 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10138 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10139 unconditional.
10140 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10141 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10142 unconditional.
10143 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10144 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10145 unconditional.
10146 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10147
101482012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10149
10150 [BZ #12140]
10151 * manual/memory.texi (Malloc Tunable Parameters): Add note
10152 about free list pointers overwriting some perturb bytes.
10153 Wording suggested by Roland McGrath.
10154
101552012-10-17 Joseph Myers <joseph@codesourcery.com>
10156
10157 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10158 (lgamma_test): Likewise.
10159 (tgamma_test): Likewise.
10160
101612012-10-16 Florian Weimer <fweimer@redhat.com>
10162
10163 [BZ #14700]
10164 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10165 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10166
101672012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10168
10169 * NEWS: Mention BZ #14716.
10170 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10171 when removing AVAILABLE1_USES_J macro.
10172
101732012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10174
10175 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10176 (__bswap_64): __uint64_t for unsigned 64-bit int.
10177
101782012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10179
10180 * include/string.h (memmem): Declare libc hidden alias.
10181 * string/memmem.c (memmem): Define libc hidden alias.
10182 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10183 __read, __close instead of open, read, close.
10184
101852012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10186
10187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10188 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10189 global and hidden.
10190 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10191 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10192 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10193 Likewise.
10194 (__rawmemchr_sse2): Likewise.
10195 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10196 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10197 (__strchr_sse2): Likewise.
10198 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10199 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10200 (__strcasecmp_sse2): Likewise.
10201 (__strncasecmp_sse2): Likewise.
10202 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10203 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10204 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10205 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10206 (__strrchr_sse2): Likewise.
10207 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10208 ifunc-impl-list.c.
10209 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10210 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10211 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10212 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10213 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10214 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10215 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10216 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10217 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10218 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10219 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10220 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10221 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10222 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10223 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10224 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10225 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10226 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10227 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10228 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10229 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10230 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10231 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10232 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10233 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10234 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10235 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10236 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10237 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10238 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10239
10240 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10241 global and hidden.
10242 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10243 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10244 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10245 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10246 Likewise.
10247 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10248 Likewise.
10249 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10250 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10251 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10252 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10253 ifunc-impl-list.c.
10254 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10255 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10256 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10257 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10258 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10259 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10260 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10261 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10262 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10263 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10264 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10265 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10266 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10267 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10268 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10269 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10270 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10271 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10272 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10273 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10274 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10275 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10276 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10277 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10278 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10279 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10280 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10281 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10282 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10283 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10284 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10285 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10286 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10287 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10288 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10289 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10290 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10291 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10292 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10293 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10294 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10295
10296 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10297 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10298 * include/ifunc-impl-list.h: New file.
10299 * misc/ifunc-impl-list.c: Likewise.
10300 * misc/Makefile (routines): Add ifunc-impl-list.
10301 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10302 * string/test-string.h: Include <ifunc-impl-list.h>.
10303 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10304 impl_array): New variables.
10305 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10306 are defined.
10307 (test_init): Call __libc_ifunc_impl_list to initialize
10308 func_list if TEST_IFUNC and TEST_NAME are defined.
10309
10310 * string/Makefile (strop-tests): Add bcopy and bzero.
10311 * string/test-bcopy.c: New file.
10312 * string/test-bzero.c: Likewise.
10313 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10314 defined.
10315 * string/test-memset.c: Support bzero test if TEST_BZERO is
10316 defined.
10317 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10318 __libc_memmove.
10319 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10320 __libc_memset.
10321 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10322 of memset.
10323
103242012-10-10 Joseph Myers <joseph@codesourcery.com>
10325
10326 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10327 * configure: Regenerated.
10328
10329 * Makeconfig (+link-static-before-libc): Don't include
10330 $(link-static-libc).
10331
10332 * libio/libio.h (_IO_pos_t): Remove.
10333
103342012-10-10 Alexandre Oliva <aoliva@redhat.com>
10335
10336 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10337 McGrath.
10338
103392012-10-10 Alexandre Oliva <aoliva@redhat.com>
10340
10341 * crypt/crypt-entry.c: Include fips-private.h.
10342 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10343 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10344 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10345 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10346
103472012-10-10 Alexandre Oliva <aoliva@redhat.com>
10348
10349 * crypt/crypt-private.h: Include stdbool.h.
10350 (_ufc_setup_salt_r): Return bool.
10351 * crypt/crypt-entry.c: Include errno.h.
10352 (__crypt_r): Return NULL with EINVAL for bad salt.
10353 * crypt/crypt_util.c (bad_for_salt): New.
10354 (_ufc_setup_salt_r): Check that salt is long enough and within
10355 the specified alphabet.
10356 * crypt/badsalttest.c: New file.
10357 * crypt/Makefile (tests): Add it.
10358 ($(objpfx)badsalttest): New.
10359
103602012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10361
10362 * NEWS: Add entry for BZ #14602.
10363
103642012-10-09 Joseph Myers <joseph@codesourcery.com>
10365
10366 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10367 type-generic.
10368 * math/libm-test.inc: Update comment listing what functions and
10369 macros are tested.
10370 (isgreater_test): New function.
10371 (isgreaterequal_test): Likewise.
10372 (isless_test): Likewise.
10373 (islessequal_test): Likewise.
10374 (islessgreater_test): Likewise.
10375 (isunordered_test): Likewise.
10376 (main): Call the new functions.
10377
103782012-10-09 Roland McGrath <roland@hack.frob.com>
10379
10380 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10381 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10382 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10383 * sysdeps/i386/configure: Regenerated.
10384 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10385 * sysdeps/mach/configure: Regenerated.
10386 * sysdeps/mach/hurd/configure: Regenerated.
10387 * sysdeps/powerpc/configure: Regenerated.
10388 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10389 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10390 * sysdeps/s390/s390-32/configure: Regenerated.
10391 * sysdeps/s390/s390-64/configure: Regenerated.
10392 * sysdeps/sh/configure: Regenerated.
10393 * sysdeps/sparc/configure: Regenerated.
10394 * sysdeps/unix/sysv/linux/configure: Regenerated.
10395 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10396 * sysdeps/x86_64/configure: Regenerated.
10397
10398 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10399 defined. Don't check if MAP is NULL.
10400
104012012-10-09 Joseph Myers <joseph@codesourcery.com>
10402
10403 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10404 (_G_stat64): Likewise.
10405 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10406 (_G_stat64): Likewise.
10407 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10408 instead of struct _G_stat64.
10409 * libio/fileops.c (mmap_remap_check): Likewise.
10410 (decide_maybe_mmap): Likewise.
10411 (_IO_new_file_seekoff): Likewise.
10412 (_IO_file_stat): Likewise.
10413 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10414 _G_off64_t.
10415 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10416 instead of struct _G_stat64.
10417 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10418
104192012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10420
10421 [BZ #14602]
10422 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10423 Replace with ...
10424 (CHECK_EOL): New macro.
10425 (two_way_short_needle): Check beginning of haystack for EOL. Use
10426 CHECK_EOL.
10427 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10428 Replace with CHECK_EOL.
10429 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10430 Replace with CHECK_EOL.
10431
104322012-10-08 Joseph Myers <joseph@codesourcery.com>
10433
10434 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10435 type-generic.
10436 * math/libm-test.inc: Update comment listing what functions and
10437 macros are tested.
10438 (finite_test): New function.
10439 (isinf_test): Likewise.
10440 (isnan_test): Likewise.
10441 (fpclassify_test): Test subnormal input.
10442 (isfinite_test): Likewise.
10443 (isnormal_test): Likewise.
10444 (main): Call the new functions.
10445
104462012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10447
10448 [BZ #14660]
10449 * Makerules (%.dynsym): Force C locale when running
10450 $(OBJDUMP) --dynamic-syms.
10451
104522012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10453
10454 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10455 <stdint.h>.
10456
104572012-10-06 David S. Miller <davem@davemloft.net>
10458
10459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10460 upper 32-bits of the length value in %o2 since we use branch-on-register
10461 tests which consider the entire 64-bit register.
10462
104632012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10464
10465 * string/test-strstr.c (check2): Add a test for page boundary.
10466
104672012-10-05 David S. Miller <davem@davemloft.net>
10468
10469 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10470 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10471 file.
10472 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10473 sysdep_routines.
10474 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10475 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10476 and bzero when HWCAP_SPARC_CRYPTO is present.
10477
104782012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10479
10480 [BZ #14602]
10481 * string/test-strstr.c (check2): New function.
10482 (test_main): Call check2.
10483
10484 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10485 and bug-strchr1.
10486 * string/bug-strcasestr1.c (do_test): Moved to ...
10487 * string/test-strcasestr.c (check1): Here. New function.
10488 (do_one_test): Break out result checking code into ...
10489 (check_result): This. New function.
10490 (do_one_test): Call check_result.
10491 (test_main): Call check1.
10492 * string/bug-strchr1.c (do_test): Moved to ...
10493 * string/test-strchr.c (check1): Here. New function.
10494 (do_one_test): Break out result checking code into ...
10495 (check_result): This. New function.
10496 (do_one_test): Call check_result.
10497 (test_main): Call check1.
10498 * string/bug-strstr1.c (main): Moved to ...
10499 * string/test-strstr.c (check1): Here. New function.
10500 (do_one_test): Break out result checking code into ...
10501 (check_result): This. New function.
10502 (do_one_test): Call check_result.
10503 (test_main): Call check1.
10504 * string/bug-strcasestr1.c: Removed.
10505 * string/bug-strchr1.c: Likewise.
10506 * string/bug-strstr1.c: Likewise.
10507
10508 * elf/Makefile (dl-routines): Add hwcaps.
10509 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10510 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10511 (_dl_important_hwcaps): Moved to ...
10512 * elf/dl-hwcaps.c: Here. New file.
10513 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10514
10515 [BZ #14557]
10516 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10517 if IS_IN_rtld isn't defined.
10518
10519 * elf/dl-support.c (_dl_sysinfo_map): New.
10520 Include "get-dynamic-info.h" and "setup-vdso.h".
10521 (_dl_non_dynamic_init): Call setup_vdso.
10522 * elf/dynamic-link.h: Don't include <assert.h>.
10523 (elf_get_dynamic_info): Moved to ...
10524 * elf/get-dynamic-info.h: Here. New file.
10525 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10526 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10527 * elf/setup-vdso.h: Here. New file.
10528 * elf/rtld.c: Include "setup-vdso.h".
10529 (dl_main): Call setup_vdso.
10530
105312012-10-05 Joseph Myers <joseph@codesourcery.com>
10532
10533 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10534 creal in comment listing functions tested. List finite, isinf,
10535 isnan, isless, islessequal, isgreater, isgreaterequal,
10536 islessgreater, isunordered, lgamma_r and pow10 as functions and
10537 macros not tested. Mention which functions not tested are aliases
10538 for other functions. Fix typo. Note that signs of NaNs are not
10539 tested.
10540
10541 * scripts/config.guess: Update from config.git.
10542 * scripts/config.sub: Likewise.
10543
105442012-10-04 Roland McGrath <roland@hack.frob.com>
10545
10546 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10547 * misc/madvise.c (madvise): Renamed to __madvise.
10548 Make madvise a weak alias.
10549 * include/sys/mman.h: Declare __madvise.
10550 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10551 * sysdeps/unix/syscalls.list
10552 (madvise): Make __madvise the strong name, and madvise a weak alias.
10553 * sysdeps/unix/sysv/linux/syscalls.list
10554 (madvise, mmap): Remove redundant entries.
10555 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10556 * malloc/malloc.c (mtrim): Likewise.
10557 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10558
105592012-10-03 Roland McGrath <roland@hack.frob.com>
10560
10561 * sysdeps/mach/hurd/dl-cache.c: File removed.
10562 * config.h.in (USE_LDCONFIG): New #undef.
10563 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10564 * configure: Regenerated.
10565 * elf/Makefile (dl-routines): Add dl-cache only under
10566 [$(use-ldconfig) = yes].
10567 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10568 cache on [USE_LDCONFIG].
10569 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10570 [USE_LDCONFIG].
10571 * elf/rtld.c (dl_main): Likewise.
10572
105732012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10574
10575 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10576 _SC_LEVEL4_CACHE_LINESIZE.
10577
105782012-10-03 Roland McGrath <roland@hack.frob.com>
10579
10580 * sysdeps/unix/bsd/confstr.h: File removed.
10581
105822012-10-02 Alexandre Oliva <aoliva@redhat.com>
10583
10584 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10585 sys/sdt-config.h.
10586
105872012-10-02 Roland McGrath <roland@hack.frob.com>
10588
10589 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10590 Make 'mapoff' field ElfW(Off) rather than off_t.
10591
105922012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10593
10594 * nscd/Makefile: Remove nscd-cflags and all its users.
10595 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10596 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10597
10598 [BZ #10631]
10599 * malloc.c (malloc_printerr): Clarify error message.
10600
106012012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10602
10603 [BZ #14648]
10604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10605 Set bit_FMA_Usable if FMA is supported.
10606 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10607 macro.
10608 (bit_FMA4_Usable): Updated.
10609 (index_FMA_Usable): New macro.
10610 (CPUID_FMA): Likewise
10611 (HAS_FMA): Defined with bit_FMA_Usable.
10612
106132012-10-01 Roland McGrath <roland@hack.frob.com>
10614
10615 * bits/types.h (__swblk_t): Type removed.
10616 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10617 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10619 (__SWBLK_T_TYPE): Likewise.
10620 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10621 (__SWBLK_T_TYPE): Likewise.
10622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10623 (__SWBLK_T_TYPE): Likewise.
10624 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10625 (__SWBLK_T_TYPE): Likewise.
10626
106272012-10-01 Patsy Franklin <pfrankli@redhat.com>
10628 Honza Horak <hhorak@redhat.com>
10629
10630 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10631 (xdr_mapname): Use YPMAXMAP as maxsize.
10632 (xdr_peername): Use YPMAXPEER as maxsize.
10633 (xdr_keydat): Use YPAXRECORD as maxsize.
10634 (xdr_valdat): Use YPMAXRECORD as maxsize.
10635
106362012-10-01 Roland McGrath <roland@hack.frob.com>
10637
10638 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10639
10640 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10641 * csu/init-first.c: ... here.
10642 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10643 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10644 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10645 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10646 * sysdeps/i386/init-first.c: File removed.
10647 * sysdeps/sh/init-first.c: File removed.
10648
106492012-10-01 Joseph Myers <joseph@codesourcery.com>
10650
10651 [BZ #14645]
10652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10653 if x * y might underflow to zero and z is zero.
10654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10656 * math/libm-test.inc (min_subnorm_value): New variable.
10657 (fma_test): Add more tests.
10658 (fma_test_towardzero): Likewise.
10659 (fma_test_downward): Likewise
10660 (fma_test_upward): Likewise.
10661 (initialize): Set min_subnorm_value.
10662
106632012-09-29 Joseph Myers <joseph@codesourcery.com>
10664
10665 [BZ #14638]
10666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10667 0 + 0.
10668 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10669 mode for addition resulting in exact zero.
10670 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10672 exact 0 + 0.
10673 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10675 * math/libm-test.inc (fma_test): Add more tests.
10676 (fma_test_towardzero): New function.
10677 (fma_test_downward): Likewise.
10678 (fma_test_upward): Likewise.
10679 (main): Call the new functions.
10680
106812012-09-28 David S. Miller <davem@davemloft.net>
10682
10683 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10684
106852012-09-28 Roland McGrath <roland@hack.frob.com>
10686
10687 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10688 instead of SIGALRM.
10689
10690 * sysdeps/gnu/_G_config.h: Moved to ...
10691 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10692 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10693 * sysdeps/generic/_G_config.h: ... here.
10694
10695 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10696
10697 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10698
10699 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10700 Conditionalize target on [libnss_test1.so-version].
10701
10702 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10703
10704 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10705 (elfobjdir): Move out of conditionals.
10706
10707 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10708 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10709 (__nss_lookup_function): Conditionalize label remove_from_tree on
10710 [!DO_STATIC_NSS || SHARED], matching its only use.
10711
107122012-09-28 David S. Miller <davem@davemloft.net>
10713
10714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10715 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10716 file.
10717 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10718 sysdep_routines.
10719 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10721 when HWCAP_SPARC_CRYPTO is present.
10722
107232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10724
10725 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10726
107272012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10728
10729 [BZ #6530]
10730 * stdio-common/vfprintf.c (process_string_arg): Revert
10731 2000-07-22 change.
10732
107332011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10734
10735 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10736 for testcase.
10737 * stdio-common/tst-sprintf.c: Include <locale.h>
10738 (main): Test sprintf's handling of incomplete multibyte
10739 characters.
10740
107412012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10742
10743 * elf/dl-runtime.c (VERSYMIDX): Removed.
10744 * elf/dl-version.c (VERSYMIDX): Likewise.
10745 * elf/do-rel.h (VERSYMIDX): Likewise.
10746 (VALIDX): Likewise.
10747 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10748 * elf/rtld.c (VALIDX): Likewise.
10749 (ADDRIDX): Likewise.
10750 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10751 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10752 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
10753 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10754 (VALIDX): Likewise.
10755 (ADDRIDX): Likewise.
10756
107572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10758
10759 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10760
107612012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10762
10763 [BZ #11438]
10764 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10765 to global scope.
10766 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10767 addresses are in the same scope as 192.0.2/24.
10768 * posix/gai.conf: Document new scope table defaults.
10769
107702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10771
10772 [BZ #5298]
10773 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10774 for ftell. Compute offsets from write pointers instead.
10775 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10776
107772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10778
10779 [BZ #14543]
10780 * libio/Makefile (tests): New test case tst-fseek.
10781 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10782 combination works in wide mode.
10783 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10784 state when the external buffer state changes.
10785
107862012-09-27 David S. Miller <davem@davemloft.net>
10787
10788 [BZ #14376]
10789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10790 pass reloc->r_addend in as the 'high' argument to
10791 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10792
10793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10794
107952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10796
10797 * rt/tst-aio2.c: Include <pthread.h>.
10798 * rt/tst-aio3.c: Likewise.
10799
108002012-09-27 Steve Ellcey <sellcey@mips.com>
10801
10802 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10803
108042012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10805
10806 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10807 contents on [SHARED].
10808
108092012-09-26 Marek Polacek <polacek@redhat.com>
10810
10811 [BZ #14530]
10812 [BZ #13741]
10813 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10814 for C++ and GCC <4.3 as well as for non GCC compilers.
10815
108162012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10817
10818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10819
108202012-09-25 Roland McGrath <roland@hack.frob.com>
10821
10822 * Makefile.in (all, install): Declare with .PHONY.
10823 Reported by Michael Hope <michael.hope@linaro.org>.
10824
108252012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10826
10827 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10828 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10829 system header.
10830 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10831 Likewise.
10832 (sydep_routines): Add the new and the internal functions.
10833 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10834 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10836 (GLIBC_2.17): Add the new function.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10838 (GLIBC_2.17): Likewise.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10840 (GLIBC_2.17): Likewise.
10841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10842 (GLIBC_2.17): Likewise.
10843 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10844
108452012-09-25 Alan Modra <amodra@gmail.com>
10846
10847 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10848 Add release barrier before setting once_control to say
10849 initialisation is done. Add hints on lwarx. Use macro in
10850 place of isync.
10851 (clear_once_control): Add release barrier.
10852
108532012-09-25 Joseph Myers <joseph@codesourcery.com>
10854
10855 [BZ #13629]
10856 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10857 specially.
10858 * math/s_clog10.c (__clog10): Likewise.
10859 * math/s_clog10f.c (__clog10f): Likewise.
10860 * math/s_clog10l.c (__clog10l): Likewise.
10861 * math/s_clogf.c (__clogf): Likewise.
10862 * math/s_clogl.c (__clogl): Likewise.
10863 * math/Makefile (libm-calls): Add x2y2m1.
10864 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10865 (__x2y2m1): Likewise.
10866 (__x2y2m1l): Likewise.
10867 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10868 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10869 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10870 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10871 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10872 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10873 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10874 * sysdeps/i386/fpu/libm-test-ulps: Update.
10875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10876
10877 [BZ #14621]
10878 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10879 int as type of variable DEPTH.
10880 (glob): Use size_t instead of int as type of variables NEWCOUNT
10881 and OLD_PATHC.
10882
108832012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10884
10885 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10886 Add s_sincosf-sse2.
10887 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10888 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10889 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10890 macros for using routine as __sincosf_ia32.
10891 Use macro for function declaration and weak_alias.
10892 * sysdeps/i386/fpu/libm-test-ulps: Update.
10893
10894 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10896
10897 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
10898 subnormal argument.
10899 * math/s_cexpf.c (__cexpf): Likewise.
10900 * math/s_csinf.c (__csinf): Likewise.
10901 * math/s_csinhf.c (__csinhf): Likewise.
10902 * math/s_ctanf.c (__ctanf): Likewise.
10903 * math/s_ctanhf.c (__ctanhf): Likewise.
10904 * math/s_ccosh.c (__ccoshf): Likewise.
10905 * math/s_cexp.c (__cexpl): Likewise.
10906 * math/s_csin.c (__csin): Likewise.
10907 * math/s_csinh.c (__csinh): Likewise.
10908 * math/s_ctan.c (__ctan): Likewise.
10909 * math/s_ctanh.c (ctanh): Likewise.
10910 * math/s_ccoshl.c (__ccoshl): Likewise.
10911 * math/s_cexpl.c (__cexpl): Likewise.
10912 * math/s_csinl.c (__csinl): Likewise.
10913 * math/s_csinhl.c (__csinhl): Likewise.
10914 * math/s_ctanl.c (__ctanl): Likewise.
10915 * math/s_ctanhl.c (__ctanhl): Likewise.
10916
109172012-09-25 Joseph Myers <joseph@codesourcery.com>
10918
10919 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10920 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10921 (_IO_off_t): Define to __off_t, not _G_off_t.
10922 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10923 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10924 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10925 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10926 type of __dummy and __dummy2 fields.
10927 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10928 (_G_ssize_t): Likewise.
10929 (_G_off_t): Likewise.
10930 (_G_pid_t): Likewise.
10931 (_G_uid_t): Likewise.
10932 (_G_wchar_t): Likewise.
10933 (_G_wint_t): Likewise.
10934 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10935 (_G_ssize_t): Likewise.
10936 (_G_off_t): Likewise.
10937 (_G_pid_t): Likewise.
10938 (_G_uid_t): Likewise.
10939 (_G_wchar_t): Likewise.
10940 (_G_wint_t): Likewise.
10941 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10942 (_G_ssize_t): Likewise.
10943 (_G_off_t): Likewise.
10944 (_G_pid_t): Likewise.
10945 (_G_uid_t): Likewise.
10946 (_G_wchar_t): Likewise.
10947 (_G_wint_t): Likewise.
10948
109492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10950
10951 * malloc/arena.c: Include malloc-sysdep.h.
10952 (shrink_heap): Use check_may_shrink_heap to decide if madvise
10953 is sufficient to shrink the heap or an unmap is needed.
10954 * sysdeps/generic/malloc-sysdep.h: New file. Define
10955 new function check_may_shrink_heap.
10956 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
10957 new function check_may_shrink_heap.
10958
109592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10960
10961 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10962 comments.
10963
109642012-09-24 Dmitry V. Levin <ldv@altlinux.org>
10965
10966 * catgets/test-gencat.sh: Add "set -e".
10967 * elf/tst-pathopt.sh: Likewise.
10968 * grp/tst_fgetgrent.sh: Likewise.
10969 * iconvdata/run-iconv-test.sh: Likewise.
10970 * intl/tst-gettext.sh: Likewise.
10971 * intl/tst-gettext2.sh: Likewise.
10972 * intl/tst-gettext4.sh: Likewise.
10973 * intl/tst-gettext6.sh: Likewise.
10974 * intl/tst-translit.sh: Likewise.
10975 * io/ftwtest-sh: Likewise.
10976 * libio/test-freopen.sh: Likewise.
10977 * malloc/tst-mtrace.sh: Likewise.
10978 * posix/globtest.sh: Likewise.
10979 * posix/tst-getconf.sh: Likewise.
10980 * posix/wordexp-tst.sh: Likewise.
10981 * stdio-common/tst-printf.sh: Likewise.
10982 * stdio-common/tst-unbputc.sh: Likewise.
10983 * stdlib/tst-fmtmsg.sh: Likewise.
10984 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10985 * catgets/Makefile: Do not specify -e option when running
10986 testsuite shell scripts.
10987 * elf/Makefile: Likewise.
10988 * grp/Makefile: Likewise.
10989 * iconvdata/Makefile: Likewise.
10990 * intl/Makefile: Likewise.
10991 * io/Makefile: Likewise.
10992 * libio/Makefile: Likewise.
10993 * malloc/Makefile: Likewise.
10994 * posix/Makefile: Likewise.
10995 * stdio-common/Makefile: Likewise.
10996 * stdlib/Makefile: Likewise.
10997 * sysdeps/x86_64/Makefile: Likewise.
10998
10999 * io/ftwtest-sh: Add copyright header.
11000 * posix/globtest.sh: Likewise.
11001 * posix/tst-getconf.sh: Likewise.
11002 * posix/wordexp-tst.sh: Likewise.
11003 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11004
110052012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11006
11007 [BZ #13679]
11008 * Makeconfig (+link): Defined as $(+link-static) if
11009 $(build-shared) isn't yes.
11010 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11011 isn't yes.
11012 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11013
11014 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11015
11016 [BZ #14562]
11017 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11018 new chunk size with MALLOC_ALIGN_MASK.
11019
110202012-09-24 Joseph Myers <joseph@codesourcery.com>
11021
11022 [BZ #5044]
11023 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11024 <rounding-mode.h>.
11025 (__printf_fphex): Determine rounding using get_rounding_mode and
11026 round_away.
11027 * stdio-common/tst-printf-round.c (struct hex_test): New
11028 structure.
11029 (hex_tests): New variable.
11030 (test_hex_in_one_mode): New function.
11031 (do_test): Also run tests for hex float output.
11032
110332012-09-21 Joseph Myers <joseph@codesourcery.com>
11034
11035 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11036 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11037 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11038 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11039 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11040 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11041 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11042 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11043
110442012-09-20 Joseph Myers <joseph@codesourcery.com>
11045
11046 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11047 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11048 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11049 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11050
110512012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11052
11053 [BZ #14579]
11054 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11055 mode only.
11056 * elf/tst-rtld-load-self.sh: New test.
11057 * elf/Makefile: Run it.
11058
110592012-09-18 Joseph Myers <joseph@codesourcery.com>
11060
11061 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11062 (tst-writev-ENV): Remove.
11063 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11064
110652012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11066
11067 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11068
110692012-09-17 Joseph Myers <joseph@codesourcery.com>
11070
11071 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11072 unconditional.
11073 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11074 Likewise.
11075 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11076 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11077 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11078 Likewise.
11079
110802012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11081
11082 [BZ #14587]
11083 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11084 * config.make.in (have-cpp-asm-debuginfo): Removed.
11085 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11086 * configure: Regenerated.
11087
110882012-09-14 Joseph Myers <joseph@codesourcery.com>
11089
11090 [BZ #5044]
11091 * stdio-common/printf_fp.c: Include <stdbool.h> and
11092 <rounding-mode.h>.
11093 (___printf_fp): Determine rounding using get_rounding_mode and
11094 round_away.
11095 * stdio-common/tst-printf-round.c: New file.
11096 * stdio-common/Makefile (tests): Add tst-printf-round.
11097 (link-libm): New variable.
11098 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11099
111002012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11101
11102 [BZ #14576]
11103 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11104 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11105 Likewise.
11106 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11107 Likewise.
11108
111092012-09-13 Joseph Myers <joseph@codesourcery.com>
11110
11111 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11112 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11113 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11114 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11115
111162012-09-12 Joseph Myers <joseph@codesourcery.com>
11117
11118 [BZ #14518]
11119 * include/rounding-mode.h: New file.
11120 * sysdeps/generic/get-rounding-mode.h: Likewise.
11121 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11122 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11123 (MAX_VALUE): New macro.
11124 (MIN_VALUE): Likewise.
11125 (overflow_value): New function.
11126 (underflow_value): Likewise.
11127 (round_and_return): Use overflow_value and underflow_value to
11128 determine return values in overflow and underflow cases. Use
11129 round_away to determine rounding depending on rounding mode.
11130 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11131 determine return values in overflow and underflow cases.
11132 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11133 (struct test_results): New structure.
11134 (struct test): Use struct test_results to store expected results
11135 for all rounding modes.
11136 (TEST): Include expected results for all rounding modes.
11137 (test_in_one_mode): New function.
11138 (do_test): Use test_in_one_mode to compute and check results.
11139 Check results for all rounding modes.
11140 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11141 $(link-libm).
11142
111432012-12-09 Allan McRae <allan@archlinux.org>
11144
11145 * sysdeps/i386/fpu/libm-test-ulps: Update
11146
111472012-09-11 Joseph Myers <joseph@codesourcery.com>
11148
11149 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11150 (_G_int32_t): Likewise.
11151 (_G_uint16_t): Likewise.
11152 (_G_uint32_t): Likewise.
11153 (_G_HAVE_BOOL): Likewise.
11154 (_G_HAVE_ATEXIT): Likewise.
11155 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11156 (_G_HAVE_IO_FILE_OPEN): Likewise.
11157 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11158 (_G_int32_t): Likewise.
11159 (_G_uint16_t): Likewise.
11160 (_G_uint32_t): Likewise.
11161 (_G_HAVE_BOOL): Likewise.
11162 (_G_HAVE_ATEXIT): Likewise.
11163 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11164 (_G_HAVE_IO_FILE_OPEN): Likewise.
11165 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11166 (_G_int32_t): Likewise.
11167 (_G_uint16_t): Likewise.
11168 (_G_uint32_t): Likewise.
11169 (_G_HAVE_BOOL): Likewise.
11170 (_G_HAVE_ATEXIT): Likewise.
11171 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11172 (_G_HAVE_IO_FILE_OPEN): Likewise.
11173
111742012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11175
11176 * csu/libc-tls.c: Update copyright years.
11177
111782012-09-10 Joseph Myers <joseph@codesourcery.com>
11179
11180 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11181 [!_G_USING_THUNKS]: Remove conditional code.
11182 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11183 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11184
11185 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11186 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11187 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11188 (_G_VTABLE_LABEL_PREFIX): Likewise.
11189 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11190 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11191 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11192 (_G_VTABLE_LABEL_PREFIX): Likewise.
11193 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11194 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11195 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11196 (_G_VTABLE_LABEL_PREFIX): Likewise.
11197 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11198
111992012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11200
11201 * libio/Makefile: Include ../Makeconfig before tests.
11202 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11203 only if $(build-shared) is yes.
11204
11205 * iconv/gconv_db.c: Update copyright years.
11206
112072012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11208
11209 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11210 unwind info if defined PIC. Fix special cases description.
11211 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11212
11213 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11214 DP_HI_MASK entry.
11215 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11216
112172012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11218
11219 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11220
11221 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11222 is NULL.
11223
11224 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11225 (LDLIBS-tst-chk4): This.
11226 (LDFLAGS-tst-chk5): Renamed to ...
11227 (LDLIBS-tst-chk5): This.
11228 (LDFLAGS-tst-chk6): Renamed to ...
11229 (LDLIBS-tst-chk6): This.
11230 (LDFLAGS-tst-lfschk4): Renamed to ...
11231 (LDLIBS-tst-lfschk4): This.
11232 (LDFLAGS-tst-lfschk5): Renamed to ...
11233 (LDLIBS-tst-lfschk5): This.
11234 (LDFLAGS-tst-lfschk6): Renamed to ...
11235 (LDLIBS-tst-lfschk6): This.
11236
11237 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11238 on $(common-objpfx)soversions.mk.
11239
112402012-09-07 Joseph Myers <joseph@codesourcery.com>
11241
11242 [BZ #10014]
11243 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11244 example host name.
11245
112462012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11247
11248 * malloc/arena.c (arena_get_retry): New function that gets
11249 another arena for the caller to try its request on.
11250 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11251 current arena cannot fulfill the request.
11252 (__libc_memalign): Likewise.
11253 (__libc_memalign): Likewise.
11254 (__libc_pvalloc): Likewise.
11255 (__libc_calloc): Likewise.
11256
112572012-09-05 John Tobey <john.tobey@gmail.com>
11258
11259 [BZ #13542]
11260 * manual/arith.texi (Operations on Complex): Fix description
11261 of carg branch cut.
11262
112632012-09-06 Joseph Myers <joseph@codesourcery.com>
11264
11265 [BZ #10014]
11266 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11267 host name.
11268
11269 [BZ #10038]
11270 * manual/memory.texi (Memory): Make order of menu items match
11271 order of sections.
11272
112732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11274
11275 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11276 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11277 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11278
112792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11280
11281 * csu/libc-tls.c (static_dtv): Renamed to ...
11282 (_dl_static_dtv): This. Make it global.
11283 (_dl_initial_dtv): Removed.
11284 (__libc_setup_tls): Updated.
11285 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11286 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11287 DL_INITIAL_DTV.
11288
112892012-09-06 Petr Machata <pmachata@redhat.com>
11290
11291 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11292 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11293 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11294 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11295
112962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11297
11298 [BZ #14545]
11299 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11300 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11301 freeing dtv[-1].
11302
113032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11304
11305 [BZ #14544]
11306 * Makeconfig (link-static-before-libc): Replace $(+prector)
11307 with $(+prectorT).
11308 (link-static-after-libc): Replace $(+postctor) with
11309 $(+postctorT).
11310 (link-bounded): Replace $(+prector)/$(+postctor) with
11311 $(+prectorT)/$(+postctorT).
11312 (+prectorT): New macro.
11313 (+postctorT): Likewise.
11314
113152012-09-06 Joseph Myers <joseph@codesourcery.com>
11316
11317 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11318 (round_str): Handle values above the maximum for IBM long double
11319 as inexact.
11320 * stdlib/tst-strtod-round.c (tests): Regenerated.
11321
113222012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11323
11324 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11325 assembler flag.
11326 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11327 zarch_nohighgprs around the zarch optimized routines.
11328 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11329 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11330 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11331 for zarch.
11332
113332012-09-05 David S. Miller <davem@davemloft.net>
11334
11335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11336
11337 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11338 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11339 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11340 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11341 entries.
11342
113432012-09-05 Alexandre Oliva <aoliva@redhat.com>
11344
11345 * malloc/arena.c: Fold copyright years.
11346 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11347
113482012-09-05 Alexandre Oliva <aoliva@redhat.com>
11349
11350 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11351
113522012-09-05 Alexandre Oliva <aoliva@redhat.com>
11353
11354 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11355
113562012-09-05 Alexandre Oliva <aoliva@redhat.com>
11357
11358 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11359 change internal state upon failure.
11360
113612012-09-05 Alexandre Oliva <aoliva@redhat.com>
11362
11363 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11364 * malloc/memusage.c (mmap): Likewise.
11365 (mmap64, mremap): Likewise. Adjust name in comment.
11366
113672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11368
11369 * libio/fileops.c: Fix typos in comments.
11370 * libio/oldfileops.c: Likewise.
11371 * libio/wfileops.c: Likewise.
11372
113732012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11374
11375 [BZ #1349]
11376 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11377 (tst-malloc-usable-ENV): Set environment for test case.
11378 * malloc/hooks.c (malloc_check_get_size): New function to get
11379 requested size.
11380 * malloc/malloc.c (musable): Use malloc_check_get_size.
11381 * malloc/tst-malloc-usable.c: New test case.
11382
113832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11384
11385 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11386
113872012-09-05 Allan McRae <allan@archlinux.org>
11388
11389 [BZ #13966]
11390 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11391 determine header location.
11392 * configure: Regenerated.
11393
113942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11395
11396 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11397 float format.
11398 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
11399 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11400 format.
11401 (test): Regenerate.
11402
114032012-09-04 David S. Miller <davem@davemloft.net>
11404
11405 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11406 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11407 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11408
114092012-09-04 Florian Weimer <fweimer@redhat.com>
11410
11411 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11412 failures.
11413
11414 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11415
114162012-09-04 Joseph Myers <joseph@codesourcery.com>
11417
11418 [BZ #9914]
11419 * libio/iogetdelim.c: Include <limits.h>.
11420 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11421 + len + 1 would overflow.
11422
114232012-09-03 Andreas Jaeger <aj@suse.de>
11424
11425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11426 * sysdeps/i386/fpu/libm-test-ulps: Update.
11427
114282012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11429
11430 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11431 Add s_sinf-sse2, s_conf-sse2.
11432
11433 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11434 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11435 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11436 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11437
11438 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11439 for using routine as __sinf_ia32.
11440 Use macro for function declaration and weak_alias.
11441 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11442 for using routine as __cosf_ia32.
11443 Use macro for function declaration and weak_alias.
11444
11445 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11446 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11447
11448 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11449 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11451
11452 * math/libm-test.inc (cos_test): Add more test cases.
11453 (sin_test): Likewise.
11454 (sincos_test): Likewise.
11455
114562012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11457
11458 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11459 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11460 hidden.
11461 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11462
114632012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11464
11465 [BZ #14538]
11466 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11467 first element of the GOT.
11468 (elf_machine_load_address): Return the difference between
11469 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11470
114712012-09-01 Allan McRae <allan@archlinux.org>
11472
11473 [BZ #13412]
11474 * configure.in (AWK): Require gawk version 3.0 or later.
11475 * configure: Regenerated.
11476
114772012-09-01 Joseph Myers <joseph@codesourcery.com>
11478
11479 * sysdeps/unix/sysv/linux/kernel-features.h
11480 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11481 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11482 [__NR_clock_getres]: Make code unconditional.
11483 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11484 (clock_getcpuclockid): Remove code left unreachable by removal of
11485 conditionals.
11486 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11487 code unconditional.
11488 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11489 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11490 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11491 Make code unconditional.
11492 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11493 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11494 * sysdeps/unix/sysv/linux/clock_settime.c
11495 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11496 conditional code.
11497 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11498 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11499
115002012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11501
11502 [BZ #14476]
11503 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11504 scripts/test-installation.pl.
11505
11506 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11507 and $ld_so_version if it is set.
11508
115092012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11510
11511 [BZ #14516]
11512 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11513 failure if reading from procfs failed.
11514 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11515
115162012-08-27 Joseph Myers <joseph@codesourcery.com>
11517
11518 * sysdeps/unix/sysv/linux/kernel-features.h
11519 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11520 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11521 Remove conditional code.
11522 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11523 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11524 Remove conditional code.
11525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11526 * sysdeps/unix/sysv/linux/i386/fxstat.c
11527 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11528 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11529 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11530 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11532 * sysdeps/unix/sysv/linux/i386/lxstat.c
11533 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11535 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11536 Remove conditional code.
11537 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11538 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11539 Remove conditional code.
11540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11541 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11542 <kernel-features.h>.
11543 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11544 Remove.
11545 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11546 Remove conditional code.
11547 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11548 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11549 Remove conditional.
11550
115512012-08-27 Mike Frysinger <vapier@gentoo.org>
11552
11553 [BZ #5400]
11554 * NEWS: Add fixed bug number.
11555
115562012-08-27 Joseph Myers <joseph@codesourcery.com>
11557
11558 [BZ #14519]
11559 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11560 underflowing exponent in case of negative sign.
11561 * stdlib/tst-strtod-round-data: Add more tests.
11562 * stdlib/tst-strtod-round.c (tests): Regenerated.
11563
11564 [BZ #3479]
11565 * stdlib/strtod_l.c (NDIG): Remove.
11566 (HEXNDIG): Likewise.
11567 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11568 smallest representable value.
11569 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11570 lie within an exact representation of 1/2 ulp of the result.
11571 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11572 unconditionally.
11573 (TENS_P9_IDX): Define unconditionally.
11574 (TENS_P9_SIZE): Likewise.
11575 (TENS_P10_IDX): Likewise.
11576 (TENS_P10_SIZE): Likewise.
11577 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11578 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11579 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11580 entries for 10^2^13 and 10^2^14.
11581 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11582 (TENS_P13_IDX): Define.
11583 (TENS_P13_SIZE): Likewise.
11584 (TENS_P14_IDX): Likewise.
11585 (TENS_P14_SIZE): Likewise.
11586 (_fpioconst_pow10): Change array size to
11587 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11588 unconditional.
11589 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11590 1024]: Add entries for 10^2^13 and 10^2^14.
11591 [LAST_POW10 > _LAST_POW10]: Remove #error.
11592 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11593 (_fpioconst_pow10): Change array size to
11594 FPIOCONST_POW10_ARRAY_SIZE.
11595 * stdlib/gen-fpioconst.c: New file.
11596 * stdlib/gen-tst-strtod-round.c: Likewise.
11597 * stdlib/tst-strtod-round-data: Likewise.
11598 * stdlib/tst-strtod-round.c: Likewise.
11599 * stdlib/Makefile (tests): Add tst-strtod-round.
11600
11601 [BZ #14459]
11602 * stdlib/strtod_l.c: Include <stdint.h>.
11603 (NDEBUG): Do not define.
11604 (round_and_return): Change EXPONENT parameter to type intmax_t.
11605 Rearrange calculations to avoid internal overflow possibilities.
11606 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11607 Rearrange calculations to avoid internal overflow possibilities.
11608 Assert that number fits inside MPNSIZE limbs.
11609 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11610 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11611 calculations and add assertions to avoid internal overflow
11612 possibilities. Add casts to avoid signed/unsigned operations.
11613 * stdlib/tst-strtod-overflow.c: New file.
11614 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11615
116162012-08-25 Marek Polacek <polacek@redhat.com>
11617
11618 * time/time.h: Fix some typos in comments.
11619
116202012-08-23 Roland McGrath <roland@hack.frob.com>
11621
11622 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11623 * posix/tst-rfc3484-2.c: Likewise.
11624 * posix/tst-rfc3484-3.c: Likewise.
11625
116262012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11627
11628 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11629 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11630
116312012-08-23 Joseph Myers <joseph@codesourcery.com>
11632
11633 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11634 #include of fxstatat64.c.
11635
116362012-08-22 Roland McGrath <roland@hack.frob.com>
11637
11638 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11639 * shadow/getspent_r.c: Likewise.
11640 * shadow/getspnam.c: Likewise.
11641 * shadow/getspnam_r.c: Likewise.
11642 * gshadow/getsgent.c: Likewise.
11643 * gshadow/getsgent_r.c: Likewise.
11644 * gshadow/getsgnam.c: Likewise.
11645 * gshadow/getsgnam_r.c: Likewise.
11646 * inet/getnetbyad.c: Likewise.
11647 * inet/getnetbyad_r.c: Likewise.
11648 * inet/getnetbynm.c: Likewise.
11649 * inet/getnetbynm_r.c: Likewise.
11650 * inet/getnetent.c: Likewise.
11651 * inet/getnetent_r.c: Likewise.
11652 * inet/getproto.c: Likewise.
11653 * inet/getproto_r.c: Likewise.
11654 * inet/getprtent.c: Likewise.
11655 * inet/getprtent_r.c: Likewise.
11656 * inet/getprtname.c: Likewise.
11657 * inet/getprtname_r.c: Likewise.
11658 * inet/getrpcbyname.c: Likewise.
11659 * inet/getrpcbyname_r.c: Likewise.
11660 * inet/getrpcbynumber.c: Likewise.
11661 * inet/getrpcbynumber_r.c: Likewise.
11662 * inet/getrpcent.c: Likewise.
11663 * inet/getrpcent_r.c: Likewise.
11664 * inet/getaliasent.c: Likewise.
11665 * inet/getaliasent_r.c: Likewise.
11666 * inet/getaliasname.c: Likewise.
11667 * inet/getaliasname_r.c: Likewise.
11668 * nscd/getgrgid_r.c: Likewise.
11669 * nscd/getgrnam_r.c: Likewise.
11670 * nscd/gethstbyad_r.c: Likewise.
11671 * nscd/gethstbynm3_r.c: Likewise.
11672 * nscd/getpwnam_r.c: Likewise.
11673 * nscd/getpwuid_r.c: Likewise.
11674 * nscd/getsrvbynm_r.c: Likewise.
11675 * nscd/getsrvbypt_r.c: Likewise.
11676 * nscd/gai.c: Likewise.
11677
11678 * configure.in (build_nscd): New substituted variable, set
11679 by --disable-build-nscd and defaults to $use_nscd.
11680 * configure: Regenerated.
11681 * config.make.in (build-nscd): New substituted variable.
11682 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11683 Change conditional to require [$(build-nscd) = yes] as well.
11684 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11685
11686 [BZ# 13696]
11687 * configure.in (use_nscd): New substituted variable, set by
11688 --disable-nscd. If enabled, define USE_NSCD.
11689 * configure: Regenerated.
11690 * config.h.in: Add USE_NSCD.
11691 * config.make.in (use-nscd): New substituted variable.
11692 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11693 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11694 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11695 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11696 (CFLAGS-getgrnam_r.c): Likewise.
11697 (CFLAGS-initgroups.c): Likewise.
11698 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11699 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11700 Variables removed.
11701 * inet/getnetgrent_r.c
11702 (nscd_setnetgrent): New function, broken out of ...
11703 (setnetgrent): ... here. Call it.
11704 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11705 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11706 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11707 * nscd/Makefile (routines, aux): Move definitions after include of
11708 Makeconfig. Conditionalize on [$(use-nscd) != no].
11709 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11710 Conditionalize on [USE_NSCD].
11711 (is_nscd, nscd_init_cb): Likewise.
11712 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11713 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11714 * nss/nss_db/db-init.c: Likewise.
11715 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11716 [USE_NSCD].
11717 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11718 (make_request): Use it.
11719 (cache_valid_p): New function.
11720 (__check_pf): Use it.
11721 * NEWS: Add item for --disable-nscd.
11722
117232012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11724
11725 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11726 to support sed >= 4.2.1-20-ga9bf076.
11727 * configure: Regenerated.
11728
117292012-08-22 Roland McGrath <roland@hack.frob.com>
11730
11731 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11732 Conditionalize whole body on [IREL].
11733
117342012-08-22 Jeff Law <law@redhat.com>
11735
11736 [BZ #14505]
11737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11738 if the family is PF_UNSPEC.
11739
117402012-08-22 Mike Frysinger <vapier@gentoo.org>
11741
11742 * Makerules (lib-version): Rename from V.
11743 (install-lib-nosubdir): Change V to lib-version.
11744
117452012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11746
11747 [BZ #14252]
11748 * powerpc32/power6/wcschr.c: New file.
11749 * powerpc32/power6/wcscpy.c: New file.
11750 * powerpc32/power6/wcsrchr.c: New file.
11751 * powerpc64/power6/wcschr.c: New file.
11752 * powerpc64/power6/wcscpy.c: New file.
11753 * powerpc64/power6/wcsrchr.c: New file.
11754
117552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11756
11757 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11758 (two_way_short_needle): Use it.
11759 * string/strstr.c (AVAILABLE1_USES_J): Define.
11760 * string/strcasestr.c: Likewise.
11761
11762 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11763 array references.
11764 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11765
11766 [BZ #11607]
11767 * NEWS: Add an entry.
11768 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11769 define their defaults.
11770 (two_way_short_needle): Detect end-of-string on-the-fly.
11771 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11772 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11773 * string/bug-strcasestr1.c: New test.
11774 * string/Makefile: Run it.
11775
117762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11777
11778 [BZ #11607]
11779 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11780 the first character.
11781
117822012-08-21 Roland McGrath <roland@hack.frob.com>
11783
11784 * csu/elf-init.c (__libc_csu_irel): Function removed.
11785 * csu/libc-start.c (apply_irel): New function.
11786 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11787
117882012-08-21 Joseph Myers <joseph@codesourcery.com>
11789
11790 * sysdeps/unix/sysv/linux/kernel-features.h
11791 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11792 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11793 <kernel-features.h>.
11794 [__NR_fadvise64_64]: Make code unconditional.
11795 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11796 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11797 !__NR_fadvise64_64)]: Likewise.
11798 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11799 !__NR_fadvise64_64))]: Likewise.
11800 [__NR_fadvise64]: Make code unconditional.
11801 [!__NR_fadvise64]: Remove conditional code.
11802 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11803 <kernel-features.h>.
11804 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11805 unconditional.
11806 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11807 conditional code.
11808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11809 not include <kernel-features.h>.
11810 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11811 unconditional.
11812 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11813 conditional code.
11814 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11815 include <kernel-features.h>.
11816 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11817 unconditional.
11818 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11819 conditional code.
11820
118212012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11822
11823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11824 slight instruction rearrangements per scrollpipe analysis.
11825 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11826
118272012-08-20 Roland McGrath <roland@hack.frob.com>
11828
11829 * manual/syslog.texi (syslog; vsyslog, closelog):
11830 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11831 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11832
11833 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11834 DSOCAPS to match condition on defining it.
11835
118362012-08-20 Joseph Myers <joseph@codesourcery.com>
11837
11838 * sysdeps/unix/sysv/linux/kernel-features.h
11839 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11841 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11842 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11844 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11845 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11847 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11848 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11849
11850 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11851 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11852
11853 * sysdeps/unix/sysv/linux/kernel-features.h
11854 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11855 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11856 unconditional.
11857 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11858 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11859 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11860 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11861 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11862 Make code unconditional.
11863 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11864 (__mmap64) [!__NR_mmap2]: Likewise.
11865 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11866 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11867 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11868 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11869 [__NR_mmap2]: Make code unconditional.
11870 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11871 (__mmap64) [!__NR_mmap2]: Likewise.
11872
118732012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11874
11875 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11876
118772012-08-18 Andreas Jaeger <aj@suse.de>
11878
11879 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11880
118812012-08-18 Mike Frysinger <vapier@gentoo.org>
11882
11883 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11884 * include/unistd.h (__have_sock_cloexec): Likewise.
11885 (__have_pipe2): Likewise.
11886 (__have_dup3): Likewise.
11887
118882012-08-18 Mike Frysinger <vapier@gentoo.org>
11889
11890 [BZ #9685]
11891 * include/unistd.h (__have_pipe2): Change define into an extern int.
11892 (__have_dup3): Likewise.
11893 * socket/have_sock_cloexec.c: Include fcntl.h.
11894 (__have_pipe2): New variable.
11895 (__have_dup3): Likewise.
11896
118972012-08-17 Mike Frysinger <vapier@gentoo.org>
11898
11899 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11900
119012012-08-17 Marek Polacek <polacek@redhat.com>
11902
11903 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11904 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11905
119062012-08-17 Roland McGrath <roland@hack.frob.com>
11907
11908 * configure.in: Add AC_SUBST for sysheaders.
11909 * configure: Regenerated.
11910 * config.make.in (sysheaders): New substituted variable.
11911
11912 * sysdeps/unix/mkfifo.c: Moved ...
11913 * sysdeps/posix/mkfifo.c: ... here.
11914 * sysdeps/unix/mkfifoat.c: Moved ...
11915 * sysdeps/posix/mkfifoat.c: ... here.
11916
11917 * sysdeps/unix/utime.c: Moved ...
11918 * sysdeps/posix/utime.c: ... here.
11919
11920 * sysdeps/unix/time.c: Moved ...
11921 * sysdeps/posix/time.c: ... here.
11922 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11923 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
11924
11925 * sysdeps/unix/nice.c: Moved ...
11926 * sysdeps/posix/nice.c: ... here.
11927
11928 * sysdeps/unix/alarm.c: Moved ...
11929 * sysdeps/posix/alarm.c: ... here.
11930
11931 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11932
119332012-08-17 Jeff Law <law@redhat.com>
11934
11935 * intl/Makefile (codeset_mo): New variable.
11936 ($(codeset_mo)): New target.
11937 (tst-codeset.out): Depend on that. Remove explicit rule.
11938 (tst-gettext3.out, tst-gettext5.out): Likewise.
11939 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11940 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11941 * intl/tst-codeset.sh: Remove.
11942 * intl/tst-gettext3.sh: Likewise.
11943 * intl/tst-gettext5.sh: Likewise.
11944
119452012-08-17 Roland McGrath <roland@hack.frob.com>
11946
11947 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11948 * sysdeps/unix/syscalls.list: ... here.
11949
11950 * sysdeps/posix/getaddrinfo.c
11951 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11952 (gaiconf_init, gaiconf_reload): Use them.
11953 [!_STATBUF_ST_NSEC]
11954 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11955 Define using time_t rather than struct timespec.
11956
11957 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11958 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11959 Macros removed.
11960 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11961 [!NO_THREADS].
11962 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11963 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11964 Likewise.
11965
11966 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
11967 __libc_cleanup_push argument.
11968
11969 * bits/param.h: New file.
11970 * misc/sys/param.h: New file.
11971 * include/sys/param.h: New file.
11972 * misc/Makefile (headers): Add bits/param.h.
11973 * sysdeps/generic/sys/param.h: File removed.
11974 * sysdeps/unix/sysv/linux/bits/param.h: New file.
11975 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
11976 * sysdeps/mach/hurd/bits/param.h: New file.
11977 * sysdeps/mach/hurd/sys/param.h: File removed.
11978
11979 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
11980 last change.
11981
11982 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
11983 [_IO_MTSAFE_IO].
11984 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
11985 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
11986 New macros.
11987
11988 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
11989 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
11990 rather than -D_IO_MTSAFE_IO conditionally.
11991 * stdio-common/Makefile (CPPFLAGS): Likewise.
11992 * wcsmbs/Makefile (CPPFLAGS): Likewise.
11993 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
11994 Use $(libio-mtsafe).
11995 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
11996 of -D_IO_MTSAFE_IO.
11997 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
11998 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
11999 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12000 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12001 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12002 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12003 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12004 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12005 (CFLAGS-fread_u_chk.c): Likewise.
12006 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12007 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12008 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12009 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12010 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12011 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12012 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12013 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12014 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12015
12016 * libio/Makefile: Test [$(libc-reentrant) = yes]
12017 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12018
12019 * Makeconfig
12020 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12021 * sysdeps/pthread/configure: File removed.
12022 * sysdeps/pthread/Makeconfig: New file.
12023 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12024 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12025
120262012-08-16 Gary Benson <gbenson@redhat.com>
12027
12028 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12029 unmapping the first object in a namespace.
12030
120312012-08-16 Roland McGrath <roland@hack.frob.com>
12032
12033 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12034 (__internal_setnetgrent): ... this. Add internal_function to
12035 definition. Add libc_hidden_def.
12036 (setnetgrent): Update caller.
12037 (internal_endnetgrent): Renamed to ...
12038 (__internal_endnetgrent): ... this. Add internal_function to
12039 definition. Add libc_hidden_def.
12040 (endnetgrent): Update caller.
12041 (internal_getnetgrent_r): Renamed to ...
12042 (__internal_getnetgrent_r): ... this. Add internal_function to
12043 definition. Add libc_hidden_def.
12044 (__getnetgrent_r): Update caller.
12045 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12046
120472012-08-16 Joseph Myers <joseph@codesourcery.com>
12048
12049 * stdlib/longlong.h: Update from GCC.
12050
120512012-08-16 Roland McGrath <roland@hack.frob.com>
12052
12053 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12054 on _QL, which is set by umul_ppmm but never used.
12055 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12056 variables, which are set by GMP macros but never used.
12057 * stdio-common/_itowa.c (_itowa): Likewise.
12058 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12059 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12060
120612012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12062
12063 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12064 struct La_sh_regs is not constant.
12065 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12066 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12067 and struct La_sparc64_regs are not constant.
12068
120692012-08-16 Joseph Myers <joseph@codesourcery.com>
12070
12071 * sysdeps/unix/sysv/linux/kernel-features.h
12072 (__ASSUME_POSIX_TIMERS): Remove.
12073 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12074 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12075 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12076 Make code unconditional.
12077 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12078 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12079 Make code unconditional.
12080 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12081 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12082 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12083 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12084 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12085 Make code unconditional.
12086 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12087 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12088 (__libc_missing_posix_timers): Remove.
12089
120902012-08-15 Roland McGrath <roland@hack.frob.com>
12091
12092 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12093 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12094
12095 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12096
12097 * elf/dl-sym.c: Include <stdlib.h>.
12098
12099 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12100 constants, which avoids warnings in 32-bit builds.
12101
12102 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12103 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12104
12105 * misc/lseek.c: File moved to ...
12106 * io/lseek.c: ... here.
12107
12108 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12109
12110 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12111 shifting LEN more than 31 bits at once.
12112
121132012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12114
12115 [BZ #14195]
12116 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12117 segmentation fault for a case of two empty input strings.
12118 * string/test-strncasecmp.c (check1): Renamed to...
12119 (bz12205): ...this.
12120 (bz14195): Add new testcase for two empty input strings and N > 0.
12121 (test_main): Call new testcase, adapt for renamed function.
12122
121232012-08-15 Andreas Jaeger <aj@suse.de>
12124
12125 [BZ #14090]
12126 * crypt/md5test2.c: New test, based on test supplied by Serge
12127 Belyshev <belyshev@depni.sinp.msu.ru>.
12128 * crypt/Makefile (xtests): Add md5test-giant..
12129 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12130
121312012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12132
12133 [BZ #14090]
12134 * crypt/md5.c (md5_process_block): Don't assume the buffer
12135 length is less than 2**32.
12136 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12137 length is less than 2**64.
12138
121392012-08-15 Roland McGrath <roland@hack.frob.com>
12140
12141 * string/str-two-way.h: Include <sys/param.h>.
12142 (MAX): Macro removed.
12143
12144 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12145 Move #define and #undef of memmove to just before and after
12146 including <string.h>.
12147
12148 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12149 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12150 and after including <string.h>. Move declarations of
12151 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12152 to before #include "string/memmove.c".
12153
12154 * include/dirent.h: Declare __getdirentries.
12155
12156 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12157 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12158
121592012-08-14 Mike Frysinger <vapier@gentoo.org>
12160
12161 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12162 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12163 * sysdeps/i386/configure: Regenerated.
12164 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12165 STABS_CURRENT_FILE, and STABS_FUN.
12166 (END): Remove call to STABS_FUN_END.
12167 (STABS_CURRENT_FILE1): Delete.
12168 (STABS_CURRENT_FILE): Likewise.
12169 (STABS_FUN): Likewise.
12170 (STABS_FUN_END): Likewise.
12171 (STABS_FUN2): Likewise.
12172 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12173 * sysdeps/x86_64/configure: Regenerated.
12174
121752012-08-14 Roland McGrath <roland@hack.frob.com>
12176
12177 * elf/dl-open.c: Include <atomic.h>.
12178 * elf/dl-lookup.c: Likewise.
12179
121802012-08-14 Joseph Myers <joseph@codesourcery.com>
12181
12182 * sysdeps/unix/sysv/linux/kernel-features.h
12183 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12184 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12185 unconditionally.
12186 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12187 unconditionally.
12188 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12189 condition on __ASSUME_CLONE_THREAD_FLAGS.
12190
121912012-08-14 Andreas Jaeger <aj@suse.de>
12192
12193 * sysdeps/i386/fpu/libm-test-ulps: Update.
12194
121952012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12196
12197 * include/atomic.h (atomic_exchange_and_add): Split into ...
12198 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12199 New atomic macros.
12200
122012012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12202
12203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12204
122052012-08-13 Jeff Law <law@redhat.com>
12206
12207 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12208 null byte in the output string.
12209
122102012-08-10 Joseph Myers <joseph@codesourcery.com>
12211
12212 * sysdeps/unix/sysv/linux/kernel-features.h
12213 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12214 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12215 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12216 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12217 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12218 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12219 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12220
122212012-08-09 Jeff Law <law@redhat.com>
12222
12223 [BZ #13939]
12224 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12225 When avoid_arena is set, don't retry in the that arena. Pick the
12226 next one, whatever it might be.
12227 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12228 (arena_lock): Pass in new parameter to arena_get2.
12229 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12230 arena_get2.
12231 (__libc_malloc): Unify retrying after main arena failure with
12232 __libc_memalign version.
12233 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12234
122352012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12236
12237 [BZ #14166]
12238 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12239 to __redirect_strstr.
12240 (__strstr_sse42): Use typeof __redirect_strstr.
12241 (__strstr_ia32): Likewise.
12242 (__libc_strstr): New prototype.
12243 (strstr): Renamed to ...
12244 (__libc_strstr): This.
12245 (strstr): New strong alias of __libc_strstr.
12246 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12247 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12248 __redirect_time.
12249 Include <time.h>.
12250 (__libc_time): New prototype.
12251 (time_ifunc): Replace time with __libc_time.
12252 (time): New strong alias and hidden definition of __libc_time.
12253 (__GI_time): Remove strong alias.
12254 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12255 Include <stddef.h>.
12256 (memmove): Redefined to __redirect_memmove.
12257 (__memmove_sse2): Use typeof __redirect_memmove.
12258 (__memmove_ssse3): Likewise.
12259 (__memmove_ssse3_back): Likewise.
12260 (__libc_memmove): New prototype.
12261 (memmove): Renamed to ...
12262 (__libc_memmove): This.
12263 (memmove): New strong alias of __libc_memmove.
12264
122652012-08-08 Mark Salter <msalter@redhat.com>
12266
12267 * elf/elf.h
12268 (R_MN10300_TLS_GD): Define.
12269 (R_MN10300_TLS_LD): Likewise.
12270 (R_MN10300_TLS_LDO): Likewise.
12271 (R_MN10300_TLS_GOTIE): Likewise.
12272 (R_MN10300_TLS_IE): Likewise.
12273 (R_MN10300_TLS_LE): Likewise.
12274 (R_MN10300_TLS_DTPMOD): Likewise.
12275 (R_MN10300_TLS_DTPOFF): Likewise.
12276 (R_MN10300_TLS_TPOFF): Likewise.
12277 (R_MN10300_SYM_DIFF): Likewise.
12278 (R_MN10300_ALIGN): Likewise.
12279 (R_MN10300_NUM): Update.
12280
122812012-08-08 Joseph Myers <joseph@codesourcery.com>
12282
12283 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12284 Remove.
12285
122862012-08-08 Roland McGrath <roland@hack.frob.com>
12287
12288 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12289
12290 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12291 sysdeps/unix -> sysdeps/posix move.
12292 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12293
122942012-08-07 Allan McRae <allan@archlinux.org>
12295
12296 [BZ #14303]
12297 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12298 (SUNOS_CPP): Likewise.
12299 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12300 not found.
12301 (open_input): Call CPP using execvp.
12302
123032012-08-07 Joseph Myers <joseph@codesourcery.com>
12304
12305 * sysdeps/unix/sysv/linux/kernel-features.h
12306 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12307 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12308 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12309 (__ASSUME_WAITID_SYSCALL): Likewise.
12310 * sysdeps/unix/sysv/linux/dl-execstack.c
12311 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12312 code unconditional.
12313 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12314 conditional code.
12315 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12316 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12317 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12318 code.
12319 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12320 unconditional.
12321 [__ASSUME_WAITID_SYSCALL]: Likewise.
12322 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12323
123242012-08-07 Roland McGrath <roland@hack.frob.com>
12325
12326 * sysdeps/unix/closedir.c: Renamed to ...
12327 * sysdeps/posix/closedir.c: ... here.
12328 * sysdeps/unix/dirfd.c: Renamed to ...
12329 * sysdeps/posix/dirfd.c: ... here.
12330 * sysdeps/unix/dirstream.h: Renamed to ...
12331 * sysdeps/posix/dirstream.h: ... here.
12332 * sysdeps/unix/fdopendir.c: Renamed to ...
12333 * sysdeps/posix/fdopendir.c: ... here.
12334 * sysdeps/unix/opendir.c: Renamed to ...
12335 * sysdeps/posix/opendir.c: ... here.
12336 * sysdeps/unix/readdir.c: Renamed to ...
12337 * sysdeps/posix/readdir.c: ... here.
12338 * sysdeps/unix/readdir_r.c: Renamed to ...
12339 * sysdeps/posix/readdir_r.c: ... here.
12340 * sysdeps/unix/rewinddir.c: Renamed to ...
12341 * sysdeps/posix/rewinddir.c: ... here.
12342 * sysdeps/unix/seekdir.c: Renamed to ...
12343 * sysdeps/posix/seekdir.c: ... here.
12344 * sysdeps/unix/telldir.c: Renamed to ...
12345 * sysdeps/posix/telldir.c: ... here.
12346 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12347 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12348 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12349 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12350
12351 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12352 * bits/fcntl.h: ... here.
12353
12354 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12355 not 0.
12356 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12357 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12358 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12359 (struct flock): Move l_start, l_len to the beginning.
12360 Use __pid_t for l_pid.
12361 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12362 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12363 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12364 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12365 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12366 [__USE_LARGEFILE64] (struct flock64): New type.
12367 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12368
12369 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12370 * bits/dirent.h: ... here.
12371
12372 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12373 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12374
123752012-08-07 Joseph Myers <joseph@codesourcery.com>
12376
12377 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12378 Change from 2.6.0 to 2.6.16.
12379 * sysdeps/unix/sysv/linux/configure: Regenerated.
12380 * sysdeps/unix/sysv/linux/kernel-features.h
12381 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12382 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12383 version.
12384 (__ASSUME_UTIMES): Likewise.
12385 (__ASSUME_CLONE_STOPPED): Remove.
12386 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12387 architectures, not kernel version.
12388 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12389 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12390 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12391 (__ASSUME_WAITID_SYSCALL): Likewise.
12392 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12393 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12394 * README: State 2.6.16 as minimum Linux kernel version. Do not
12395 refer to older versions.
12396
123972012-08-06 Roland McGrath <roland@hack.frob.com>
12398
12399 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12400 Define alphasort64 as an alias.
12401 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12402 Define versionsort64 as an alias.
12403 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12404 Define scandir64 as an alias.
12405 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12406 Define scandirat64 as an alias.
12407 * dirent/alphasort64.c (alphasort64):
12408 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12409 * dirent/versionsort64.c: Likewise.
12410 * dirent/scandir64.c: Likewise.
12411 * dirent/scandirat64.c: Likewise.
12412 * sysdeps/wordsize-64/alphasort.c: File removed.
12413 * sysdeps/wordsize-64/alphasort64.c: File removed.
12414 * sysdeps/wordsize-64/scandir.c: File removed.
12415 * sysdeps/wordsize-64/scandir64.c: File removed.
12416 * sysdeps/wordsize-64/scandirat.c: File removed.
12417 * sysdeps/wordsize-64/scandirat64.c: File removed.
12418 * sysdeps/wordsize-64/versionsort.c: File removed.
12419 * sysdeps/wordsize-64/versionsort64.c: File removed.
12420 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12421 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12422 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12423 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12424 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12425 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12426 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12427 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12428
12429 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12431 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12433 [defined __arch64__ || defined __sparcv9]
12434 (__INO_T_MATCHES_INO64_T): New macro.
12435 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12436 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12437 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12438 * sysdeps/unix/sysv/linux/bits/dirent.h
12439 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12440 (_DIRENT_MATCHES_DIRENT64): New macro.
12441
12442 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12443 Define lockf64 as an alias.
12444 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12445 Define fseeko64 as an alias.
12446 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12447 Define ftello64 as an alias.
12448 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12449 Define _IO_fgetpos64 and fgetpos64 as aliases.
12450 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12451 Define _IO_fsetpos64 and fsetpos64 as aliases.
12452 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12453 Conditionalize body on this.
12454 * libio/fseeko64.c: Likewise.
12455 * libio/ftello64.c: Likewise.
12456 * libio/iofgetpos64.c: Likewise.
12457 * libio/iofsetpos64.c: Likewise.
12458 * sysdeps/wordsize-64/lockf.c: File removed.
12459 * sysdeps/wordsize-64/lockf64.c: File removed.
12460 * sysdeps/wordsize-64/fseeko.c: File removed.
12461 * sysdeps/wordsize-64/fseeko64.c: File removed.
12462 * sysdeps/wordsize-64/ftello.c: File removed.
12463 * sysdeps/wordsize-64/ftello64.c: File removed.
12464 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12465 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12466 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12467 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12468 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12469 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12470 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12471 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12472 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12473 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12474 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12475 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12476 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12477 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12478
12479 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12480 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12481 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12482 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12483 [defined __arch64__ || defined __sparcv9]
12484 (__OFF_T_MATCHES_OFF64_T): New macro.
12485 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12486 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12487 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12488 (__OFF_T_MATCHES_OFF64_T): New macro.
12489
124902012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12491
12492 * stdlib/secure-getenv.c (__secure_getenv): Replace
12493 GLIBC_2_16 with GLIBC_2_17.
12494
124952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12496
12497 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12498 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12499
125002012-08-03 David S. Miller <davem@davemloft.net>
12501
12502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12503
125042012-08-03 Joseph Myers <joseph@codesourcery.com>
12505
12506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12507 Remove.
12508 (__ASSUME_CORRECT_SI_PID): Likewise.
12509 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12510 (__ASSUME_TMPFS_NAME): Likewise.
12511 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12512 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12513 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12514 (HAVE_AUX_SECURE): Make definition unconditional.
12515 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12516 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12517
125182012-08-03 Roland McGrath <roland@hack.frob.com>
12519
12520 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12521 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12522 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12523 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12524 __eloop_threshold instead of SYMLOOP_MAX.
12525
12526 * sysdeps/generic/eloop-threshold.h: New file.
12527 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12528 of MAXSYMLINKS.
12529 * elf/chroot_canon.c (chroot_canon): Likewise.
12530
125312012-08-03 Joseph Myers <joseph@codesourcery.com>
12532
12533 [BZ #13717]
12534 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12535 Change to 2.6.0 everywhere.
12536 * sysdeps/unix/sysv/linux/configure: Regenerated.
12537 * sysdeps/unix/sysv/linux/kernel-features.h
12538 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12539 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12540 kernel versions.
12541 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12542 (__ASSUME_FUTEX_REQUEUE): Remove.
12543 (__ASSUME_STATFS64): Define unconditionally.
12544 (__ASSUME_AT_SECURE): Likewise.
12545 (__ASSUME_CORRECT_SI_PID): Likewise.
12546 (__ASSUME_TGKILL): Define without depending on kernel version for
12547 i386.
12548 (__ASSUME_UTIMES): Likewise.
12549 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12550 kernel version.
12551 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12552 (__ASSUME_TMPFS_NAME): Likewise.
12553 * README: Update reference to Linux kernel versions.
12554
125552012-08-02 Marek Polacek <polacek@redhat.com>
12556
12557 [BZ# 14150]
12558 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12559 libc_cv_asm_type_prefix with %.
12560 * configure: Regenerated.
12561 * include/libc-symbols.h: Remove comment about
12562 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12563 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12564 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12565 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12566 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12567 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12568 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12569 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12570 * elf/tst-unique2mod1.c: Likewise.
12571 * elf/tst-unique1mod2.c: Likewise.
12572 * elf/tst-unique1mod1.c: Likewise.
12573 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12574 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12575 Replace ASM_TYPE_DIRECTIVE with .type.
12576 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12577 * sysdeps/i386/sysdep.h: Likewise.
12578 * sysdeps/x86_64/sysdep.h: Likewise.
12579 * sysdeps/sh/sysdep.h: Likewise.
12580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12581 Do not define ASM_TYPE_DIRECTIVE.
12582 * sysdeps/powerpc/sysdep.h: Likewise.
12583 * sysdeps/powerpc/powerpc32/sysdep.h:
12584 Replace ASM_TYPE_DIRECTIVE with .type.
12585 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12586 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12587 * sysdeps/i386/fpu/e_powf.S: Likewise.
12588 * sysdeps/i386/fpu/e_expl.S: Likewise.
12589 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12590 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12591 * sysdeps/i386/fpu/e_pow.S: Likewise.
12592 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12593 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12594 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12595 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12596 * sysdeps/i386/fpu/e_log2.S: Likewise.
12597 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12598 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12599 * sysdeps/i386/fpu/e_powl.S: Likewise.
12600 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12601 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12602 * sysdeps/i386/fpu/e_logl.S: Likewise.
12603 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12604 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12605 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12606 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12607 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12608 * sysdeps/i386/fpu/e_log.S: Likewise.
12609 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12610 * sysdeps/i386/fpu/e_logf.S: Likewise.
12611 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12612 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12613 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12614 * sysdeps/i386/fpu/e_log10.S: Likewise.
12615 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12616 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12617 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12618 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12619 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12620 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12621 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12622 * sysdeps/i386/i686/strtok.S: Likewise.
12623 * sysdeps/i386/i386-mcount.S: Likewise.
12624 * sysdeps/i386/strtok.S: Likewise.
12625 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12626 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12627 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12628 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12629 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12630 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12631 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12632 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12633 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12634 * sysdeps/x86_64/_mcount.S: Likewise.
12635 * sysdeps/x86_64/strtok.S: Likewise.
12636 * sysdeps/sh/_mcount.S: Likewise.
12637
126382012-08-01 Roland McGrath <roland@hack.frob.com>
12639
12640 * libio/iofopen.c: Include <fcntl.h>.
12641 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12642 (_IO_fopen64, fopen64): Define as aliases.
12643 * libio/iofopen64.c: Include <fcntl.h>.
12644 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12645 Conditionalize body on this.
12646 * sysdeps/wordsize-64/iofopen.c: File removed.
12647 * sysdeps/wordsize-64/iofopen64.c: File removed.
12648
126492012-08-01 Marek Polacek <polacek@redhat.com>
12650
12651 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12652 Use dlfcn directly instead of a variable.
12653 (binfmt-subdir): Do not define.
12654 (dlfcn): Likewise.
12655
126562012-08-01 Joseph Myers <joseph@codesourcery.com>
12657
12658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12659 Remove all definitions.
12660 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12661 <kernel-features.h>.
12662 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12663 (miss_F_GETOWN_EX): Remove all definitions.
12664 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12665 macro definition.
12666 [!__ASSUME_FCNTL64]: Remove conditional code.
12667 [__ASSUME_FCNTL64]: Make code unconditional.
12668 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12669 <kernel-features.h>.
12670 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12671 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12672 (lockf64) [__NR_fcntl64]: Make code unconditional.
12673 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12674
12675 * sysdeps/unix/sysv/linux/kernel-features.h
12676 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12677 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12678 Make code unconditional.
12679 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12680 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12682 [__NR_vfork]: Make code unconditional.
12683 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12684 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12686 [__NR_vfork]: Make code unconditional.
12687 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12688 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12689
126902012-08-01 Roland McGrath <roland@hack.frob.com>
12691
12692 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12693 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12694
12695 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12696 Define mkstemp64 as an alias.
12697 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12698 Define mkstemps64 as an alias.
12699 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12700 Define mkostemp64 as an alias.
12701 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12702 Define mkostemps64 as an alias.
12703 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12704 Conditionalize body on this.
12705 * misc/mkostemp64.c: Likewise.
12706 * misc/mkostemps64.c: Likewise.
12707 * misc/mkstemps64.c: Likewise.
12708 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12709 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12710 * sysdeps/wordsize-64/mkostemp.c: File removed.
12711 * sysdeps/wordsize-64/mkstemp.c: File removed.
12712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12713 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12714 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12715 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12716
12717 [BZ #14138]
12718 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12719 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12720 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12721 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12722
12723 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12724 compat_symbol macros from <shlib-compat.h> rather than the underlying
12725 default_symbol_version and symbol_version macros, so that DEFAULT
12726 lines in shlib-versions are respected.
12727 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12728
127292012-08-01 Florian Weimer <fweimer@redhat.com>
12730
12731 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12732 Declare with warn_unused_result.
12733 (setgid, setregid, setegid, setresgid): Likewise.
12734 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12735 Likewise.
12736 * WUR-REPORT: Remove set*id functions.
12737
127382012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12739
12740 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12741
127422012-07-31 Roland McGrath <roland@hack.frob.com>
12743
12744 [BZ #10191]
12745 * include/sys/socket.h (__libc_accept, __libc_accept4):
12746 Add attribute_hidden.
12747 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12748
12749 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12750 use of PTR_MANGLE.
12751 * inet/getnetgrent_r.c (setup): Likewise.
12752
12753 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12754
127552012-07-31 David S. Miller <davem@davemloft.net>
12756
12757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12758
127592012-07-31 Joseph Myers <joseph@codesourcery.com>
12760
12761 [BZ #13629]
12762 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12763 value between 1.0 and 2.0 and smaller part has absolute value less
12764 than 1.0.
12765 * math/s_clog10.c (__clog10): Likewise.
12766 * math/s_clog10f.c (__clog10f): Likewise.
12767 * math/s_clog10l.c (__clog10l): Likewise.
12768 * math/s_clogf.c (__clogf): Likewise.
12769 * math/s_clogl.c (__clogl): Likewise.
12770 * math/libm-test.inc (clog_test): Add more tests.
12771 (clog10_test): Likewise.
12772 * sysdeps/i386/fpu/libm-test-ulps: Update.
12773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12774
127752012-07-31 Florian Weimer <fweimer@redhat.com>
12776
12777 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12778 Exit with zero in case no suitable GID is found, and write a
12779 message to standard error.
12780
127812012-07-30 Roland McGrath <roland@hack.frob.com>
12782
12783 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12784 rather than to 1.
12785 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12786 (MAXPATHLEN): Removed.
12787 (NOGROUP, NODEV): New macros.
12788 (setbit, clrbit, isset, isclr): New macros.
12789 (howmany, roundup, powerof2): New macros.
12790 (DEV_BSIZE): New macro.
12791
12792 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12793 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12794
12795 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12796 definition on [!__NO_LONG_DOUBLE_MATH].
12797
12798 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12799 PTR_MANGLE and PTR_DEMANGLE.
12800
12801 * socket/accept4.c (accept4): Rename to __libc_accept4.
12802 Define accept4 as a weak alias.
12803
12804 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12805 on [_DIRENT_HAVE_D_TYPE].
12806 * io/ftw.c (ftw_dir): Likewise.
12807
12808 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12809
12810 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12811
12812 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12813 Use the BSD numbers rather than the arbitrary ones we had.
12814 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12815 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12816 (SIGXCPU, SIGXFSZ): New macros.
12817 (_NSIG): Now 32.
12818
12819 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12820 initializer on [_LIBC_REENTRANT].
12821
12822 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12823 definitions inside [_POSIX_MAPPED_FILES].
12824
12825 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12826
12827 * dirent/opendir.c: Include <fcntl.h>.
12828
12829 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12830 (__libc_getspecific): Likewise.
12831 (__libc_key_create): Likewise.
12832
12833 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12834 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12835 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12836 (tmpfile64): Define as alias.
12837 * sysdeps/wordsize-64/tmpfile.c: File removed.
12838 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12839 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12840 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12841
12842 * stdio-common/vfscanf.c: Include <stdbool.h>.
12843 * nss/makedb.c: Likewise.
12844 * stdio-common/_i18n_number.h: Likewise.
12845 * argp/argp-help.c: Likewise.
12846 * posix/wordexp.c: Likewise.
12847 * sysdeps/posix/spawni.c: Likewise.
12848 * nss/nss_files/files-initgroups.c: Likewise.
12849 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12850 * nss/nss_files/files-initgroups.c: Likewise.
12851 * nss/nss_db/db-netgrp.c: Likewise.
12852 * nss/nss_db/db-initgroups.c: Likewise.
12853 * io/fchmodat.c: Include <sys/stat.h>.
12854
12855 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12856 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12857
12858 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12859 [HAVE_MMAP].
12860
12861 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12862 Add multiple inclusion protection.
12863
128642012-07-27 David S. Miller <davem@davemloft.net>
12865
12866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12867
128682012-07-27 Gary Benson <gbenson@redhat.com>
12869
12870 [BZ #14298]
12871 * elf/rtld.c: Include <stap-probe.h>.
12872 (dl_main): Added static probes "init_start" and "init_complete".
12873 * elf/dl-load.c: Include <stap-probe.h>.
12874 (lose): Take new parameter "nsid".
12875 Added static probe "map_failed".
12876 (_dl_map_object_from_fd): Pass namespace id to lose.
12877 Added static probe "map_start".
12878 (open_verify): Pass namespace id to lose.
12879 * elf/dl-open.c: Include <stap-probe.h>.
12880 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12881 and "reloc_complete".
12882 * elf/dl-close.c: Include <stap-probe.h>.
12883 (_dl_close_worker): Added static probes "unmap_start" and
12884 "unmap_complete".
12885 * elf/rtld-debugger-interface.txt: New file documenting the above.
12886
128872012-07-26 Roland McGrath <roland@hack.frob.com>
12888
12889 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12890 rather than a string variable.
12891 * sunrpc/rpc_main.c (h_output): Likewise.
12892 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12893
128942012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12895
12896 * inet/check_native.c: New file.
12897
128982012-07-26 Joseph Myers <joseph@codesourcery.com>
12899
12900 [BZ #13629]
12901 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12902 if larger part has absolute value 1.0.
12903 * math/s_clog10.c (__clog10): Likewise.
12904 * math/s_clog10f.c (__clog10f): Likewise.
12905 * math/s_clog10l.c (__clog10l): Likewise.
12906 * math/s_clogf.c (__clogf): Likewise.
12907 * math/s_clogl.c (__clogl): Likewise.
12908 * math/libm-test.inc (clog_test): Add more tests.
12909 (clog10_test): Likewise.
12910 * sysdeps/i386/fpu/libm-test-ulps: Update.
12911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12912
12913 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12914 (pltexit): Likewise.
12915 (La_regs): Likewise.
12916 (La_retval): Likewise.
12917 (int_retval): Likewise.
12918 Update #error for removed macros to refer only to definitions in
12919 tst-audit.h.
12920 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12921 macro.
12922 (pltexit): Likewise.
12923 (La_regs): Likewise.
12924 (La_retval): Likewise.
12925 (int_retval): Likewise.
12926 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12927 macro.
12928 (pltexit): Likewise.
12929 (La_regs): Likewise.
12930 (La_retval): Likewise.
12931 (int_retval): Likewise.
12932 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12933 macro.
12934 (pltexit): Likewise.
12935 (La_regs): Likewise.
12936 (La_retval): Likewise.
12937 (int_retval): Likewise.
12938 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12939 macro.
12940 (pltexit): Likewise.
12941 (La_regs): Likewise.
12942 (La_retval): Likewise.
12943 (int_retval): Likewise.
12944 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12945 macro.
12946 (pltexit): Likewise.
12947 (La_regs): Likewise.
12948 (La_retval): Likewise.
12949 (int_retval): Likewise.
12950 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12951 macro.
12952 (pltexit): Likewise.
12953 (La_regs): Likewise.
12954 (La_retval): Likewise.
12955 (int_retval): Likewise.
12956 * sysdeps/generic/tst-audit.h: Update comment to refer only to
12957 macro definitions in tst-audit.h.
12958 * sysdeps/i386/tst-audit.h: New file.
12959 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12960 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12961 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12962 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12963 * sysdeps/sh/tst-audit.h: Likewise.
12964 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
12965 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
12966 * sysdeps/x86_64/tst-audit.h: Likewise.
12967
129682012-07-26 Andreas Jaeger <aj@suse.de>
12969
12970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
12971 ptrace.
12972
12973 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
12974 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
12975 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
12976 PTRACE_O_MASK.
12977 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
12978 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
12979 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
12980
12981 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
12982 value.
12983
12984 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
12985 _sigsys.
12986 (si_call_addr, si_syscall, si_arch): Define new macro.
12987 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
12988 _sigsys.
12989 (si_call_addr, si_syscall, si_arch): Define new marcro.
12990 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
12991 _sigsys.
12992 (si_call_addr, si_syscall, si_arch): Define new macro.
12993 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
12994 _sigsys.
12995 (si_call_addr, si_syscall, si_arch): Define new macro.
12996
129972012-07-25 Joseph Myers <joseph@codesourcery.com>
12998
12999 [BZ #13717]
13000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13001 Change to 2.4.21 where previously 2.4.1.
13002 * sysdeps/unix/sysv/linux/configure: Regenerated.
13003 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13004 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13005 Linux kernel version.
13006 (__ASSUME_STD_AUXV): Remove.
13007 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13008 kernel version.
13009 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13010 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13011 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13012 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13013 (__ASSUME_NETLINK_SUPPORT): Likewise.
13014 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13015 (__no_netlink_support): Remove conditional definition.
13016 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13017 Remove.
13018 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13019 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13020 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13021 (if_nameindex_ioctl): Remove.
13022 (if_nameindex_netlink): Do not handle __no_netlink_support.
13023 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13024 code.
13025 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13026 Remove conditional code.
13027 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13028 code.
13029 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13030 unconditional.
13031 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13032 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13033 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13034 Remove.
13035 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13036 [!__ASSUME_STD_AUXV]: Remove conditional code.
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13038 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13039 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13041 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13042 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13043 code.
13044 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13046 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13047 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13048 conditional code.
13049 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13051 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13052 code.
13053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13054 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13055 conditional code.
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13057 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13058 code unconditional.
13059 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13060 conditional code.
13061 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13062 unconditional.
13063 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13064 conditional code.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13066 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13067 unconditional.
13068 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13069 conditional code.
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13071 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13072 code unconditional.
13073 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13074 conditional code.
13075 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13076 unconditional.
13077 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13078 conditional code.
13079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13080 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13081 code unconditional.
13082 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13083 conditional code.
13084 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13085 unconditional.
13086 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13087 conditional code.
13088
130892012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13090
13091 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13092 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13093 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13094 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13095 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13096 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13097 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13098 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13099 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13100 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13101 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13102 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13103 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13104 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13105 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13106 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13107 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13108 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13109 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13111 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13112 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13114
131152012-07-25 Florian Weimer <fweimer@redhat.com>
13116
13117 * Versions.def: Add GLIBC_2.17.
13118 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13119 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13120 Introduce __libc_secure_getenv.
13121 * stdlib/Versions (2.17): Add secure_getenv
13122 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13123 * stdlib/secure-getenv.c: Rename __secure_getenv to
13124 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13125 symbol __secure_getenv for GLIBC_2.0.
13126 * stdlib/tst-secure-getenv.c: New.
13127 * stdlib/Makefile (tests): Add testcase.
13128 * manual/startup.texi (Environment Access): Document
13129 secure_getenv.
13130 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13131 __libc_secure_getenv.
13132 * inet/ruserpass.c (ruserpass): Likewise.
13133 * malloc/mtrace.c (mtrace): Likewise.
13134 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13135 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13136 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13137 * sysdeps/posix/tempname.c: Likewise. Evaluate
13138 HAVE_SECURE_GETENV.
13139 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13140 __secure_getenv to __libc_secure_getenv.
13141 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13143 Likewise.
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13145 Likewise.
13146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13153
131542012-07-25 Joseph Myers <joseph@codesourcery.com>
13155
13156 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13157 (struct La_i86_retval): Likewise.
13158 (struct La_x86_64_regs): Likewise.
13159 (struct La_x86_64_retval): Likewise.
13160 (struct La_x32_regs): Likewise.
13161 (struct La_x32_retval): Likewise.
13162 (struct La_ppc32_regs): Likewise.
13163 (struct La_ppc32_retval): Likewise.
13164 (struct La_ppc64_regs): Likewise.
13165 (struct La_ppc64_retval): Likewise.
13166 (struct La_sh_regs): Likewise.
13167 (struct La_sh_retval): Likewise.
13168 (struct La_s390_32_regs): Likewise.
13169 (struct La_s390_32_retval): Likewise.
13170 (struct La_s390_64_regs): Likewise.
13171 (struct La_s390_64_retval): Likewise.
13172 (struct La_sparc32_regs): Likewise.
13173 (struct La_sparc32_retval): Likewise.
13174 (struct La_sparc64_regs): Likewise.
13175 (struct La_sparc64_retval): Likewise.
13176 (struct audit_ifaces): Remove architecture-specific pltenter and
13177 pltexit members.
13178 * sysdeps/i386/ldsodefs.h: New file.
13179 * sysdeps/powerpc/ldsodefs.h: Likewise.
13180 * sysdeps/s390/ldsodefs.h: Likewise.
13181 * sysdeps/sh/ldsodefs.h: Likewise.
13182 * sysdeps/sparc/ldsodefs.h: Likewise.
13183 * sysdeps/x86_64/ldsodefs.h: Likewise.
13184
131852012-07-25 Marek Polacek <polacek@redhat.com>
13186
13187 [BZ #6808]
13188 * math/libm-test.inc (yn_test): Add another test.
13189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13190 to ERANGE when the result is +-Inf.
13191 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13192 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13193 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13194 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13195
131962012-07-24 Joseph Myers <joseph@codesourcery.com>
13197
13198 * conform/data/time.h-data (NULL): Use macro-constant. Require
13199 equal to 0.
13200 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13201 clock_t.
13202 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13203
132042012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13205
13206 * configure.in <sysdeps resolving>: Correct printing
13207 Implies_before.
13208 * configure: Regenerate.
13209
132102012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13211
13212 * math/w_ilogb.c: Include <limits.h>.
13213 * math/w_ilogbl.c: Likewise.
13214
132152012-07-20 Joseph Myers <joseph@codesourcery.com>
13216
13217 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13218 va_copy. Document allowing for unavailable va_copy only as
13219 pre-C99 compatibility.
13220 * manual/string.texi (Copying and Concatenation): Use va_copy
13221 instead of __va_copy in concat example.
13222
132232012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13224
13225 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13226 (__sendto): Use create_address_port. Initialize APORT and deallocate
13227 it if not null.
13228
13229 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13230 with O_NOLINK passed to __file_name_lookup.
13231
13232 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13233 with O_NOLINK passed to __file_name_lookup.
13234
13235 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13236 negative N or less than NGIDS.
13237
13238 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13239 type to string_t. Set ERANGE as errno and return it if NAME is not big
13240 enough. Use memcpy instead of strncpy.
13241
132422012-07-20 Joseph Myers <joseph@codesourcery.com>
13243
13244 * elf/Makefile (check-data): Remove.
13245 (localplt.data): New vpath directive.
13246 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13247 instead of $(check-data).
13248 * scripts/data/localplt-generic.data: Move to ...
13249 * sysdeps/generic/localplt.data: ... here.
13250 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13251 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13252 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13254 ... here.
13255 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13257 ... here.
13258 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13260 ... here.
13261 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13263 ... here.
13264 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13266 ... here.
13267 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13269 ... here.
13270
132712012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13272
13273 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13274 PPC32 and PPC64 files.
13275 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13276 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13277
132782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13279
13280 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13281 __makecontext_ret to ...
13282 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13283 ... here and call exit if uc_link is NULL. New file.
13284 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13285 __makecontext_ret.S.
13286 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13287 __makecontext_ret to ...
13288 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13289 ... here and call exit if uc_link is NULL. New file.
13290 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13291 __makecontext_ret.S.
13292
132932012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13294
13295 * elf/elf.h (R_390_IRELATIVE): New definition.
13296 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13297 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13298 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13299 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13300 (elf_machine_lazy_rel): Likewise.
13301 * sysdeps/s390/dl-irel.h: New file.
13302 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13303 * sysdeps/s390/s390-64/memset.S: New asm code.
13304 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13305 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13306 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13307 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13308 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13309 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13310 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13311 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13312 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13313 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13314 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13315 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13316 * sysdeps/s390/s390-32/memset.S: New asm code.
13317 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13318
133192012-07-17 Marek Polacek <polacek@redhat.com>
13320
13321 [BZ #14349]
13322 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13323 * sysdeps/s390/s390-64/configure.in: Likewise.
13324 * sysdeps/sparc/configure.in: Likewise.
13325 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13326 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13327 * sysdeps/i386/configure.in: Likewise.
13328 * sysdeps/x86_64/configure.in: Likewise.
13329 * sysdeps/sh/configure.in: Likewise.
13330 * sysdeps/s390/s390-32/configure: Regenerated.
13331 * sysdeps/s390/s390-64/configure: Likewise.
13332 * sysdeps/x86_64/configure: Likewise.
13333 * sysdeps/sh/configure: Likewise.
13334 * sysdeps/powerpc/powerpc64/configure: Likewise.
13335 * sysdeps/powerpc/powerpc32/configure: Likewise.
13336 * sysdeps/sparc/configure: Likwise.
13337 * sysdeps/i386/configure: Likewise.
13338
13339 * elf/dl-open.c: Comment fixes.
13340
133412012-07-17 Joseph Myers <joseph@codesourcery.com>
13342
13343 * Makefile [CXX] (check-data): Remove.
13344 [CXX] (c++-types.data): New vpath directive.
13345 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13346 vpath. Do not allow for C++ type data being missing.
13347 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13348 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13349 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13350 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13351 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13352 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13353 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13355 ... here.
13356 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13358 ... here.
13359 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13361 ... here.
13362 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13364 ... here.
13365 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13367 ... here.
13368 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13370 ... here.
13371 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13373 ... here.
13374 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13376
13377 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13378 definitions to architecture-specific files.
13379 (TLS_IE): Likewise.
13380 (TLS_LD): Likewise.
13381 (TLS_GD): Likewise.
13382 * sysdeps/i386/tls-macros.h: New file.
13383 * sysdeps/powerpc/tls-macros.h: Likewise.
13384 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13385 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13386 * sysdeps/sh/tls-macros.h: Likewise.
13387 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13388 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13389 * sysdeps/x86_64/tls-macros.h: Likewise.
13390
133912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13392
13393 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13394 zero value for regular exit case.
13395
13396 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13397 (__start_context): Preserve zero value for regular exit case.
13398
133992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13400 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13401
13402 * manual/setjmp.texi (setcontext): Clarify normal process
13403 termination when uc_link is the null pointer.
13404 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13405 exit call.
13406
134072012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13408
13409 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13410 preprocessor. Test for each exception mask separately.
13411
134122012-07-16 Andreas Jaeger <aj@suse.de>
13413
13414 * po/ru.po: Update from translation team.
13415
134162012-07-15 Joseph Myers <joseph@codesourcery.com>
13417
13418 * conform/data/string.h-data (NULL): Use macro-constant. Require
13419 equal to 0.
13420 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13421 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13422 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13423 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13425
134262012-07-13 Andreas Jaeger <aj@suse.de>
13427
13428 * po/fr.po: Update from translation team.
13429
134302012-07-12 Marek Polacek <polacek@redhat.com>
13431
13432 [BZ #14173]
13433 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13435 loop condition.
13436
134372012-07-12 Joseph Myers <joseph@codesourcery.com>
13438
13439 [BZ #13717]
13440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13441 Change to 2.4.1 where previously 2.4.0.
13442 * sysdeps/unix/sysv/linux/configure: Regenerated.
13443 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13444 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13445 version.
13446 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13447 (__ASSUME_AT_CLKTCK): Remove.
13448 (__ASSUME_AT_PAGESIZE): Likewise.
13449 (__ASSUME_AT_XID): Likewise.
13450 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13451 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13452 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13453 unconditionally.
13454 (HAVE_AUX_PAGESIZE): Likewise.
13455 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13456 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13457 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13458
134592012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13460
13461 [BZ #14307]
13462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13463 the temporary buffer used to invoke __gethostbyname2_r,
13464 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13465 host_data / struct gaih_addrtuple.
13466 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13467 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13468 header file nss/nsswitch.h.
13469 * nss/nsswitch.h (global scope): Add definition of implementation
13470 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13471 resolv/nss_dns/dns-host.c).
13472
134732012-07-11 Andreas Jaeger <aj@suse.de>
13474
13475 * po/fr.po: Update from translation team.
13476
13477 * po/sv.po: Update from translation team
13478 * po/fr.po: Another update from translation team.
13479
134802012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13481
13482 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13483 for subnormals or multiply small sinh result by itself.
13484 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13486
134872012-07-11 David S. Miller <davem@davemloft.net>
13488
13489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13490
134912012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13492
13493 [BZ #14347]
13494 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13495 (INTERNAL_MARK): Shift it here.
13496
134972012-07-10 Marek Polacek <polacek@redhat.com>
13498
13499 [BZ #14151]
13500 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13501 libc_cv_asm_global_directive with .globl.
13502 * configure: Regenerated.
13503 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13504 with .globl.
13505 * sysdeps/i386/configure: Regenerated.
13506 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13507 with .globl.
13508 * sysdeps/x86_64/configure: Regenerated.
13509 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13510 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13511 * elf/tst-unique2mod2.c: Likewise.
13512 * elf/tst-unique2mod1.c: Likewise.
13513 * elf/tst-unique1mod2.c: Likewise.
13514 * elf/tst-unique1mod1.c: Likewise.
13515 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13516 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13517 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13518 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13519 * sysdeps/mach/sysdep.h: Likewise.
13520 * sysdeps/i386/sysdep.h: Likewise.
13521 * sysdeps/i386/i386-mcount.S: Likewise.
13522 * sysdeps/x86_64/_mcount.S: Likewise.
13523 * sysdeps/x86_64/sysdep.h: Likewise.
13524 * sysdeps/sh/_mcount.S: Likewise.
13525 * sysdeps/sh/sysdep.h: Likewise.
13526 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13527 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13528 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13529 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13530 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13531 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13532 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13533 * locale/localeinfo.h: Likewise.
13534 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13535 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13536
135372012-07-09 Roland McGrath <roland@hack.frob.com>
13538
13539 [BZ #14336]
13540 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13541 system".
13542 * manual/message.texi (The Uniforum approach): Likewise.
13543 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13544 (glibc iconv Implementation): Likewise.
13545
135462012-07-09 Joseph Myers <joseph@codesourcery.com>
13547
13548 [BZ #14337]
13549 * math/s_clog.c (__clog): Avoid scaling a value down where that
13550 could result in underflow.
13551 * math/s_clog10.c (__clog10): Likewise.
13552 * math/s_clog10f.c (__clog10f): Likewise.
13553 * math/s_clog10l.c (__clog10l): Likewise.
13554 * math/s_clogf.c (__clogf): Likewise.
13555 * math/s_clogl.c (__clogl): Likewise.
13556 * math/libm-test.inc (clog_test): Add more tests.
13557 (clog10_test): Likewise.
13558 * sysdeps/i386/fpu/libm-test-ulps: Update.
13559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13560
135612012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13562
13563 [BZ #14283]
13564 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13565 by 7 not 8 to examine high bit of fractional part.
13566
13567 [BZ #14042]
13568 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13569 for call to __mcount_internal.
13570 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13571 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13572 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13573
135742012-07-06 Joseph Myers <joseph@codesourcery.com>
13575
13576 [BZ #14154]
13577 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13578 approximation for values within 0x1p-13f of an odd multiple of
13579 pi/4.
13580 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13581 exception. Add more tests.
13582 * sysdeps/i386/fpu/libm-test-ulps: Update.
13583
13584 [BZ #6778]
13585 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13586 inputs and return -1 for them. Do not check for +Inf in case not
13587 reachable for +Inf.
13588 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13589 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13590 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13591 and return -1 for them. Do not check for +Inf in case not
13592 reachable for +Inf.
13593 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13594 define.
13595 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13596 and return -1 for them. Do not check for +Inf in case not
13597 reachable for +Inf.
13598 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13599 spurious underflow.
13600 * sysdeps/i386/fpu/libm-test-ulps: Update.
13601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13602
136032012-07-06 Mike Frysinger <vapier@gentoo.org>
13604
13605 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13606
136072012-07-05 Joseph Myers <joseph@codesourcery.com>
13608
13609 [BZ #14157]
13610 [BZ #14331]
13611 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13612 could result in spurious underflow. Scale down values above
13613 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13614 * math/s_csqrtf.c (__csqrtf): Likewise.
13615 * math/s_csqrtl.c (__csqrtl): Likewise.
13616 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13617 spurious underflow.
13618 * sysdeps/i386/fpu/libm-test-ulps: Update.
13619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13620
136212012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13622
13623 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13624 xopen-msg.sed.
13625 * catgets/xopen-msg.awk: New file.
13626 * catgets/xopen-msg.sed: Removed.
13627
13628 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13629 po2text.sed.
13630 * intl/po2test.awk: New file.
13631 * intl/po2test.sed: Removed.
13632
136332012-07-04 Joseph Myers <joseph@codesourcery.com>
13634
13635 [BZ #14328]
13636 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13637 or multiply small sinh result by itself.
13638 * math/s_ctanf.c (__ctanf): Likewise.
13639 * math/s_ctanh.c (__ctanh): Likewise.
13640 * math/s_ctanhf.c (__ctanhf): Likewise.
13641 * math/s_ctanhl.c (__ctanhl): Likewise.
13642 * math/s_ctanl.c (__ctanl): Likewise.
13643 * math/libm-test.inc (ctan_test_tonearest): New function.
13644 (ctan_test_towardzero): Likewise.
13645 (ctan_test_downward): Likewise.
13646 (ctan_test_upward): Likewise.
13647 (ctanh_test_tonearest): Likewise.
13648 (ctanh_test_towardzero): Likewise.
13649 (ctanh_test_downward): Likewise.
13650 (ctanh_test_upward): Likewise.
13651 (main): Call these new functions.
13652 * sysdeps/i386/fpu/libm-test-ulps: Update.
13653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13654
136552012-07-03 Mike Frysinger <vapier@gentoo.org>
13656
13657 * .gitignore: Delete /ports entry.
13658
136592012-07-03 Andreas Jaeger <aj@suse.de>
13660
13661 * po/bg.po: Update from translation team.
13662 * po/cs.po: Likewise.
13663 * po/de.po: Likewise.
13664 * po/hr.po: Likewise.
13665 * po/nl.pl: Likewise.
13666 * po/pl.po: Likewise.
13667 * po/vi.po: Likewise.
13668
136692012-07-03 Joseph Myers <joseph@codesourcery.com>
13670
13671 * Makeconfig [!+link] (+link-before-libc): New variable.
13672 [!+link] (+link-after-libc): Likewise.
13673 [!+link] (+link-tests): Likewise.
13674 [!+link] (+link): Define in terms of $(+link-before-libc) and
13675 $(+link-after-libc).
13676 [!+link-static] (+link-static-before-libc): New variable.
13677 [!+link-static] (+link-static-after-libc): Likewise.
13678 [!+link-static] (+link-static-tests): Likewise.
13679 [!+link-static] (+link-static): Define in terms of
13680 $(+link-static-before-libc) and $(+link-static-after-libc).
13681 [build-shared] (link-libc-before-gnulib): New variable.
13682 [build-shared] (link-libc-tests): Likewise.
13683 [build-shared] (link-libc): Define in terms of
13684 $(link-libc-before-gnulib).
13685 [!build-shared] (link-libc-tests): New variable.
13686 (link-libc-static-tests): New variable.
13687 [!gnulib] (gnulib-arch): New variable.
13688 [!gnulib] (gnulib-tests): Likewise.
13689 [!gnulib] (static-gnulib-arch): Likewise.
13690 [!gnulib] (static-gnulib-tests): Likewise.
13691 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13692 Define with "=" instead of ":=".
13693 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13694 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13695 * Rules (binaries-all-notests): New variable.
13696 (binaries-all-tests): Likewise.
13697 (binaries-static-notests): Likewise.
13698 (binaries-static-tests): Likewise.
13699 (binaries-all): Define using $(binaries-all-notests) and
13700 $(binaries-all-tests).
13701 (binaries-static): Define using $(binaries-static-notests) and
13702 $(binaries-static-tests).
13703 (binaries-shared-tests): New variable.
13704 (binaries-shared-notests): Likewise.
13705 (binaries-shared): Remove variable.
13706 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13707 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13708 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13709 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13710 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13711 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13712 * elf/Makefile (sln-modules): New variable.
13713 (extra-objs): Add $(sln-modules:=.o).
13714 (ldconfig-modules): Add static-stubs.
13715 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13716 * elf/static-stubs.c: New file.
13717
13718 [BZ #14283]
13719 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13720 by 7 not 8 to examine high bit of fractional part. Use volatile
13721 variables when splitting into final array of floats if
13722 __FLT_EVAL_METHOD__ != 0.
13723 * math/libm-test.inc (cos_test): Add another test.
13724 (sin_test): Likewise.
13725 * sysdeps/i386/fpu/libm-test-ulps: Update.
13726
13727 [BZ #14273]
13728 * math/libm-test.inc (cosh_test): Add more tests.
13729
13730 * version.h (RELEASE): Set to "development".
13731 (VERSION): Set to "2.16.90".
13732
137332012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13734
13735 * NEWS: Update copyright. Remove last-updated date.
13736 Mention math library bug fixes and timezone data changes.
13737 * README: Mention GNU/Hurd, x32, and HPPA support status.
13738
137392012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13740
13741 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13742
137432012-06-27 Andreas Jaeger <aj@suse.de>
13744
13745 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13746
137472012-06-25 Andreas Jaeger <aj@suse.de>
13748
13749 * sysdeps/s390/fpu/libm-test-ulps: Update.
13750
137512012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13752 Thomas Schwinge <thomas@codesourcery.com>
13753
13754 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13755 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13756 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13757 fanotify_mark.
13758
137592012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13760
13761 * sysdeps/mach/start.c: Remove file.
13762 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13763 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13764 * sysdeps/sh/init-first.c: Likewise.
13765
13766 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13767 registers for frame unwinding purposes, add CFI directives.
13768 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13769 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13770 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13771 Likewise.
13772
13773 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13774 __fortify_fail returning.
13775 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13776
13777 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13778 sysdeps/sh/____longjmp_chk.S.
13779 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13780 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13781 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13782 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13783
13784 * sysdeps/sh/abort-instr.h: New file.
13785 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13786 process in case exit returns.
13787
13788 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13789 initialize the GOT register before use.
13790
13791 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13792 calculation of ARGC > 4.
13793
13794 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13795 meaningful names to some local labels.
13796
137972012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13798 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13799
13800 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13801 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13802 (__arch_compare_and_exchange_val_16_acq): Likewise.
13803 (__arch_compare_and_exchange_val_32_acq): Likewise.
13804 (atomic_exchange_and_add): Fix gUSA sequence.
13805 (atomic_add): Likewise.
13806 (atomic_add_negative): Likewise.
13807 (atomic_add_zero): Likewise.
13808 (atomic_bit_test_set): Likewise.
13809
138102012-06-22 Andreas Schwab <schwab@redhat.com>
13811
13812 [BZ #13579]
13813 * include/link.h (struct link_map): Add l_free_initfini.
13814 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13815 l_initfini.
13816 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13817 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13818 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13819 set.
13820
138212012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13822
13823 * configure.in: Use AC_LANG_SOURCE.
13824 * configure: Regenerate.
13825
138262012-06-22 Roland McGrath <roland@hack.frob.com>
13827
13828 * configure.in (libc_cv_localstatedir): New substituted variable.
13829 * configure: Regenerated.
13830 * config.make.in (localstatedir): New variable, substituted from
13831 libc_cv_localstatedir.
13832 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13833 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13834 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13835 * sysdeps/gnu/configure: Regenerated.
13836
138372012-06-21 Jeff Law <law@redhat.com>
13838
13839 [BZ #14277]
13840 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13841 free. Simplify list management for _LIBC case.
13842
138432012-06-21 Joseph Myers <joseph@codesourcery.com>
13844
13845 [BZ #14273]
13846 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13847 Clear sign bit of 64-bit integer value before comparing against
13848 overflow value.
13849
13850 * sysdeps/mach/configure: Regenerated.
13851
138522012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13853
13854 [BZ #14278]
13855 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13856
138572012-06-21 Jeff Law <law@redhat.com>
13858
13859 [BZ #13882]
13860 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13861 uint16_t for elements in the "seen" array to avoid char overflows.
13862 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13863 * elf/dl-open.c (dl_open_worker): Likewise.
13864
138652012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13866
13867 * scripts/list-sources.sh: Scan PORTS for translations.
13868 * po/libc.pot: Regenerated.
13869
138702012-06-21 Andreas Jaeger <aj@suse.de>
13871
13872 [BZ #12194]
13873 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13874 warning.
13875 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13876 * bits/byteswap-16.h (__bswap_16): Likewise.
13877 * bits/byteswap.h (__bswap_constant_16): Likewise.
13878
138792012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13880
13881 [BZ #14117]
13882 * sysdeps/i386/fpu_control.h: Removed.
13883 * sysdeps/x86_64/fpu_control.h: Moved to ...
13884 * sysdeps/x86/fpu_control.h: Here.
13885
13886 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13887 (_FPU_SETCW): Likewise.
13888
138892012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13890
13891 [BZ #14117]
13892 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13893 * sysdeps/x86/fpu/bits/mathinline.h: This.
13894 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13895
13896 [BZ #14050]
13897 [BZ #14117]
13898 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13899 functions if __x86_64__ is defined.
13900
139012012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13902
13903 * string/endian.h: Add !__ASSEMBLER__ condition for including
13904 conversion interfaces.
13905
139062012-06-15 Joseph Myers <joseph@codesourcery.com>
13907
13908 [BZ #14241]
13909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13910 of ABS(x) in calculating zero to negative powers other than odd
13911 integers.
13912 * math/libm-test.inc (pow_test): Add more tests.
13913
139142012-06-15 Andreas Jaeger <aj@suse.de>
13915
13916 * manual/contrib.texi (Contributors): Update entry of Liubov
13917 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13918 Machado Filho.
13919
139202012-06-15 Cyril Hrubis <metan@ucw.cz>
13921
13922 * string/string.h: Add __wur to GNU version of strerror_r.
13923
139242012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13925
13926 [BZ #14229]
13927 * string/Makefile (tests): Add tst-strtok_r.
13928 * string/tst-strtok_r.c: New file.
13929 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13930 RAX_LP/RDX_LP on SAVE_PTR.
13931
139322012-06-14 Roland McGrath <roland@hack.frob.com>
13933
13934 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13935
139362012-06-14 Joseph Myers <joseph@codesourcery.com>
13937
13938 * libm_test.inc (csqrt_test): Allow more spurious underflow
13939 exceptions.
13940 (j0_test): Likewise.
13941 (j1_test): Likewise.
13942 (y0_test): Likewise.
13943 (y1_test): Likewise.
13944
139452012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13946
13947 * po/Makefile (libc.pot): Use UTF-8 charset.
13948
139492012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13950
13951 [BZ #14210]
13952 Suppress sign-conversion warning from FD_SET.
13953 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13954 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13955 not unsigned long int.
13956 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13957
139582012-06-12 H.J. Lu <hongjiu.lu@intel.com>
13959
13960 [BZ #14050]
13961 [BZ #14117]
13962 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13963 __extern_always_inline instead of __extern_inline.
13964 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
13965 (__signbit): Likewise.
13966 (__signbitl): Support C++ namespace.
13967 (lrintf): New inline function.
13968 (lrint): Likewise.
13969 (llrintf): Likewise.
13970 (llrint): Likewise.
13971 (fmaxf): Likewise.
13972 (fmax): Likewise.
13973 (fminf): Likewise.
13974 (fmin): Likewise.
13975 (rint): Likewise.
13976 (rintf): Likewise.
13977 (ceil): Likewise.
13978 (ceilf): Likewise.
13979 (floor): Likewise.
13980 (floorf): Likewise.
13981 (nearbyint): Likewise.
13982 (nearbyintf): Likewise.
13983
139842012-06-12 Thomas Schwinge <thomas@codesourcery.com>
13985
13986 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
13987 non-default versions.
13988
139892012-06-11 Roland McGrath <roland@hack.frob.com>
13990
13991 [BZ #14218]
13992 * manual/argp.texi (Argp): Reword argp_parse description slightly.
13993
139942012-06-09 Thomas Schwinge <thomas@codesourcery.com>
13995
13996 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
13997 (FE_UPWARD, FE_DOWNWARD): Don't define.
13998 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
13999 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14000
14001 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14002 reading it.
14003 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14004 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14005
140062012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14007
14008 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14009 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14010 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14011 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14012
140132012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14014
14015 [BZ #14117]
14016 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14017 * sysdeps/i386/fpu/Implies: New file.
14018 * sysdeps/x86_64/fpu/Implies: Likewise.
14019 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14020 * sysdeps/x86/fpu/bits/fenv.h: This.
14021
14022 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14023 __SSE_MATH__.
14024
140252012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14026
14027 [BZ #14134]
14028 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14029 character 0xffff that matches the last element of the
14030 conversion table.
14031
140322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14033
14034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14035 fmodl commit.
14036
140372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14038
14039 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14040 values higher than 25.6283.
14041
140422012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14043
14044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14045 subnormal exponent extraction and add some __builtin_expect.
14046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14047 Fix for subnormal mantissa calculation.
14048
140492012-06-04 Mike Frysinger <vapier@gentoo.org>
14050
14051 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14052 cpu2 is -1 and errno is not ENOSYS.
14053
140542012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14055
14056 [BZ #14117]
14057 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14058 * sysdeps/x86/bits/string.h: This.
14059 * sysdeps/x86_64/bits/string.h: Removed.
14060
14061 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14062 if not compiling for x86-64, but compiling for >= i486.
14063
14064 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14065 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14066
14067 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14068 New macro from Linux kernel 3.4.0.
14069 (FP_XSTATE_MAGIC2): Likewise.
14070 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14071 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14072 (struct _fpx_sw_bytes): New struct.
14073 (struct _xsave_hdr): Likewise.
14074 (struct _ymmh_state): Likewise.
14075 (struct _xstate): Likewise.
14076
14077 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14078 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14079 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14080 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14081 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14082 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14083
14084 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14085 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14086 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14087 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14088 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14089 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14090
140912012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14092
14093 [BZ #13743]
14094 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14095 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14096 (sysdep_headers): Include sys/platform/ppc.h.
14097 * sysdeps/powerpc/test-gettimebase.c: Test for
14098 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14099 * manual/Makefile (appendices): Include platform.texi.
14100 * manual/contrib.texi (Contributors): Update @node pointers.
14101 * manual/maint.texi (Maintenance): Likewise.
14102 (Platform): New node.
14103 * manual/platform.texi: New file. Document the new features.
14104
141052012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14106 Jakub Jelinek <jakub@redhat.com>
14107
14108 [BZ #14188]
14109 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14110 where __builtin_expect is unavailable.
14111
141122012-06-03 David S. Miller <davem@davemloft.net>
14113
14114 * stdlib/longlong.h: Updated from GCC.
14115
141162012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14117
14118 [BZ #14042]
14119 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14120 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14121 __mcount_internal.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14123 (GLIBC_2.16): Likewise.
14124
141252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14126
14127 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14128
141292012-06-01 Joseph Myers <joseph@codesourcery.com>
14130
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14132 (default-abi): New variable.
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14134 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14135 variable.
14136 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14137 Likewise.
14138 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14139 Likewise.
14140 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14141 Likewise.
14142
14143 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14144 definition. Document in comment.
14145
141462012-06-01 David S. Miller <davem@davemloft.net>
14147
14148 * stdlib/longlong.h: Updated from GCC.
14149
141502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14151
14152 [BZ #14117]
14153 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14154 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14155 sys/debugreg.h sys/io.h here.
14156 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14157 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14158 sys/io.h.
14159 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14160 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14161 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14162 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14163 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14164 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14165
14166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14167 Define only if __x86_64__ is defined.
14168
141692012-06-01 Joseph Myers <joseph@codesourcery.com>
14170
14171 [BZ #14048]
14172 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14173 Use int64_t for variable i.
14174 * math/libm-test.inc (fmod_test): Add more tests.
14175
14176 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14177 z computation is not scheduled after fetestexcept.
14178 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14179 Use math_force_eval instead of asm to ensure calculation scheduled
14180 before exception test.
14181 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14182 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14183
141842012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14185
14186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14187 computation is not scheduled after fetestexcept.
14188
141892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14190
14191 [BZ #14117]
14192 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14193 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14194
141952012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14196
14197 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14198 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14199
142002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14201
14202 [BZ #14117]
14203 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14204 <bits/wordsize.h>.
14205 (__WCHAR_MIN): Support __WORDSIZE == 64.
14206 (__WCHAR_MAX): Likewise.
14207
14208 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14209 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14210
14211 [BZ #14183]
14212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14213 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14214
14215 [BZ #14117]
14216 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14217 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14218
14219 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14220 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14221
14222 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14223 Defined to 1 if __x86_64__ isn't defined.
14224 (_STAT_VER_LINUX_OLD): New.
14225 (st_atime): Remove duplicate.
14226 (st_mtime): Likewise.
14227 (st_ctime): Likewise.
14228
142292012-05-31 David S. Miller <davem@davemloft.net>
14230
14231 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14232 entries.
14233
142342012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14235
14236 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14237 gen-libm-test.pl.
14238
14239 [BZ #14132]
14240 * elf/dl-reloc.c: Include <_itoa.h>.
14241 (_dl_reloc_bad_type): Remove use of INTUSE.
14242 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14243 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14244 * stdio-common/psiginfo.c (psiginfo): Likewise.
14245 * stdio-common/psignal.c (psignal): Likewise.
14246 * string/strsignal.c (strsignal): Likewise.
14247 * include/signal.h (_sys_siglist): Declare hidden proto.
14248 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14249 INTVARDEF with libc_hidden_data_def.
14250 * stdio-common/itoa-udigits.c: Likewise.
14251 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14252 (_itoa_lower_digits_internal): Remove declaration.
14253 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14254 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14255 (_sys_sigabbrev_internal): Remove aliases.
14256 (_sys_siglist): Define hidden alias.
14257
142582012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14259
14260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14261 bits/sysctl.h.
14262
142632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14264
14265 [BZ #14117]
14266 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14267 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14268
14269 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14270 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14271 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14272 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14273 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14274 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14275
14276 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14277 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14278 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14279
14280 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14281 with __addr.
14282 (insw): Likewise.
14283 (insl): Likewise.
14284 (outsb): Likewise.
14285 (outsw): Likewise.
14286 (outsl): Likewise.
14287
14288 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14289 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14290 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14291
14292 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14293 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14294 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14295 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14296 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14297 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14298
14299 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14300 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14301
14302 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14303 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14304
14305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14307 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14308
14309 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14310 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14311 to ...
14312 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14313
14314 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14315 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14316 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14317
14318 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14319 for x86-64.
14320 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14321
143222012-05-31 Joseph Myers <joseph@codesourcery.com>
14323
14324 * math/math.h (M_El): Use two more decimal places.
14325 (M_LOG2El): Likewise.
14326 (M_LOG10El): Likewise.
14327 (M_LN2l): Likewise.
14328 (M_LN10l): Likewise.
14329 (M_PIl): Likewise.
14330 (M_PI_2l): Likewise.
14331 (M_PI_4l): Likewise.
14332 (M_1_PIl): Likewise.
14333 (M_2_PIl): Likewise.
14334 (M_2_SQRTPIl): Likewise.
14335 (M_SQRT2l): Likewise.
14336 (M_SQRT1_2l): Likewise.
14337
143382012-05-31 David S. Miller <davem@davemloft.net>
14339
14340 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14341 values between float registers.
14342 * sysdeps/sparc/sparc64/memset.S: Likewise.
14343 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14344
143452012-05-31 Mike Frysinger <vapier@gentoo.org>
14346
14347 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14348 -D_FORTIFY_SOURCE=1.
14349 (CPPFLAGS-tst-longjmp_chk.c): Define.
14350 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14351 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14352 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14353 CFLAGS-tst-wchar-h.c.
14354
143552012-05-31 Marek Polacek <polacek@redhat.com>
14356
14357 [BZ #14132]
14358 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14359 __endmntent_internal): Remove declaration.
14360 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14361 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14362 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14363
143642012-05-30 David S. Miller <davem@davemloft.net>
14365
14366 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14367 (___Q_simulate_exceptions): Use real FP ops rather than writing
14368 into the %fsr.
14369 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14370 Likewise.
14371
143722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14373
14374 [BZ #14117]
14375 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14376 * sysdeps/x86/bits/xtitypes.h: This.
14377
14378 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14379 * sysdeps/x86/bits/wordsize.h: This.
14380
14381 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14382 * sysdeps/x86/bits/huge_vall.h: This.
14383
14384 * sysdeps/i386/bits/select.h: Removed.
14385 * sysdeps/x86_64/bits/select.h: Renamed to ...
14386 * sysdeps/x86/bits/select.h: This.
14387
14388 * sysdeps/i386/bits/setjmp.h: Removed.
14389 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14390 * sysdeps/x86/bits/setjmp.h: This.
14391
14392 * sysdeps/i386/bits/mathdef.h: Removed.
14393 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14394 * sysdeps/x86/bits/mathdef.h: This.
14395
143962012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14397
14398 [BZ #14132]
14399 * include/sys/socket.h (__connect_internal)
14400 (__libc_sa_len_internal): Remove declaration.
14401 (__connect, __libc_sa_len): Declare hidden_proto.
14402 (SA_LEN): Remove use of INTUSE.
14403 * socket/connect.c: Add libc_hidden_def.
14404 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14405 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14406 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14407 alias.
14408 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14409 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14410 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14411 of adding _internal alias.
14412
144132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14414
14415 [BZ #14117]
14416 * sysdeps/i386/bits/link.h: Removed.
14417 * sysdeps/i386/bits/linkmap.h: Likewise.
14418 * sysdeps/x86_64/bits/link.h: Renamed to ...
14419 * sysdeps/x86/bits/link.h: This.
14420 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14421 * sysdeps/x86/bits/linkmap.h: This.
14422
14423 * sysdeps/i386/bits/endian.h: Removed.
14424 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14425 * sysdeps/x86/bits/endian.h: This.
14426
14427 * sysdeps/i386/bits/byteswap.h: Removed.
14428 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14429 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14430 * sysdeps/x86/bits/byteswap.h: This.
14431 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14432 * sysdeps/x86/bits/byteswap-16.h: This.
14433 * sysdeps/i386/Implies: Add x86.
14434 * sysdeps/x86_64/Implies: Likewise.
14435
144362012-05-30 David S. Miller <davem@davemloft.net>
14437
14438 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14439 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14440 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14441 (FP_TRAPPING_EXCEPTIONS): Define.
14442 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14443 (FP_TRAPPING_EXCEPTIONS): Define.
14444 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14445 subnormals only when inexact has been signalled or underflow
14446 exceptions are enabled.
14447 (_FP_PACK_CANONICAL): Likewise.
14448
144492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14450
14451 [BZ #14183]
14452 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14453 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14454
144552012-05-30 Richard Henderson <rth@twiddle.net>
14456
14457 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14458 with #ifndef NOT_IN_libc.
14459
14460 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14461 marked to avoid plt entry.
14462
144632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14464
14465 [BZ #14112]
14466 * Makeconfig (default-abi): New macro.
14467 (abi-includes): Likewise.
14468 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14469 $(abi-$(default-abi)-lib-soname) for soname if defined.
14470 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14471 abi-variants.
14472 * Makefile (installed-stubs): Likewise.
14473 * include/stubs-biarch.h: Removed.
14474 * scripts/lib-names.awk: Only handle one library at a time.
14475 * scripts/soversions.awk: Remove WORDSIZE support.
14476 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14477 entries.
14478 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14479 Removed.
14480 (syscall-list-default-condition): Likewise.
14481 (syscall-list-default-condition): Likewise.
14482 (syscall-list-includes): Likewise.
14483 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14484 syscall-list-* with abi-*. Handle undefined abi-variants.
14485 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14486 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14487 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14488 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14489 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14490 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14491 Removed.
14492 (syscall-list-32-options): Likewise.
14493 (syscall-list-32-condition): Likewise.
14494 (syscall-list-64-options): Likewise.
14495 (syscall-list-64-condition): Likewise.
14496 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14497 macro.
14498 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14499 Renamed to ...
14500 (abi-*): This.
14501 (abi-64-ld-soname): New macro.
14502 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14503 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14504 Renamed to ...
14505 (abi-*): This.
14506 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14507 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14508
145092012-05-30 Joseph Myers <joseph@codesourcery.com>
14510
14511 * sysdeps/unix/sysv/linux/kernel-features.h
14512 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14513 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14514 include <kernel-features.h>.
14515 [!__NR_ftruncate64]: Remove conditional code.
14516 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14517 [__NR_ftruncate64]: Make code unconditional.
14518 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14519 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14520 include <kernel-features.h>.
14521 [!__NR_ftruncate64]: Remove conditional code.
14522 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14523 [__NR_ftruncate64]: Make code unconditional.
14524 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14526 include <kernel-features.h>.
14527 [!__NR_ftruncate64]: Remove conditional code.
14528 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14529 [__NR_ftruncate64]: Make code unconditional.
14530 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14532 include <kernel-features.h>.
14533 [!__NR_ftruncate64]: Remove conditional code.
14534 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14535 [__NR_ftruncate64]: Make code unconditional.
14536 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14537
14538 * configure.in (libc_cv_fpie): Weaken to a compile test using
14539 LIBC_TRY_CC_OPTION.
14540 * configure: Regenerated.
14541
145422012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14543
14544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14548 Refreshed.
14549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14555 Refreshed.
14556
145572012-05-27 David S. Miller <davem@davemloft.net>
14558
14559 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14560 (___Q_zero): New.
14561 (__Q_simulate_exceptions): Return void. Change to simulate
14562 exceptions by writing into the %fsr.
14563 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14564 (__Qp_handle_exceptions): Likewise.
14565 (numbers): Delete.
14566 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14567 __Qp_handle_exceptions.
14568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14569 __Qp_handle_exceptions.
14570 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14571 as unused and give dummy FP_RND_NEAREST initializer.
14572 (FP_INHIBIT_RESULTS): Define.
14573 (___Q_simulate_exceptions): Update declaration.
14574 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14575 formatting.
14576 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14577 as unused and give dummy FP_RND_NEAREST initializer.
14578 (__Qp_handle_exceptions): Update declaration.
14579 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14580 formatting.
14581
145822012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14583
14584 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14585 the temporary FPU control word.
14586 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14587 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14588 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14589 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14590 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14591 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14592 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14593 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14594 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14595 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14596 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14597
145982012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14599
14600 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14601 fields.
14602
146032012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14604
14605 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14606 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14607 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14608 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14609 Likewise.
14610 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14611 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14612 Likewise.
14613
146142012-05-27 Ulrich Drepper <drepper@gmail.com>
14615
14616 * po/h.po: Update from translation team.
14617
146182012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14619
14620 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14621
14622 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14623 handling of denormals.
14624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14625 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14626 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14627 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14629 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14630 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14631 Likewise.
14632
146332012-05-26 Marek Polacek <polacek@redhat.com>
14634
14635 [BZ #14152]
14636 * math/libm-test.inc (fma_test): Don't always expect underflow
14637 exception.
14638
146392012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14640
14641 [BZ #12416]
14642 * elf/tst-execstack.c: Include stackinfo.h.
14643 (do_test): Adjust test case to ensure that pthread_getattr_np
14644 behaviour remains the same after marking stack executable.
14645
146462012-05-25 Joseph Myers <joseph@codesourcery.com>
14647
14648 * sysdeps/unix/sysv/linux/kernel-features.h
14649 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14650 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14651 kernel-features.h.
14652 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14653 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14654 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14655 kernel-features.h.
14656 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14657 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14658
146592012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14660
14661 * configure.in: Define the default includes to being none.
14662 * configure: Regenerated.
14663
146642012-05-25 Roland McGrath <roland@hack.frob.com>
14665
14666 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14667 * sysdeps/x86_64/setjmp.S: Likewise.
14668 * sysdeps/i386/bsd-setjmp.S: Likewise.
14669 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14670 * sysdeps/i386/setjmp.S: Likewise.
14671 * sysdeps/i386/__longjmp.S: Likewise.
14672 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14673 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14674
14675 * include/stap-probe.h: New file.
14676 * configure.in: Handle --enable-systemtap.
14677 * configure: Regenerated.
14678 * config.h.in (USE_STAP_PROBE): New #undef.
14679 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14680 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14681 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14682
146832012-05-25 Joseph Myers <joseph@codesourcery.com>
14684
14685 [BZ #13717]
14686 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14687 to 2.4.0 where earlier.
14688 * sysdeps/unix/sysv/linux/configure: Regenerated.
14689 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14690 <kernel-features.h>.
14691 [__ASSUME_32BITUIDS]: Make code unconditional.
14692 [!__ASSUME_32BITUIDS]: Remove conditional code.
14693 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14694 <kernel-features.h>.
14695 [__ASSUME_32BITUIDS]: Make code unconditional.
14696 [!__ASSUME_32BITUIDS]: Remove conditional code.
14697 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14698 [__ASSUME_32BITUIDS]: Make code unconditional.
14699 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14700 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14701 <kernel-features.h>.
14702 [__ASSUME_32BITUIDS]: Make code unconditional.
14703 [!__ASSUME_32BITUIDS]: Remove conditional code.
14704 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14705 <kernel-features.h>.
14706 [__ASSUME_32BITUIDS]: Make code unconditional.
14707 [!__ASSUME_32BITUIDS]: Remove conditional code.
14708 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14709 <kernel-features.h>.
14710 [__ASSUME_32BITUIDS]: Make code unconditional.
14711 [!__ASSUME_32BITUIDS]: Remove conditional code.
14712 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14713 <kernel-features.h>.
14714 [__ASSUME_32BITUIDS]: Make code unconditional.
14715 [!__ASSUME_32BITUIDS]: Remove conditional code.
14716 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14717 <kernel-features.h>.
14718 [__ASSUME_32BITUIDS]: Make code unconditional.
14719 [!__ASSUME_32BITUIDS]: Remove conditional code.
14720 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14721 <kernel-features.h>.
14722 [__ASSUME_32BITUIDS]: Make code unconditional.
14723 [!__ASSUME_32BITUIDS]: Remove conditional code.
14724 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14725 <kernel-features.h>.
14726 [__ASSUME_32BITUIDS]: Make code unconditional.
14727 [!__ASSUME_32BITUIDS]: Remove conditional code.
14728 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14729 <kernel-features.h>.
14730 [__ASSUME_32BITUIDS]: Make code unconditional.
14731 [!__ASSUME_32BITUIDS]: Remove conditional code.
14732 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14733 <kernel-features.h>.
14734 [__ASSUME_32BITUIDS]: Make code unconditional.
14735 [!__ASSUME_32BITUIDS]: Remove conditional code.
14736 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14737 <kernel-features.h>.
14738 [__ASSUME_32BITUIDS]: Make code unconditional.
14739 [!__ASSUME_32BITUIDS]: Remove conditional code.
14740 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14741 <kernel-features.h>.
14742 [__NR_setresgid] (__setresgid): Do not declare.
14743 [__ASSUME_32BITUIDS]: Make code unconditional.
14744 [!__ASSUME_32BITUIDS]: Remove conditional code.
14745 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14746 <kernel-features.h>.
14747 [__NR_setresuid] (__setresuid): Do not declare.
14748 [__ASSUME_32BITUIDS]: Make code unconditional.
14749 [!__ASSUME_32BITUIDS]: Remove conditional code.
14750 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14751 <kernel-features.h>.
14752 [__ASSUME_32BITUIDS]: Make code unconditional.
14753 [!__ASSUME_32BITUIDS]: Remove conditional code.
14754 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14755 <kernel-features.h>.
14756 [__ASSUME_32BITUIDS]: Make code unconditional.
14757 [!__ASSUME_32BITUIDS]: Remove conditional code.
14758 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14759 <kernel-features.h>.
14760 [__ASSUME_32BITUIDS]: Make code unconditional.
14761 [!__ASSUME_32BITUIDS]: Remove conditional code.
14762 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14763 <kernel-features.h>.
14764 [__ASSUME_32BITUIDS]: Make code unconditional.
14765 [!__ASSUME_32BITUIDS]: Remove conditional code.
14766 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14767 <kernel-features.h>.
14768 [__ASSUME_32BITUIDS]: Make code unconditional.
14769 [!__ASSUME_32BITUIDS]: Remove conditional code.
14770 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14771 <kernel-features.h>.
14772 [__ASSUME_32BITUIDS]: Make code unconditional.
14773 [!__ASSUME_32BITUIDS]: Remove conditional code.
14774 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14775 <kernel-features.h>.
14776 [__ASSUME_32BITUIDS]: Make code unconditional.
14777 [!__ASSUME_32BITUIDS]: Remove conditional code.
14778 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14779 <kernel-features.h>.
14780 [__ASSUME_32BITUIDS]: Make code unconditional.
14781 [!__ASSUME_32BITUIDS]: Remove conditional code.
14782 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14783 <kernel-features.h>.
14784 [__ASSUME_32BITUIDS]: Make code unconditional.
14785 [!__ASSUME_32BITUIDS]: Remove conditional code.
14786 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14787 <kernel-features.h>.
14788 [__ASSUME_32BITUIDS]: Make code unconditional.
14789 [!__ASSUME_32BITUIDS]: Remove conditional code.
14790 * sysdeps/unix/sysv/linux/kernel-features.h
14791 (__ASSUME_SETRESUID_SYSCALL): Remove.
14792 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14793 (__ASSUME_32BITUIDS): Likewise.
14794 (__ASSUME_LDT_WORKS): Likewise.
14795 (__ASSUME_O_DIRECTORY): Likewise.
14796 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14797 architecture but not kernel version.
14798 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14799 (__ASSUME_MMAP2_SYSCALL): Likewise.
14800 (__ASSUME_STAT64_SYSCALL): Likewise.
14801 (__ASSUME_IPC64): Likewise.
14802 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14803 <kernel-features.h>.
14804 [__ASSUME_32BITUIDS]: Make code unconditional.
14805 [!__ASSUME_32BITUIDS]: Remove conditional code.
14806 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14807 <kernel-features.h>.
14808 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14809 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14810 132096]: Remove conditional code.
14811 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14812 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14813 <kernel-features.h>.
14814 [__ASSUME_32BITUIDS]: Make code unconditional.
14815 [!__ASSUME_32BITUIDS]: Remove conditional code.
14816 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14817 <kernel-features.h>.
14818 [__ASSUME_32BITUIDS]: Make code unconditional.
14819 [!__ASSUME_32BITUIDS]: Remove conditional code.
14820 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14821 <kernel-features.h>.
14822 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14823 unconditional.
14824 (__setresgid): Do not declare.
14825 [__ASSUME_32BITUIDS]: Make code unconditional.
14826 [!__ASSUME_32BITUIDS]: Remove conditional code.
14827 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14828 <kernel-features.h>.
14829 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14830 unconditional.
14831 (__setresuid): Do not declare.
14832 [__ASSUME_32BITUIDS]: Make code unconditional.
14833 [!__ASSUME_32BITUIDS]: Remove conditional code.
14834 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
14839 <kernel-features.h>.
14840 [__ASSUME_32BITUIDS]: Make code unconditional.
14841 [!__ASSUME_32BITUIDS]: Remove conditional code.
14842
148432012-05-25 Richard Henderson <rth@twiddle.net>
14844
14845 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14846 dl_hwcap to ifunc resolver.
14847 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14848 elf_ifunc_invoke.
14849 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14850 dl_hwcap to ifunc resolver.
14851 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14852
148532012-05-24 Joseph Myers <joseph@codesourcery.com>
14854
14855 [BZ #14153]
14856 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14857 for |x| <= 2**-26, not 2**-57.
14858 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14859 exception.
14860
148612012-05-24 Jeff Law <law@redhat.com>
14862
14863 * stdio-common/Makefile (tests): Add bug25.
14864 * stdio-common/bug25.c: New test.
14865
148662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14867
14868 [BZ #13576]
14869 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14870 multiple of MALLOC_ALIGNMENT in size.
14871 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14872
148732012-05-24 Joseph Myers <joseph@codesourcery.com>
14874
14875 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14876 Require >= 256.
14877 (FILENAME_MAX): Use macro-int-constant.
14878 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14879 (_IOFBF): Use macro-int-constant.
14880 (_IOLBF): Likewise.
14881 (_IONBF): Likewise.
14882 (SEEK_CUR): Likewise.
14883 (SEEK_END): Likewise.
14884 (SEEK_SET): Likewise.
14885 (TMP_MAX): Likewise.
14886 (EOF): Use macro-int-constant. Require < 0.
14887 (NULL): Use macro-constant. Require == 0.
14888 (stdin): Require type to be FILE *.
14889 (stdout): Likewise.
14890 (stderr): Likewise.
14891 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14892 macro-int-constant.
14893 (EXIT_SUCCESS): Likewise.
14894 (NULL): Use macro-constant. Require == 0.
14895 (RAND_MAX): Use macro-int-constant.
14896 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14897 [C99-based standards] (strtof): Require function.
14898 [C99-based standards] (strtold): Likewise.
14899 [C99-based standards] (strtoll): Likewise.
14900 [C99-based standards] (strtoull): Likewise.
14901 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14902 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14903 [ISO || ISO99 || ISO11] (math.h): Likewise.
14904 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14905 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14907
149082012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14909
14910 [BZ #14132]
14911 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14912 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14913 * intl/dgettext.c (DCGETTEXT): Likewise.
14914 * intl/gettext.c (DCGETTEXT): Likewise.
14915 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14916 * posix/regex_internal.h (gettext): Likewise.
14917 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14918 Remove declaration.
14919 * include/argz.h (__argz_count_internal)
14920 (__argz_stringify_internal): Remove declaration.
14921 (__argz_count, __argz_stringify): Declare hidden proto.
14922 * intl/dcgettext.c: Remove use of INTDEF.
14923 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14924 * string/argz-stringify.c: Likewise.
14925 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14926 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14927 Declare hidden proto.
14928 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14929 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14930 Declare hidden proto.
14931 * include/stdio.h (__asprintf_internal): Don't declare.
14932 (__asprintf): Don't define as macro. Declare hidden proto.
14933 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14934 (__fsetlocking): Declare hidden proto.
14935 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14936 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14937 hidden proto.
14938 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14939 (_IO_setlinebuf): Remove use of INTUSE.
14940 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14941 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14942 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14943 Remove declaration.
14944 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14945 (_IO_do_flush): Remove use of INTUSE.
14946 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14947 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14948 (_IO_adjust_column, _IO_least_wmarker)
14949 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14950 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14951 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14952 (_IO_default_doallocate, _IO_wdefault_doallocate)
14953 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14954 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14955 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14956 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14957 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14958 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14959 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14960 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14961 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14962 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14963 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14964 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
14965 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
14966 proto.
14967 (_IO_flush_all_internal, _IO_adjust_column_internal)
14968 (_IO_default_uflow_internal, _IO_default_finish_internal)
14969 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
14970 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
14971 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
14972 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
14973 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
14974 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
14975 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
14976 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
14977 (_IO_file_close_internal, _IO_file_close_it_internal)
14978 (_IO_file_underflow_internal, _IO_file_overflow_internal)
14979 (_IO_file_init_internal, _IO_file_attach_internal)
14980 (_IO_file_fopen_internal, _IO_file_read_internal)
14981 (_IO_file_sync_internal, _IO_file_seek_internal)
14982 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
14983 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
14984 (_IO_str_underflow_internal, _IO_str_overflow_internal)
14985 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
14986 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
14987 (_IO_list_all_internal, _IO_link_in_internal)
14988 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
14989 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
14990 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
14991 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
14992 (_IO_do_write_internal, _IO_padn_internal)
14993 (_IO_getline_info_internal, _IO_getline_internal)
14994 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
14995 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
14996 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
14997 (_IO_vfscanf_internal, _IO_vfprintf_internal)
14998 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
14999 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15000 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15001 with libc_hidden_ver, remove use of INTUSE.
15002 * libio/genops.c: Likewise.
15003 * libio/freopen.c: Likewise.
15004 * libio/freopen64.c: Likewise.
15005 * libio/iofclose.c: Likewise.
15006 * libio/iofdopen.c: Likewise.
15007 * libio/iofflush.c: Likewise.
15008 * libio/iofflush_u.c: Likewise.
15009 * libio/iofgets.c: Likewise.
15010 * libio/iofgets_u.c: Likewise.
15011 * libio/iofopen.c: Likewise.
15012 * libio/iofopncook.c: Likewise.
15013 * libio/iofread.c: Likewise.
15014 * libio/iofread_u.c: Likewise.
15015 * libio/ioftell.c: Likewise.
15016 * libio/iofwrite.c: Likewise.
15017 * libio/iogetline.c: Likewise.
15018 * libio/iogets.c: Likewise.
15019 * libio/iogetwline.c: Likewise.
15020 * libio/iopadn.c: Likewise.
15021 * libio/iopopen.c: Likewise.
15022 * libio/ioseekoff.c: Likewise.
15023 * libio/ioseekpos.c: Likewise.
15024 * libio/iosetbuffer.c: Likewise.
15025 * libio/iosetvbuf.c: Likewise.
15026 * libio/ioungetc.c: Likewise.
15027 * libio/ioungetwc.c: Likewise.
15028 * libio/iovdprintf.c: Likewise.
15029 * libio/iovsprintf.c: Likewise.
15030 * libio/iovsscanf.c: Likewise.
15031 * libio/memstream.c: Likewise.
15032 * libio/obprintf.c: Likewise.
15033 * libio/oldfileops.c: Likewise.
15034 * libio/oldiofclose.c: Likewise.
15035 * libio/oldiofdopen.c: Likewise.
15036 * libio/oldiofopen.c: Likewise.
15037 * libio/oldiopopen.c: Likewise.
15038 * libio/oldstdfiles.c: Likewise.
15039 * libio/putc.c: Likewise.
15040 * libio/setbuf.c: Likewise.
15041 * libio/setlinebuf.c: Likewise.
15042 * libio/stdfiles.c: Likewise.
15043 * libio/strops.c: Likewise.
15044 * libio/vasprintf.c: Likewise.
15045 * libio/vscanf.c: Likewise.
15046 * libio/vsnprintf.c: Likewise.
15047 * libio/vswprintf.c: Likewise.
15048 * libio/wfiledoalloc.c: Likewise.
15049 * libio/wfileops.c: Likewise.
15050 * libio/wgenops.c: Likewise.
15051 * libio/wmemstream.c: Likewise.
15052 * libio/wstrops.c: Likewise.
15053 * libio/__fpurge.c: Likewise.
15054 * libio/__fsetlocking.c: Likewise.
15055 * assert/assert.c: Likewise.
15056 * debug/fgets_chk.c: Likewise.
15057 * debug/fgets_u_chk.c: Likewise.
15058 * debug/fread_chk.c: Likewise.
15059 * debug/fread_u_chk.c: Likewise.
15060 * debug/gets_chk.c: Likewise.
15061 * debug/obprintf_chk.c: Likewise.
15062 * debug/vasprintf_chk.c: Likewise.
15063 * debug/vdprintf_chk.c: Likewise.
15064 * debug/vsnprintf_chk.c: Likewise.
15065 * debug/vsprintf_chk.c: Likewise.
15066 * malloc/mtrace.c: Likewise.
15067 * misc/error.c: Likewise.
15068 * misc/syslog.c: Likewise.
15069 * stdio-common/asprintf.c: Likewise.
15070 * stdio-common/fxprintf.c: Likewise.
15071 * stdio-common/getw.c: Likewise.
15072 * stdio-common/isoc99_fscanf.c: Likewise.
15073 * stdio-common/isoc99_scanf.c: Likewise.
15074 * stdio-common/isoc99_vfscanf.c: Likewise.
15075 * stdio-common/isoc99_vscanf.c: Likewise.
15076 * stdio-common/isoc99_vsscanf.c: Likewise.
15077 * stdio-common/printf-prs.c: Likewise.
15078 * stdio-common/printf_fp.c: Likewise.
15079 * stdio-common/printf_fphex.c: Likewise.
15080 * stdio-common/printf_size.c: Likewise.
15081 * stdio-common/putw.c: Likewise.
15082 * stdio-common/scanf.c: Likewise.
15083 * stdio-common/sprintf.c: Likewise.
15084 * stdio-common/tmpfile.c: Likewise.
15085 * stdio-common/vfprintf.c: Likewise.
15086 * stdio-common/vfscanf.c: Likewise.
15087 * stdlib/strfmon_l.c: Likewise.
15088 * sunrpc/openchild.c: Likewise.
15089 * sunrpc/xdr_stdio.c: Likewise.
15090 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15091 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15092
150932012-05-24 Roland McGrath <roland@hack.frob.com>
15094
15095 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15096
15097 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15098 in the third column, to generate for the shared library an IFUNC
15099 that uses _dl_vdso_vsym.
15100 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15101 * Makeconfig (object-suffixes-noshared): New variable.
15102
15103 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15104 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15105 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15106 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15107
15108 [BZ #14132]
15109 * include/sys/time.h (__gettimeofday): Remove macro.
15110 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15111 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15112 Remove INTDEF.
15113 (__gettimeofday): Add libc_hidden_def.
15114 (gettimeofday): Add libc_hidden_weak.
15115 * sysdeps/mach/gettimeofday.c: Likewise.
15116 * sysdeps/posix/gettimeofday.c: Likewise.
15117 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15118 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15120 (__gettimeofday_internal): Remove strong_alias.
15121 (__gettimeofday): Add libc_hidden_def.
15122 (gettimeofday): Add libc_hidden_weak.
15123 * sysdeps/unix/syscalls.list (gettimeofday):
15124 Remove __gettimeofday_internal alias.
15125
151262012-05-24 Daniel Jacobowitz <drow@false.org>
15127 H.J. Lu <hongjiu.lu@intel.com>
15128
15129 [BZ #12495]
15130 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15131 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15132 (largebin_index_32_big): New.
15133 (largebin_index): Use it for 16-byte alignment.
15134 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15135 correction with front_misalign.
15136
151372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15138
15139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15141 Likewise.
15142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15143 Likewise.
15144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15145 Likewise.
15146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15147 Likewise.
15148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15149 Likewise.
15150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15151 Likewise.
15152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15153 Likewise.
15154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15155 Likewise.
15156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15157 Likewise.
15158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15159 Likewise.
15160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15161 Likewise.
15162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15163 Likewise.
15164
15165 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15166 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15167
151682012-05-24 Joseph Myers <joseph@codesourcery.com>
15169
15170 [BZ #10846]
15171 [BZ #14036]
15172 * math/libm-test.inc (exp_test): Add test from bug 14036.
15173 (pow_test): Add test from bug 10846.
15174
15175 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15176 and other flags.
15177 (special_function): Do not include flags in test name.
15178 (parse_args): Likewise.
15179 * sysdeps/i386/fpu/libm-test-ulps: Update.
15180 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15181 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15182 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15184
15185 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15186 exceptions.
15187 * math/libm-test.inc ("Philosophy"): Update comment about
15188 exception testing.
15189 (UNDERFLOW_EXCEPTION): New macro.
15190 (UNDERFLOW_EXCEPTION_OK): Likewise.
15191 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15192 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15193 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15194 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15195 (INVALID_EXCEPTION_OK): Update value.
15196 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15197 (OVERFLOW_EXCEPTION_OK): Likewise.
15198 (IGNORE_ZERO_INF_SIGN): Likewise.
15199 (test_exceptions): Handle underflow exceptions.
15200 (acos_test): Update for underflow exception expectations.
15201 (cexp_test): Likewise.
15202 (clog_test): Likewise.
15203 (clog10_test): Likewise.
15204 (csqrt_test): Likewise.
15205 (ctan_test): Likewise.
15206 (ctanh_test): Likewise.
15207 (exp_test): Likewise.
15208 (exp10_test): Likewise.
15209 (exp2_test): Likewise.
15210 (expm1_test): Likewise.
15211 (fma_test): Likewise.
15212 (j0_test): Likewise.
15213 (jn_test): Likewise.
15214 (nexttoward_test): Likewise.
15215 (pow_test): Likewise.
15216 (scalbn_test): Likewise.
15217 (scalbln_test): Likewise.
15218 (tan_test): Likewise.
15219 (y1_test): Likewise.
15220 * sysdeps/i386/fpu/libm-test-ulps: Update.
15221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15222
152232012-05-23 David S. Miller <davem@davemloft.net>
15224
15225 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15226 (__libc_sigaction): Remove unused local variables.
15227
152282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15229
15230 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15231
152322012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15233
15234 mktime: avoid signed integer overflow
15235 * time/mktime.c (__mktime_internal): Do not mishandle the case
15236 where diff == INT_MIN.
15237
15238 mktime: simplify computation of average
15239 * time/mktime.c (ranged_convert): Use new time_t_avg function
15240 instead of rolling our own (probably-slower) code.
15241
15242 mktime: do not assume signed right shift propagates sign bit
15243 * time/mktime.c (isdst_differ): New static function.
15244 (__mktime_internal): No need to normalize tm_isdst now.
15245 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15246 tm_isdst values.
15247
15248 mktime: merge another wrapv change from gnulib
15249 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15250 from some compilers.
15251
15252 mktime: remove incorrect attempt at unusual arithmetics
15253 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15254 The code didn't really work on such machines anyway.
15255 (TYPE_MINIMUM): Assume two's complement.
15256 (twos_complement_arithmetic): Verify that long_int and time_t
15257 are two's complement (or unsigned, in the latter case).
15258
15259 mktime: check signed shifts on long_int and time_t, too
15260 * time/mktime.c (SHR): Check that shifts work as desired
15261 on the types long_int and time_t too, as SHR is used on
15262 such types.
15263
15264 mktime: do not assume 'long' is wide enough
15265 * time/mktime.c (verify): Move decl up.
15266 (long_int): New type.
15267 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15268 to remove assumption in the code that 'long' is wide enough to
15269 store year values. This assumption is not true on x32 and on
15270 some non-glibc platforms.
15271
15272 mktime: merge wrapv change from gnulib
15273 * time/mktime.c (WRAPV): New macro.
15274 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15275 (guess_time_tm, __mktime_internal): Do not assume that signed
15276 integer overflow wraps around; modern compilers generate code
15277 where this assumption is no longer valid.
15278
152792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15280
15281 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15282 Replace "jmp L(pseudo_end)" with "ret".
15283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15284 Likewise.
15285
152862012-05-23 Andreas Jaeger <aj@suse.de>
15287
15288 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15289 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15290
152912012-05-23 Andreas Jaeger <aj@suse.de>
15292 Maximilian Attems <max@stro.at>
15293
15294 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15295 New macros.
15296
152972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15298
15299 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15300 code so that pseudo_end is just ret and the stack pointer is
15301 correct also for static library in error case.
15302
153032012-05-23 Joseph Myers <joseph@codesourcery.com>
15304
15305 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15306 move to syscalls.list.
15307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15311
15312 * manual/install.texi (Running make install): Do not mention Linux
15313 kernel version for which pt_chown is not needed.
15314 (Linux): Do not mention problems with nscd with 2.0 kernels.
15315 * INSTALL: Regenerated.
15316
153172012-05-23 Andreas Jaeger <aj@suse.de>
15318
15319 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15320 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15321 macro.
15322 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15323 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15324 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15325 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15326 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15327 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15328 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15329 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15330 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15331 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15332 * sysdeps/unix/sysv/linux/bits/in.h
15333 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15334
153352012-05-22 Roland McGrath <roland@hack.frob.com>
15336
15337 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15338 (PREPARE_VERSION): Just use assert instead, it will be elided
15339 under [NDEBUG] anyway.
15340
153412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15342
15343 * sysdeps/unix/sysv/linux/Makefile: Include
15344 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
15345 (sysdep_routines): Remove sysctl.
15346 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15347 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15348 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15349 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15350 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15351
153522012-05-22 Andreas Jaeger <aj@suse.de>
15353
15354 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15355 that pseudo_end is just ret and the stack pointer is correct also
15356 for static library in error case.
15357
153582012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15359
15360 [BZ #14122]
15361 * nss/nsswitch.c (defconfig_entries): New variable.
15362 (__nss_database_lookup): Don't leak defconfig entries.
15363 (nss_parse_service_list): Don't leak on error paths.
15364 (free_database_entries): New function.
15365 (free_defconfig): New function.
15366 (free_mem): Move common code to free_database_entries.
15367
153682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15369
15370 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15371 Add arch_prctl.
15372 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15373
15374 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15375 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15377 New macro.
15378 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15379 (INTERNAL_SYSCALL_TYPES): Likewise.
15380 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15381 (LOAD_REGS_TYPES_[1-6]): Likewise.
15382 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15383 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15384
153852012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15386
15387 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15388 copysignl for GLIBC_2_0.
15389 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15390 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15392 logbl for GLIBC_2_0.
15393 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15394 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15395
153962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15397
15398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15399 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15400
15401 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15402 Use "neg %eax".
15403
15404 * time/mktime.c: Update copyright years.
15405
154062012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15407
15408 mktime: merge comment-quoting-style change from gnulib
15409 * time/mktime.c: Quote 'like this' in comments.
15410 The GNU coding standards suggest that we no longer quote `like this',
15411 as "`" and "'" are typically rendered asymmetrically nowadays.
15412 The typical gnulib style is to quote 'like this' when quoting
15413 code, and "like this" when quoting English.
15414
15415 * time/mktime.c (compile-command): Add "-I.".
15416
15417 mktime: merge mktime-internal.h change from gnulib
15418 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15419
15420 mktime: merge time_r change from gnulib
15421 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15422
15423 mktime: merge DEBUG change from gnulib
15424 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15425 case system <time.h> has a #define.
15426
15427 mktime: merge <sys/types.h> change from gnulib
15428 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15429 since <time.t> is now guaranteed to define time_t.
15430
15431 mktime: merge HAVE_CONFIG_H change from gnulib
15432 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15433
154342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15435
15436 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15437 Use "neg %eax".
15438
15439 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15440 __rlim_t cast.
15441 (struct rusage): Use anonymous union to pad each field to
15442 __syscall_slong_t.
15443
154442012-05-21 David S. Miller <davem@davemloft.net>
15445
15446 * Makefules (o-iterator): Remove .s cases.
15447 (compile-command.s): Delete.
15448 (COMPILE.s): Delete.
15449 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15450
154512012-05-21 Joseph Myers <joseph@codesourcery.com>
15452
15453 * configure.in (libc_cv_predef_stack_protector): Only consider
15454 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15455 * configure: Regenerated.
15456
154572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15458
15459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15460 New macro. Use R*LP on int and pointer.
15461 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
15462 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15463 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
15464 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15465
15466 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15467 [__WORDSIZE_TIME64_COMPAT32] instead of
15468 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15469 (struct utmp): Likewise.
15470 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15471 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15472 Renamed to ...
15473 (__WORDSIZE_TIME64_COMPAT32): This.
15474 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15475 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15476 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15477 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15478 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15479 (__WORDSIZE_TIME64_COMPAT32): New macro.
15480
154812012-05-21 Andreas Jaeger <aj@suse.de>
15482
15483 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15484 only if [SHARED]. Add prototype for __wcschr_ia32.
15485
154862012-05-21 Roland McGrath <roland@hack.frob.com>
15487
15488 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15489 of %rbp unmolested in the jmp_buf while mangling the low bits.
15490 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15491 unmolested high bits of %rbp while demangling the low bits.
15492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15493
154942012-05-21 Andreas Jaeger <aj@suse.de>
15495
15496 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15497 * sunrpc/svc_simple.c: Use it for registerrpc.
15498 * sunrpc/xcrypt.c: Use it for passwd2des.
15499
15500 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15501
155022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15503
15504 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15505 Don't define if [__SYSCALL_WORDSIZE != 32].
15506 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15507 New macro.
15508
155092012-05-21 Bruno Haible <bruno@clisp.org>
15510 Andreas Jaeger <aj@suse.de>
15511
15512 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15513 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15514 inptr and inend for must_buffer_ch.
15515 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15516 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15517 * stdio-common/Makefile (tests): Remove bug15.
15518 (bug15-ENV): Remove macro.
15519 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15520 anymore.
15521
155222012-05-19 Andreas Jaeger <aj@suse.de>
15523 Roland McGrath <roland@hack.frob.com>
15524
15525 * manual/contrib.texi: Completely rewritten. It contains now an
15526 alphabetical list of contributors and their contributions.
15527
155282012-05-21 Richard Henderson <rth@twiddle.net>
15529
15530 * misc/getauxval.c (__getauxval): Use unsigned long int.
15531 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15532 (getauxval): Use unsigned long int.
15533
155342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15535
15536 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15537
155382012-05-21 Roland McGrath <roland@hack.frob.com>
15539
15540 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15541 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15542 __alignof__ (long double).
15543
155442012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15545
15546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15547
155482012-05-20 Richard Henderson <rth@twiddle.net>
15549
15550 * misc/getauxval.c: New file.
15551 * misc/sys/auxv.h: New file.
15552 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15553 (routines): Add getauxval.
15554 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15555 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15556 * elf/dl-sysdep.c (_dl_auxv): Remove.
15557 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15558 * elf/dl-support.c (_dl_auxv): New variable.
15559 (_dl_aux_init): Initialize it.
15560 * manual/startup.texi (Auxiliary Vector): New node.
15561 * sysdeps/generic/bits/hwcap.h: New file.
15562 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15563 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15564 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15565 * sysdeps/sparc/sysdep.h: ... here. Include it.
15566 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15567 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15569 Update.
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15578
155792012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15580
15581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15582
155832012-05-19 David S. Miller <davem@davemloft.net>
15584
15585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15586
155872012-05-19 Joseph Myers <joseph@codesourcery.com>
15588
15589 [BZ #14123]
15590 * math/s_ccosh.c: Include <float.h>
15591 (__ccosh): Avoid internal overflow calculating sinh and cosh
15592 values before multiplying by sin and cos values.
15593 * math/s_ccoshf.c: Likewise.
15594 * math/s_ccoshl.c: Likewise.
15595 * math/s_csin.c: Likewise.
15596 * math/s_csinf.c: Likewise.
15597 * math/s_csinl.c: Likewise.
15598 * math/s_csinh.c: Likewise.
15599 * math/s_csinhf.c: Likewise.
15600 * math/s_csinhl.c: Likewise.
15601 * math/libm-test.inc (ccos_test): Add more tests.
15602 (ccosh_test): Likewise.
15603 (csin_test): Likewise.
15604 (csinh_test): Likewise.
15605 * sysdeps/i386/fpu/libm-test-ulps: Update.
15606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15607
156082012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15609
15610 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15611 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15612
15613 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15614
156152012-05-19 Joseph Myers <joseph@codesourcery.com>
15616
15617 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15618 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15619 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15620 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15621 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15622 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15623 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15624 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15625 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15626 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15627 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15628 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15629 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15630 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15631 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15632 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15633 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15634 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15635 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15636 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15637 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15638 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15639 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15640 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15641 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15642 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15643 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15644 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15645 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15646 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15647 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15648
156492012-05-18 Andreas Jaeger <aj@suse.de>
15650
15651 * csu/.gitignore: Delete.
15652
156532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15654
15655 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15656 (timex): Use __syscall_slong_t.
15657
156582012-05-18 Andreas Jaeger <aj@suse.de>
15659 Carlos O'Donell <carlos_odonell@mentor.com>
15660
15661 * manual/install.texi (Configuring and compiling): Update
15662 description about files modified in the source directory.
15663 * INSTALL: Regenerated.
15664
156652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15666
15667 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15668 value. Use "or" to set return value to -1.
15669 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15670 negate return value.
15671
156722012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15673
15674 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15675 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15676 failure if the compiler has Graphite support disabled.
15677 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15678 Likewise.
15679 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15680 CFLAGS-memmove.c): Likewise.
15681 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15682 Likewise.
15683
156842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15685
15686 * sysdeps/x86_64/x32/_itoa.h: New file.
15687
15688 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15689 getdents system call only if kernel and user dirents have the
15690 same d_ino and d_off.
15691
15692 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15693 LLONG_MAX != LONG_MAX.
15694 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15695 (_fitoa_word): Likewise.
15696
15697 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15698 years.
15699 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15700 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15701 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15702
15703 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15704 include <bits/wordsize.h>. Check __x86_64__ instead of
15705 __WORDSIZE.
15706 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15707 if __x86_64__ is defined. Use anonymous union on fpstate.
15708
15709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15710 anonymous union.
15711
157122012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15713
15714 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15715 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15716 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15717 Refer to _rtld_local_ro instead of _rtld_global_ro.
15718 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15719 Likewise.
15720 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15721 Likewise.
15722 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15723 Likewise.
15724 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15725 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15726 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15727
15728 * sysdeps/powerpc/powerpc32/dl-machine.c
15729 (__elf_machine_runtime_setup) [PROF]: Don't reference
15730 _dl_prof_resolve.
15731
157322012-05-18 Andreas Jaeger <aj@suse.de>
15733
15734 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15735 function only available for GCCs before 3.4 since GCC 3.4
15736 introduced a builtin.
15737 (lrint): Likewise.
15738 (llrintf): Likewise.
15739 (llrint): Likewise.
15740 (fmaxf): Likewise.
15741 (fmax): Likewise.
15742 (fminf): Likewise.
15743 (fmin): Likewise.
15744 (rint): Likewise.
15745 (rintf): Likewise.
15746 (nearbyint): Likewise.
15747 (nearbyintf): Likewise.
15748 (ceil): Likewise.
15749 (ceilf): Likewise.
15750 (floor): Likewise.
15751 (floorf): Likewise.
15752
157532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15754
15755 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15756 on both fields and cast pointer to __syscall_ulong_t.
15757
15758 * bits/types.h (__fsword_t): New type.
15759 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15760 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15762 (__FSWORD_T_TYPE): Likewise.
15763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15764 (__FSWORD_T_TYPE): Likewise.
15765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15766 (__FSWORD_T_TYPE): Likewise.
15767 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15768 (__FSWORD_T_TYPE): Likewise.
15769 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15770 __SWORD_TYPE with __fsword_t.
15771 (statfs64): Likewise.
15772
157732012-05-17 David S. Miller <davem@davemloft.net>
15774
15775 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15776
157772012-05-17 Andreas Jaeger <aj@suse.de>
15778
15779 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15780 warning.
15781
157822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15783
15784 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15785
157862012-05-17 Andreas Jaeger <aj@suse.de>
15787
15788 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15789 when it is used.
15790
157912012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15792
15793 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15794
157952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15796
15797 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15798 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15799
158002012-05-17 Andreas Jaeger <aj@suse.de>
15801 Carlos O'Donell <carlos_odonell@mentor.com>
15802
15803 [BZ #14059]
15804 * sysdeps/x86_64/multiarch/init-arch.h
15805 (bit_YMM_Usable): Rename to...
15806 (bit_AVX_Usable): ... this.
15807 (bit_FMA4_Usable): New macro.
15808 (bit_XMM_state): New macro.
15809 (bit_YMM_state): New macro.
15810 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15811 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15812 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15813 (CPUID_OSXSAVE): New macro.
15814 (CPUID_AVX): New macro.
15815 (CPUID_FMA4): New macro.
15816 (index_YMM_Usable): Rename to...
15817 (index_AVX_Usable): ... this.
15818 (HAS_AVX): Use HAS_ARCH_FEATURE.
15819 (HAS_FMA4): Likewise.
15820 (HAS_YMM_USABLE): Remove.
15821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15822 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15823 are present.
15824 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15825 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15826 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15827 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15828 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15829
158302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15831
15832 * math/libm-test.c: Support platforms without multiple rounding modes.
15833 * math/bug-nextafter.c: Support platforms without FP exceptions.
15834 * math/bug-nexttoward.c: Likewise.
15835 * math/test-fenv.c: Likewise.
15836 * math/test-misc.c: Likewise.
15837 * stdlib/bug-getcontext.c: Likewise.
15838
158392012-05-17 Andreas Jaeger <aj@suse.de>
15840
15841 * manual/examples/search.c (critter_cmp): Change signature to
15842 avoid warnings.
15843 * manual/string.texi (Collation Functions): Likewise.
15844
158452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15846
15847 * bits/types.h: Fold copyright years.
15848 * bits/typesizes.h: Likewise.
15849 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15852 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15853 * time/time.h: Likewise.
15854
158552012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15856
15857 [BZ #208]
15858 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15859 in instead of returning them. Return void.
15860 (__libc_mallinfo): Accumulate over all arenas.
15861 (__malloc_stats): Adjust for change in int_mallinfo interface.
15862
158632012-05-16 Roland McGrath <roland@hack.frob.com>
15864
15865 [BZ #10375]
15866 * configure.in (NM): Add AC_CHECK_TOOL for it.
15867 (libc_extra_cflags): New substituted variable.
15868 Check for -fstack-protector being used implicitly.
15869 * configure: Regenerated.
15870 * config.make.in (config-extra-cflags): New variable,
15871 gets @libc_extra_cflags@.
15872 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15873
15874 [BZ #10375]
15875 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15876 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15877 * configure: Regenerated.
15878 * config.make.in (CPPUNDEFS): New substituted variable.
15879 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15880 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15881 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15882
158832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15884
15885 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15886 (mq_attr): Use __syscall_slong_t.
15887
158882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15889
15890 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15891 Check __x86_64__ instead of __WORDSIZE.
15892 (_STAT_VER_LINUX): Likewise.
15893 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15894 __syscall_ulong_t and __syscall_slong_t.
15895 (stat64): Likewise.
15896
158972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15898
15899 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15900
159012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15902
15903 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15904
159052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15906
15907 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15908 __syscall_ulong_t.
15909
15910 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15911 include <bits/wordsize.h>. Check __x86_64__ instead of
15912 __WORDSIZE.
15913 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15914 defined.
15915 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15916
15917 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15918 include <bits/wordsize.h>. Check __x86_64__ instead of
15919 __WORDSIZE.
15920 (user_regs_struct): Use "__extension__ unsigned long long"
15921 instead of "unsigned long" if __x86_64__ is defined.
15922 (user): Likewise. Pad after pointer field if __ILP32__ is
15923 defined.
15924
159252012-05-16 Joseph Myers <joseph@codesourcery.com>
15926
15927 * configure.in (makeinfo): Require version 4.5 or later. Allow
15928 versions 5 to 9.
15929 * configure: Regenerated.
15930 * manual/install.texi (texinfo): Increase version requirement to
15931 4.5 or later.
15932 * INSTALL: Regenerated.
15933
15934 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15935
159362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15937
15938 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15939
15940 * sysdeps/x86_64/x32/ffs.c: New file.
15941
15942 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15943 __syscall_ulong_t.
15944 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15945 defined. Use __syscall_ulong_t.
15946 (shminfo): Use __syscall_ulong_t.
15947 (shm_info): Likewise.
15948
15949 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15950 __syscall_ulong_t.
15951
15952 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15953 <bits/wordsize.h>.
15954 (msgqnum_t): Use __syscall_ulong_t.
15955 (msglen_t): Likewise.
15956 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
15957 __syscall_ulong_t.
15958
15959 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15960 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15961
15962 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15963
15964 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
15965 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
15966
15967 * sysvipc/sys/msg.h (msgbuf): Replace long int with
15968 __syscall_slong_t.
15969
15970 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
15971 include <bits/wordsize.h>. Check __x86_64__ instead of
15972 __WORDSIZE.
15973
15974 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
15975 "unsigned long long int" if __x86_64__ is defined.
15976 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
15977
15978 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
15979 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15980 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
15981
15982 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
15983 <stdint.h>.
15984 (GET_PC): Cast to uintptr_t first.
15985 (GET_FRAME): Likewise.
15986 (GET_STACK): Likewise.
15987
15988 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
15989 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
15990 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
15991 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
15992 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
15993 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
15994 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
15995 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
15996 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15997 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
15998 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
15999 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16000 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16001 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16002 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16003 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16004 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16005 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16006 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16007 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16008 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16009 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16010 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16011 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16012 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16013 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16014 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16015 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16016 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16017
160182012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16019
16020 * Makerules (+depfiles): Also collect depfiles from .oS in
16021 $(extra-objs).
16022 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16023 .oS, $(libnldbl-routines)).
16024
16025 * Makerules (native-compile-mkdep-flags): Define.
16026 * sunrpc/Makefile (extra-objs): Add $(addprefix
16027 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16028 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16029 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16030 calling $(make-target-directory).
16031
160322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16033
16034 * bits/types.h (__snseconds_t): Removed.
16035 * time/time.h (struct timespec): Replace __snseconds_t with
16036 __syscall_slong_t.
16037 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16038 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16039 Likewise.
16040 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16041 (__SNSECONDS_T_TYPE): Likewise.
16042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16043 (__SNSECONDS_T_TYPE): Likewise.
16044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16045 (__SNSECONDS_T_TYPE): Likewise.
16046
160472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16048
16049 * sysdeps/mach/hurd/bits/typesizes.h
16050 (__SYSCALL_SLONG_TYPE): New macro.
16051 (__SYSCALL_ULONG_TYPE): Likewise.
16052
160532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16054
16055 * bits/types.h (__syscall_slong_t): New type.
16056 (__syscall_ulong_t): Likewise.
16057
16058 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16059 (__SYSCALL_ULONG_TYPE): Likewise.
16060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16061 (__SYSCALL_SLONG_TYPE): Likewise.
16062 (__SYSCALL_ULONG_TYPE): Likewise.
16063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16064 (__SYSCALL_SLONG_TYPE): Likewise.
16065 (__SYSCALL_ULONG_TYPE): Likewise.
16066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16067 (__SYSCALL_SLONG_TYPE): Likewise.
16068 (__SYSCALL_ULONG_TYPE): Likewise.
16069
160702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16071
16072 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16073 Add sigaltstack-offsets.sym.
16074 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16075 <sigaltstack-offsets.h>.
16076 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16077 longjmp_msg pointer.
16078 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16079 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16080 signal stack.
16081 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16082
160832012-05-15 Joseph Myers <joseph@codesourcery.com>
16084
16085 * elf/stackguard-macros.h: Remove file.
16086 * sysdeps/generic/stackguard-macros.h: New file.
16087 * sysdeps/i386/stackguard-macros.h: Likewise.
16088 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16089 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16090 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16091 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16092 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16093 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16094 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16095 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16096 <elf/stackguard-macros.h>.
16097
16098 [BZ #14109]
16099 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16100 __aligned__ in attribute.
16101 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16102 (gregset_t): Likewise.
16103
161042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16105
16106 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16107 * sysdeps/x86_64/64/Implies-after: Here. New file.
16108 * sysdeps/x86_64/x32/Implies-after: New file.
16109
161102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16111
16112 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16113 and access return value for _dl_profile_fixup. Use R10_LP to
16114 load frame size.
16115
161162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16117
16118 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16119
161202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16121
16122 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16123 * sysdeps/x86_64/x32/sysdep.h: New file.
16124
161252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16126
16127 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16128 * sysdeps/x86_64/setjmp.S: Likewise.
16129
161302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16131
16132 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16133 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16134 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16135 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16136 remove unused global constant.
16137
161382012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16139
16140 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16141 include of <not-cancel.h>.
16142
161432012-05-15 Roland McGrath <roland@hack.frob.com>
16144
16145 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16146
161472012-05-15 Jeff Law <law@redhat.com>
16148 Andreas Jaeger <aj@suse.de>
16149
16150 [BZ #13594]
16151 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16152 out from...
16153 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16154 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16155 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16156 code changing __hst_map_handle.map.
16157
161582012-05-15 Roland McGrath <roland@hack.frob.com>
16159
16160 * configure.in (sysnames): Look for Implies-before and Implies-after
16161 files.
16162 * configure: Regenerated.
16163
161642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16165
16166 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16167 8-byte data alignment with LP_SIZE alignment.
16168
161692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16170
16171 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16172 into R10_LP.
16173
161742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16175
16176 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16177
161782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16179
16180 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16181 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16182 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16183 Likewise.
16184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16185
161862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16187
16188 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16189 (stackinfo_sub_sp): Likewise.
16190
161912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16192
16193 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16194 RAX_LP.
16195
161962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16197
16198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16199 into R*_LP.
16200
162012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16202
16203 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16204 sizes into R*_LP.
16205
162062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16207
16208 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16209
162102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16211
16212 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16213 into R11_LP and load __x86_64_shared_cache_size_half into
16214 R8_LP.
16215
162162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16217
16218 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16219 R8_LP.
16220
162212012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16222
16223 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16224 logb for POWER7.
16225 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16226 logbf for POWER7.
16227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16228 logbl for POWER7.
16229 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16230 powerpc32/power7/fpu/s_logb.c via #include.
16231 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16232 powerpc32/power7/fpu/s_logbf.c via #include.
16233 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16234 powerpc32/power7/fpu/s_logbl.c via #include.
16235
162362012-05-15 Joseph Myers <joseph@codesourcery.com>
16237
16238 * README.libm: Remove file.
16239
162402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16241
16242 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16243 count for x32. Use R*_LP and omit operand-size suffix.
16244
162452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16246
16247 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16248 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16249 * sysdeps/x86_64/x32/shlib-versions: New file.
16250
162512012-05-14 Roland McGrath <roland@hack.frob.com>
16252
16253 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16254 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16255 Use _dl_fatal_printf instead.
16256
162572012-05-14 Joseph Myers <joseph@codesourcery.com>
16258
16259 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16260 set if not set by the user. Do not allow for being unset.
16261 * sysdeps/unix/sysv/linux/configure: Regenerated.
16262
162632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16264
16265 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16266 the `q' suffix from lea and replace .quad with ASM_ADDR.
16267
162682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16269
16270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16271 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16272 instead of $17.
16273 (PTR_DEMANGLE): Likewise.
16274
162752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16276
16277 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16278 (LP_OP): Likewise.
16279 (ASM_ADDR): Likewise.
16280 (RAX_LP): Likewise.
16281 (RBP_LP): Likewise.
16282 (RBX_LP): Likewise.
16283 (RCX_LP): Likewise.
16284 (RDI_LP): Likewise.
16285 (RSI_LP): Likewise.
16286 (RSP_LP): Likewise.
16287 (R8_LP): Likewise.
16288 (R9_LP): Likewise.
16289 (R10_LP): Likewise.
16290 (R10_LP): Likewise.
16291 (R11_LP): Likewise.
16292 (R12_LP): Likewise.
16293 (R13_LP): Likewise.
16294 (R14_LP): Likewise.
16295 (R15_LP): Likewise.
16296
162972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16298
16299 * sysdeps/x86_64/x32/dl-machine.h: New file.
16300
163012012-05-14 Andreas Jaeger <aj@suse.de>
16302
16303 * manual/Makefile (subdir): Remove export of subdir.
16304 (all): Remove target.
16305 (.PHONY): Remove all from list.
16306 (mkinstalldirs): Remove.
16307 (.PHONY): Remove installdirs from list.
16308 ($(inst_infodir)/libc.info): Use make-target-directory.
16309 (installdirs): Remove.
16310 (subdir_%): Remove.
16311 (glibc-targets): Remove.
16312 (lib): Remove.
16313 (stubs): Remove.
16314 ($(objpfx)stubs ../po/manual.pot): Remove.
16315 ($(objpfx)stamp%): Remove.
16316 (make-target-directory): Remove.
16317 (subdir_install): Remove.
16318 (routines): Remove.
16319 (aux): Remove.
16320 (sources): Remove.
16321 (objects): Remove.
16322 (headers): Remove.
16323
16324 [BZ #13750]
16325 * manual/.gitignore: Remove, it's not needed anymore.
16326 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16327 all files in it.
16328 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16329 directory.
16330 (texis): Renamed to $(objpfx)texis.
16331 (texis-path): New, contains path to generated files.
16332 (chapters.%): Use texis-path for complete path, add extra argument
16333 libc-texinfo.sh.
16334 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16335 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16336 (summary,texi, stamp-summary): Use complete path of
16337 files. Generate files in build dir.
16338 (dir-add.texi): Build in build dir.
16339 (libm-err.texi,stamp-libm-err): Likewise.
16340 (version.texi, stamp-version): Likewise.
16341 (.%c.texi): Likewise.
16342 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16343 (mostlyclean): Remove target.
16344 (realclean): Remove target.
16345 (generated): Add new variable with contents from mostlyclean and
16346 realclean, remove entries duplicated in common-mostlyclean, add
16347 stamp-libm-err and stamp-version.
16348 (generated-dirs): Add libc directory.
16349 ($(inst_infodir)/libc.info): Install files from build dir.
16350
16351 * manual/install.texi (Configuring and compiling): Adjust since
16352 the info files are not part of the tar ball anymore.
16353
163542012-05-14 Andreas Jaeger <aj@suse.de>
16355
16356 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16357 variable.
16358
163592012-05-14 Joseph Myers <joseph@codesourcery.com>
16360
16361 [BZ #13717]
16362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16363 to 2.2.0 where earlier.
16364 * sysdeps/unix/sysv/linux/configure: Regenerated.
16365 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16366 Remove conditional code.
16367 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16368 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16369 Remove conditional code.
16370 [!__NR_lchown]: Likewise.
16371 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16372 [__NR_lchown]: Likewise.
16373 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16374 comment referencing __ASSUME_LCHOWN_SYSCALL.
16375 * sysdeps/unix/sysv/linux/i386/sigaction.c
16376 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16377 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16378 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16379 Remove conditional code.
16380 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16381 (__protocol_available): Remove #if 0 code.
16382 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16383 conditional code.
16384 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16385 * sysdeps/unix/sysv/linux/kernel-features.h
16386 (__ASSUME_GETCWD_SYSCALL): Don't define.
16387 (__ASSUME_REALTIME_SIGNALS): Likewise.
16388 (__ASSUME_PREAD_SYSCALL): Likewise.
16389 (__ASSUME_PWRITE_SYSCALL): Likewise.
16390 (__ASSUME_POLL_SYSCALL): Likewise.
16391 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16392 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16393 non-SPARC.
16394 (__ASSUME_SIOCGIFNAME): Don't define.
16395 (__ASSUME_MSG_NOSIGNAL): Likewise.
16396 (__ASSUME_SENDFILE): Define unconditionally.
16397 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16398 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16399 conditional code.
16400 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16401 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16402 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16403 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16404 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16405 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16406 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16408 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16411 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16414 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16415 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16417 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16418 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16420 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16421 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16423 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16424 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16426 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16429 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16430 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16431 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16432 Remove conditional code.
16433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16434 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16435 Remove conditional code.
16436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16437 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16438 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16439 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16440 Remove conditional code.
16441 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16442 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16443 Remove conditional code.
16444 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16445 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16446 Remove conditional code.
16447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16448 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16449 Remove conditional code.
16450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16451 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16452 Remove conditional code.
16453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16454 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16455 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16457 * sysdeps/unix/sysv/linux/sigaction.c
16458 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16459 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16460 * sysdeps/unix/sysv/linux/sigpending.c
16461 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16462 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16463 * sysdeps/unix/sysv/linux/sigprocmask.c
16464 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16465 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16466 * sysdeps/unix/sysv/linux/sigsuspend.c
16467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16469 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16470 (__libc_missing_rt_sigs): Remove.
16471 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16472 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16473 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16474 Remove conditional code.
16475 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16476 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16477 return 1.
16478 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16479 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16480 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16481 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16482
164832012-05-14 Andreas Jaeger <aj@suse.de>
16484
16485 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16486 it's not used in glibc.
16487 (__coshm1): Likewise.
16488 (__acosh1p): Likewise.
16489 (__sgn): Likewise.
16490
16491 * manual/string.texi (Copying and Concatenation): Add missing
16492 variable in concat example.
16493 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16494
164952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16496
16497 [BZ #14103]
16498 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16499 __builtin_clzl with __builtin_clzll.
16500
165012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16502
16503 [BZ #14104]
16504 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16505 libc_freeres_ptr.
16506
165072012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16508
16509 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16510 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16511 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16512 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16513
165142012-05-14 Mike Frysinger <vapier@gentoo.org>
16515
16516 * NEWS: Update ia64 info.
16517
165182012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16519
16520 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16521 used as bcopy.
16522
165232012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16524
16525 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16526 * sysdeps/unix/syscalls.list (dup3): Likewise.
16527 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16528 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16529
165302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16531
16532 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16533 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16534
165352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16536
16537 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16538 thread pointer.
16539 (TLS_IE): Use mov/add instead of movq/addq to load thread
16540 pointer.
16541 (TLS_GD_PREFIX): New.
16542 (TLS_GD): Use it.
16543
165442012-05-11 David S. Miller <davem@davemloft.net>
16545
16546 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16547 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16548 (_FPU_SETCW): Likewise.
16549
165502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16551
16552 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16553 is 32-byte aligned.
16554
165552012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16556
16557 [BZ #11837]
16558 * iconvdata/gb18030.c: Update tables.
16559 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16560 characters specially.
16561 (BODY for TO_LOOP): Add encoding of missing ranges.
16562
165632012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16564
16565 [BZ #13673]
16566 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16567 * sysdeps/mach/hurd/dup3.c: Likewise.
16568 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16569 * sysdeps/powerpc/memmove.c:: Likewise.
16570
165712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16572
16573 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16574 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16575
165762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16577
16578 * elf/elf.h (R_X86_64_RELATIVE64): New.
16579 (R_X86_64_NUM): Updated.
16580 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16581 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16582 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16583 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16584 tst-quad1pie tst-quad2pie
16585 (modules-names): Add tst-quadmod1 tst-quadmod2.
16586 ($(objpfx)tst-quad1): New dependency.
16587 ($(objpfx)tst-quad2): Likewise.
16588 ($(objpfx)tst-quad1pie): Likewise.
16589 ($(objpfx)tst-quad2pie): Likewise.
16590 * sysdeps/x86_64/tst-quad1.c: New file.
16591 * sysdeps/x86_64/tst-quad1pie.c: New file.
16592 * sysdeps/x86_64/tst-quad2.c: Likewise.
16593 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16594 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16595 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16596 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16597 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16598
165992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16600
16601 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16602 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16603 * streams/stropts.h (t_scalar_t): Define type.
16604
16605 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16606 (_PATH_PRESERVE): Set to "/var/lib".
16607 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16608
16609 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16610 instead of int.
16611
16612 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16613 if __dir_mkfile succeeded.
16614
16615 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16616 checking for _hurd_dtablesize. Unlock it right after having
16617 finished _hurd_dtable allocation.
16618
166192012-05-10 Thomas Schwinge <thomas@schwinge.name>
16620
16621 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16622 * sysdeps/mach/hurd/configure: Regenerated.
16623 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16624 special-casing to...
16625 * sysdeps/gnu/configure.in: ... this new file.
16626 * sysdeps/unix/sysv/linux/configure: Regenerated.
16627 * sysdeps/gnu/configure: New generated file.
16628
16629 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16630 for Linux: use nsec instead of usec, as well as:
16631 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16632 members of type struct timespec.
16633 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16634 New macros.
16635 (struct stat64): Likewise.
16636 (_STATBUF_ST_NSEC): New macro.
16637 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16638
16639 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16640 __strtoul_internal rather than strtoul.
16641
166422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16643
16644 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16645 and reject them.
16646
166472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16648
16649 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16650 which preserves existing values.
16651 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16652
166532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16654
16655 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16656 TIMEOUT values. Return EINVAL for NFDS values either negative or
16657 greater than FD_SETSIZE.
16658
166592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16660
16661 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16662 allocated, call __vm_protect to finish enabling the existing space, and
16663 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16664 allocate the remainder.
16665
166662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16667
16668 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16669 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16670
166712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16672
16673 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16674 sysdeps/mach/hurd/readlink.c.
16675
16676 * posix/tst-sysconf.c (posix_options): Only use
16677 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16678 _POSIX_SYNCHRONIZED_IO when they are defined
16679 * sysdeps/mach/hurd/bits/posix_opt.h:
16680 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16681 (_XOPEN_REALTIME): Undefine macro.
16682 (_XOPEN_REALTIME_THREADS): Undefine macro.
16683 (_XOPEN_SHM): Undefine macro.
16684 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16685 macro to -1.
16686 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16687 macro to -1.
16688 (_POSIX_ASYNC_IO): Undefine macro.
16689 (_POSIX_PRIORITIZED_IO): Undefine macro.
16690 (_POSIX_SPIN_LOCKS): Define macro to -1.
16691
16692 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16693 SA_NODEFER, SA_RESETHAND.
16694 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16695 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16696 F_DUPFD_CLOEXEC.
16697
166982012-05-10 Thomas Schwinge <thomas@schwinge.name>
16699
16700 * elf/Makefile (pldd-modules): Define unconditionally.
16701
167022012-05-10 Thomas Schwinge <thomas@schwinge.name>
16703
16704 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16705
167062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16707
16708 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16709 Return ENOENT when name is empty.
16710 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16711
167122012-05-10 Thomas Schwinge <thomas@schwinge.name>
16713
16714 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16715
16716 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16717
167182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16719
16720 Fix mlock in all cases except non-readable pages.
16721 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16722 instead of VM_PROT_ALL as parameter to __vm_wire function.
16723
16724 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16725 (__mkdir): When path is `/', just fail with EEXIST.
16726 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16727
167282012-05-10 Thomas Schwinge <thomas@schwinge.name>
16729
16730 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16731 <sys/uio.h> (for writev).
16732 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16733 and <sys/param.h> (for MIN).
16734
167352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16736
16737 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16738 REQUESTED_TIME. Properly set the remaining time and return EINTR
16739 if interrupted.
16740
167412012-05-10 Thomas Schwinge <thomas@schwinge.name>
16742
16743 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16744 Depend on against $(link-rpcuserlibs).
16745
167462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16747
16748 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16749 (__libc_stack_end): Do not use attribute_relro.
16750 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16751 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
16752 to libthread-provided value.
16753 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16754 attribute_relro.
16755
167562012-05-10 Thomas Schwinge <thomas@schwinge.name>
16757
16758 [BZ #3748]
16759 * bits/libc-lock.h (__libc_once_get): New macro.
16760 * sysdeps/mach/bits/libc-lock.h: Likewise.
16761 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16763 instead of using implementation details.
16764
16765 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16766 * libio/freopen.c: Likewise.
16767 * libio/freopen64.c: Likewise.
16768 * misc/syslog.c: Likewise.
16769 * nscd/connections.c: Likewise.
16770 * nscd/netgroupcache.c: Likewise.
16771 * sysdeps/posix/getcwd.c: Likewise.
16772
167732012-05-10 Roland McGrath <roland@hack.frob.com>
16774
16775 * math/w_ilogbf.c: Add #include <limits.h>.
16776
167772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16778
16779 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
16780 path instead of returning without unlocking.
16781
16782 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16783 immediate-write ioctls.
16784 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16785
167862012-05-10 Thomas Schwinge <thomas@schwinge.name>
16787
16788 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16789 __builtin_frame_address instead of making assumptions about the
16790 location of the return address relative to DATA. Force early load of
16791 the return address.
16792 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16793 __builtin_frame_address.
16794
16795 dup3 for GNU Hurd.
16796 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16797 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16798 implement dup3 and do some further code clean-ups.
16799 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16800 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16801
168022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16803
16804 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16805
16806 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16807 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16808 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16809 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16810 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16811 d->port.lock.
16812
16813 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16814 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16815 when handler == SIG_ERR, not when handler != SIG_ERR.
16816
168172012-05-10 Thomas Schwinge <thomas@schwinge.name>
16818
16819 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16820 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16821 definitions.
16822
16823 accept4 for GNU Hurd.
16824 * include/sys/socket.h (__libc_accept4): New prototype.
16825 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16826 to implement __libc_accept4.
16827 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16828 __libc_accept4.
16829 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16830
16831 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16832 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16833 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16834 signal-defines.sym.
16835
168362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16837
16838 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
16839
168402012-05-10 Thomas Schwinge <thomas@schwinge.name>
16841
16842 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16843 assertion on O_CLOEXEC flag.
16844 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16845 * hurd/intern-fd.c: Likewise.
16846 * hurd/port2fd.c: Likewise.
16847
168482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16849
16850 [BZ #3906]
16851 * bits/in.h (IPV6_PKTINFO): Define new macro.
16852 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16853
168542012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16855
16856 [BZ #13954]
16857 [BZ #13955]
16858 [BZ #13956]
16859 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16861 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16862 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16864 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16865 * math/libm-test.inc (logb_test) : Additional logb tests.
16866
168672012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16868 Andreas Jaeger <aj@suse.de>
16869
16870 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16871 * configure: Regenerated.
16872 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16873 * config.make.in (link-obsolete-rpc): New substituted variable.
16874 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16875 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16876 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16877 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16878 so that libc.a contains the symbols.
16879 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16880 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16881 * sunrpc/auth_none.c: Likewise.
16882 * sunrpc/auth_unix.c: Likewise.
16883 * sunrpc/authdes_prot.c: Likewise.
16884 * sunrpc/authuxprot.c: Likewise.
16885 * sunrpc/clnt_gen.c: Likewise.
16886 * sunrpc/clnt_perr.c: Likewise.
16887 * sunrpc/clnt_raw.c: Likewise.
16888 * sunrpc/clnt_simp.c: Likewise.
16889 * sunrpc/clnt_tcp.c: Likewise.
16890 * sunrpc/clnt_udp.c: Likewise.
16891 * sunrpc/clnt_unix.c: Likewise.
16892 * sunrpc/des_crypt.c: Likewise.
16893 * sunrpc/des_soft.c: Likewise.
16894 * sunrpc/get_myaddr.c: Likewise.
16895 * sunrpc/key_call.c: Likewise.
16896 * sunrpc/key_prot.c: Likewise.
16897 * sunrpc/netname.c: Likewise.
16898 * sunrpc/pm_getmaps.c: Likewise.
16899 * sunrpc/pm_getport.c: Likewise.
16900 * sunrpc/pmap_clnt.c: Likewise.
16901 * sunrpc/pmap_prot.c: Likewise.
16902 * sunrpc/pmap_prot2.c: Likewise.
16903 * sunrpc/pmap_rmt.c: Likewise.
16904 * sunrpc/publickey.c: Likewise.
16905 * sunrpc/rpc_cmsg.c: Likewise.
16906 * sunrpc/rpc_common.c: Likewise.
16907 * sunrpc/rpc_dtable.c: Likewise.
16908 * sunrpc/rpc_prot.c: Likewise.
16909 * sunrpc/rpc_thread.c: Likewise.
16910 * sunrpc/rtime.c: Likewise.
16911 * sunrpc/svc.c: Likewise.
16912 * sunrpc/svc_auth.c: Likewise.
16913 * sunrpc/svc_raw.c: Likewise.
16914 * sunrpc/svc_run.c: Likewise.
16915 * sunrpc/svc_tcp.c: Likewise.
16916 * sunrpc/svc_udp.c: Likewise.
16917 * sunrpc/svc_unix.c: Likewise.
16918 * sunrpc/svcauth_des.c: Likewise.
16919 * sunrpc/xcrypt.c: Likewise.
16920 * sunrpc/xdr.c: Likewise.
16921 * sunrpc/xdr_array.c: Likewise.
16922 * sunrpc/xdr_float.c: Likewise.
16923 * sunrpc/xdr_intXX_t.c: Likewise.
16924 * sunrpc/xdr_mem.c: Likewise.
16925 * sunrpc/xdr_rec.c: Likewise.
16926 * sunrpc/xdr_ref.c: Likewise.
16927 * sunrpc/xdr_sizeof.c: Likewise.
16928 * sunrpc/xdr_stdio.c: Likewise.
16929
169302012-05-10 Roland McGrath <roland@hack.frob.com>
16931
16932 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16933 change. Update copyright years.
16934
169352012-05-10 Joseph Myers <joseph@codesourcery.com>
16936
16937 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16938
169392012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16940 Joseph Myers <joseph@codesourcery.com>
16941 Paul Pluzhnikov <ppluzhnikov@google.com>
16942
16943 [BZ #14012]
16944 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16945 requiring rpcgen.
16946 [cross-compiling] (extra-libs): Likewise.
16947 [cross-compiling] (extra-libs-others): Likewise.
16948 [cross-compiling] (librpcsvc-routines): Likewise.
16949 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16950 [cross-compiling] (omit-deps): Likewise.
16951 (sunrpc-CPPFLAGS): New variable.
16952 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16953 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16954 (cross-rpcgen-objs): New variable.
16955 (extra-objs): Append $(cross-rpcgen-objs).
16956 ($(cross-rpcgen-objs)): New rule.
16957 ($(objpfx)cross-rpcgen): Likewise.
16958 (rpcgen-cmd): Define to use $(built-program-file). Expand
16959 comment.
16960 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16961 ($(objpfx)x%.stmp): Likewise.
16962 * sunrpc/proto.h [IS_IN_build] (_): Define.
16963 [IS_IN_build] (_libc_intl_domainname): Likewise.
16964
169652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16966
16967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
16968 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
16969 and R_X86_64_TPOFF64.
16970
169712012-05-10 Joseph Myers <joseph@codesourcery.com>
16972
16973 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
16974 sysdeps/unix/sysv/syscalls.list.
16975 (stime): Likewise.
16976 (utime): Likewise.
16977 * sysdeps/unix/sysv/syscalls.list: Remove file.
16978
169792012-05-10 Paul Eggert <eggert@cs.ucla.edu>
16980
16981 [BZ #3440]
16982 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
16983 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
16984 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
16985 (__LC_IDENTIFICATION): Make these macros useful in #if
16986 expressions, as required by C99.
16987
169882012-05-10 Andreas Schwab <schwab@linux-m68k.org>
16989
16990 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
16991 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
16992 after this.
16993
169942012-05-09 H.J. Lu <hongjiu.lu@intel.com>
16995
16996 * stdlib/longlong.h: Updated from GCC.
16997
169982012-05-09 Andreas Jaeger <aj@suse.de>
16999
17000 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17001 default is first entry.
17002 (run_mode): Set type.
17003 (main): Remove informal message about syslog.
17004 (options): Fix typo.
17005
17006 [BZ #14053]
17007 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17008 to asm.
17009 (lrint): Likewise.
17010 (llrintf): Likewise.
17011 (llrint): Likewise.
17012 (rint): Likewise.
17013 (rintf): Likewise.
17014 (nearbyint): Likewise.
17015 (nearbyintf): Likewise.
17016
170172012-05-09 Andreas Jaeger <aj@suse.de>
17018 Pedro Alves <palves@redhat.com>
17019
17020 * nscd/nscd.c (run_mode): Use enum.
17021 (main): Cleanup coding style issue.
17022
170232012-05-09 Alexandre Oliva <aoliva@redhat.com>
17024 Andreas Jaeger <aj@suse.de>
17025
17026 * nscd/nscd.c (go_background): Replaced with...
17027 (run_mode): ... this.
17028 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17029 (options): Add -F --foreground.
17030 (main): Implement it.
17031 (parse_opt): Parse it.
17032
170332012-05-09 Andreas Jaeger <aj@suse.de>
17034
17035 [BZ #14083]
17036 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17037 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17038 -Wconversion warning.
17039 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17040 Likewise.
17041
170422012-05-09 Joseph Myers <joseph@codesourcery.com>
17043
17044 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17045 == 0.
17046 (LC_ALL): Use macro-int-constant.
17047 (LC_COLLATE): Likewise.
17048 (LC_CTYPE): Likewise.
17049 (LC_MESSAGES): Likewise.
17050 (LC_MONETARY): Likewise.
17051 (LC_NUMERIC): Likewise.
17052 (LC_TIME): Likewise.
17053 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17054 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17056 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17057 Specify type.
17058 [C99-based standards] (float_t): Expect type.
17059 [C99-based standards] (double_t): Expect type.
17060 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17061 type.
17062 [C99-based standards] (HUGE_VALL): Likewise.
17063 [C99-based standards] (INFINITY): Likewise.
17064 [C99-based standards] (NAN): Likewise.
17065 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17066 [C99-based standards] (FP_NAN): Likewise.
17067 [C99-based standards] (FP_NORMAL): Likewise.
17068 [C99-based standards] (FP_SUBNORMAL): Likewise.
17069 [C99-based standards] (FP_ZERO): Likewise.
17070 [C99-based standards] (FP_FAST_FMA): Use
17071 optional-macro-int-constant. Specify type. Require == 1.
17072 [C99-based standards] (FP_FAST_FMAF): Likewise.
17073 [C99-based standards] (FP_FAST_FMAL): Likewise.
17074 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17075 [C99-based standards] (FP_ILOGBNAN): Likewise.
17076 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17077 Specify type.
17078 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17079 [C99-based standards] (math_errhandling): Specify type.
17080 [ISO99 || ISO11] (signgam): Do not allow.
17081 [non-C99-based standards] (copysignf): Do not allow.
17082 [non-C99-based standards] (exp2f): Likewise.
17083 [non-C99-based standards] (log2f): Likewise.
17084 [non-C99-based standards] (modff): Allow.
17085 [non-C99-based standards] (erff): Do not allow.
17086 [non-C99-based standards] (erfcf): Likewise.
17087 [non-C99-based standards] (gammaf): Likewise.
17088 [non-C99-based standards] (hypotf): Likewise.
17089 [non-C99-based standards] (j0f): Likewise.
17090 [non-C99-based standards] (j1f): Likewise.
17091 [non-C99-based standards] (jnf): Likewise.
17092 [non-C99-based standards] (lgammaf): Likewise.
17093 [non-C99-based standards] (tgammaf): Likewise.
17094 [non-C99-based standards] (y0f): Likewise.
17095 [non-C99-based standards] (y1f): Likewise.
17096 [non-C99-based standards] (ynf): Likewise.
17097 [non-C99-based standards] (isnanf): Likewise.
17098 [non-C99-based standards] (acoshf): Likewise.
17099 [non-C99-based standards] (asinhf): Likewise.
17100 [non-C99-based standards] (atanhf): Likewise.
17101 [non-C99-based standards] (cbrtf): Likewise.
17102 [non-C99-based standards] (expm1f): Likewise.
17103 [non-C99-based standards] (ilogbf): Likewise.
17104 [non-C99-based standards] (log1pf): Likewise.
17105 [non-C99-based standards] (logbf): Likewise.
17106 [non-C99-based standards] (nextafterf): Likewise.
17107 [non-C99-based standards] (remainderf): Likewise.
17108 [non-C99-based standards] (rintf): Likewise.
17109 [non-C99-based standards] (scalbf): Likewise.
17110 [non-C99-based standards] (copysignl): Likewise.
17111 [non-C99-based standards] (exp2l): Likewise.
17112 [non-C99-based standards] (log2l): Likewise.
17113 [non-C99-based standards] (modfl): Allow.
17114 [non-C99-based standards] (erfl): Do not allow.
17115 [non-C99-based standards] (erfcl): Likewise.
17116 [non-C99-based standards] (gammal): Likewise.
17117 [non-C99-based standards] (hypotl): Likewise.
17118 [non-C99-based standards] (j0l): Likewise.
17119 [non-C99-based standards] (j1l): Likewise.
17120 [non-C99-based standards] (jnl): Likewise.
17121 [non-C99-based standards] (lgammal): Likewise.
17122 [non-C99-based standards] (tgammal): Likewise.
17123 [non-C99-based standards] (y0l): Likewise.
17124 [non-C99-based standards] (y1l): Likewise.
17125 [non-C99-based standards] (ynl): Likewise.
17126 [non-C99-based standards] (isnanl): Likewise.
17127 [non-C99-based standards] (acoshl): Likewise.
17128 [non-C99-based standards] (asinhl): Likewise.
17129 [non-C99-based standards] (atanhl): Likewise.
17130 [non-C99-based standards] (cbrtl): Likewise.
17131 [non-C99-based standards] (expm1l): Likewise.
17132 [non-C99-based standards] (ilogbl): Likewise.
17133 [non-C99-based standards] (log1pl): Likewise.
17134 [non-C99-based standards] (logbl): Likewise.
17135 [non-C99-based standards] (nextafterl): Likewise.
17136 [non-C99-based standards] (remainderl): Likewise.
17137 [non-C99-based standards] (rintl): Likewise.
17138 [non-C99-based standards] (scalbl): Likewise.
17139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17140 [non-C99-based standards] (FP_*): Do not allow.
17141 [C99-based standards] (FP_*): Change to
17142 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17143 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17144 allow.
17145 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17146 (SIG_ERR): Likewise.
17147 [X/Open-based standards] (SIG_HOLD): Likewise.
17148 (SIG_IGN): Likewise.
17149 (SIGABRT): Use macro-int-constant. Specify type. Require
17150 positive value.
17151 (SIGFPE): Likewise.
17152 (SIGILL): Likewise.
17153 (SIGINT): Likewise.
17154 (SIGSEGV): Likewise.
17155 (SIGTER): Likewise.
17156 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17157 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17158 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17159 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17160 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17161 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17162 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17163 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17164 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17165 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17166 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17167 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17168 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17169 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17170 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17171 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17172 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17173 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17174 [X/Open-based standards] (SIGTRAP): Likewise.
17175 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17176 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17177 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17178 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17179 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17180 allow.
17181
171822012-05-08 Ian Wienand <ianw@vmware.com>
17183
17184 [BZ #14080]
17185 * time/tzset.c (__tzset_parse_tz): Update default rules for
17186 daylight time changes in the Energy Policy Act of 2005.
17187
171882012-05-09 Andreas Jaeger <aj@suse.de>
17189
17190 [BZ #13983]
17191 * elf/ldconfig.c (parse_conf): Change string to make clear that
17192 ldconfig only issued a warning if ld.so.conf does not exist.
17193
171942012-05-08 David S. Miller <davem@davemloft.net>
17195
17196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17197 movxtod instead of popping the value on the stack.
17198
17199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17200
172012012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17202
17203 * config.h.in: Add HAVE_ARM_PCS_VFP.
17204
172052012-05-08 Roland Mc Grath <roland@hack.frob.com>
17206
17207 [BZ #13979]
17208 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17209 checking but the checks are disabled for any reason.
17210
172112012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17212
17213 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17214 and ELF64_R_TYPE with ELFW(R_TYPE).
17215
172162012-05-08 Joseph Myers <joseph@codesourcery.com>
17217
17218 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17219 (ulimit): Likewise.
17220
17221 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17222 (settimeofday): Likewise.
17223
172242012-05-08 Mike Frysinger <vapier@gentoo.org>
17225
17226 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17227 a struct th_u2 inside the union, and move tu_block/tu_code into
17228 a new th_u3 union of tu_block/tu_code inside of that. Move
17229 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17230 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17231 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17232 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17233 (th_stuff): Change to th_u1.tu_stuff.
17234 (th_data): Define.
17235 (th_msg): Change to th_u1.th_u2.tu_data.
17236
172372012-05-07 David S. Miller <davem@davemloft.net>
17238
17239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17240
17241 [BZ #14074]
17242 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17243 (SETUP_PIC_REG): Use it.
17244 (SETUP_PIC_REG_LEAF): Use it.
17245
172462012-05-07 Joseph Myers <joseph@codesourcery.com>
17247
17248 [BZ #13885]
17249 [BZ #13923]
17250 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17251 USE_AS_EXPM1L.
17252 (EXPL_FINITE): Likewise.
17253 (FLDLOG): Likewise.
17254 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17255 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17256 e_expl.S.
17257 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17258 USE_AS_EXPM1L.
17259 (EXPL_FINITE): Likewise.
17260 (FLDLOG): Likewise.
17261 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17262 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17263 e_expl.S.
17264 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17265 test of -max_value argument for long double.
17266 * sysdeps/i386/fpu/libm-test-ulps: Update.
17267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17268
172692012-05-06 David S. Miller <davem@davemloft.net>
17270
17271 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17272 quad soft-float symbols whose references which are compiler
17273 generated.
17274 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17275
172762012-05-06 Joseph Myers <joseph@codesourcery.com>
17277
17278 [BZ #13884]
17279 [BZ #13914]
17280 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17281 USE_AS_EXP10L.
17282 (EXPL_FINITE): Likewise.
17283 (FLDLOG): Likewise.
17284 (c0): Likewise.
17285 (c1): Likewise.
17286 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17287 Adjust comments for base varying.
17288 (__expl_finite): Change alias to EXPL_FINITE.
17289 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17290 e_expl.S.
17291 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17292 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17294 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17296 USE_AS_EXP10L.
17297 (EXPL_FINITE): Likewise.
17298 (FLDLOG): Likewise.
17299 (c0): Likewise.
17300 (c1): Likewise.
17301 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17302 Adjust comments for base varying.
17303 (__expl_finite): Change alias to EXPL_FINITE.
17304 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17305 tests for bugs.
17306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17307
17308 [BZ #14064]
17309 * math/libm-test.inc (check_float_internal): Correct ulp
17310 calculation for subnormal expected results.
17311
173122012-05-06 Andreas Jaeger <aj@suse.de>
17313
17314 * Makeconfig (+math-flags): New, set to -frounding-math.
17315 (+cflags): Add +math-flags so that all of glibc gets compiled with
17316 it.
17317
17318 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17319
173202012-05-05 Joseph Myers <joseph@codesourcery.com>
17321
17322 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17323 Disable one test.
17324
17325 [BZ #13787]
17326 [BZ #13922]
17327 [BZ #14036]
17328 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17329 (__ieee754_expl): Allow for and saturate large arguments.
17330 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17331 (u_threshold): Likewise.
17332 (__exp): Call __ieee754_exp before checking for overflow and
17333 underflow.
17334 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17335 (u_threshold): Likewise.
17336 (__expf): Call __ieee754_expf before checking for overflow and
17337 underflow.
17338 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17339 (u_threshold): Likewise.
17340 (__expl): Call __ieee754_expl before checking for overflow and
17341 underflow.
17342 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17343 (__ieee754_expl): Allow for and saturate large arguments.
17344 * math/libm-test.inc (exp_test): Add another test. Do not allow
17345 missing overflow exception on overflow.
17346 (expm1_test): Do not allow missing overflow exception on overflow.
17347
17348 * sysdeps/i386/fpu/e_expl.c: Move to ...
17349 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17350 rather than using inline asm.
17351 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17352 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17353 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17354
17355 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17356 (nice): Likewise.
17357 (poll): Likewise.
17358 (signal): Likewise.
17359 (time): Likewise.
17360 (times): Likewise.
17361
173622012-05-04 Joseph Myers <joseph@codesourcery.com>
17363
17364 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17365 sysdeps/unix/common/syscalls.list.
17366 (fchmod): Likewise.
17367 (fchown): Likewise.
17368 (ftruncate): Likewise.
17369 (getrusage): Likewise.
17370 (gettimeofday): Likewise.
17371 (setpgid): Likewise.
17372 (setregid): Likewise.
17373 (setreuid): Likewise.
17374 (sigaction): Likewise.
17375 (truncate): Likewise.
17376 (vhangup): Likewise.
17377 * sysdeps/unix/common/syscalls.list: Remove file.
17378 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17379 * sysdeps/unix/sysv/linux/Implies: Likewise.
17380
173812012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17382
17383 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17385 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17386 Moved to ...
17387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17388 Here.
17389 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17390 to ...
17391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17392 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17393 to ...
17394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17395 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17396 to ...
17397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17398 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17399 to ...
17400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17401 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17402 to ...
17403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17404 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17405 to ...
17406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17407 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17408 to ...
17409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17410 Here.
17411 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17412 to ...
17413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17414 Here.
17415 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17416 to ...
17417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17418 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17419 Moved to ...
17420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17421 Here.
17422 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17423 to ...
17424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17425
174262012-05-04 Joseph Myers <joseph@codesourcery.com>
17427
17428 * sysdeps/unix/common/bits/dirent.h: Remove file.
17429 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17430
17431 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17432 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17433 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17434 * sysdeps/unix/bsd/isatty.c: Likewise.
17435 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17436 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17437 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17438
174392012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17440
17441 [BZ #13563]
17442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17443 long double comparison inaccuracies.
17444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17446
174472012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17448
17449 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17451
174522012-05-04 Joseph Myers <joseph@codesourcery.com>
17453
17454 [BZ #14049]
17455 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17456 nonzero digits before rounding a hex value.
17457 * stdlib/tst-strtod.c (tests): Add another test.
17458
174592012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17460
17461 * sysdeps/s390/fpu/libm-test-ulps: Update.
17462
174632012-05-03 Andreas Jaeger <aj@suse.de>
17464
17465 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17466 does not get optimized out.
17467 (malloc_opt_barrier): New.
17468
174692012-05-03 Andreas Jaeger <aj@suse.de>
17470 Roland McGrath <roland@hack.frob.com>
17471
17472 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
17473 intermediate file deletion.
17474 (generated): Add .symlist files.
17475
174762012-05-03 Joseph Myers <joseph@codesourcery.com>
17477
17478 [BZ #13775]
17479 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17480 Redirect under this condition.
17481 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17482 [__USE_GNU] (__dprintf_chk): Not under this condition.
17483 [__USE_GNU] (__vdprintf_chk): Likewise.
17484 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17485 under this condition.
17486 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17487 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17488 [__USE_XOPEN2K8] (vdprintf): Likewise.
17489 [__USE_GNU] (__dprintf_chk): Not under this condition.
17490 [__USE_GNU] (__vdprintf_chk): Likewise.
17491 [__USE_GNU] (dprintf): Likewise.
17492 [__USE_GNU] (vdprintf): Likewise.
17493
174942012-05-03 Roland McGrath <roland@hack.frob.com>
17495
17496 * elf/Makefile (common-generated): Set this instead of generated for
17497 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17498 $(all-built-dso)-derived lists.
17499
175002012-05-03 Andreas Jaeger <aj@suse.de>
17501
17502 * sysdeps/i386/fpu/libm-test-ulps: Update.
17503
17504 * FAQ: Removed.
17505 * FAQ.in: Likewise.
17506 * scripts/gen-FAQ.pl: Likewise.
17507 * manual/install.texi (Installation): Point to online location of
17508 FAQ.
17509 * Makefile (files-for-dist): Remove FAQ.
17510 (FAQ): Remove.
17511
175122012-05-02 Allan McRae <allan@archlinux.org>
17513
17514 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17515 (LDFLAGS-reldepmod5.so): Likewise.
17516 (LDFLAGS-reldep6mod1.so): Likewise.
17517 (LDFLAGS-reldep6mod4.so): Likewise.
17518 (LDFLAGS-reldep8mod3.so): Likewise.
17519 (LDFLAGS-unload4mod1.so): Likewise.
17520 (LDFLAGS-unload4mod2.so): Likewise.
17521 (LDFLAGS-tst-initorder): Likewise.
17522 (LDFLAGS-tst-initordera2.so): Likewise.
17523 (LDFLAGS-tst-initordera3.so): Likewise.
17524 (LDFLAGS-tst-initordera4.so): Likewise.
17525 (LDFLAGS-tst-initorderb2.so): Likewise.
17526 (LDFLAGS-noload): Likewise.
17527 (LDFLAGS-next): Likewise.
17528 (LDFLAGS-order2mod1.so): Likewise.
17529 (LDFLAGS-order2mod2.so): Likewise.
17530 (LDFLAGS-tst-initorder2): Likewise.
17531 (LDFLAGS-tst-initorder2a.so): Likewise.
17532 (LDFLAGS-tst-initorder2b.so): Likewise.
17533 (LDFLAGS-tst-initorder2c.so): Likewise.
17534 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17535
175362012-05-02 David S. Miller <davem@davemloft.net>
17537
17538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17539
175402012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17541
17542 [BZ #14055]
17543 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17544
175452012-05-02 Andreas Jaeger <aj@suse.de>
17546
17547 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17548 since we manipulate rounding mode.
17549 (CPPFLAGS-test-idouble.c): Likewise.
17550 (CPPFLAGS-test-ifloat.c): Likewise.
17551 (CFLAGS-test-ldouble.c): Likewise.
17552 (CFLAGS-test-double.c): Likewise.
17553 (CFLAGS-test-float.c): Likewise.
17554 (CFLAGS-test-misc.c): Likewise.
17555 (CFLAGS-test-test-fenv.c): Likewise.
17556
175572012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17558
17559 [BZ #2550]
17560 [BZ #2570]
17561 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17562 comparisons to determine direction to adjust input.
17563
175642012-05-01 Roland McGrath <roland@hack.frob.com>
17565
17566 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17567 output to the target.
17568
17569 * scripts/localplt.awk: New file.
17570 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17571 (check-localplt-CFLAGS): Variable removed.
17572 ($(all-built-dso:=.jmprel)): New static pattern rule.
17573 (generated): Add those targets.
17574 (localplt-built-dso): New variable.
17575 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17576
17577 * elf/check-localplt.c: File removed.
17578
17579 * scripts/check-execstack.awk: New file.
17580 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17581 (check-execstack-CFLAGS): Variable removed.
17582 ($(objpfx)check-execstack.h): Target removed.
17583 ($(objpfx)execstack-default): New target.
17584 (generated): Add that instead of check-execstack.h.
17585 ($(all-built-dso:=.phdr)): New static pattern rule.
17586 (generated): Add those targets.
17587 * elf/check-execstack.c: File removed.
17588
17589 * scripts/check-textrel.awk: New file.
17590 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17591 (check-textrel-CFLAGS): Variable removed.
17592 (all-built-dso): Use := to define.o
17593 ($(all-built-dso:=.dyn)): New static pattern rule.
17594 (generated): Add those targets.
17595 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17596 * config.make.in (READELF): New substituted variable.
17597 * elf/check-textrel.c: File removed.
17598
175992012-05-01 Joseph Myers <joseph@codesourcery.com>
17600
17601 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17602 allow.
17603 * conform/data/ctype.h-data [C99-based standards] (isblank):
17604 Expect function.
17605 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17606 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17607 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17608 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17609 Specify type. Require positive value.
17610 (EILSEQ): Likewise.
17611 (ERANGE): Likewise.
17612 [ISO || POSIX] (EILSEQ): Do not expect.
17613 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17614 Specify type. Require positive value.
17615 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17616 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17617 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17618 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17619 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17620 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17621 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17622 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17623 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17624 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17625 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17626 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17627 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17628 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17629 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17630 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17631 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17632 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17633 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17634 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17635 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17636 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17637 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17638 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17639 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17640 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17641 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17642 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17643 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17644 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17645 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17646 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17647 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17648 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17649 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17650 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17651 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17652 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17653 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17654 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17655 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17656 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17657 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17658 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17659 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17660 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17661 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17662 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17663 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17664 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17665 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17666 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17667 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17668 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17669 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17670 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17671 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17672 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17673 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17674 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17675 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17676 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17677 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17678 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17679 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17680 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17681 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17682 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17683 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17684 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17685 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17686 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17687 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17688 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17689 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17690 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17691 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17692 Require >= 2.
17693 (FLT_ROUNDS): Expect as macro, not constant.
17694 (FLT_MANT_DIG): Use macro-int-constant.
17695 (DBL_MANT_DIG): Likewise.
17696 (LDBL_MANT_DIG): Likewise.
17697 (FLT_DIG): Likewise.
17698 (DBL_DIG): Likewise.
17699 (LDBL_DIG): Likewise.
17700 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17701 (DBL_MIN_EXP): Likewise.
17702 (LDBL_MIN_EXP): Likewise.
17703 (FLT_MAX_EXP): Use macro-int-constant.
17704 (DBL_MAX_EXP): Likewise.
17705 (LDBL_MAX_EXP): Likewise.
17706 (FLT_MAX_10_EXP): Likewise.
17707 (DBL_MAX_10_EXP): Likewise.
17708 (LDBL_MAX_10_EXP): Likewise.
17709 (FLT_MAX): Use macro-constant.
17710 (DBL_MAX): Likewise.
17711 (LDBL_MAX): Likewise.
17712 (FLT_EPSILON): Use macro-constant. Give upper bound.
17713 (DBL_EPSILON): Likewise.
17714 (LDBL_EPSILON): Likewise.
17715 (FLT_MIN): Likewise.
17716 (DBL_MIN): Likewise.
17717 (LDBL_MIN): Likewise.
17718 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17719 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17720 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17721 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17722 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17723 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17724 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17725 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17726 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17727 [ISO11] (FLT_TRUE_MIN): Likewise.
17728 [ISO11] (LDBL_TRUE_MIN): Likewise.
17729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17730 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17731 (SCHAR_MIN): Use macro-int-constant. Specify type.
17732 (SCHAR_MAX): Likewise.
17733 (UCHAR_MAX): Likewise.
17734 (CHAR_MIN): Likewise.
17735 (CHAR_MAX): Likewise.
17736 (MB_LEN_MAX): Use macro-int-constant.
17737 (SHRT_MIN): Use macro-int-constant. Specify type.
17738 (SHRT_MAX): Likewise.
17739 (USHRT_MAX): Likewise.
17740 (INT_MAX): Likewise.
17741 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17742 bound negative.
17743 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17744 bound with "U".
17745 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17746 bound with "L".
17747 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17748 bound negative. Suffix upper bound with "L".
17749 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17750 bound with "UL".
17751 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17752 Specify type.
17753 [C99-based standards] (LLONG_MAX): Likewise.
17754 [C99-based standards] (ULLONG_MAX): Likewise.
17755 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17756 == 0.
17757 [ISO11] (max_align_t): Require type.
17758 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17759
17760 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17761 from $CFLAGS, without defining away __attribute__ calls.
17762 (checknamespace): Use $CFLAGS_namespace.
17763
17764 * conform/conformtest.pl (@keywords): Only include C99 keywords
17765 for standards based on C99 or C11.
17766
17767 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17768 Disable tests.
17769 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17770 UNIX98]: Likewise.
17771
17772 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17773 usability of symbols in #if.
17774
17775 * conform/conformtest.pl: If macro or constant types start
17776 "promoted:", expect the symbol to be of the following type
17777 promoted by the integer promotions.
17778
17779 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17780 in one place. Also handle "macro-constant".
17781
17782 * conform/conformtest.pl: Only accept expected macro values with
17783 "==". Parse all "macro" lines in one place.
17784 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17785
17786 * conform/conformtest.pl: Handle braced types on "constant" lines
17787 instead of handling "typed-constant".
17788 * conform/data/signal.h-data: Use "constant" instead of
17789 "typed-constant".
17790
17791 * conform/conformtest.pl: Handle "optional-" at start of lines in
17792 one place rather than duplicating several cases. Handle each
17793 format of "macro" line with initial "optional-".
17794
17795 * conform/conformtest.pl: Only accept expected constant or
17796 optional-constant values with "==". Parse all "constant" lines in
17797 one place. Parse all "optional-constant" lines in one place.
17798 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17799 * conform/data/fmtmsg.h-data: Likewise.
17800 * conform/data/netinet/in.h-data: Likewise.
17801 * conform/data/tar.h-data: Likewise.
17802 * conform/data/limits.h-data: Use "==" form on "constant" and
17803 "optional-constant" lines.
17804
17805 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17806 Use -std=c99 for XOPEN2K.
17807 (@knownproblems): Remove.
17808 (newtoken): Don't check %isknown.
17809
17810 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17811 Do not expect macro.
17812 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17813 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17814 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17815 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17816 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17817 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17818 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17819 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17820 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17821 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17822 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17823 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17824 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17825 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17826 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17827 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17828 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17829 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17830 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17831 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17832 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17833 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17834 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17835 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17836 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17837 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17838 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17839 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17840 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17841 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17842 [XPG3] (acosh): Likewise.
17843 [XPG3] (asinh): Likewise.
17844 [XPG3] (atanh): Likewise.
17845 [XPG3] (cbrt): Likewise.
17846 [XPG3] (expm1): Likewise.
17847 [XPG3] (ilogb): Likewise.
17848 [XPG3] (log1p): Likewise.
17849 [XPG3] (logb): Likewise.
17850 [XPG3] (nextafter): Likewise.
17851 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17852 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17853 [XPG3] (remainder): Likewise.
17854 [XPG3] (rint): Likewise.
17855 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17856 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17857 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17858 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17859 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17860 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17861 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17862 [UNIX98 || XOPEN2K] (scalb): Expect.
17863 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17864 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17865 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17866 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17867 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17868 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17869 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17870 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17871 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17872 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17873 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17874 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17875 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17876 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17877 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17878 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17879 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17880 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17881 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17882 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17883 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17884 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17885 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17886 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17887 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17888 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17889 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17890 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17891 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17892 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17893 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17894 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17895 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17896 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17897 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17898 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17899 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17900 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17901 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17902 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17903 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17904 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17905 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17906 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17907 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17908 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17909 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17910 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17911 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17912 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17913 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17914 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17915 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17916 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17917 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17918 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17919 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17920 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17921 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17922 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17923 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17924 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17925 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17926 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17927 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17928 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17929 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17930 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17931 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17932 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17933 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17934 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17935 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17936 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17937 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17938 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17939 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17940 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17941 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17942 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17943 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17944 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17945 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17946 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17947 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17948 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17949 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17950 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17951 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17952 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17953 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17954 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17955 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17956 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17957 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17958 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17959 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17960 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17961 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17962 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17963 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17964 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
17965 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
17966 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
17967 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
17968 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
17969 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
17970 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
17971 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
17972 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
17973 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
17974 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
17975 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
17976 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
17977 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
17978 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
17979 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
17980 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
17981 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
17982 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
17983 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
17984 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
17986 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
17987 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
17988 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
17989 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
17990 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
17991 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
17992 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
17993 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
17994 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
17995 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
17996 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
17997 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
17998 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
17999 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18000
18001 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18002 _XOPEN_SOURCE_EXTENDED for XPG4.
18003
18004 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18005
18006 * Makeconfig (localtime): Remove variable.
18007 (inst_localtime-file): Likewise.
18008
180092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18010
18011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18012 Update.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18014 Update.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18016 Update.
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18018 Update.
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18020 Update.
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18022 Update.
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18024 Update.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18026 Update.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18028 Update.
18029
180302012-05-01 Joseph Myers <joseph@codesourcery.com>
18031
18032 [BZ #2550]
18033 [BZ #2570]
18034 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18035 comparisons to determine direction to adjust input.
18036 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18037 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18038 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18039 Likewise.
18040 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18041 Likewise.
18042 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18043 Likewise.
18044 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18045 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18046 Likewise.
18047 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18048 Likewise.
18049 * math/libm-test.inc (nexttoward_test): Add more tests.
18050
180512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18052
18053 [BZ #14040]
18054 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18055 in version GLIBC_2.1, not GLIBC_2.0.
18056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18057 Likewise.
18058
180592012-04-30 Joseph Myers <joseph@codesourcery.com>
18060
18061 [BZ #13942]
18062 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18063 (1 - x) * (1 + x).
18064 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18065 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18066 * math/libm-test.inc (acos_test): Add more tests.
18067 (asin_test): Likewise.
18068 * sysdeps/i386/fpu/libm-test-ulps: Update.
18069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18070
18071 [BZ #14034]
18072 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18073 of square root.
18074 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18075 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18076 * math/libm-test.inc (acos_test_tonearest): New function.
18077 (acos_test_towardzero): Likewise.
18078 (acos_test_downward): Likewise.
18079 (acos_test_upward): Likewise.
18080 (asin_test_tonearest): Likewise.
18081 (asin_test_towardzero): Likewise.
18082 (asin_test_downward): Likewise.
18083 (asin_test_upward): Likewise.
18084 (main): Call the new functions.
18085 * sysdeps/i386/fpu/libm-test-ulps: Update.
18086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18087
18088 [BZ #13884]
18089 [BZ #13924]
18090 * math/e_exp10.c: Include <float.h>.
18091 (__ieee754_exp10): Handle underflow here rather than multiplying
18092 large negative argument by M_LN10.
18093 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18094 of __ieee754_expf.
18095 * math/e_exp10l.c: Include <float.h>.
18096 (__ieee754_exp10l): Handle underflow here rather than multiplying
18097 large negative argument by M_LN10l.
18098 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18099 spurious overflow exception on underflow.
18100
181012012-04-29 Marek Polacek <polacek@redhat.com>
18102
18103 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18104 (__fortify_function): New macro.
18105 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18106 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18107 __extern_always_inline.
18108 * libio/bits/stdio2.h: Likewise.
18109 * libio/bits/stdio.h: Likewise.
18110 * string/string.h: Likewise.
18111 * string/bits/string3.h: Likewise.
18112 * include/stdio.h: Likewise.
18113 * stdlib/bits/stdlib.h: Likewise.
18114 * stdlib/stdlib.h: Likewise.
18115 * rt/bits/mqueue2.h: Likewise.
18116 * rt/mqueue.h: Likewise.
18117 * posix/bits/unistd.h: Likewise.
18118 * posix/unistd.h: Likewise.
18119 * io/bits/poll2.h: Likewise.
18120 * io/bits/fcntl2.h: Likewise.
18121 * io/fcntl.h: Likewise.
18122 * io/sys/poll.h: Likewise.
18123 * misc/bits/syslog.h: Likewise.
18124 * misc/bits/syslog-ldbl.h: Likewise.
18125 * misc/sys/syslog.h: Likewise.
18126 * socket/bits/socket2.h: Likewise.
18127 * socket/sys/socket.h: Likewise.
18128 * debug/tst-chk1.c: Likewise.
18129 * wcsmbs/bits/wchar2.h: Likewise.
18130 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18131 * wcsmbs/wchar.h: Likewise.
18132
181332012-04-29 Andreas Jaeger <aj@suse.de>
18134
18135 * Makerules (tests): Remove enable-check-abi protection.
18136 (check-abi-warn): Remove.
18137 (check-abi-%): Remove check-abi-warn usage.
18138
18139 * configure.in: Remove check-abi configure option.
18140 * configure: Regenerated.
18141 * config.make.in (enable-check-abi): Remove.
18142
181432012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18144
18145 [BZ #14033]
18146 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18147 double functions to double *_finite functions.
18148
18149 [BZ #13941]
18150 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18151 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18152 LDBL_MIN_EXP.
18153 * stdio-common/Makefile (tests): Add tst-sprintf3.
18154 * stdio-common/tst-sprintf3.c: New file.
18155
18156 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18157 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18158
181592012-04-28 Joseph Myers <joseph@codesourcery.com>
18160
18161 * conform/conformtest.pl: Remove duplicate typed-constant
18162 handling.
18163
181642012-04-28 David S. Miller <davem@davemloft.net>
18165
18166 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18167 (check-abi-%): Remove AWK script prerequisite and explicit
18168 abilist directory.
18169 (check-abi): Rewrite to just diff the symlist with the abilist.
18170 (config-tls, config-abi-config): Delete, no longer used.
18171 (update-abi-%): Remove AWK script and explicit abilist directory.
18172 (update-abi): Rewrite to simply compare and conditionally copy the
18173 symlist and the sysdep abilist file. Remove update-abi-config
18174 checks.
18175 * abilist/ld.abilist: Remove.
18176 * abilist/libBrokenLocale.abilist: Remove.
18177 * abilist/libanl.abilist: Remove.
18178 * abilist/libcrypt.abilist: Remove.
18179 * abilist/libdl.abilist: Remove.
18180 * abilist/librt.abilist: Remove.
18181 * abilist/libthread_db.abilist: Remove.
18182 * abilist/libutil.abilist: Remove.
18183 * scripts/extract-abilist.awk: Remove.
18184 * scripts/merge-abilist.awk: Remove.
18185 * sysdeps/generic/libcidn.abilist: New file.
18186 * sysdeps/generic/libnss_compat.abilist: New file.
18187 * sysdeps/generic/libnss_db.abilist: New file.
18188 * sysdeps/generic/libnss_dns.abilist: New file.
18189 * sysdeps/generic/libnss_files.abilist: New file.
18190 * sysdeps/generic/libnss_hesiod.abilist: New file.
18191 * sysdeps/generic/libnss_nis.abilist: New file.
18192 * sysdeps/generic/libnss_nisplus.abilist: New file.
18193 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18194 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18195 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18196 file.
18197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18198 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18199 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18200 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18201 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18202 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18203 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18204 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18205 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18206 file.
18207 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18208 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18209 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18210 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18211 file.
18212 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18213 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18214 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18215 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18216 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18217 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18218 file.
18219 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18220 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18221 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18222 file.
18223 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18225 New file.
18226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18227 New file.
18228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18229 New file.
18230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18231 New file.
18232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18233 New file.
18234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18235 New file.
18236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18237 New file.
18238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18239 New file.
18240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18241 New file.
18242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18243 New file.
18244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18245 New file.
18246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18247 New file.
18248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18249 New file.
18250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18251 file.
18252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18253 New file.
18254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18255 New file.
18256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18257 file.
18258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18259 New file.
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18261 New file.
18262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18263 file.
18264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18265 New file.
18266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18267 New file.
18268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18269 New file.
18270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18271 New file.
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18273 New file.
18274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18275 New file.
18276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18278 file.
18279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18280 New file.
18281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18282 file.
18283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18284 file.
18285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18286 file.
18287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18288 file.
18289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18290 file.
18291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18292 New file.
18293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18294 file.
18295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18296 file.
18297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18298 New file.
18299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18300 file.
18301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18303 file.
18304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18305 New file.
18306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18307 file.
18308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18309 file.
18310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18311 file.
18312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18313 file.
18314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18315 file.
18316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18317 New file.
18318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18319 file.
18320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18321 file.
18322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18323 New file.
18324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18325 file.
18326 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18327 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18328 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18329 file.
18330 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18331 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18332 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18333 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18334 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18335 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18336 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18337 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18338 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18339 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18342 file.
18343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18344 New file.
18345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18346 file.
18347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18348 file.
18349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18350 file.
18351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18352 file.
18353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18354 file.
18355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18356 New file.
18357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18358 New file.
18359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18360 file.
18361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18362 New file.
18363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18364 file.
18365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18367 file.
18368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18369 New file.
18370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18371 file.
18372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18373 file.
18374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18375 file.
18376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18377 file.
18378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18379 file.
18380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18381 New file.
18382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18383 New file.
18384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18385 file.
18386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18387 New file.
18388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18389 file.
18390
183912012-04-28 Joseph Myers <joseph@codesourcery.com>
18392
18393 * conform/conformtest.pl: Fix typo in handling typed-constant from
18394 allow-header.
18395
183962012-04-27 Joseph Myers <joseph@codesourcery.com>
18397
18398 * README: Cut down references to pre-2.6 Linux kernels and
18399 Linuxthreads. Update lists of configurations in libc and ports
18400 and sort alphabetically. Say "or newer" with Linux kernel version
18401 requirements.
18402
18403 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18404
184052012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18406
18407 [BZ #887]
18408 * math/libm-test.inc (logb_test_downward): New test to expose
18409 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18410 rounding mode.
18411
184122012-04-27 Joseph Myers <joseph@codesourcery.com>
18413
18414 [BZ #14027]
18415 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18416 to be done.
18417 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18418 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18419
184202012-04-26 Joseph Myers <joseph@codesourcery.com>
18421
18422 * sysdeps/unix/i386/brk.S: Remove file.
18423 * sysdeps/unix/i386/dl-brk.S: Likewise.
18424 * sysdeps/unix/i386/pipe.S: Likewise.
18425 * sysdeps/unix/i386/sigreturn.S: Likewise.
18426 * sysdeps/unix/i386/syscall.S: Likewise.
18427 * sysdeps/unix/i386/vfork.S: Likewise.
18428 * sysdeps/unix/i386/wait.S: Likewise.
18429
18430 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18431 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18432
18433 * configure.in (arm*-none*): Do not allow without
18434 --enable-hacker-mode.
18435 (netbsd*): Remove case setting base_os.
18436 (386bsd*): Likewise.
18437 (freebsd*): Likewise.
18438 (bsdi*): Likewise.
18439 (osf*): Likewise.
18440 (sunos*): Likewise.
18441 (ultrix*): Likewise.
18442 (newsos*): Likewise.
18443 (dynix*): Likewise.
18444 (*bsd*): Likewise.
18445 (sysv*): Likewise.
18446 (isc*): Likewise.
18447 (esix*): Likewise.
18448 (sco*): Likewise.
18449 (minix*): Likewise.
18450 (irix4*): Likewise.
18451 (irix6*): Likewise.
18452 (solaris[2-9]*): Likewise.
18453 (none): Likewise.
18454 * configure: Regenerated.
18455
184562012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18457
18458 [BZ #11521]
18459 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18460 overflow or cancellation in calculating denominator.
18461 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18462 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18463 down expression to avoid unexpected rounding in newer GCCs.
18464 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18465
184662012-04-26 David S. Miller <davem@davemloft.net>
18467
18468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18469 long-double compat symbols.
18470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18483
184842012-04-25 David S. Miller <davem@davemloft.net>
18485
18486 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18487 HWCAP_* values only after the memory barriers have been defined.
18488 (atomic_full_barrier): Define.
18489 (atomic_read_barrier): Define.
18490 (atomic_write_barrier): Define.
18491
184922012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18493
18494 * shlib-versions: Add libgcc_s version information.
18495 * sysdeps/generic/libgcc_s.h: Remove.
18496 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18497 libgcc_s.h.
18498 * sysdeps/gnu/unwind-resume.c: Likewise.
18499 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18500
185012012-04-25 David S. Miller <davem@davemloft.net>
18502
18503 * sysdeps/unix/sparc/brk.S: Delete.
18504 * sysdeps/unix/sparc/dl-brk.S: Delete.
18505 * sysdeps/unix/sparc/pipe.S: Delete.
18506 * sysdeps/unix/sparc/sysdep.S: Delete.
18507 * sysdeps/unix/sparc/sysdep.h: Delete.
18508 * sysdeps/unix/sparc/vfork.S: Delete.
18509 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18510 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18511 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18512 ret_ERRVAL, r0, r1, MOVE): Define.
18513 (JUMPTARGET): Remove.
18514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18515 sysdeps/unix/sparc/sysdep.h
18516 (ENTRY, END): Remove.
18517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18518
185192012-04-25 Joseph Myers <joseph@codesourcery.com>
18520
18521 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18522 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18523 -DIS_IN_build.
18524
18525 * timezone/README: Update upstream location and email address for
18526 tzcode and tzdata.
18527 * timezone/zdump.c: Update from tzcode 2012b.
18528 * timezone/zic.c: Likewise.
18529
18530 * configure.in (libc_cv_as_needed): Remove test.
18531 * configure: Regenerated.
18532 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18533 conditional definition.
18534 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18535 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18536 * config.make.in (have-as-needed): Remove variable.
18537
185382012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18539 Paul Pluzhnikov <ppluzhnikov@google.com>
18540
18541 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18542 strings correctly.
18543
185442012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18545
18546 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18547 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18548 * sysdeps/sh/strlen.S: Likewise.
18549
185502012-04-24 Joseph Myers <joseph@codesourcery.com>
18551
18552 * sysdeps/unix/fork.S: Remove file.
18553 * sysdeps/unix/i386/fork.S: Likewise.
18554 * sysdeps/unix/sparc/fork.S: Likewise.
18555
18556 * sysdeps/unix/system.c: Remove file.
18557 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18558
18559 * sysdeps/unix/getegid.S: Remove file.
18560 * sysdeps/unix/geteuid.S: Likewise.
18561
185622012-04-24 Roland McGrath <roland@hack.frob.com>
18563
18564 * scripts/check-localplt.awk: New file.
18565 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18566 of diff.
18567 * scripts/data/localplt-generic.data: Add a comment.
18568
18569 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18570 NODE when __dir_mkfile failed.
18571 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18572 Reported by Ludovic Courtès <ludo@gnu.org>.
18573
185742012-04-24 Andreas Jaeger <aj@suse.de>
18575
18576 * Makerules (common-clean): Also remove gen-as-const-headers
18577 files.
18578
185792012-04-24 Joseph Myers <joseph@codesourcery.com>
18580
18581 * Makerules (native-compile): Do not change working directory for
18582 build. Use $(OUTPUT_OPTION) in command.
18583 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18584
185852012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18586
18587 [BZ #13886]
18588 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18589 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18590 * math/libm-test.inc (floor_test): Add more tests.
18591 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18592
185932012-04-24 Joseph Myers <joseph@codesourcery.com>
18594
18595 * sysdeps/unix/getdents.c: Remove file.
18596 * sysdeps/unix/sysv/getdents.c: Likewise.
18597 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18598
18599 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18600 sysdeps/unix/mman/syscalls.list.
18601 (mmap): Likewise.
18602 (mprotect): Likewise.
18603 (msync): Likewise.
18604 (munmap): Likewise.
18605 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18606 * sysdeps/unix/mman/syscalls.list: Remove.
18607 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18608
18609 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18610 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18611 * configure: Regenerated.
18612 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18613 $(libgcc_s_suffix).
18614 * config.make.in (libgcc_s_suffix): Remove variable.
18615
186162012-04-23 Joseph Myers <joseph@codesourcery.com>
18617
18618 * sysdeps/unix/sysv/gethostname.c: Move to ...
18619 * sysdeps/posix/gethostname.c: ... here.
18620
18621 * sysdeps/unix/execve.S: Remove file.
18622
18623 * sysdeps/unix/_exit.S: Remove file.
18624
186252012-04-23 Andreas Jaeger <aj@suse.de>
18626
18627 [BZ #13739]
18628 * manual/Makefile: Remove make dist support, there's no
18629 need for a stand-alone documentation tar ball.
18630 (TEXI2DVI): Define always, it's not in Makeconfig.
18631 (dist): Removed.
18632 (tar-it): Removed.
18633 (edition): Removed.
18634 (glibc-doc-$(edition).tar): Removed
18635 (%.Z): Removed.
18636 (%.gz): Removed.
18637 (%.uu): Removed.
18638 (ETAGS): Remove, it's in Makeconfig.
18639 (move-if-change): Remove, it's in Makeconfig.
18640
186412012-04-23 Paul Eggert <eggert@cs.ucla.edu>
18642
18643 [BZ #13970]
18644 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18645 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18646 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18647 (strtod_l, strtof_l, strtold_l): Remove __wur.
18648 It is not necessarily an error to ignore strtol's return value.
18649 One can reliably look at the stored endptr to decide whether
18650 the number had valid syntax.
18651
186522012-04-21 Andreas Jaeger <aj@suse.de>
18653
18654 [BZ #13739]
18655 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18656
186572012-04-21 Joseph Myers <joseph@codesourcery.com>
18658
18659 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18660 * sysdeps/unix/sysv/Versions: Remove file.
18661
186622012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18663
18664 [BZ #13927]
18665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18666
186672012-04-21 Nick Alcock <nick.alcock@oracle.com>
18668
18669 [BZ #7064]
18670 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18671 version from __vm86.
18672
186732012-04-20 Joseph Myers <joseph@codesourcery.com>
18674
18675 * sysdeps/unix/common/lxstat.c: Remove file.
18676 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18677
18678 * sysdeps/unix/sysv/Makefile: Remove file.
18679
18680 * sysdeps/unix/sysv/direct.h: Remove file.
18681
18682 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18683 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18684 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18685 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18686 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18687 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18688 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18689
18690 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18691
18692 * sysdeps/unix/xmknod.c: Remove file.
18693 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18694
18695 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18696
18697 * sysdeps/unix/sysv/i386/time.S: Remove file.
18698
18699 * sysdeps/unix/fxstat.c: Remove file.
18700 * sysdeps/unix/xstat.c: Likewise.
18701 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18702
18703 * sysdeps/unix/sysv/sigaction.c: Remove file.
18704
18705 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18706 (sysdep_headers): Remove variable.
18707 [termio.h not in sysdep_headers] (generated): Likewise.
18708 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18709 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18710 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18711 * sysdeps/unix/sysv/tcflow.c: Likewise.
18712 * sysdeps/unix/sysv/tcflush.c: Likewise.
18713 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18714 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18715 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18716 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18717 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18718
18719 * sysdeps/unix/siglist.c: Remove file.
18720
18721 * sysdeps/unix/getppid.S: Remove file.
18722
18723 * sysdeps/unix/mkdir.c: Remove file.
18724 * sysdeps/unix/rmdir.c: Likewise.
18725
187262012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18727
18728 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18729 ERR_MAX value.
18730 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18731 errlist-compat value.
18732
187332012-04-18 David S. Miller <davem@davemloft.net>
18734
18735 * sysdeps/generic/memcopy.h (reg_char): Delete.
18736 * debug/strcat_chk.c: Use char, not reg_char.
18737 * debug/strcpy_chk.c: Likewise.
18738 * debug/strncat_chk.c: Likewise.
18739 * debug/strncpy_chk.c: Likewise.
18740 * string/memchr.c: Likewise.
18741 * string/memrchr.c: Likewise.
18742 * string/rawmemchr.c: Likewise.
18743 * string/strcat.c: Likewise.
18744 * string/strchr.c: Likewise.
18745 * string/strchrnul.c: Likewise.
18746 * string/strcmp.c: Likewise.
18747 * string/strcpy.c: Likewise.
18748 * string/strncat.c: Likewise.
18749 * string/strncmp.c: Likewise.
18750 * string/strncpy.c: Likewise.
18751
187522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18753
18754 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18755 __builtin_memcopy is called when src and dest ranges are known to not
18756 overlap.
18757
187582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18759
18760 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18761 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18762 fwd_align_merge macro call.
18763 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18764 bwd_align_merge macro call.
18765 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18766
187672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18768
18769 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18770 bwd_align_merge macros.
18771 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18772 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18773 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18774
187752012-04-18 David S. Miller <davem@davemloft.net>
18776
18777 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18778
187792012-04-18 Andreas Jaeger <aj@suse.de>
18780
18781 [BZ# 6794]
18782 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18783 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18784 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18785
18786 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18787 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18788 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18789
18790 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18791 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18792 Adjust for changed ldbl-128 files.
18793
18794 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18795 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18796 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18797
187982012-04-17 David S. Miller <davem@davemloft.net>
18799
18800 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18801
188022012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18803
18804 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18805 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18806 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18807 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18808 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18809 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18810
188112012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18812
18813 [BZ #6794]
18814 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18815 * math/libm-test.inc: Add ilogb errno and exception tests.
18816 * math/w_ilogb.c: New file: ilogb wrapper.
18817 * math/w_ilogbf.c: New file: ilogbf wrapper.
18818 * math/w_ilogbl.c: New file: ilogbl wrapper.
18819 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18820 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18821 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18822 exception being thrown with 0.0 as argument.
18823 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18824 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18825 exception being thrown with 0.0 as argument.
18826 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18827 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18828 exception being thrown with 0.0 as argument.
18829 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18830 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18831 exception being thrown with 0.0 as argument.
18832 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18833 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
18834 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
18835 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18836 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18837 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18838 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18839 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18840 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18841
188422012-04-17 Petr Baudis <pasky@ucw.cz>
18843
18844 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18845 with altivec.
18846
188472012-04-16 Marek Polacek <polacek@redhat.com>
18848
18849 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18850
188512012-04-16 Marek Polacek <polacek@redhat.com>
18852
18853 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18854 operands of fdivp instruction.
18855
188562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18857
18858 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18859 * elf/tst-auditmod3b.c: Likewise.
18860 * elf/tst-auditmod4b.c: Likewise.
18861 * elf/tst-auditmod5b.c: Likewise.
18862 * elf/tst-auditmod6b.c: Likewise.
18863 * elf/tst-auditmod6c.c: Likewise.
18864 * elf/tst-auditmod7b.c: Likewise.
18865 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18866 * sysdeps/x86_64/preconfigure.in: Likewise.
18867 * sysdeps/x86_64/preconfigure: Regenerated.
18868
188692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18870
18871 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18872 __ILP32__.
18873
188742012-04-13 Antoine Balestrat <merkil33@gmail.com>
18875
18876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18877 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18878
188792012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18880
18881 [BZ #13973]
18882 * locale/iso-639.def: Fix gl language name. Spotted by
18883 Yaron Shahrabani.
18884
188852012-04-12 Roland McGrath <roland@hack.frob.com>
18886
18887 [BZ #2074]
18888 * libio/libio.h (__io_write_fn): Update comment.
18889
188902012-04-12 Petr Baudis <pasky@ucw.cz>
18891
18892 [BZ #2074]
18893 * stdio.texi (Hook Functions): The user provided writer function
18894 is not allowed to return -1.
18895
188962012-04-11 David S. Miller <davem@davemloft.net>
18897
18898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18899
189002012-04-11 Mike Frysinger <vapier@gentoo.org>
18901
18902 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18903 Add a leading slash to rtkaio.
18904
189052012-04-11 Jim Meyering <meyering@redhat.com>
18906
18907 [BZ #11959]
18908 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18909 It is not necessarily an error to ignore fwrite's return
18910 value. One can reliably use ferror to test for errors after
18911 the fact.
18912
189132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18914
18915 * bits/types.h (__snseconds_t): New type.
18916 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18917
18918 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18920 (__SNSECONDS_T_TYPE): Likewise.
18921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18922 (__SNSECONDS_T_TYPE): Likewise.
18923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18924 (__SNSECONDS_T_TYPE): Likewise.
18925
189262012-04-10 Andreas Jaeger <aj@suse.de>
18927
18928 [BZ #2636]
18929 * manual/time.texi (Processor Time): Return type of times is
18930 elapsed real time since an arbitrary point in the past.
18931 (CPU Time): Move CLK_TCK from here...
18932 (Processor Time): ...to here. Correct description.
18933 * manual/conf.texi (Constants for Sysconf): Correct description of
18934 _SC_CLK_TCK.
18935
189362012-04-10 David S. Miller <davem@davemloft.net>
18937
18938 [BZ #13967]
18939 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18940 where the is a gap between DT_REL(A) and DT_JMPREL.
18941
189422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18943
18944 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18945 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18946 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18947
189482012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18949
18950 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18951 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18952 (dl_main): Handle --inhibit-cache.
18953 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18954 _dl_inhibit_cache.
18955 * elf/dl-load.c (_dl_map_object): Use it.
18956 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18957
189582012-04-09 Joseph Myers <joseph@codesourcery.com>
18959
18960 [BZ #13872]
18961 * sysdeps/i386/fpu/e_powl.S (p78): New object.
18962 (__ieee754_powl): Saturate large exponents rather than testing for
18963 overflow of y*log2(x).
18964 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18965 * math/libm-test.inc (pow_test): Do not permit spurious overflow
18966 exceptions.
18967
18968 [BZ #11521]
18969 * math/s_ctan.c: Include <float.h>.
18970 (__ctan): Avoid internal overflow or cancellation in calculating
18971 denominator.
18972 * math/s_ctanf.c: Likewise.
18973 * math/s_ctanl.c: Likewise.
18974 * math/s_ctanh.c: Likewise.
18975 * math/s_ctanhf.c: Likewise.
18976 * math/s_ctanhl.c: Likewise.
18977 * math/libm-test.inc (ctan_test): Add more tests.
18978 (ctanh_test): Likewise.
18979 * sysdeps/i386/fpu/libm-test-ulps: Update.
18980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18981
189822012-04-09 Andreas Jaeger <aj@suse.de>
18983
18984 [BZ #6894]
18985 * manual/filesys.texi (Directory Entries): Mention that d_namlen
18986 is an optional BSD extension.
18987
18988 [BZ #10254]
18989 * manual/stdio.texi (Opening Streams): Document additional fopen
18990 parameters.
18991
189922012-04-09 Roland McGrath <roland@hack.frob.com>
18993
18994 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
18995 %eax without telling the compiler.
18996
189972012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
18998
18999 [BZ # 13963]
19000 * manual/install.texi: Use sourceware.org.
19001
190022012-04-09 Joseph Myers <joseph@codesourcery.com>
19003
19004 [BZ #13873]
19005 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19006 (__ieee754_pow): Generate overflow and underflow using huge*huge
19007 and tiny*tiny rather than just returning constant infinity or zero
19008 for large exponents.
19009 * math/libm-test.inc (pow_test): Require overflow exceptions for
19010 applicable cases of large exponents.
19011
19012 [BZ #706]
19013 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19014 (__ieee754_pow): Use iterative multiplication algorithm only for
19015 integer exponents with absolute value below 1024. Check for odd
19016 integer exponents when using algorithm for real exponents.
19017 * math/libm-test.inc (pow_test): Add more tests.
19018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19019
190202012-04-08 Joseph Myers <joseph@codesourcery.com>
19021
19022 [BZ #13705]
19023 * math/libm-test.inc (exp_test): Do not allow overflow exception
19024 on underflow test.
19025
190262012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19027
19028 [BZ #13705]
19029 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19030 instead of __kernel_standard_f.
19031
190322012-04-08 Mike Frysinger <vapier@gentoo.org>
19033
19034 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19035 * sysdeps/x86_64/memset_chk.S: Likewise.
19036
190372012-04-08 Andreas Jaeger <aj@suse.de>
19038
19039 [BZ #10153]
19040 * manual/startup.texi (Environment Access): Describe return value
19041 for putenv and setenv.
19042
19043 [BZ #6895]
19044 * manual/filesys.texi (Directory Entries): Add description for
19045 DT_LNK.
19046
19047 [BZ #6890]
19048 * manual/filesys.texi (Directory Entries): Clarify that it's file
19049 system not operating system in the description of DT_UNKNOWN.
19050
19051 [BZ #6578]
19052 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19053
190542012-04-08 Stephen Compall <s11@member.fsf.org>
19055
19056 [BZ #6649]
19057 * manual/llio.texi (Opening and Closing Files): Add cross
19058 reference to explain mode argument.
19059
190602012-04-07 Mike Frysinger <vapier@gentoo.org>
19061
19062 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19063 * sysdeps/x86_64/memset_chk.S: Likewise.
19064
190652012-04-07 David S. Miller <davem@davemloft.net>
19066
19067 * elf/elf.h (R_SPARC_WDISP10): Define.
19068 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19069 R_SPARC_SIZE32.
19070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19071 R_SPARC_SIZE64 and R_SPARC_H34.
19072
190732012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19074
19075 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19076 conditions and remove no longer applicable assertion.
19077
190782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19079
19080 * bits/byteswap.h: Include <features.h>.
19081 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19082 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19083
190842012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19085
19086 * bits/byteswap.h (__bswap_16): Removed.
19087 Include <bits/byteswap-16.h> to get __bswap_16.
19088 * sysdeps/i386/bits/byteswap.h: Likewise.
19089 * sysdeps/s390/bits/byteswap.h: Likewise.
19090 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19091 * bits/byteswap-16.h: New file.
19092 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19093 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19094 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19095 * string/Makefile (headers): Add bits/byteswap-16.h.
19096
190972012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19098
19099 [BZ #13895]
19100 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19101 extra indirection.
19102 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19103 * nss/tst-nss-static.c: New.
19104
191052012-04-06 Robert Millan <rmh@gnu.org>
19106
19107 [BZ #6486]
19108 * manual/llio.texi (File Position Primitive): lseek
19109 refers to WHENCE when it really means OFFSET.
19110
191112012-04-06 Andreas Jaeger <aj@suse.de>
19112
19113 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19114 strncmp declarations.
19115
19116 * abilist/libc.abilist: Add __poll and __ppoll.
19117
191182012-04-05 David S. Miller <davem@davemloft.net>
19119
19120 * scripts/check-local-headers.sh: Accept a host triplet in the
19121 path matched by the exclude regexp.
19122
19123 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19124 definition.
19125 * sysdeps/powerpc/powerpc32/dl-machine.h
19126 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19127 * sysdeps/s390/s390-32/dl-machine.h
19128 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19129 * sysdeps/sparc/sparc32/dl-machine.h
19130 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19131 * sysdeps/sparc/sparc64/dl-machine.h
19132 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19133
19134 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19135 lazy binding.
19136 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19137 undefined symbol errors.
19138
19139 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19140 DT_NEEDED entries.
19141
191422012-04-05 Michael Matz <matz@suse.de>
19143
19144 [BZ #13592]
19145 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19146
191472012-04-05 Andreas Jaeger <aj@suse.de>
19148
19149 [BZ #13908]
19150 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19151 comment.
19152
191532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19154
19155 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19156 which ROUND is no valid rounding mode.
19157
191582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19159
19160 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19161 read again.
19162 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19163
191642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19165
19166 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19167 an exception using FPU order intentionally.
19168
191692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19170
19171 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19172 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19173 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19174 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19175
191762012-04-05 Simon Josefsson <simon@josefsson.org>
19177
19178 [BZ #12340]
19179 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19180 EINVAL when BUFLEN is too smal.
19181
191822012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19183
19184 [BZ #13553]
19185 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19186 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19187
191882012-04-03 Andreas Jaeger <aj@suse.de>
19189
19190 [BZ #13938]
19191 * manual/setjmp.texi (System V contexts): Fix sentence.
19192
19193 [BZ #13926]
19194 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19195 New macro for this case.
19196 [!__GNUC__] (__bswap_64): New inline function for this case.
19197 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19198 * bits/byteswap.h: Likewise.
19199 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19200 ull, guard with __GLIBC_HAVE_LONG_LONG.
19201
19202 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19203 __GLIBC_HAVE_LONG_LONG.
19204
19205 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19206 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19207
192082012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19209
19210 [BZ #13691]
19211 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19212 inptr and inend, rather than using last_ch.
19213
192142012-04-02 David S. Miller <davem@davemloft.net>
19215
19216 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19217 * stdio-common/printf-parse.h (read_int): Change return type to
19218 'int', return -1 on INT_MAX overflow.
19219 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19220 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19221 overflows INT_MAX. Check for overflow of in-format-string precision
19222 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19223 SIZE_MAX not INT_MAX for integer overflow test.
19224 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19225 skip the construct in the format string but do not record anything.
19226 * stdio-common/bug22.c: Adjust to test both width/prevision
19227 INT_MAX overflow as well as total length INT_MAX overflow. Check
19228 explicitly for proper errno values.
19229
192302012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19231
19232 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19233 CHAR_MAX.
19234 * string/test-strcmp.c [! WIDE]: Likewise.
19235 * time/tst-mktime2.c: Likewise for INT_MAX.
19236 * string/test-string.h: #include <sys/param.h> for MIN.
19237
19238 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19239 * sysdeps/i386/init-first.c (init): Likewise.
19240 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19241 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19242 * sysdeps/sh/init-first.c (init): Likewise.
19243
192442012-04-01 Ulrich Drepper <drepper@gmail.com>
19245
19246 * po/ru.po: Update from translation team.
19247 * po/vi.po: Likewise.
19248
192492012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19250
19251 * resolv/nss_dns/dns-host.c: Merge copyright years.
19252
192532012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19254
19255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19256 Optimize memcpy with prefetch if
19257 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19258 src, dst pointers have unequal 16 byte alignments.
19259
192602012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19261
19262 [BZ #13928]
19263 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19264 from a CNAME entry and return the minimum ttl for the query.
19265 (gaih_getanswer_slice): Likewise.
19266
192672012-03-30 Jeff Law <law@redhat.com>
19268
19269 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19270 due to long keys.
19271 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19272 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19273
19274 * resolv/nss_dns/dns-host.c: Update copyright year.
19275
192762012-03-30 Ulrich Drepper <drepper@gmail.com>
19277
19278 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
19279 requests to save a system call. Fix check that all bytes are sent.
19280
19281 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19282 comments for sendmmsg.
19283
192842012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19285
19286 [BZ #13691]
19287 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19288 with only 1 character between 0x0041 and 0x01b0.
19289 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19290 * wcsmbs/tst-mbsnrtowcs.c: New file.
19291
192922012-03-29 David S. Miller <davem@davemloft.net>
19293
19294 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19295 small copies by hand.
19296
192972012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19298
19299 [BZ #13761]
19300 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19301 _nss_compat_initgroups_dyn): Fall back to malloc/free
19302 for large group memberships.
19303
193042012-03-28 David S. Miller <davem@davemloft.net>
19305
19306 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19307 that branches into memcpy.
19308 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19309 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19310 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19311 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19313 bits.
19314 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19315 implementation too.
19316 * sysdeps/sparc/mempcpy.S: New file.
19317
19318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19319 the IFUNC routine in the libc case.
19320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19321
19322 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19323 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19324 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19325 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19326 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19327 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19328 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19329 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19330
19331 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19332 loop to 256 bytes instead of 64 bytes and fix test signedness.
19333
19334 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19335 * sysdeps/sparc/sparc32/Makefile: rather than here...
19336 * sysdeps/sparc/sparc64/Makefile: and here.
19337
193382012-03-28 Ulrich Drepper <drepper@gmail.com>
19339
19340 * malloc/mallocbug.c: Avoid warnings about unused variables.
19341
193422012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19343
19344 [BZ #13760]
19345 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19346 in the right place. Discard and retry query if response is
19347 larger than input buffer size.
19348
193492012-03-28 Joseph Myers <joseph@codesourcery.com>
19350
19351 [BZ #369]
19352 [BZ #2678]
19353 [BZ #3866]
19354 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19355 x for large integer exponent.
19356 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19357 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19358 sign of result as needed afterwards.
19359 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19360 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19361 result for underflowing pow the same as for overflow.
19362 (__kernel_standard_l): Handle powl overflow and underflow here
19363 rather than calling __kernel_standard.
19364 * math/libm-test.inc (pow_test): Add more tests.
19365
19366 [BZ #3868]
19367 [BZ #13879]
19368 [BZ #13910]
19369 [BZ #13911]
19370 [BZ #13912]
19371 [BZ #13913]
19372 [BZ #13915]
19373 [BZ #13916]
19374 [BZ #13917]
19375 [BZ #13918]
19376 [BZ #13919]
19377 [BZ #13920]
19378 [BZ #13921]
19379 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19380 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19381 (__kernel_standard_l): New function.
19382 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19383 __kernel_standard.
19384 * math/w_acosl.c (__acosl): Likewise.
19385 * math/w_asinl.c (__asinl): Likewise.
19386 * math/w_atan2l.c (__atan2l): Likewise.
19387 * math/w_atanhl.c (__atanhl): Likewise.
19388 * math/w_coshl.c (__coshl): Likewise.
19389 * math/w_exp10l.c (__exp10l): Likewise.
19390 * math/w_exp2l.c (__exp2l): Likewise.
19391 * math/w_fmodl.c (__fmodl): Likewise.
19392 * math/w_hypotl.c (__hypotl): Likewise.
19393 * math/w_j0l.c (__j0l, __y0l): Likewise.
19394 * math/w_j1l.c (__j1l, __y1l): Likewise.
19395 * math/w_jnl.c (__jnl, __ynl): Likewise.
19396 * math/w_lgammal.c (__lgammal): Likewise.
19397 * math/w_log10l.c (__log10l): Likewise.
19398 * math/w_log2l.c (__log2l): Likewise.
19399 * math/w_logl.c (__logl): Likewise.
19400 * math/w_powl.c (__powl): Likewise.
19401 * math/w_remainderl.c (__remainderl): Likewise.
19402 * math/w_scalbl.c (sysv_scalbl): Likewise.
19403 * math/w_sinhl.c (__sinhl): Likewise.
19404 * math/w_sqrtl.c (__sqrtl): Likewise.
19405 * math/w_tgammal.c (__tgammal): Likewise.
19406 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19407 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19408 * math/libm-test.inc (acos_test): Add more tests.
19409 (acosh_test): Likewise.
19410 (asin_test): Likewise.
19411 (atanh_test): Likewise.
19412 (exp_test): Likewise.
19413 (exp10_test): Likewise.
19414 (exp2_test): Likewise.
19415 (expm1_test): Likewise.
19416 (lgamma_test): Likewise.
19417 (log_test): Likewise.
19418 (log10_test): Likewise.
19419 (log1p_test): Likewise.
19420 (log2_test): Likewise.
19421 (pow_test): Do not allow some spurious overflow exceptions.
19422 (sqrt_test): Add more tests.
19423 (tgamma_test): Likewise.
19424 (y0_test): Likewise.
19425 (y1_test): Likewise.
19426 (yn_test): Likewise.
19427
194282012-03-27 Anton Blanchard <anton@samba.org>
19429
19430 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19431 MAP_HUGETLB.
19432 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19433 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19434 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19435
194362012-03-27 David S. Miller <davem@davemloft.net>
19437
19438 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19439
19440 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19441 have-as-vis3 check.
19442
194432012-03-27 Andreas Jaeger <aj@suse.de>
19444
19445 * sysdeps/x86_64/elf/configure.in: Moved to ...
19446 * sysdeps/x86_64/configure.in: ... here.
19447 * sysdeps/x86_64/elf/start.S: Moved to ...
19448 * sysdeps/x86_64/start.S: ... here.
19449 * sysdeps/x86_64/elf/configure: Delete.
19450
19451 * sysdeps/x86_64/configure.in: Merge contents from
19452 sysdeps/i386/configure.in (without i686 check).
19453
19454 * sysdeps/i386/elf/Versions: Merge into ...
19455 * sysdeps/i386/Versions: ... this.
19456 * sysdeps/i386/elf/Versions: Delete file.
19457 * sysdeps/i386/elf/start.S: Moved to ...
19458 * sysdeps/i386/start.S: ...here.
19459 * sysdeps/i386/elf/configure.in: Merge into...
19460 * sysdeps/i386/configure.in: ...here.
19461 * sysdeps/i386/elf/configure.in: Delete file.
19462 * sysdeps/i386/elf/configure: Delete file.
19463
19464 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19465 * debug/backtracesyms.c: ... here.
19466 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19467 * debug/backtracesymsfd.c: ... here.
19468 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19469 * sysdeps/generic/ifunc-sel.h: ... here.
19470
19471 * sysdeps/unix/i386/start.c: Delete file.
19472 * sysdeps/unix/sparc/start.c: Delete file.
19473 * sysdeps/unix/start.c: Delete file.
19474
19475 * sysdeps/sh/elf/configure.in: Moved to ...
19476 * sysdeps/sh/configure.in: ... here.
19477 * sysdeps/sh/elf/start.S: Moved to ...
19478 * sysdeps/sh/start.S: ... here.
19479 * sysdeps/sh/elf/configure: Delete file.
19480
19481 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19482 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19483 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19484 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19485 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19486 * sysdeps/powerpc/powerpc64/start.S: here.
19487 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19488 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19489 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19490 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19491 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19492
19493 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19494 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19495 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19496 * sysdeps/powerpc/powerpc32/start.S: ... here.
19497 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19498 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19499 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19500
19501 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19502 * sysdeps/powerpc/ifunc-sel.h: ... here.
19503 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19504 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19505
19506 * sysdeps/sparc/elf/configure.in: Moved to ...
19507 * sysdeps/sparc/configure.in: ... here.
19508 * sysdeps/sparc/elf/configure: Delete file.
19509 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19510 * sysdeps/sparc/sparc32/start.S: ... here.
19511 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19512 * sysdeps/sparc/sparc64/start.S: ... here.
19513 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19514 * sysdeps/sparc/sparc32/Makefile: ... this.
19515 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19516 * sysdeps/sparc/sparc64/Makefile: ... this.
19517
19518 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19519 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19520 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19521 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19522 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19523 * sysdeps/s390/s390-32/setjmp.S: ... here.
19524 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19525 * sysdeps/s390/s390-32/configure.in: ... here.
19526 * sysdeps/s390/s390-32/elf/configure: Delete file.
19527 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19528 * sysdeps/s390/s390-32/start.S: ... here.
19529
19530 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19531 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19532 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19533 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19534 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19535 * sysdeps/s390/s390-64/setjmp.S: ... here.
19536 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19537 * sysdeps/s390/s390-64/configure.in: ... here
19538 * sysdeps/s390/s390-64/elf/configure: Delete file.
19539 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19540 * sysdeps/s390/s390-64/start.S: ... here.
19541 * sysdeps/s390/s390-64/elf/configure: Delete.
19542
19543 * configure.in: Remove support for elf directories in sysdeps.
19544
19545 * configure: Regenerated.
19546 * sysdeps/i386/configure: Regenerated.
19547 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19548 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19549 * sysdeps/s390/s390-32/configure: Regenerated.
19550 * sysdeps/s390/s390-64/configure: Regenerated.
19551 * sysdeps/sh/configure: Regenerated.
19552 * sysdeps/sparc/configure: Regenerated.
19553 * sysdeps/x86_64/configure: Regenerated.
19554
195552012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19556
19557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19558
19559 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19560 denormal result into account.
19561
195622012-03-25 Roland McGrath <roland@hack.frob.com>
19563
19564 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19565 Reported by Allan McRae <allan@archlinux.org>.
19566
195672012-03-23 Jeff Law <law@redhat.com>
19568
19569 * nss/getnssent.c (__nss_getent): Fix typo.
19570
195712012-03-23 David S. Miller <davem@davemloft.net>
19572
19573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19574
195752012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19576
19577 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19578 to pad to uint64_t for each field.
19579 (dl_tls_index): Replace unsigned long with uint64_t.
19580
195812012-03-23 Daniel Jacobowitz <dmj@google.com>
19582 Paul Pluzhnikov <ppluzhnikov@google.com>
19583
19584 [BZ #6528]
19585 * grp/Makefile (otherlibs): Don't set it.
19586 * inet/Makefile (otherlibs): Likewise.
19587 * login/Makefile (otherlibs): Likewise.
19588 * nscd/Makefile (otherlibs): Likewise.
19589 * posix/Makefile (otherlibs): Likewise.
19590 * pwd/Makefile (otherlibs): Likewise.
19591 * rt/Makefile (otherlibs): Likewise.
19592 * sunrpc/Makefile (otherlibs): Likewise.
19593 * nss/Makefile (otherlibs): Likewise.
19594 Add libnss_files to routines and static-only-routines.
19595 ($(objpfx)getent): Remove rule.
19596 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19597 static-only-routines.
19598
195992012-03-22 Joseph Myers <joseph@codesourcery.com>
19600
19601 [BZ #13892]
19602 * math/s_cexp.c: Include <float.h>.
19603 (__cexp): Handle exp result overflowing not necessarily
19604 overflowing both real and imaginary parts of result.
19605 * math/s_cexpf.c: Likewise.
19606 * math/s_cexpl.c: Likewise.
19607 * math/libm-test.inc (cexp_test): Add more tests.
19608 * sysdeps/i386/fpu/libm-test-ulps: Update.
19609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19610
196112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19612
19613 * include/link.h (ELFW): New macro.
19614 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19615 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19616
196172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19618
19619 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19620 with uint64_t.
19621
196222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19623
19624 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19625 declaration.
19626 (struct La_x32_retval): Likewise.
19627
196282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19629
19630 * sysdeps/x86_64/preconfigure.in: New file.
19631 * sysdeps/x86_64/preconfigure: New generated file.
19632
196332012-03-22 Joseph Myers <joseph@codesourcery.com>
19634
19635 [BZ #13824]
19636 * math/e_exp2l.c: Include <float.h>.
19637 (__ieee754_exp2l): Handle overflow and underflow cases
19638 separately. Only pass fractional part of argument to
19639 __ieee754_expl.
19640 * math/libm-test.inc (exp2_test): Add more tests.
19641
19642 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19643 negating x to take absolute value.
19644 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19645 Likewise.
19646 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19647 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19648 Likewise.
19649 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19650 computing low part if x was negated.
19651 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19652
196532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19654
19655 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19656 la_x32_gnu_pltexit.
19657 (pltexit): Cast int_retval to ptrdiff_t.
19658 * elf/tst-auditmod3b.c: Likewise.
19659 * elf/tst-auditmod4b.c: Likewise.
19660 * elf/tst-auditmod5b.c: Likewise.
19661 * elf/tst-auditmod6b.c: Likewise.
19662 * elf/tst-auditmod6c.c: Likewise.
19663 * elf/tst-auditmod7b.c: Likewise.
19664
19665 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19666 and x32_gnu_pltexit.
19667
19668 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19669 __ELF_NATIVE_CLASS.
19670 (La_x32_regs): New macro.
19671 (La_x32_retval): Likewise.
19672 (la_x32_gnu_pltenter): New function prototype.
19673 (la_x32_gnu_pltexit): Likewise.
19674
196752012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19676
19677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19678 exponent.
19679
19680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19681
19682 * configure.in (libc_cv_cc_nofma): Check for option to disable
19683 generation of FMA instructions.
19684 * configure: Regenerate.
19685 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19686 * sysdeps/ieee754/dbl-64/Makefile: New file.
19687 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19688 Remove brandred-fma4.
19689 (CFLAGS-brandred-fma4.c): Remove.
19690 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19691 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19692 define.
19693 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19694 define.
19695
196962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19697
19698 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19699 LLONG_MAX != LONG_MAX.
19700 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19701 (_fitoa_word): Likewise.
19702 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19703 LLONG_MAX != LONG_MAX.
19704 * stdio-common/_itowa.h: Include <_itoa.h>.
19705 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19706 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19707 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19708 only if not defined.
19709 (_ITOA_WORD_TYPE): Likewise.
19710 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19711 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19712
197132012-03-21 David S. Miller <davem@davemloft.net>
19714
19715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19716
197172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19718
19719 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19720 of x86_64 when setting libc_cv_slibdir, libdir and
19721 libc_cv_localedir.
19722 * sysdeps/unix/sysv/linux/configure: Regenerated.
19723
197242012-03-21 Joseph Myers <joseph@codesourcery.com>
19725
19726 * manual/lang.texi (Old Varargs): Remove section.
19727 (How Variadic): Update menu.
19728 (va_start): Do not mention varargs.h.
19729
197302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19731 Joseph Myers <joseph@codesourcery.com>
19732
19733 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19734 link test.
19735 * configure: Regenerated.
19736
197372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19738
19739 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19740 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19741 conformtest.pl
19742
197432012-03-21 Joseph Myers <joseph@codesourcery.com>
19744
19745 * NOTES: Remove.
19746 * Makefile (files-for-dist): Remove NOTES.
19747 (NOTES): Remove rule.
19748 * README: Don't refer to NOTES.
19749 * manual/creature.texi: Don't include macros.texi.
19750 * manual/intro.texi (creature.texi): Remove comment referring to
19751 NOTES.
19752
19753 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19754 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19755 * configure: Regenerated.
19756 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19757 LIBC_TRY_CC_OPTION.
19758 (libc_cv_as_i686): Likewise.
19759 (libc_cv_cc_avx): Likewise.
19760 (libc_cv_cc_sse2avx): Likewise.
19761 (libc_cv_cc_fma4): Likewise.
19762 (libc_cv_cc_novzeroupper): Likewise.
19763 * sysdeps/i386/configure: Regenerated.
19764
19765 [BZ #13883]
19766 * sysdeps/i386/fpu/s_cexp.S: Remove.
19767 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19768 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19769 * math/libm-test.inc (cexp_test): Add more tests.
19770 * sysdeps/i386/fpu/libm-test-ulps: Update.
19771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19772
197732012-03-21 Allan McRae <allan@archlinux.org>
19774
19775 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19776
197772012-03-21 Joseph Myers <joseph@codesourcery.com>
19778
19779 [BZ #13871]
19780 * math/w_exp2.c: Do not include <float.h>.
19781 (o_threshold, u_threshold): Remove.
19782 (__exp2): Calculate result before checking finiteness and calling
19783 __kernel_standard.
19784 * math/w_exp2f.c: Likewise.
19785 * math/w_exp2l.c: Likewise.
19786 * math/libm-test.inc (exp2_test): Require overflow exception for
19787 1e6 input.
19788
19789 [BZ #3866]
19790 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19791 range of signed 64-bit integers before using fistpll. Remove
19792 checks for whether integers fit in mantissa bits.
19793 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19794 the range of signed 32-bit integers before using fistpl. Remove
19795 checks for whether integers fit in mantissa bits.
19796 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19797 (__ieee754_powl): Test for y outside the range of signed 64-bit
19798 integers before using fistpll. Reduce 64-bit values to 63-bit
19799 ones as needed.
19800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19801 divide-by-zero is raised for zero to large negative powers.
19802 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19803 (__ieee754_powl): Test for y outside the range of signed 64-bit
19804 integers before using fistpll. Reduce 64-bit values to 63-bit
19805 ones as needed.
19806 * math/libm-test.inc (pow_test): Add more tests.
19807
198082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19809
19810 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19811 <stdio-common/_itoa.h>.
19812 * debug/segfault.c: Likewise.
19813 * elf/dl-cache.c: Likewise.
19814 * elf/dl-minimal.c: Likewise.
19815 * elf/dl-misc.c: Likewise.
19816 * elf/dl-sysdep.c: Likewise.
19817 * elf/dl-version.c: Likewise.
19818 * elf/rtld.c: Likewise.
19819 * hurd/hurdsock.c: Likewise.
19820 * hurd/lookup-retry.c: Likewise.
19821 * malloc/malloc.c: Likewise.
19822 * malloc/mtrace.c: Likewise.
19823 * nscd/nscd_getgr_r.c: Likewise.
19824 * nscd/nscd_getpw_r.c: Likewise.
19825 * nscd/nscd_getserv_r.c: Likewise.
19826 * posix/getopt_init.c: Likewise.
19827 * posix/wordexp.c: Likewise.
19828 * stdio-common/_itoa.c: Likewise.
19829 * stdio-common/printf_fphex.c: Likewise.
19830 * stdio-common/vfprintf.c: Likewise.
19831 * string/_strerror.c: Likewise.
19832 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19833 * sysdeps/i386/i686/hp-timing.h: Likewise.
19834 * sysdeps/mach/_strerror.c: Likewise.
19835 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19836 * sysdeps/mach/hurd/sethostid.c: Likewise.
19837 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19838 * sysdeps/mach/xpg-strerror.c: Likewise.
19839 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19840 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19841 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19842 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19843 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19844 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19845 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19846 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19847 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19848 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19849 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19850 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19851 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19852 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19853 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19854 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19855 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19856 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19857 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19858 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19859 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19860
19861 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19862
19863 * stdio-common/_itoa.h: Moved to ...
19864 * sysdeps/generic/_itoa.h: Here.
19865
19866 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19867
19868 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19869 instead of "_itoa.h" and "_itowa.h".
19870 * stdio-common/vfprintf.: Likewise.
19871
198722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19873
19874 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19875 <bits/wordsize.h>.
19876 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19877 (__signbit): Likwise.
19878 (llrintf): Likwise.
19879 (llrint): Likwise.
19880
198812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19882
19883 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19884 __WORDSIZE != 64.
19885
198862012-03-20 Joseph Myers <joseph@codesourcery.com>
19887
19888 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19889 OVERFLOW_EXCEPTION_OK.
19890 * math/libm-test.inc ("Philosophy"): Update comment about
19891 exception testing.
19892 (OVERFLOW_EXCEPTION): Define.
19893 (OVERFLOW_EXCEPTION_OK): Likewise.
19894 (INVALID_EXCEPTION_OK): Renumber.
19895 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19896 (IGNORE_ZERO_INF_SIGN): Likewise.
19897 (test_exceptions): Handle FE_OVERFLOW.
19898 (exp10_test): Expect overflow exceptions.
19899 (exp2_test): Likewise.
19900 (expm1_test): Likewise.
19901 (nextafter_test): Likewise.
19902 (pow_test): Likewise.
19903 (scalbn_test): Likewise.
19904 (scalbln_test): Likewise.
19905
199062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19907
19908 * sysdeps/x86_64/bits/atomic.h
19909 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19910 64bit integer.
19911 (atomic_exchange_acq): Likewise.
19912 (__arch_exchange_and_add_body): Likewise.
19913 (__arch_add_body): Likewise.
19914 (atomic_add_negative): Likewise.
19915 (atomic_add_zero): Likewise.
19916
199172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19918
19919 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
19920 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19921
199222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19923
19924 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19925 Check __x86_64__ instead of __WORDSIZE.
19926
199272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19928
19929 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19930
199312012-03-19 David S. Miller <davem@davemloft.net>
19932
19933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19934
19935 * sysdeps/sparc/fpu/fenv_private.h: New file.
19936 * sysdeps/sparc/fpu/math_private.h: Use it.
19937 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19938 Remove.
19939 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19940 (libc_feholdexcept_setroundl): Remove.
19941 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19942 Remove.
19943 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19944 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19945
199462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19947
19948 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19949 int64_t instead of long int.
19950 (INSERT_WORDS64): Likwise.
19951
199522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19953
19954 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19955 _Unwind_GetCFA return to _Unwind_Ptr first.
19956
199572012-03-19 Joseph Myers <joseph@codesourcery.com>
19958
19959 [BZ #13629]
19960 * math/s_clog.c: Include <float.h>.
19961 (__clog): Scale large or subnormal inputs.
19962 * math/s_clogf.c: Likewise.
19963 * math/s_clogl.c: Likewise.
19964 * math/s_clog10.c: Include <float.h>.
19965 (M_LOG10_2): Define.
19966 (__clog10): Scale large or subnormal inputs.
19967 * math/s_clog10f.c: Likewise.
19968 * math/s_clog10l.c: Likewise.
19969 * math/libm-test.inc (clog_test): Add more tests.
19970 (clog10_test): Likewise.
19971 * sysdeps/i386/fpu/libm-test-ulps: Update.
19972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19973
19974 [BZ #11451]
19975 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
19976 x and y.
19977 * math/libm-test.inc (atan2_test): Add another test.
19978
19979 * Makerules (common-objdir-compile): Remove.
19980 * sysdeps/unix/Makefile (config-generated): Do not add
19981 $(unix-generated) to variable.
19982 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
19983 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
19984 Remove rule.
19985 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
19986 Likewise.
19987 [generic bits/local_lim.h] (before-compile): Do not append to
19988 variable.
19989 [generic bits/local_lim.h] (common-generated): Likewise.
19990 [generic sys/param.h] (before-compile): Do not append to variable.
19991 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
19992 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
19993 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
19994 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
19995 include.
19996 [generic sys/param.h] (sys/param.h-includes): Remove variable.
19997 [generic sys/param.h] (sys/param.h-includes): Remove rule.
19998 [generic sys/param.h] ($(addprefix
19999 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20000 [generic sys/param.h] (common-generated): Do not append to
20001 variable.
20002 [generic sys/param.h] (sysdep_headers): Likewise.
20003 [generic bits/errno.h] (before-compile): Do not append to
20004 variable.
20005 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20006 rule.
20007 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20008 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20009 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20010 [generic bits/errno.h] (common-generated): Do not append to
20011 variable.
20012 [generic bits/ioctls.h] (before-compile): Do not append to
20013 variable.
20014 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20015 rule.
20016 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20017 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20018 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20019 rule.
20020 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20021 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20022 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20023 [generic bits/ioctls.h] (common-generated): Do not append to
20024 variable.
20025 [generic sys/syscall.h] (syscall.h): Remove variable.
20026 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20027 rule.
20028 [generic sys/syscall.h] (before-compile): Do not append to
20029 variable.
20030 [generic sys/syscall.h] (common-generated): Likewise.
20031 * sysdeps/unix/errnos-tmpl.c: Remove file.
20032 * sysdeps/unix/errnos.awk: Likewise.
20033 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20034 * sysdeps/unix/ioctls.awk: Likewise.
20035 * sysdeps/unix/mk-local_lim.c: Likewise.
20036 * sysdeps/unix/snarf-ioctls: Likewise.
20037
200382012-03-19 Richard Henderson <rth@twiddle.net>
20039
20040 * sysdeps/i386/fpu/fenv_private.h: New file.
20041 * sysdeps/i386/fpu/math_private.h: Use it.
20042 (math_opt_barrier, math_force_eval): Remove.
20043 (libc_feholdexcept_setround_53bit): Remove.
20044 (libc_feupdateenv_53bit): Remove.
20045 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20046 (math_opt_barrier, math_force_eval): Remove.
20047 (libc_feholdexcept): Remove.
20048 (libc_feholdexcept_setround): Remove.
20049 (libc_fetestexcept, libc_fesetenv): Remove.
20050 (libc_feupdateenv_test): Remove.
20051 (libc_feupdateenv, libc_feholdsetround): Remove.
20052 (libc_feresetround): Remove.
20053
20054 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20055 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20056
20057 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20058 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20059 (libc_feupdateenv_testl): New.
20060 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20061 (libc_feupdateenv_testf): New.
20062 (libc_feupdateenv): Use libc_feupdateenv_test.
20063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20064 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20065
20066 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20067 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20068 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20069 (libc_feresetround_noex): New.
20070 (libc_feresetround_noexf): New.
20071 (libc_feresetround_noexl): New.
20072 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20073 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20074 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20075 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20076 SET_RESTORE_ROUND.
20077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20078 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20079 (__cos): Likewise.
20080 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20081 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20082 SET_RESTORE_ROUND_NOEX.
20083 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20084 SET_RESTORE_ROUND_NOEXF.
20085 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20086 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20087 (libc_feholdsetroundf): New.
20088 (libc_feresetround, libc_feresetroundf): New.
20089
20090 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20091 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20092 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20093
20094 * sysdeps/generic/math_private.h: Include <fenv.h>.
20095 (default_libc_feholdexcept): New.
20096 (default_libc_feholdexcept_setround): New.
20097 (default_libc_fesetenv, default_libc_feupdateenv): New.
20098 (libc_feholdexcept): Only define if undefined.
20099 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20100 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20101 (libc_feholdexcept_setroundl): Likewise.
20102 (libc_feholdexcept_setround_53bit): Likewise.
20103 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20104 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20105 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20106 (libc_feupdateenv_53bit): Likewise.
20107 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20108 (libc_feholdexcept): Convert from macro to inline function.
20109 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20110 (libc_fesetenv, libc_feupdateenv): Likewise.
20111
20112 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20113 not previously defined.
20114 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20115 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20116 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20117 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20118 * sysdeps/ieee754/flt-32/math_private.h: New file.
20119 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20120 math_private.h below SET_FLOAT_WORD.
20121 (__isnan, __isinf_ns, __finite): Remove.
20122 (__isnanf, __isinf_nsf, __finitef): Remove.
20123
201242012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20125
20126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20127
201282012-03-17 David S. Miller <davem@davemloft.net>
20129
20130 [BZ #6471]
20131 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20132 for 2.16.
20133
201342012-03-16 David S. Miller <davem@davemloft.net>
20135
20136 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20137 warnings.
20138
20139 [BZ #6471]
20140 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20141 properly.
20142 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20143 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20144 sysdep_routines when subdir is sysvipc.
20145 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20146 __getshmlba helper.
20147
20148 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20149
201502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20151
20152 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20153 [__LP64__].
20154
201552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20156
20157 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20158 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20159 (__lround): Renamed to ...
20160 (__llround): This. Replace long int with long long int.
20161 Define lround functions as aliases of llround functions.
20162 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20163
201642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20165
20166 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20167 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20168 adresses to uintptr_t. Replace "long int" and "unsigned long
20169 int" with "greg_t" on va_arg.
20170
201712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20172
20173 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20174 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20175
20176 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20177 Move e_machine check before EI_CLASS check. Handle x32
20178 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20179 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20180 SKIP_EM_IA_64 and include
20181 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20182
20183 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20184 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20185 (add_system_dir): New macro.
20186
20187 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20188 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20189
201902012-03-16 Joseph Myers <joseph@codesourcery.com>
20191
20192 [BZ #2551]
20193 [BZ #2552]
20194 [BZ #2553]
20195 [BZ #2554]
20196 [BZ #2562]
20197 [BZ #2563]
20198 [BZ #2565]
20199 [BZ #2566]
20200 [BZ #2576]
20201 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20202 (y0): Likewise.
20203 * math/w_j0f.c (j0f): Likewise.
20204 (y0f): Likewise.
20205 * math/w_j0l.c (__j0l): Likewise.
20206 (__y0l): Likewise.
20207 * math/w_j1.c (j1): Likewise.
20208 (y1): Likewise.
20209 * math/w_j1f.c (j1f): Likewise.
20210 (y1f): Likewise.
20211 * math/w_j1l.c (__j1l): Likewise.
20212 (__y1l): Likewise.
20213 * math/w_jn.c (jn): Likewise.
20214 (yn): Likewise.
20215 * math/w_jnf.c (jnf): Likewise.
20216 (ynf): Likewise.
20217 * math/w_jnl.c (__jnl): Likewise.
20218 (__ynl): Likewise.
20219 * math/libm-test.inc (j0_test): Add more tests.
20220 (j1_test): Likewise.
20221 (jn_test): Likewise. Add trailing semicolon to existing test.
20222 (y0_test): Likewise.
20223 (y1_test): Likewise.
20224 * sysdeps/i386/fpu/libm-test-ulps: Update.
20225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20226
20227 [BZ #13851]
20228 [BZ #13854]
20229 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20230 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20231 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20232 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20233 (__tanl): Set errno for infinite argument.
20234 * sysdeps/i386/fpu/mptan.c: Remove.
20235 * sysdeps/i386/fpu/s_tan.S: Likewise.
20236 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20237 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20238 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20239 * math/libm-test.inc (tan_test): Add more tests and enable more
20240 tests for double and long double.
20241 * sysdeps/i386/fpu/libm-test-ulps: Update.
20242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20243
202442012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20245
20246 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20247 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20248
202492012-03-16 Roland McGrath <roland@hack.frob.com>
20250
20251 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20252 * configure.in: Use it for both main tree and add-ons.
20253 * configure: Regenerated.
20254
202552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20256
20257 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20258
202592012-03-16 Joseph Myers <joseph@codesourcery.com>
20260
20261 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20262 in comment.
20263
20264 [BZ #13851]
20265 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20266 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20267 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20268 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20269 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20270 infinite argument.
20271 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20273 != 0 for prec == 2.
20274 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20275 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20276 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20277 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20278 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20279 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20280 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20281 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20282 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20283 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20284 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20285 * math/libm-test.inc (cos_test): Add more tests and enable more
20286 tests for long double.
20287 (sin_test): Likewise.
20288 (sincos_test): Likewise.
20289 * sysdeps/i386/fpu/libm-test-ulps: Update.
20290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20291
202922012-03-16 David S. Miller <davem@davemloft.net>
20293
20294 * sysdeps/sparc/fpu/math_private.h: New file.
20295
202962012-03-15 David S. Miller <davem@davemloft.net>
20297
20298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20299 file.
20300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
20301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20302 file.
20303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20309 sysdep routines.
20310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20311
20312 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20313 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20314
20315 * sysdeps/sparc/sparc-ifunc.h: New file.
20316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20317 sparc-ifunc.h
20318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20320 Likewise.
20321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20322 Likewise.
20323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20327 Likewise.
20328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
20332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20333 Likewise.
20334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20335 Likewise.
20336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20343 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20355 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20359 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20360
203612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20362
20363 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20364 scaling.
20365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20366
203672012-03-15 Andreas Jaeger <aj@suse.de>
20368
20369 [BZ #13852]
20370 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20371 ieee754/flt-32 implementation for sin, cos and sincos.
20372 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20373 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20374 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20375 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20376 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20377 ieee754/flt-32 implementation for tan.
20378
20379 * math/libm-test.inc (cos_test): Enable some large input tests for
20380 float as well
20381 (sin_test): Likewise.
20382 (sincos_test): Likewise.
20383 (tan_test): Add tests for large input.
20384
20385 * sysdeps/i386/fpu/libm-test-ulps: Update.
20386
203872012-03-15 Andreas Jaeger <aj@suse.de>
20388
20389 [BZ #13658]
20390 * math/libm-test.inc (cos_test): Add more test cases.
20391 (sin_test): Likewise.
20392 (sincos_test): Likewise.
20393
203942012-03-15 Andreas Jaeger <aj@suse.de>
20395
20396 [BZ #13837]
20397 * math/libm-test.inc (cos_test): Add a test case for large input
20398 value.
20399 (sin_test): Likewise.
20400 (sincos_test): Likewise.
20401
204022012-03-15 Andreas Jaeger <aj@suse.de>,
20403 Joseph Myers <joseph@codesourcery.com>
20404
20405 [BZ #13658]
20406 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
20407 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20408 * sysdeps/i386/fpu/branred.c: Likewise.
20409 * sysdeps/i386/fpu/dosincos.c: Likewise.
20410 * sysdeps/i386/fpu/mpa.c: Likewise.
20411 * sysdeps/i386/fpu/s_cos.S: Likewise.
20412 * sysdeps/i386/fpu/s_sin.S: Likewise.
20413 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20414 * sysdeps/i386/fpu/sincos32.c: Likewise.
20415
20416 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20417 Define.
20418 (libc_feupdateenv_53bit): Define.
20419 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20420 Define.
20421 (libc_feupdateenv_53bit): Define.
20422
20423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20424 53 bit (without extend i386 double precision).
20425
20426 * math/libm-test.inc (sincos_test): Add tests for large input.
20427 (sin): Likewise.
20428 (cos): Likewise.
20429
20430 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20431
204322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20433
20434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20435
204362012-03-15 David S. Miller <davem@davemloft.net>
20437
20438 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20439 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20440 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20441 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
20453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20454 file.
20455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
20456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20457 file.
20458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
20459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20460 file.
20461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
20462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20463 file.
20464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20466 fmin/fmax sysdep routines.
20467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20468
204692012-03-14 David S. Miller <davem@davemloft.net>
20470
20471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20475 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20476 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20492 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
20499 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20500 routines.
20501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20502 file.
20503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
20504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20505 file.
20506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
20507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20508 file.
20509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
20510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20511 file.
20512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
20513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20514 file.
20515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
20516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20517 file.
20518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20519 file.
20520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20521 file.
20522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20523 file.
20524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20525 New file.
20526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20527 file.
20528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20529 file.
20530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
20531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20532 file.
20533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
20534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20535 file.
20536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
20537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20538 file.
20539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
20540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20541 VIS3 routines.
20542
20543 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20544 New file.
20545
20546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20547
20548 * sysdeps/sparc/configure.in: New file.
20549 * sysdeps/sparc/configure: Generate.
20550 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20551 * configure: Regenerate.
20552 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20553 * config.make.in (have-as-vis3): New.
20554 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20555 available use -Av9d instead of -Av9a.
20556 * sysdeps/sparc/sparc64/Makefile: Likewise.
20557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20559 New file.
20560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20561 file.
20562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20563 New file.
20564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20565 file.
20566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20568 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20571
20572 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20573 fzeros/fnegs to load 0x80000000 into a float register instead of
20574 using the stack.
20575 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20576
205772012-03-14 Joseph Myers <joseph@codesourcery.com>
20578
20579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20580 bits/syscall.h.
20581 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20582 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20583 ($(inst_includedir)/bits/syscall.h): Remove rule.
20584 ($(objpfx)bits/syscall.d): Include instead of
20585 $(objpfx)syscall-list.d.
20586 (generated): Change syscall-list.h and syscall-list.d to
20587 bits/syscall.h and bits/syscall.d.
20588
205892012-03-14 Roland McGrath <roland@hack.frob.com>
20590
20591 [BZ #13846]
20592 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20593
205942012-03-14 Joseph Myers <joseph@codesourcery.com>
20595
20596 [BZ #13841]
20597 * math/s_csqrt.c: Include <float.h>.
20598 (__csqrt): Scale large or subnormal inputs.
20599 * math/s_csqrtf.c: Likewise.
20600 * math/s_csqrtl.c: Likewise.
20601 * math/libm-test.inc (csqrt_test): Add more tests.
20602 * sysdeps/i386/fpu/libm-test-ulps: Update.
20603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20604
20605 [BZ #13840]
20606 * math/libm-test.inc (hypot_test): Add more tests.
20607
206082012-03-13 David S. Miller <davem@davemloft.net>
20609
20610 [BZ #13840]
20611 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20612 double-precision for the calculation instead of scaling.
20613
206142012-03-13 Joseph Myers <joseph@codesourcery.com>
20615
20616 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20617 manipulate bits before adding and subtracting TWO52[sx].
20618 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20619 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20620 Likewise.
20621 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20622
206232012-03-13 David S. Miller <davem@davemloft.net>
20624
20625 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20626 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20628 rtld-global-offsets.h
20629 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20630
20631 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20632 large parameters.
20633
20634 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20635
20636 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20637 'err' in the ifdef scope in which it is actually used.
20638
20639 * nss/nss_db/db-init.c: Include string.h
20640
206412012-03-12 David S. Miller <davem@davemloft.net>
20642
20643 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20644 masking out of the most significant byte of random value used.
20645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20646 Fix coding style in previous change.
20647
20648 * sysdeps/unix/sysv/linux/kernel-features.h
20649 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20650 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20651 expression.
20652 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20653 later.
20654
206552012-03-11 David S. Miller <davem@davemloft.net>
20656
20657 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20658 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20660 for 'resultvar' otherwise things get truncated on 64-bit.
20661
20662 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20663 Fix masking out of the most significant byte of random value used.
20664
20665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20666
206672012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20668
20669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20670
206712012-03-09 David S. Miller <davem@davemloft.net>
20672
20673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20674 variables with appropriate CPP guards.
20675 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20676 frame pointer, not the stack pointer. Correct layout comments. Fix test
20677 on resulting framesize and the management of the outregs buffer for pltexit.
20678 Preserve floating point return values across _dl_call_pltexit call.
20679 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20680 framesize and the management of the outregs buffer for pltexit.
20681 Preserve floating point return values across _dl_call_pltexit
20682 call.
20683 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20684 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20685 (print_exit): Fix format string for return register value.
20686
206872012-03-10 Joseph Myers <joseph@codesourcery.com>
20688
20689 * sunrpc/Makefile (others): Add rpcgen.
20690 ($(objpfx)rpcgen): Remove special build rule and dependency on
20691 libc.
20692 * sunrpc/rpcgen.c: New file.
20693
206942012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20695
20696 [BZ #13673]
20697 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20698 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20699 * sysdeps/i386/crti.S: Likewise.
20700 * sysdeps/i386/crtn.S: Likewise.
20701 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20702 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20703 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20704 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20705 * sysdeps/sh/crti.S: Likewise.
20706 * sysdeps/sh/crtn.S: Likewise.
20707 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20708
20709 [BZ #13673]
20710 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20711 with URL.
20712 * locale/programs/locfile-kw.gperf: Likewise.
20713 * locale/programs/charmap-kw.h: Regenerated.
20714 * locale/programs/locfile-kw.h: Likewise.
20715
20716 [BZ #13673]
20717 * intl/plural.y: Replace FSF snail mail address with URL.
20718 * intl/plural.c: Regenerated.
20719
207202012-03-09 Richard Henderson <rth@twiddle.net>
20721
20722 * include/math_private.h: Remove file.
20723 * math/math_private.h: Move file ...
20724 * sysdeps/generic/math_private.h: ... here.
20725
20726 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20727 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20728 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20729
20730 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
20731 and <math_private.h>.
20732 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20733 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20734 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20735 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20736 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20737 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20738 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20739 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20740 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20741 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20743 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20744 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20745 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20746 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20747 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20748 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20749 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20750 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20751 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20752 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20753 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20754 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20755 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20756 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20757 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20758 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20759 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20760 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20761 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20762 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20763 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20764 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20765 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20766 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20767 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20768 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20769 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20770 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20771 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20772 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20773 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20774 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20775 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20776 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20777 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20778 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20779 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20780 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20781 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20782 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20783 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20784 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20785 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20786 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20787 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20788 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20789 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20790 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20791 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20792 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20793 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20794 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20795 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20796 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20797 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20799 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20800 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20801 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20802 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20803 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20806 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20813 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20817 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20818 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20819 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20820 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20821 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20822 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20823 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20824 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20825 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20826 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20827 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20828 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20829 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20830 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20831 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20832 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20833 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20834 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20835 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20836 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20837 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20838 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20839 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20840 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20841 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20842 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20843 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20844 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20845 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20846 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20847 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20848 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20849 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20850 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20851 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20852 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20853 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20854 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20855 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20856 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20857 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20858 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20859 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20860 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20861 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20862 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20863 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20864 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20865 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20866 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20867 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20868 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20869 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20870 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20871 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20872 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20873 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20874 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20875 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20876 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20877 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20878 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20879 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20880 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20881 * sysdeps/ieee754/k_standard.c: Likewise.
20882 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20883 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20884 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20885 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20886 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20887 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20888 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20889 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20890 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20891 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20892 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20893 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20894 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20895 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20896 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20897 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20898 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20899 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20900 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20901 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20902 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20903 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20904 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20905 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20906 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20907 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20908 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20909 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20910 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20911 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20912 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20913 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20914 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20915 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20916 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20917 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20918 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20919 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20920 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20921 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20922 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20923 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20924 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20925 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20926 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20927 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20928 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20929 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20930 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20931 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20932 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20933 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20934 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20935 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20936 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20937 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20939 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20940 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20948 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20949 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20950 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20952 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20953 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20956 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20995 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20997 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21001 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21002 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21004 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21009 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21014 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21030 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21031 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21032 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21042 * sysdeps/ieee754/s_lib_version.c: Likewise.
21043 * sysdeps/ieee754/s_matherr.c: Likewise.
21044 * sysdeps/ieee754/s_signgam.c: Likewise.
21045 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21046 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21047 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21048 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21049 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21050 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21051 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21052 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21053 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21054 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21055 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21056 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21057 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21058 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21059 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21060 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21061 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21062 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21063 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21064 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21065 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21066
210672012-03-09 Joseph Myers <joseph@codesourcery.com>
21068
21069 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21070 * sunrpc/rpc_main.c: Likewise.
21071 * sunrpc/rpc_svcout.c: Likewise.
21072
210732012-03-09 David S. Miller <davem@davemloft.net>
21074
21075 * include/math_private.h: New file.
21076
210772012-03-09 Joseph Myers <joseph@codesourcery.com>
21078
21079 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21080 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21081 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21082 from <bits/socket_type.h>.
21083 (enum __socket_type): Don't define here.
21084 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21085 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21086 bits/socket_type.h.
21087
21088 [BZ #13566]
21089 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21090 checking __USE_GNU.
21091
21092 * Makerules ($(inst_includedir)/%.h): New rule.
21093 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21094 (install-others): Remove variable setting.
21095 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21096
210972012-03-08 Richard Henderson <rth@twiddle.net>
21098
21099 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21100 from macro to inline function; merge with the
21101 !__LIBC_INTERNAL_MATH_INLINES version.
21102 (__ieee754_sqrtf): Likewise.
21103
21104 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21105 to inline function.
21106 (__rintf, __floor, __floorf): Likewise.
21107
21108 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21109 macro to inline function.
21110 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21111
21112 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21113 not <math/math_private.h>.
21114
211152012-03-08 David S. Miller <davem@davemloft.net>
21116
21117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21118 copyright year.
21119 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21120
211212012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21122
21123 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21124 normalization.
21125 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21126 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21127
211282012-03-08 Ulrich Drepper <drepper@gmail.com>
21129
21130 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21131 be defined individually, they must be defined as a block. Define
21132 S for printing a string instead of hidint the different by using a
21133 macro for adding the 'l'.
21134 * stdio-common/tst-fphex-wide.c: Adjust.
21135
211362012-03-07 Marek Polacek <polacek@redhat.com>
21137
21138 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21139
211402012-03-08 Marek Polacek <polacek@redhat.com>
21141
21142 [BZ #13806]
21143 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21144 * stdio-common/tst-fphex.c: Define a few macros to make the
21145 test reusable. Use them.
21146 * stdio-common/tst-fphex-wide.c: New file.
21147
211482012-03-08 Joseph Myers <joseph@codesourcery.com>
21149
21150 [BZ #6911]
21151 * manual/macros.texi (gnusystems): New macro.
21152 (nongnusystems): Likewise.
21153 (gnulinuxhurdsystems): Likewise.
21154 (gnuhurdsystems): Likewise..
21155 (gnulinuxsystems): Likewise.
21156 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21157 variants of the GNU system, not "GNU system".
21158 * manual/conf.texi: Likewise.
21159 * manual/errno.texi: Likewise. Update example of errno macro
21160 expansion.
21161 * manual/filesys.texi: Likewise.
21162 (getumask): Document as specific to GNU/Hurd.
21163 * manual/install.texi: Likewise. Reword some references to
21164 GNU/Linux.
21165 * manual/intro.texi: Likewise.
21166 * manual/io.texi: Likewise.
21167 (File Name Portability): Detail which constraints are inapplicable
21168 to all GNU systems and which are only inapplicable to GNU/Hurd.
21169 * manual/job.texi: Likewise.
21170 * manual/llio.texi: Likewise.
21171 (O_NOCTTY): Document as present on GNU/Linux.
21172 * manual/maint.texi: Likewise.
21173 * manual/memory.texi: Likewise.
21174 * manual/pattern.texi: Likewise.
21175 * manual/pipe.texi: Likewise.
21176 * manual/process.texi: Likewise.
21177 * manual/resource.texi: Likewise.
21178 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21179 child on GNU/Hurd.
21180 * manual/setjmp.texi: Likewise.
21181 * manual/signal.texi: Likewise.
21182 * manual/startup.texi: Likewise.
21183 * manual/stdio.texi: Likewise.
21184 * manual/terminal.texi: Likewise.
21185 (ONLCR): Document as POSIX.
21186 (OXTABS): Document availability on GNU/Linux as XTABS.
21187 (ONOEOT): Document availability separately from other bits.
21188 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21189 * manual/time.texi: Likewise.
21190 * manual/users.texi: Likewise.
21191 * INSTALL: Regenerated.
21192 * sysdeps/gnu/errlist.c: Regenerated.
21193
21194 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21195 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21196 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21197 puts.
21198 * configure: Regenerated.
21199
212002012-03-07 Joseph Myers <joseph@codesourcery.com>
21201
21202 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21203 default includes instead of AC_HEADER_CHECK.
21204 * sysdeps/i386/configure: Regenerated.
21205
21206 [BZ #10716]
21207 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21208 * math/s_cacoshf.c (__cacoshf): Likewise.
21209 * math/s_cacoshl.c (__cacoshl): Likewise.
21210 * math/s_casinh.c (__casinh): Set signs of result from argument.
21211 * math/s_casinhf.c (__casinhf): Likewise.
21212 * math/s_casinhl.c (__casinhl): Likewise.
21213 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21214 (casinh_test): Add more tests.
21215 * sysdeps/i386/fpu/libm-test-ulps: Update.
21216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21217
212182012-03-07 Ulrich Drepper <drepper@gmail.com>
21219
21220 * po/zh_TW.po: Update from translation team.
21221
21222 * login/Makefile (distribute): Remove variable.
21223 * catgets/Makefile: Likewise.
21224 * mach/Makefile: Likewise.
21225 * malloc/Makefile: Likewise.
21226 * misc/Makefile: Likewise.
21227 * iconv/Makefile: Likewise.
21228 * nscd/Makefile: Likewise.
21229 * hurd/Makefile: Likewise.
21230 * manual/Makefile: Likewise.
21231 * locale/Makefile: Likewise.
21232 * intl/Makefile: Likewise.
21233 * conform/Makefile: Likewise.
21234 * nss/Makefile: Likewise.
21235 * time/Makefile: Likewise.
21236 * soft-fp/Makefile: Likewise.
21237 * dirent/Makefile: Likewise.
21238 * gmon/Makefile: Likewise.
21239 * po/Makefile: Likewise.
21240 * rt/Makefile: Likewise.
21241 * socket/Makefile: Likewise.
21242 * math/Makefile: Likewise.
21243 * signal/Makefile: Likewise.
21244 * debug/Makefile: Likewise.
21245 * elf/Makefile: Likewise.
21246 * timezone/Makefile: Likewise.
21247 * stdlib/Makefile: Likewise.
21248 * iconvdata/Makefile: Likewise.
21249 * sunrpc/Makefile: Likewise.
21250 * io/Makefile: Likewise.
21251 * argp/Makefile: Likewise.
21252 * inet/Makefile: Likewise.
21253 * hesiod/Makefile: Likewise.
21254 * grp/Makefile: Likewise.
21255 * csu/Makefile: Likewise.
21256 * wctype/Makefile: Likewise.
21257 * crypt/Makefile: Likewise.
21258 * libio/Makefile: Likewise.
21259 * string/Makefile: Likewise.
21260 * nis/Makefile: Likewise.
21261 * resolv/Makefile: Likewise.
21262 * stdio-common/Makefile: Likewise.
21263 * wcsmbs/Makefile: Likewise.
21264 * dlfcn/Makefile: Likewise.
21265 * posix/Makefile: Likewise.
21266
21267 [BZ #6959]
21268 * timezone/Makefile: Don't install timezone files, just the programs
21269 and scripts.
21270
212712012-03-06 Ulrich Drepper <drepper@gmail.com>
21272
21273 * nss/databases.def: Add missing gshadow entry.
21274
21275 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21276
212772012-03-06 Marek Polacek <polacek@redhat.com>
21278
21279 [BZ #13726]
21280 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21281 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21282 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21283 * stdio-common/tst-long-dbl-fphex.c: New file.
21284
212852012-03-06 David S. Miller <davem@davemloft.net>
21286
21287 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21288 (set_obp_int): New function.
21289 (get_obp_int): New function.
21290 (__get_clockfreq_via_dev_openprom): Likewise.
21291 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21292 Avoid unused variable warnings on 'val' and use builtin_expect.
21293 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21294 __builtin_expect.
21295 (INLINE_CLONE_SYSCALL): Likewise.
21296
212972012-03-05 David S. Miller <davem@davemloft.net>
21298
21299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21300
213012012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21302
21303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21304
21305 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21306 only for |x| >= 40.
21307 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21308
213092012-03-05 H.J. Lu <hongjiu.lu@intel.com>
21310
21311 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21312 Replace gettimeofday with __vdso_gettimeofday.
21313
21314 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21315 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21316 __vdso_clock_gettime and __vdso_getcpu.
21317
21318 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21319 time with __vdso_time.
21320
213212012-03-05 Joseph Myers <joseph@codesourcery.com>
21322
21323 * manual/lang.texi (size_t): Note types to which size_t may be
21324 equivalent with the GNU C Library, but do not describe when
21325 differences between them are significant.
21326
213272012-03-05 Andreas Jaeger <aj@suse.de>
21328
21329 * sysdeps/i386/fpu/libm-test-ulps: Update.
21330
213312012-03-05 Joseph Myers <joseph@codesourcery.com>
21332
21333 [BZ #3976]
21334 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21335 (__ieee754_pow): Save and restore rounding mode and use
21336 round-to-nearest for main computations.
21337 * math/libm-test.inc (pow_test_tonearest): New function.
21338 (pow_test_towardzero): Likewise.
21339 (pow_test_downward): Likewise.
21340 (pow_test_upward): Likewise.
21341 (main): Call the new functions.
21342 * sysdeps/i386/fpu/libm-test-ulps: Update.
21343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21344
21345 [BZ #3976]
21346 * math/libm-test.inc (cosh_test_tonearest): New function.
21347 (cosh_test_towardzero): Likewise.
21348 (cosh_test_downward): Likewise.
21349 (cosh_test_upward): Likewise.
21350 (sinh_test_tonearest): Likewise.
21351 (sinh_test_towardzero): Likewise.
21352 (sinh_test_downward): Likewise.
21353 (sinh_test_upward): Likewise.
21354 (main): Call the new functions.
21355 * sysdeps/i386/fpu/libm-test-ulps: Update.
21356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21357
213582012-03-05 Tom de Vries <tom@codesourcery.com>
21359
21360 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21361 default stack guard is set in last bytes.
21362 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21363
213642012-03-05 Kees Cook <keescook@chromium.org>
21365
21366 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
21367
21368 [BZ #13656]
21369 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21370 possibly allocate from heap instead of stack.
21371 * stdio-common/bug-vfprintf-nargs.c: New file.
21372 * stdio-common/Makefile (tests): Add nargs overflow test.
21373
213742012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21375
21376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21377
213782012-03-03 Marek Polacek <polacek@redhat.com>
21379
21380 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21381 * math/math_private.h: Likewise.
21382 * stdlib/tst-strtod.c: Likewise.
21383 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21384 * sysdeps/x86_64/bits/atomic.h: Likewise.
21385
213862012-03-02 David S. Miller <davem@davemloft.net>
21387
21388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21392 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21393 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21394 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21395 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21396
213972012-03-02 Roland McGrath <roland@hack.frob.com>
21398
21399 [BZ #13792]
21400 * manual/examples/README: New file, says the example source files
21401 can be used under GPL>=2.
21402 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21403 line containing just "*/".
21404 * manual/examples/add.c: Add copyright header (GPL>=2).
21405 * manual/examples/argp-ex1.c: Likewise.
21406 * manual/examples/argp-ex2.c: Likewise.
21407 * manual/examples/argp-ex3.c: Likewise.
21408 * manual/examples/argp-ex4.c: Likewise.
21409 * manual/examples/atexit.c: Likewise.
21410 * manual/examples/db.c: Likewise.
21411 * manual/examples/dir.c: Likewise.
21412 * manual/examples/dir2.c: Likewise.
21413 * manual/examples/execinfo.c: Likewise.
21414 * manual/examples/filecli.c: Likewise.
21415 * manual/examples/filesrv.c: Likewise.
21416 * manual/examples/fmtmsgexpl.c: Likewise.
21417 * manual/examples/genpass.c: Likewise.
21418 * manual/examples/inetcli.c: Likewise.
21419 * manual/examples/inetsrv.c: Likewise.
21420 * manual/examples/isockad.c: Likewise.
21421 * manual/examples/longopt.c: Likewise.
21422 * manual/examples/memopen.c: Likewise.
21423 * manual/examples/memstrm.c: Likewise.
21424 * manual/examples/mkfsock.c: Likewise.
21425 * manual/examples/mkisock.c: Likewise.
21426 * manual/examples/mygetpass.c: Likewise.
21427 * manual/examples/pipe.c: Likewise.
21428 * manual/examples/popen.c: Likewise.
21429 * manual/examples/rprintf.c: Likewise.
21430 * manual/examples/search.c: Likewise.
21431 * manual/examples/select.c: Likewise.
21432 * manual/examples/setjmp.c: Likewise.
21433 * manual/examples/sigh1.c: Likewise.
21434 * manual/examples/sigusr.c: Likewise.
21435 * manual/examples/stpcpy.c: Likewise.
21436 * manual/examples/strdupa.c: Likewise.
21437 * manual/examples/strftim.c: Likewise.
21438 * manual/examples/strncat.c: Likewise.
21439 * manual/examples/subopt.c: Likewise.
21440 * manual/examples/swapcontext.c: Likewise.
21441 * manual/examples/termios.c: Likewise.
21442 * manual/examples/testopt.c: Likewise.
21443 * manual/examples/testpass.c: Likewise.
21444 * manual/examples/timeval_subtract.c: Likewise.
21445
21446 [BZ #13792]
21447 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21448 function to ...
21449 * manual/timeval_subtract.c.texi: ... here, new file.
21450
214512012-03-02 David S. Miller <davem@davemloft.net>
21452
21453 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21454
214552012-03-02 Joseph Myers <joseph@codesourcery.com>
21456
21457 [BZ #3976]
21458 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21459 (__sin): Save and restore rounding mode and use round-to-nearest
21460 for all computations.
21461 (__cos): Save and restore rounding mode and use round-to-nearest
21462 for all computations.
21463 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21464 <fenv.h>.
21465 (tan): Save and restore rounding mode and use round-to-nearest for
21466 all computations.
21467 * math/libm-test.inc (cos_test_tonearest): New function.
21468 (cos_test_towardzero): Likewise.
21469 (cos_test_downward): Likewise.
21470 (cos_test_upward): Likewise.
21471 (sin_test_tonearest): Likewise.
21472 (sin_test_towardzero): Likewise.
21473 (sin_test_downward): Likewise.
21474 (sin_test_upward): Likewise.
21475 (tan_test_tonearest): Likewise.
21476 (tan_test_towardzero): Likewise.
21477 (tan_test_downward): Likewise.
21478 (tan_test_upward): Likewise.
21479 (main): Call the new functions.
21480 * sysdeps/i386/fpu/libm-test-ulps: Update.
21481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21482
21483 [BZ #10135]
21484 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21485 small n, then large n, before computing and testing k+n.
21486 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21487 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21488 Likewise.
21489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21490 Likewise.
21491 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21492 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21493 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21494 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21495 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21496 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21497 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21498 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21499 * math/libm-test.inc (scalbn_test): Add more tests.
21500 (scalbln_test): Likewise.
21501
21502 * manual/filesys.texi (mode_t): Describe constraints on size and
21503 signedness, not exact equivalence to a particular type.
21504 (ino_t): Likewise.
21505 (ino64_t): Likewise.
21506 (dev_t): Likewise.
21507 (nlink_t): Likewise.
21508 (blkcnt_t): Likewise.
21509 (blkcnt64_t): Likewise.
21510 * manual/llio.texi (off_t): Likewise.
21511
21512 [BZ #3976]
21513 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21514 (__ieee754_exp): Save and restore rounding mode and use
21515 round-to-nearest for all computations.
21516 * math/libm-test.inc (exp_test_tonearest): New function.
21517 (exp_test_towardzero): Likewise.
21518 (exp_test_downward): Likewise.
21519 (exp_test_upward): Likewise.
21520 (main): Call the new functions.
21521 * sysdeps/i386/fpu/libm-test-ulps: Update.
21522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21523
215242012-03-01 Chris Demetriou <cgd@google.com>
21525
21526 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21527 have predictable order.
21528
215292012-03-01 David S. Miller <davem@davemloft.net>
21530
21531 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21532
21533 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21534 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21535 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21536 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21537
21538 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21539 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21540 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21542 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21543 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21544 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21545 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21546 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21547
21548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21549
21550 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21551 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21552 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21553
21554 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21555 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21556 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21557 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21558 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21559 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21560 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21561 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21562 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21563 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21564 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21565 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21566 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21567 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21568 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21570 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21571 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21572 * sysdeps/sparc/elf/configure: Regenerated.
21573
215742012-03-01 Joseph Myers <joseph@codesourcery.com>
21575
21576 * configure.in (AS, LD): Require binutils 2.20 or later.
21577 * configure: Regenerated.
21578 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21579 as required minimum version.
21580 * INSTALL: Regenerated.
21581
21582 [BZ #2541]
21583 [BZ #4108]
21584 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21585 before squaring exponent.
21586 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21587 bottom long double and 27 bits of top long double before squaring
21588 exponent.
21589 * math/libm-test.inc (erfc_test): Add more tests.
21590 * sysdeps/i386/fpu/libm-test-ulps: Update.
21591 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21593
215942012-03-01 Kai Tietz <ktietz@redhat.com>
21595
21596 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21597 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21598 containing bit-fields.
21599 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21600 * soft-fp/single.h (_FP_UNION_S): Likewise.
21601 * soft-fp/double.h (_FP_UNION_D): Likewise.
21602
216032012-02-29 Joseph Myers <joseph@codesourcery.com>
21604
21605 [BZ #13786]
21606 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21607 not include ../strcmp.S.
21608 [USE_AS_STRNCASECMP_L]: Likewise.
21609 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21610 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21611 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21612 (__strncasecmp_l_ia32): Define as alias to
21613 __strncasecmp_l_nonascii.
21614
21615 [BZ #5794]
21616 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21617 * sysdeps/i386/fpu/libm-test-ulps: Update.
21618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21619
21620 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21622
216232012-02-29 Jeff Law <law@redhat.com>
21624
21625 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21626 out of bounds read.
21627
216282012-02-29 Marek Polacek <polacek@redhat.com>
21629
21630 [BZ #13706]
21631 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21632 * elf/Makefile: Add rules to run tst-unused-dep.out.
21633
216342012-02-28 David S. Miller <davem@davemloft.net>
21635
21636 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21637 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21638 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21639 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21640 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21641 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21642
216432012-02-29 Joseph Myers <joseph@codesourcery.com>
21644
21645 * math/libm-test.inc (llround_test): Move one test from
21646 lround_test. Use TEST_f_L in moved test.
21647 (lround_test): Move misplaced test to llround_test. Add testcase
21648 from bug 2561.
21649
216502012-02-28 Ulrich Drepper <drepper@gmail.com>
21651
21652 * sysdeps/x86_64/fpu/e_expf.S: New file.
21653 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21654
216552012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21656
21657 [BZ #13637]
21658 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21659 of remain_len that may cause incomplete multi-byte character and
21660 false match.
21661 * posix/bug-regex33.c: New file.
21662 * posix/Makefile (tests): Add bug-regex33.
21663
216642012-02-28 Joseph Myers <joseph@codesourcery.com>
21665
21666 * manual/macros.texi: New file.
21667 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21668 * manual/libc.texinfo: Include macros.texi.
21669 * manual/creatute.texi: Likewise.
21670 * manual/install.texi: Likewise.
21671 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21672 @glibcadj{} in references to the GNU C Library.
21673 * manual/charset.texi: Likewise.
21674 * manual/conf.texi: Likewise.
21675 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21676 when not using those macros.
21677 * manual/creature.texi: Likewise.
21678 * manual/crypt.texi: Likewise.
21679 * manual/errno.texi: Likewise.
21680 * manual/filesys.texi: Likewise.
21681 * manual/header.texi: Likewise.
21682 * manual/install.texi: Likewise.
21683 * manual/intro.texi: Likewise.
21684 * manual/io.texi: Likewise.
21685 * manual/job.texi: Likewise.
21686 * manual/lang.texi: Likewise.
21687 * manual/libc.texiinfo: Likewise.
21688 * manual/llio.texi: Likewise.
21689 * manual/locale.texi: Likewise.
21690 * manual/maint.texi: Likewise.
21691 * manual/math.texi: Likewise.
21692 * manual/memory.texi: Likewise.
21693 * manual/message.texi: Likewise.
21694 * manual/nss.texi: Likewise.
21695 * manual/pattern.texi: Likewise.
21696 * manual/process.texi: Likewise.
21697 * manual/resource.texi: Likewise.
21698 * manual/search.texi: Likewise.
21699 * manual/setjmp.texi: Likewise.
21700 * manual/signal.texi: Likewise.
21701 * manual/socket.texi: Likewise.
21702 * manual/startup.texi: Likewise.
21703 * manual/stdio.texi: Likewise.
21704 * manual/string.texi: Likewise.
21705 * manual/sysinfo.texi: Likewise.
21706 * manual/syslog.texi: Likewise.
21707 * manual/terminal.texi: Likewise.
21708 * manual/time.texi: Likewise.
21709 * manual/users.texi: Likewise.
21710 * INSTALL: Regenerated.
21711 * NOTES: Regenerated.
21712 * sysdeps/gnu/errlist.c: Regenerated.
21713
217142012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21715
21716 * include/dirent.h: Include <dirstream.h> before
21717 <dirent/dirent.h>.
21718
217192012-02-28 David S. Miller <davem@davemloft.net>
21720
21721 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21722 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21723 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21724 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21725
217262012-02-27 David S. Miller <davem@davemloft.net>
21727
21728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21730 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21731 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21732
21733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21734 frame pointer instead of stack pointer relative arg slot.
21735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21736 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21737 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21738
217392012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21740
21741 [BZ #3992]
21742 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21743
217442012-02-27 David S. Miller <davem@davemloft.net>
21745
21746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21750 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21751 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21752 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21753 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21754
217552012-02-27 Joseph Myers <joseph@codesourcery.com>
21756
21757 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21758 later. Allow versions 5-9.
21759 * configure: Regenerated.
21760 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21761 required minimum version and 4.6 as recommended version. Do not
21762 mention bugs in GCC 2.7 and 2.8.
21763 * INSTALL: Regenerated.
21764
217652012-02-27 David S. Miller <davem@davemloft.net>
21766
21767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21771 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21772 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21773 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21774 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21775
21776 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21777 manipulate bits before adding and subtracting TWO112[sx].
21778 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21779
217802012-02-27 Roland McGrath <roland@hack.frob.com>
21781
21782 [BZ #13775]
21783 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21784 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21785 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21786 being in POSIX, because they are in 1003.1-2008.
21787
21788 * rt/tst-aio.c: Include <fcntl.h>.
21789 * rt/tst-aio7.c: Likewise.
21790 * rt/tst-aio64.c: Likewise.
21791
21792 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21793
217942012-02-27 Joseph Myers <joseph@codesourcery.com>
21795
21796 * manual/install.texi (--with-headers): Describe headers as
21797 interface headers, not private headers.
21798 (Specific advice for GNU/Linux systems): Describe use of headers
21799 from "make headers_install", not private headers from older
21800 kernels.
21801 * INSTALL: Regenerated.
21802 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21803 Change to 2.6.19.
21804 * sysdeps/unix/sysv/linux/configure: Regenerated.
21805
21806 * manual/llio.texi (fclean): Remove documentation.
21807
21808 * manual/Makefile (libc-texi-generated): New variable. Include
21809 version.texi.
21810 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21811 $(libc-texi-generated), not duplicated list of files.
21812 (version.texi, stamp-version): New rules.
21813 (realclean): Remove $(libc-texi-generated), not individual files
21814 from that list. Do not remove dir-add.texinfo.
21815 * manual/libc.texinfo: Comment out uses of edition numbers and
21816 references to printed manual. Remove last-updated dates.
21817 (EDITION): Comment out.
21818 (ISBN): Likewise.
21819 (VERSION, UPDATED): Remove.
21820 (version.texi): Include.
21821
218222012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21823
21824 * sysdeps/posix/spawni.c: Include <signal.h>.
21825 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21826 * sysdeps/pthread/aio_fsync.c: Likewise.
21827
218282012-02-26 Ulrich Drepper <drepper@gmail.com>
21829
21830 * conform/Makefile (tests): Run only when not cross-compiling and
21831 when fast-check is not defined.
21832
21833 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21834 * conform/data/limits.h-data: Fixes for POSIX2008.
21835 * conform/run-conformtest.sh: Run all tests.
21836 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21837 headers.
21838 * include/bits/dlfcn.h: Likewise.
21839 * include/langinfo.h: Likewise.
21840 * include/monetary.h: Likewise.
21841 * include/sys/poll.h: Likewise.
21842
21843 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21844 for __USE_GNU.
21845 * posix/spawn.h: Define __need_sigset_t.
21846 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21847 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21848 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21849 to get sigevent_t only.
21850 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21851 only for __USE_GNU.
21852 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21853 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21854 process_vm_writev only for __USE_GNU.
21855 * termios/termios.h: Declare tcgetsid also for POSIX2008.
21856
21857 * conform/Makefile: For now ignore errors from run-conformtest.
21858 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21859 POSIX to avoid namespace pollution. Don't prepend headers.
21860 * conform/data/aio.h-data: Fixes for POSIX testing.
21861 * conform/data/fcntl.h-data: Likewise.
21862 * conform/data/glob.h-data: Likewise.
21863 * conform/data/grp.h-data: Likewise.
21864 * conform/data/pthread.h-data: Likewise.
21865 * conform/data/pwd.h-data: Likewise.
21866 * conform/data/signal.h-data: Likewise.
21867 * conform/data/spawn.h-data: Likewise.
21868 * conform/data/stdio.h-data: Likewise.
21869 * conform/data/stdlib.h-data: Likewise.
21870 * conform/data/stropts.h-data: Likewise.
21871 * conform/data/sys/mman.h-data: Likewise.
21872 * conform/data/sys/stat.h-data: Likewise.
21873 * conform/data/sys/types.h-data: Likewise.
21874 * conform/data/sys/wait.h-data: Likewise.
21875 * conform/data/time.h-data: Likewise.
21876 * conform/data/unistd.h-data: Likewise.
21877 * conform/data/utime.h-data: Likewise.
21878
21879 * io/sys/stat.h: fchmod was always in POSIX.
21880 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21881 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21882 * rt/aio.h: Define __need_timespec before including <time.h>.
21883 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21884 struct. Add forward declaration of pthread_attr_t and use it in
21885 sigevent.
21886 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21887 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21888 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21889 always remove CLK_TCK definition.
21890
218912012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21892
21893 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21894
218952012-02-25 Ulrich Drepper <drepper@gmail.com>
21896
21897 * conform/run-conformtest.sh: New file.
21898 * conform/Makefile: Run run-conformtest for tests.
21899 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21900 support.
21901
21902 * conform/data/uchar.h-data: New file.
21903 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21904 * conform/data/arpa/inet.h-data: Likewise.
21905 * conform/data/assert.h-data: Likewise.
21906 * conform/data/complex.h-data: Likewise.
21907 * conform/data/cpio.h-data: Likewise.
21908 * conform/data/ctype.h-data: Likewise.
21909 * conform/data/dirent.h-data: Likewise.
21910 * conform/data/dlfcn.h-data: Likewise.
21911 * conform/data/errno.h-data: Likewise.
21912 * conform/data/fcntl.h-data: Likewise.
21913 * conform/data/float.h-data: Likewise.
21914 * conform/data/fmtmsg.h-data: Likewise.
21915 * conform/data/fnmatch.h-data: Likewise.
21916 * conform/data/ftw.h-data: Likewise.
21917 * conform/data/glob.h-data: Likewise.
21918 * conform/data/grp.h-data: Likewise.
21919 * conform/data/iconv.h-data: Likewise.
21920 * conform/data/inttypes.h-data: Likewise.
21921 * conform/data/langinfo.h-data: Likewise.
21922 * conform/data/libgen.h-data: Likewise.
21923 * conform/data/limits.h-data: Likewise.
21924 * conform/data/locale.h-data: Likewise.
21925 * conform/data/math.h-data: Likewise.
21926 * conform/data/monetary.h-data: Likewise.
21927 * conform/data/mqueue.h-data: Likewise.
21928 * conform/data/ndbm.h-data: Likewise.
21929 * conform/data/net/if.h-data: Likewise.
21930 * conform/data/netdb.h-data: Likewise.
21931 * conform/data/netinet/in.h-data: Likewise.
21932 * conform/data/nl_types.h-data: Likewise.
21933 * conform/data/poll.h-data: Likewise.
21934 * conform/data/pthread.h-data: Likewise.
21935 * conform/data/pwd.h-data: Likewise.
21936 * conform/data/regex.h-data: Likewise.
21937 * conform/data/sched.h-data: Likewise.
21938 * conform/data/search.h-data: Likewise.
21939 * conform/data/semaphore.h-data: Likewise.
21940 * conform/data/setjmp.h-data: Likewise.
21941 * conform/data/signal.h-data: Likewise.
21942 * conform/data/spawn.h-data: Likewise.
21943 * conform/data/stdarg.h-data: Likewise.
21944 * conform/data/stdio.h-data: Likewise.
21945 * conform/data/stdlib.h-data: Likewise.
21946 * conform/data/string.h-data: Likewise.
21947 * conform/data/strings.h-data: Likewise.
21948 * conform/data/stropts.h-data: Likewise.
21949 * conform/data/sys/ipc.h-data: Likewise.
21950 * conform/data/sys/mman.h-data: Likewise.
21951 * conform/data/sys/msg.h-data: Likewise.
21952 * conform/data/sys/resource.h-data: Likewise.
21953 * conform/data/sys/select.h-data: Likewise.
21954 * conform/data/sys/sem.h-data: Likewise.
21955 * conform/data/sys/shm.h-data: Likewise.
21956 * conform/data/sys/socket.h-data: Likewise.
21957 * conform/data/sys/stat.h-data: Likewise.
21958 * conform/data/sys/statvfs.h-data: Likewise.
21959 * conform/data/sys/time.h-data: Likewise.
21960 * conform/data/sys/timeb.h-data: Likewise.
21961 * conform/data/sys/times.h-data: Likewise.
21962 * conform/data/sys/types.h-data: Likewise.
21963 * conform/data/sys/uio.h-data: Likewise.
21964 * conform/data/sys/un.h-data: Likewise.
21965 * conform/data/sys/utsname.h-data: Likewise.
21966 * conform/data/sys/wait.h-data: Likewise.
21967 * conform/data/syslog.h-data: Likewise.
21968 * conform/data/tar.h-data: Likewise.
21969 * conform/data/termios.h-data: Likewise.
21970 * conform/data/utime.h-data: Likewise.
21971 * conform/data/utmpx.h-data: Likewise.
21972 * conform/data/varargs.h-data: Likewise.
21973 * conform/data/wchar.h-data: Likewise.
21974 * conform/data/wctype.h-data: Likewise.
21975 * conform/data/wordexp.h-data: Likewise.
21976
21977 * include/stropts.h: New file.
21978 * include/uchar.h: New file.
21979 * include/aio.h: Changes to allow conformtest.pl to use the headers.
21980 * include/assert.h: Likewise.
21981 * include/ctype.h: Likewise.
21982 * include/dirent.h: Likewise.
21983 * include/dlfcn.h: Likewise.
21984 * include/fcntl.h: Likewise.
21985 * include/fnmatch.h: Likewise.
21986 * include/glob.h: Likewise.
21987 * include/grp.h: Likewise.
21988 * include/libio.h: Likewise.
21989 * include/locale.h: Likewise.
21990 * include/math.h: Likewise.
21991 * include/net/if.h: Likewise.
21992 * include/netdb.h: Likewise.
21993 * include/netinet/in.h: Likewise.
21994 * include/pthread.h: Likewise.
21995 * include/pwd.h: Likewise.
21996 * include/regex.h: Likewise.
21997 * include/sched.h: Likewise.
21998 * include/search.h: Likewise.
21999 * include/setjmp.h: Likewise.
22000 * include/signal.h: Likewise.
22001 * include/stdio.h: Likewise.
22002 * include/stdlib.h: Likewise.
22003 * include/string.h: Likewise.
22004 * include/sys/cdefs.h: Likewise.
22005 * include/sys/mman.h: Likewise.
22006 * include/sys/msg.h: Likewise.
22007 * include/sys/resource.h: Likewise.
22008 * include/sys/select.h: Likewise.
22009 * include/sys/socket.h: Likewise.
22010 * include/sys/stat.h: Likewise.
22011 * include/sys/statvfs.h: Likewise.
22012 * include/sys/time.h: Likewise.
22013 * include/sys/times.h: Likewise.
22014 * include/sys/uio.h: Likewise.
22015 * include/sys/utsname.h: Likewise.
22016 * include/sys/wait.h: Likewise.
22017 * include/termios.h: Likewise.
22018 * include/time.h: Likewise.
22019 * include/ulimit.h: Likewise.
22020 * include/unistd.h: Likewise.
22021 * include/utime.h: Likewise.
22022 * include/wchar.h: Likewise.
22023 * include/wctype.h: Likewise.
22024 * include/wordexp.h: Likewise.
22025
22026 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22027
22028 * time/time.h: TIME_UTC must be a macro.
22029 Make timespec_get available for ISO C11 only as well.
22030
220312012-02-24 Ulrich Drepper <drepper@gmail.com>
22032
22033 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22034 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22035
220362012-02-24 Joseph Myers <joseph@codesourcery.com>
22037
22038 * configure.in: Use -o not -a in test for unsupported multi-arch.
22039
220402012-02-24 Joseph Myers <joseph@codesourcery.com>
22041
22042 * manual/texinfo.tex: Update to version 2012-01-19.16.
22043
220442012-02-24 Joseph Myers <joseph@codesourcery.com>
22045
22046 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22047
220482012-02-24 Roland McGrath <roland@hack.frob.com>
22049
22050 [BZ #13738]
22051 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22052 * manual/fdl-1.3.texi: New file.
22053 * manual/fdl-1.1.texi: File removed.
22054
22055 [BZ #13738]
22056 * manual/libc.texinfo (FDL_VERSION): New @set.
22057 Use it for mention of FDL in cover text.
22058 (Documentation License): Use it in @include file name.
22059
220602012-02-22 Joseph Myers <joseph@codesourcery.com>
22061 Roland McGrath <roland@hack.frob.com>
22062
22063 [BZ #5461]
22064 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22065 not LONG_LONG_MAX and LONG_LONG_MIN.
22066 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22067 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22068 name.
22069 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22070
220712012-02-22 Joseph Myers <joseph@codesourcery.com>
22072
22073 [BZ #2547]
22074 [BZ #11365]
22075 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22076 manipulate bits before adding and subtracting TWO23[sx].
22077 * math/libm-test.inc (nearbyint_test): Add more tests.
22078
220792012-02-22 Joseph Myers <joseph@codesourcery.com>
22080
22081 [BZ #2548]
22082 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22083 bits before adding and subtracting TWO23[sx].
22084 * math/libm-test.inc (rint_test): Add more tests.
22085 (rint_test_tonearest): Likewise.
22086 (rint_test_towardzero): Likewise.
22087 (rint_test_downward): Likewise.
22088 (rint_test_upward: Likewise.
22089
220902012-02-22 Joseph Myers <joseph@codesourcery.com>
22091
22092 [BZ #10110]
22093 * include/stdc-predef.h: New file. Extracted from features.h.
22094 * include/features.h: Include stdc-predef.h.
22095 * Makefile (headers): Add stdc-predef.h.
22096 * CONFORMANCE (Compiler limitations): Update.
22097
220982012-02-22 Joseph Myers <joseph@codesourcery.com>
22099
22100 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22101
221022012-02-21 David S. Miller <davem@davemloft.net>
22103
22104 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22105 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22106
221072012-02-20 David S. Miller <davem@davemloft.net>
22108
22109 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22110 using a normal save/restore sequence, rather than allocating a
22111 dummy stack frame just to store a frame pointer and restore.
22112 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22113
221142012-02-21 Joseph Myers <joseph@codesourcery.com>
22115
22116 * manual/install.texi: Fix stray word in line-wrapped comment.
22117
221182012-02-20 David S. Miller <davem@davemloft.net>
22119
22120 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22121 both binutils and gcc support GOTDATA.
22122
22123 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22124 "rd %pc" in the PIC register setup sequences.
22125
22126 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22127 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22128 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22129 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22130 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22132 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22133 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22134 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22135 (SYSCALL_ERROR_HANDLER): Likewise.
22136 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22137 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22139 (SYSCALL_ERROR_HANDLER): Likewise.
22140
22141 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22142 (HAVE_GCC_GOTDATA): New.
22143 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22144 relocation support in both binutils and gcc.
22145 * sysdeps/sparc/elf/configure: Regenerate.
22146
22147 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22148 * sysdeps/sparc/sparc32/elf/configure: Delete.
22149 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22150 * sysdeps/sparc/sparc64/elf/configure: Delete.
22151 * sysdeps/sparc/elf/configure.in: New file.
22152 * sysdeps/sparc/elf/configure: Generate.
22153
22154 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22155 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22156 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22157 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22158 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22159
221602012-02-21 Joseph Myers <joseph@codesourcery.com>
22161
22162 * manual/install.texi: Do not mention specific glibc version
22163 numbers.
22164 * manual/libc.texinfo (VERSION, UPDATED): Update.
22165 (@copying): Use @copyright{} and range of years.
22166
221672012-02-21 Joseph Myers <joseph@codesourcery.com>
22168
22169 [BZ #13695]
22170 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22171 [crti.S not in sysdirs] (generated): Do not append.
22172 [crti.S not in sysdirs] (omit-deps): Likewise.
22173 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22174 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22175 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22176 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22177 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22178 Likewise.
22179 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22180 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22181 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22182 * csu/defs.awk: Remove file.
22183 * sysdeps/generic/initfini.c: Likewise.
22184 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22185 variable.
22186 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22187 Likewise.
22188
221892012-02-20 Joseph Myers <joseph@codesourcery.com>
22190
22191 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22192 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22193 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22194 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22195 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22196 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22197 <bits/epoll.h>.
22198 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22199 (__EPOLL_PACKED): Define to empty if not defined by
22200 <bits/epoll.h>.
22201 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22203 bits/epoll.h.
22204
222052012-02-20 Joseph Myers <joseph@codesourcery.com>
22206
22207 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22208 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22209 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22210 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22211 <bits/timerfd.h>.
22212 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22214 bits/timerfd.h.
22215
222162012-02-20 Joseph Myers <joseph@codesourcery.com>
22217
22218 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22219 in C locale.
22220 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22221 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22222 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22224
222252012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22226
22227 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22228 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22229
222302012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22231
22232 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22233 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22234 defined.
22235 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22236 Likewise.
22237 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22238 entry for 2.16.
22239
222402012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22241
22242 * math/w_acos.c: Use non-signaling floating-point comparisons.
22243 * math/w_acosf.c: Likewise.
22244 * math/w_acosh.c: Likewise.
22245 * math/w_acoshf.c: Likewise.
22246 * math/w_acoshl.c: Likewise.
22247 * math/w_acosl.c: Likewise.
22248 * math/w_asin.c: Likewise.
22249 * math/w_asinf.c: Likewise.
22250 * math/w_asinl.c: Likewise.
22251 * math/w_atanh.c: Likewise.
22252 * math/w_atanhf.c: Likewise.
22253 * math/w_atanhl.c: Likewise.
22254 * math/w_exp2.c: Likewise.
22255 * math/w_exp2f.c: Likewise.
22256 * math/w_exp2l.c: Likewise.
22257 * math/w_j0.c: Likewise.
22258 * math/w_j0f.c: Likewise.
22259 * math/w_j0l.c: Likewise.
22260 * math/w_j1.c: Likewise.
22261 * math/w_j1f.c: Likewise.
22262 * math/w_j1l.c: Likewise.
22263 * math/w_jn.c: Likewise.
22264 * math/w_jnf.c: Likewise.
22265 * math/w_log.c: Likewise.
22266 * math/w_log10.c: Likewise.
22267 * math/w_log10f.c: Likewise.
22268 * math/w_log10l.c: Likewise.
22269 * math/w_log2.c: Likewise.
22270 * math/w_log2f.c: Likewise.
22271 * math/w_log2l.c: Likewise.
22272 * math/w_logf.c: Likewise.
22273 * math/w_logl.c: Likewise.
22274 * math/w_sqrt.c: Likewise.
22275 * math/w_sqrtf.c: Likewise.
22276 * math/w_sqrtl.c: Likewise.
22277 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22278 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22279 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22280 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22281 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22282
222832012-02-19 Joseph Myers <joseph@codesourcery.com>
22284
22285 [BZ #9739]
22286 * manual/string.texi (strnlen): Use correct parameter name in
22287 equivalent expression.
22288
222892012-02-19 Joseph Myers <joseph@codesourcery.com>
22290
22291 [BZ #11174]
22292 * manual/users.texi (seteuid): Consistently use neweuid for
22293 argument name.
22294
222952012-02-19 Joseph Myers <joseph@codesourcery.com>
22296
22297 [BZ #13704]
22298 * manual/nss.texi (Services in the NSS configuration): Correct
22299 list of services in example configuration file.
22300
223012012-02-19 Nick Bowler <nbowler@draconx.ca>
22302
22303 [BZ #11322]
22304 * manual/arith.texi: Remove statements about negative zero
22305 behaving identically to zero.
22306
223072012-02-18 Joseph Myers <joseph@codesourcery.com>
22308
22309 [BZ #5993]
22310 * manual/install.texi: Do not document upgrading from libc5.
22311
223122012-02-18 Joseph Myers <joseph@codesourcery.com>
22313
22314 [BZ #4596]
22315 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22316
223172012-02-18 David S. Miller <davem@davemloft.net>
22318
22319 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22320 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22321 %o7 across the call.
22322 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22323 instead.
22324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22325 SETUP_PIC_REG_LEAF.
22326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22327 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22328 * sysdeps/sparc/crtn.S: Likewise.
22329
223302012-02-17 Ulrich Drepper <drepper@gmail.com>
22331
22332 * aout/Makefile: Remove.
22333
223342012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22335
22336 [BZ #13058]
22337 * manual/examples/argp-ex1.c (main): Format definition in GNU
22338 style.
22339 * manual/examples/argp-ex2.c (main): Likewise.
22340 * manual/examples/argp-ex3.c (main): Likewise.
22341 * manual/examples/argp-ex4.c (main): Likewise.
22342 * manual/examples/longopt.c (main): Use new-style prototype
22343 definition.
22344 * manual/examples/strncat.c (main): Specify return type and use
22345 (void) for arguments.
22346 * manual/examples/subopt.c (main): Use char **argv argument.
22347
223482012-02-17 Joseph Myers <joseph@codesourcery.com>
22349
22350 [BZ #5077]
22351 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22352 rounding modes.
22353
223542012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22355
22356 [BZ #6907]
22357 * manual/string.texi (strchr): Change when strchrnul is
22358 recommended.
22359
223602012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22361
22362 [BZ #174]
22363 * manual/locale.texi (setlocale): Document LOCPATH.
22364
223652012-02-17 Joseph Myers <joseph@codesourcery.com>
22366
22367 [BZ #10210]
22368 * manual/process.texi (execle): Move @dots{} before last argument.
22369
223702012-02-17 Paul Bolle <pebolle@tiscali.nl>
22371
22372 [BZ #12047]
22373 * manual/charset.texi (Generic Charset Conversion): Fix typo
22374 (LC_TYPE -> LC_CTYPE).
22375
223762012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22377
22378 [BZ #5805]
22379 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22380 (scalbnf): Likewise.
22381 (scalbnl): Likewise.
22382 (scalbln): Likewise.
22383 (scalblnf): Likewise.
22384 (scalblnl): Likewise.
22385 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22386 (vwarnx): Likewise.
22387 (verr): Likewise.
22388 (verrx): Likewise.
22389 * manual/filesys.texi (telldir): Use braces around return type.
22390 * manual/llio.texi (mmap): Add space after comma.
22391 (mmap64): Likewise.
22392 * manual/math.texi (jn): Use @var{} on parameter names.
22393 (jnf): Likewise.
22394 (jnl): Likewise.
22395 (yn): Likewise.
22396 (ynf): Likewise.
22397 (ynl): Likewise.
22398 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22399 line.
22400 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22401 "...".
22402 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22403 (sched_get_priority_max): Likewise.
22404 * manual/signal.texi (sigvec): Add space after comma.
22405 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22406 names.
22407 (if_indextoname): Likewise.
22408 (if_freenameindex): Likewise.
22409 (sendto): Use ',' instead of '.' in prototype.
22410 * manual/startup.texi (syscall): Use @dots{} instead of literal
22411 "...".
22412 * manual/stdio.texi (__fpending): Separate initial words of
22413 paragraph from @deftypefun line.
22414 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22415 "...".
22416 (vsyslog): Use @var{} on parameter names.
22417 * manual/terminal.texi (stty): Use @var{} on parameter names.
22418 * manual/users.texi (getutmp): Use @var{} on parameter names.
22419 (getutmpx): Likewise.
22420
224212012-02-17 Joseph Myers <joseph@codesourcery.com>
22422
22423 [BZ #6884]
22424 * manual/stdio.texi (fopen): Fix typos in description of
22425 ",ccs=STRING".
22426
224272012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22428
22429 [BZ #4026]
22430 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22431 get clock_id definition.
22432
224332012-02-17 Thomas Schwinge <thomas@schwinge.name>
22434
22435 [BZ #4822]
22436 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22437 (madvise): Cast every argument to void on its own.
22438
224392012-02-17 Joseph Myers <joseph@codesourcery.com>
22440
22441 [BZ #9902]
22442 * manual/startup.texi (Exit Status): Fix typo.
22443
224442012-02-17 Joseph Myers <joseph@codesourcery.com>
22445
22446 [BZ #10140]
22447 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22448 * manual/examples/argp-ex2.c: Likewise.
22449 * manual/examples/argp-ex3.c: Likewise.
22450
224512012-02-16 Richard Henderson <rth@redhat.com>
22452
22453 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22454 * sysdeps/s390/s390-32/initfini.c: Remove.
22455 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22456 * sysdeps/s390/s390-64/initfini.c: Remove.
22457
224582012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22459
22460 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22461 compiler output for sysdeps/generic/initfini.c.
22462 * sysdeps/sh/elf/initfini.c: Remove file.
22463
224642012-02-16 David S. Miller <davem@davemloft.net>
22465
22466 [BZ #11494]
22467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22468
22469 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22470 * sysdeps/sparc/crti.S: New file.
22471 * sysdeps/sparc/crtn.S: New file.
22472 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22473 * sysdeps/sparc/sparc64/Makefile: Likewise.
22474
224752012-02-15 Mike Frysinger <vapier@gentoo.org>
22476
22477 [BZ #3335]
22478 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22479
224802012-02-15 Roland McGrath <roland@hack.frob.com>
22481
22482 [BZ #4822]
22483 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22484
22485 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22486 (write, read, close): Likewise.
22487 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22488
224892012-02-15 Joseph Myers <joseph@codesourcery.com>
22490
22491 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22492 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22493 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22494 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22495 <bits/signalfd.h>.
22496 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22498 bits/signalfd.h.
22499
225002012-02-14 Marek Polacek <polacek@redhat.com>
22501
22502 * sysdeps/x86_64/crti.S: New file.
22503 * sysdeps/x86_64/crtn.S: New file.
22504 * sysdeps/x86_64/elf/initfini.c: Remove file.
22505
225062012-02-13 Joseph Myers <joseph@codesourcery.com>
22507
22508 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22509 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22510 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22511 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22512 <bits/inotify.h>.
22513 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22515 bits/inotify.h.
22516
225172012-02-13 Joseph Myers <joseph@codesourcery.com>
22518
22519 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22520 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22521 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22522 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22523 <bits/eventfd.h>.
22524 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22526 bits/eventfd.h.
22527
225282012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22529
22530 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22531 __feraiseexcept instead of feraiseexcept.
22532
22533 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22534 nanosleep invocations.
22535 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22536 strings, and add error checking for a nanosleep invocations.
22537
225382012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22539
22540 Replace FSF snail mail address with URLs, as per GNU coding standards.
22541 Most of the snail mail addresses were wrong anyway, and omitting
22542 them makes the source code easier to maintain. Almost all of the
22543 changes are to license notices and to locale LC_IDENTIFICATION
22544 addresses, except for this one:
22545 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22546 not its snail mail address.
22547
225482012-02-09 Richard Henderson <rth@twiddle.net>
22549
22550 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22551 of kernel-features.h.
22552
22553 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22554
225552012-02-08 Marek Polacek <polacek@redhat.com>
22556
22557 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22558 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22559 * sysdeps/gnu/_G_config.h: Likewise.
22560 * sysdeps/generic/_G_config.h: Likewise.
22561
225622012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22563
22564 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22565 tests.
22566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22567
22568 * sysdeps/powerpc/powerpc32/crti.S: New file.
22569 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22570 * sysdeps/powerpc/powerpc64/crti.S: New file.
22571 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22572
22573 * Makeconfig (have-initfini): Don't set.
22574 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22575 * configure.in (nopic_initfini): Don't substitute.
22576 * config.h.in (HAVE_INITFINI): Don't #undef.
22577 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22578 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22579
225802012-02-08 Joseph Myers <joseph@codesourcery.com>
22581
22582 Support crti.S and crtn.S provided directly by architectures.
22583 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22584 [crti.S in sysdirs] (omit-deps): Likewise.
22585 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22586 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22587 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22588 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22589 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22590 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22591 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22592 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22593 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22594 compiler output for sysdeps/generic/initfini.c.
22595 * sysdeps/i386/elf/Makefile: Remove file.
22596 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22597
225982012-02-07 Marek Polacek <polacek@redhat.com>
22599
22600 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22601 * sysdeps/gnu/_G_config.h: Likewise.
22602 * sysdeps/mach/hurd/_G_config.h: Likewise.
22603
226042012-02-07 Marek Polacek <polacek@redhat.com>
22605
22606 * math/Makefile (tests): Add tst-CMPLX2.
22607 * math/tst-CMPLX2.c: New file.
22608
226092012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22610
22611 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22612
22613 * math/libm-test.inc (jn_test): Add missing L suffix.
22614
226152012-02-06 Marek Polacek <polacek@redhat.com>
22616
22617 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22618 * sysdeps/i386/fpu/e_powf.S: Likewise.
22619 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22620 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22621 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22622 * sysdeps/i386/fpu/e_pow.S: Likewise.
22623 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22624 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22625 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22626 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22627 * sysdeps/i386/fpu/e_log2.S: Likewise.
22628 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22629 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22630 * sysdeps/i386/fpu/e_powl.S: Likewise.
22631 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22632 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22633 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22634 * sysdeps/i386/fpu/e_logl.S: Likewise.
22635 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22636 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22637 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22638 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22639 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22640 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22641 * sysdeps/i386/fpu/e_log.S: Likewise.
22642 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22643 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22644 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22645 * sysdeps/i386/fpu/e_logf.S: Likewise.
22646 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22647 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22648 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22649 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22650 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22651 * sysdeps/i386/fpu/e_log10.S: Likewise.
22652 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22653 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22654 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22655 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22656 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22657 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22658 * sysdeps/i386/asm-syntax.h: Likewise.
22659 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22660 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22661 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22662 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22663 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22664 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22665 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22666 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22667 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22668 * sysdeps/powerpc/sysdep.h: Likewise.
22669 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22670 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22671
226722012-02-06 Joseph Myers <joseph@codesourcery.com>
22673
22674 [BZ #411]
22675 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22676
226772012-02-06 Joseph Myers <joseph@codesourcery.com>
22678
22679 * sysdeps/i386/sysdep.h: Include <features.h>.
22680 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22681 version.
22682
226832012-02-05 Joseph Myers <joseph@codesourcery.com>
22684
22685 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22686 Define.
22687 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22688 LOAD_PIC_REG_STR.
22689
226902012-02-03 Joseph Myers <joseph@codesourcery.com>
22691
22692 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22693 (SETUP_PIC_REG): Use GET_PC_THUNK.
22694 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22695 macro.
22696
226972012-02-03 Joseph Myers <joseph@codesourcery.com>
22698
22699 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22700 for non-PIC compilation.
22701 (SETUP_PIC_REG): Add .p2align directive.
22702 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22703 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22704 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22705 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22706 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22707 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22708 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22709 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22710 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22711 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22712 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22713 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22714 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22715 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22716 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22717 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22718 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22719 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22720 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22721 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22722 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22723 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22724 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22725 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22726 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22727 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22728 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22729 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22730 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22731 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22732 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22733 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22734 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22735 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22736 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22737 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22738 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22739 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22740 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22741 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22742 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22743
227442012-02-03 Joseph Myers <joseph@codesourcery.com>
22745
22746 * math/tst-CMPLX.c: Include <stdio.h>.
22747
227482012-01-31 Joseph Myers <joseph@codesourcery.com>
22749
22750 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22751 float.
22752 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22753 * sysdeps/sparc/bits/mathdef.h: Likewise.
22754
227552012-01-31 Marek Polacek <polacek@redhat.com>
22756
22757 * libio/libio.h: Don't define _PARAMS.
22758 * locale/programs/config.h: Don't define PARAMS.
22759 * stdlib/strtol_l.c: Likewise.
22760 (__strtol_l): Remove PARAMS from the prototype.
22761
227622012-01-31 Ulrich Drepper <drepper@gmail.com>
22763
22764 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22765 names. Just use the correct names. Remove unnecessary wrapper
22766 functions.
22767 * malloc/arena.c: Likewise.
22768 * malloc/hooks.c: Likewise.
22769
22770 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22771 ARENA_TEST says not to. Simplify test for creation of a new arena.
22772 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22773
227742012-01-30 Ulrich Drepper <drepper@gmail.com>
22775
22776 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22777 into tail calls.
22778 (update_get_addr): New function.
22779 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22780 GET_ADDR_MODULE parameter.
22781
227822012-01-30 Joseph Myers <joseph@codesourcery.com>
22783
22784 * crypt/cert.c: Remove __STDC__ conditionals.
22785 * crypt/crypt-entry.c: Likewise.
22786 * crypt/crypt_util.c: Likewise.
22787 * libio/filedoalloc.c: Likewise.
22788 * libio/fileops.c: Likewise.
22789 * libio/genops.c: Likewise.
22790 * libio/iofclose.c: Likewise.
22791 * libio/iofdopen.c: Likewise.
22792 * libio/iofopen.c: Likewise.
22793 * libio/iofopen64.c: Likewise.
22794 * libio/iogetdelim.c: Likewise.
22795 * libio/iopopen.c: Likewise.
22796 * libio/obprintf.c: Likewise.
22797 * libio/oldfileops.c: Likewise.
22798 * libio/oldiofclose.c: Likewise.
22799 * libio/oldiofdopen.c: Likewise.
22800 * libio/oldiofopen.c: Likewise.
22801 * libio/oldiopopen.c: Likewise.
22802 * libio/wfiledoalloc.c: Likewise.
22803 * libio/wgenops.c: Likewise.
22804 * locale/programs/xmalloc.c: Likewise.
22805 * misc/syslog.c: Likewise.
22806 * stdio-common/xbug.c: Likewise.
22807 * string/memchr.c: Likewise.
22808 * string/memcmp.c: Likewise.
22809 * string/memrchr.c: Likewise.
22810 * string/rawmemchr.c: Likewise.
22811 * sysdeps/posix/getcwd.c: Likewise.
22812 * time/strftime_l.c: Likewise.
22813
228142012-01-30 Joseph Myers <joseph@codesourcery.com>
22815
22816 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
22817 * config.make.in (config-cflags-sse2avx): Define.
22818 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22819 Fix typo.
22820
228212012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22822
22823 * scripts/config.guess: Update from upstream config git repository.
22824 * scripts/config.sub: Likewise.
22825
228262012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22827
22828 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22829 (EM_NUM): Update.
22830 (R_TILEPRO_*, R_TILEGX_*): New macros.
22831
22832 * scripts/firstversions.awk: Fix bug in version range handling.
22833
22834 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22835
22836 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22837
22838 * include/sys/epoll.h: New file.
22839 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22840 libc_hidden_def.
22841
228422012-01-28 Ulrich Drepper <drepper@gmail.com>
22843
22844 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22845 Avoid unnecessary __WORDSIZE == 64 test.
22846 (fmaxf): Use VEX format if possible.
22847 (fmax): Likewise.
22848 (fminf): Likewise.
22849 (fmin): Likewise.
22850
22851 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22852 * math/math_private.h: Remove libc_fegetround* and
22853 libc_fesetround*.
22854 * sysdeps/i386/configure.in: Check for -msse2avx.
22855 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22856 also if SSE2AVX is defined.
22857 Remove libc_fegetround* and libc_fesetround*.
22858 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22859 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22860 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22861 of HAS_YMM_USABLE.
22862 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22863 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22864 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22865 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22866 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22867
22868 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22869
228702012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22871
22872 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22873 size is not set.
22874 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22875
228762012-01-27 Ulrich Drepper <drepper@gmail.com>
22877
22878 [BZ #13618]
22879 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22880 relocation.
22881 * Makeconfig (libm): Define.
22882 * elf/Makefile: Add rules to build and run tst-relsort1.
22883 * elf/tst-relsort1.c: New file.
22884 * elf/tst-relsort1mod1.c: New file.
22885 * elf/tst-relsort1mod2.c: New file.
22886
228872012-01-27 Joseph Myers <joseph@codesourcery.com>
22888
22889 * math/s_ldexp.c: Remove __STDC__ conditionals.
22890 * math/s_ldexpf.c: Likewise.
22891 * math/s_ldexpl.c: Likewise.
22892 * math/s_nextafter.c: Likewise.
22893 * math/s_nexttowardf.c: Likewise.
22894 * math/s_significand.c: Likewise.
22895 * math/s_significandf.c: Likewise.
22896 * math/s_significandl.c: Likewise.
22897 * math/w_jnl.c: Likewise.
22898 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22899 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22900 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22901 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22902 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22904 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22905 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22906 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22907 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22908 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22909 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22910 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22911 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22912 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22913 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22914 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22915 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22917 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22918 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22919 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22920 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22921 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22922 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22923 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22924 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22925 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22926 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22927 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22928 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22929 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22930 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22931 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22932 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22933 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22934 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22935 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22936 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22937 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22938 * sysdeps/ieee754/k_standard.c: Likewise.
22939 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22940 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22941 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22942 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22943 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22944 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22945 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22946 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22947 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22948 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22949 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22950 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22951 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22952 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22953 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22954 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22955 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22956 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22957 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22958 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22959 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22960 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22961 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22962 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22963 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22964 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22965 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22966 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22967 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22968 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22969 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22970 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
22971 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22972 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22973 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22974 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22975 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
22976 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22977 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22978 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
22979 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
22980 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22981 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22982 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
22983 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22984 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22985 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
22990 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22991 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23000 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23005 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23013 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23014 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23018 * sysdeps/ieee754/s_matherr.c: Likewise.
23019 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23020 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23022 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23023
230242012-01-26 Joseph Myers <joseph@codesourcery.com>
23025
23026 * crypt/md5.h: Remove __STDC__ conditionals.
23027 * libio/libioP.h: Likewise.
23028 * locale/programs/config.h: Likewise.
23029 * sysdeps/generic/sysdep.h: Likewise.
23030 * sysdeps/i386/asm-syntax.h: Likewise.
23031 * sysdeps/s390/asm-syntax.h: Likewise.
23032 * sysdeps/unix/sysdep.h: Likewise.
23033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23035
230362012-01-26 Joseph Myers <joseph@codesourcery.com>
23037
23038 * libio/libio.h: Remove __STDC__ conditionals.
23039 * malloc/obstack.h: Likewise.
23040 * math/complex.h: Likewise.
23041 * math/math.h: Likewise.
23042 * sysdeps/generic/_G_config.h: Likewise.
23043 * sysdeps/gnu/_G_config.h: Likewise.
23044 * sysdeps/mach/hurd/_G_config.h: Likewise.
23045 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23046 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23047 * sysdeps/sparc/bits/mathdef.h: Likewise.
23048
230492012-01-26 Ulrich Drepper <drepper@gmail.com>
23050
23051 [BZ #13583]
23052 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23053 Clean up HAS_* macros.
23054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23055 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23056 possible.
23057 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23058 HAS_AVX.
23059 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23060 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23061 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23062 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23063 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23064
230652012-01-25 Joseph Myers <joseph@codesourcery.com>
23066
23067 * elf/tst-unique3.cc (gets): Remove declaration.
23068 * elf/tst-unique3lib.cc (gets): Likewise.
23069 * elf/tst-unique3lib2.cc (gets): Likewise.
23070 * elf/tst-unique4.cc (gets): Likewise.
23071
230722012-01-24 Ulrich Drepper <drepper@gmail.com>
23073
23074 * include/stdio.h: Add C++ protection. Add gets declarations and
23075 definitions.
23076 * debug/tst-chk1.c: Don't declare gets here.
23077 * stdio-common/tst-gets.c: Likewise.
23078
230792012-01-24 Joseph Myers <joseph@codesourcery.com>
23080
23081 * posix/glob: Remove directory.
23082
230832012-01-24 Joseph Myers <joseph@codesourcery.com>
23084
23085 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23086
230872012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23088
23089 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23090 of the non-standard EPFNOSUPPORT.
23091
230922011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23093
23094 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23095 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23096 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23097
230982012-01-21 Ulrich Drepper <drepper@gmail.com>
23099
23100 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23101
231022012-01-20 Ulrich Drepper <drepper@gmail.com>
23103
23104 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23105 transient errors.
23106 * nscd/grpcache.c (cache_addgr): Likewise.
23107 * nscd/hstcache.c (cache_addhst): Likewise.
23108 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23109 * nscd/pwdcache.c (cache_addpw): Likewise.
23110 * nscd/servicescache.c (cache_addserv): Likewise.
23111
231122012-01-16 Ulrich Drepper <drepper@gmail.com>
23113
23114 * malloc/malloc.c: Various cleanups.
23115 * malloc/hooks.c: Likewise.
23116
23117 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23118 * stdlib/bug-fmtmsg1.c: New file.
23119
23120 * stdlib/fmtmsg.c (init): Add missing unlock.
23121 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23122
231232012-01-12 Marek Polacek <polacek@redhat.com>
23124
23125 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23126 and _GNU_SOURCE.
23127
231282012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23129
23130 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23131 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23132 macro to ensure uniqueness of label name.
23133 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23134 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23135
231362012-01-11 Ulrich Drepper <drepper@gmail.com>
23137
23138 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23139
23140 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23141 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23142 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23143 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23144
231452012-01-10 Ulrich Drepper <drepper@gmail.com>
23146
23147 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23148
23149 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23150 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23151 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23152
23153 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23154
23155 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23156 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23157 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23159
23160 * math/bits/math-finite.h: Add ldexp support.
23161
231622012-01-10 Marek Polacek <polacek@redhat.com>
23163
23164 * locale/programs/localedef.h (show_archive_content): Add noreturn
23165 attribute.
23166
231672012-01-09 Ulrich Drepper <drepper@gmail.com>
23168
23169 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23170
231712012-01-08 Ulrich Drepper <drepper@gmail.com>
23172
23173 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23174
23175 * io/Makefile (headers): Add bits/poll2.h.
23176
231772011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23178
23179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23180 typo #include statement.
23181
231822012-01-08 Ulrich Drepper <drepper@gmail.com>
23183
23184 * include/sys/cdefs.h: Define __attribute_alloc_size.
23185 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23186 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23187 * elf/pldd.c: Likewise.
23188 * iconv/iconv_charmap.c: Likewise.
23189 * iconv/iconvconfig.c: Likewise.
23190 * iconv/strtab.c: Likewise.
23191 * locale/programs/locale.c: Likewise.
23192 * locale/programs/localedef.h: Likewise.
23193 * locale/programs/simple-hash.c: Likewise.
23194 * nscd/nscd.h: Likewise.
23195 * nss/makedb.c: Likewise.
23196 * sysdeps/generic/ldconfig.h: Likewise.
23197 * locale/programs/localedef.c: Remove xmalloc prototype.
23198 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23199
232002012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23201
23202 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23203 appropriate.
23204
232052012-01-08 Ulrich Drepper <drepper@gmail.com>
23206
23207 * math/Makefile (tests): Add tst-CMPLX.
23208 * math/tst-CMPLX.c: New file.
23209
23210 * math/complex.h (CMPLXL): Fix typo.
23211
23212 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23213 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23214 GLIBC_2.16.
23215 * debug/tst-chk1.c: Add poll and ppoll tests.
23216 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23217 * include/sys/poll.h: Add hidden proto for ppoll.
23218 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23219 * sysdeps/mach/hurd/ppoll.c: Likewise.
23220 * io/ppoll.c: Likewise.
23221 * debug/poll_chk.c: New file.
23222 * debug/ppoll_chk.c: New file.
23223 * include/bits/poll2.h: New file.
23224 * io/bits/poll2.h: New file.
23225
23226 [BZ #1350]
23227 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23228
23229 * configure.in: static is always set to yes. Remove.
23230 * config.make.in: Don't set build-static.
23231 * Makeconfig: Remove use of build-static.
23232 * dlfcn/Makefile: Likewise.
23233 * elf/Makefile: Likewise.
23234 * math/Makefile: Likewise.
23235 * misc/Makefile: Likewise.
23236 * nptl/Makefile: Likewise.
23237 * sysdeps/mach/hurd/Makefile: Likewise.
23238
23239 * configure.in: PWD_P is not used anymore.
23240 * config.make.in: Remove PWD_P entry.
23241
23242 * configure.in: Remove last remnants of RANLIB.
23243 No need to check for signed size_t anymore.
23244 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23245 and IA-64.
23246 Remove __builtin_expect test because we require at least gcc 3.4.
23247 * aclocal.m4: Likewise.
23248
23249 * wcsmbs/mbrtoc16.c: Implement using towc function.
23250 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23251 * wcsmbs/wcsmbsload.c: Likewise.
23252 * iconv/gconv_simple.c: Likewise.
23253 * iconv/gconv_int.h: Likewise.
23254 * iconv/gconv_builtin.h: Likewise.
23255 * iconv/iconv_prog.c: Remove CHAR16 handling.
23256
23257 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23258
23259 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23260
23261 * configure.in: Remove --with-elf and --enable-bounded options.
23262 Dont set base_machine for ia64. More non-ELF conditions removed.
23263 Remove testing and setting of leading underscore information.
23264 * config.make.in (build-bounded): Set to no.
23265 * config.h.in: Remove NO_UNDERSCORES entry.
23266 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23267 them.
23268 * csu/start.c: Remove !NO_UNDERSCORE code.
23269 * locale/localeinfo.h: Likewise.
23270 * sysdeps/generic/machine-gmon.h: Likewise.
23271 * sysdeps/generic/sysdep.h: Likewise.
23272 * sysdeps/i386/sysdep.h: Likewise.
23273 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23274 * sysdeps/mach/sysdep.h: Likewise.
23275 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23276 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23277 * sysdeps/sh/sysdep.h: Likewise.
23278 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23279 * sysdeps/unix/i386/sysdep.S: Likewise.
23280 * sysdeps/unix/sparc/start.c: Likewise.
23281 * sysdeps/unix/sparc/sysdep.S: Likewise.
23282 * sysdeps/unix/sparc/sysdep.h: Likewise.
23283 * sysdeps/unix/start.c: Likewise.
23284 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23285 * sysdeps/x86_64/sysdep.h: Likewise.
23286
232872012-01-07 Ulrich Drepper <drepper@gmail.com>
23288
23289 [BZ #13553]
23290 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23291 for non-gcc.
23292 * argp/argp-fmtstream.h: Use const instead __const.
23293 * argp/argp.h: Likewise.
23294 * assert/assert.h: Likewise.
23295 * bits/fenv.h: Likewise.
23296 * bits/sched.h: Likewise.
23297 * bits/sigset.h: Likewise.
23298 * bits/sigthread.h: Likewise.
23299 * catgets/nl_types.h: Likewise.
23300 * conform/data/pthread.h-data: Likewise.
23301 * crypt/crypt-private.h: Likewise.
23302 * crypt/crypt.h: Likewise.
23303 * crypt/crypt_util.c: Likewise.
23304 * ctype/ctype.h: Likewise.
23305 * debug/execinfo.h: Likewise.
23306 * debug/mbsnrtowcs_chk.c: Likewise.
23307 * debug/mbsrtowcs_chk.c: Likewise.
23308 * debug/wcsnrtombs_chk.c: Likewise.
23309 * debug/wcsrtombs_chk.c: Likewise.
23310 * debug/wcstombs_chk.c: Likewise.
23311 * dirent/dirent.h: Likewise.
23312 * dlfcn/dlfcn.h: Likewise.
23313 * elf/neededtest4.c: Likewise.
23314 * grp/grp.h: Likewise.
23315 * gshadow/gshadow.h: Likewise.
23316 * iconv/gconv.h: Likewise.
23317 * iconv/gconv_int.h: Likewise.
23318 * iconv/gconv_simple.c: Likewise.
23319 * iconv/iconv.h: Likewise.
23320 * iconv/loop.c: Likewise.
23321 * iconv/skeleton.c: Likewise.
23322 * include/aio.h: Likewise.
23323 * include/aliases.h: Likewise.
23324 * include/argz.h: Likewise.
23325 * include/arpa/inet.h: Likewise.
23326 * include/assert.h: Likewise.
23327 * include/dirent.h: Likewise.
23328 * include/dlfcn.h: Likewise.
23329 * include/execinfo.h: Likewise.
23330 * include/fcntl.h: Likewise.
23331 * include/fenv.h: Likewise.
23332 * include/glob.h: Likewise.
23333 * include/grp.h: Likewise.
23334 * include/libintl.h: Likewise.
23335 * include/mntent.h: Likewise.
23336 * include/netdb.h: Likewise.
23337 * include/pwd.h: Likewise.
23338 * include/rpc/netdb.h: Likewise.
23339 * include/sched.h: Likewise.
23340 * include/search.h: Likewise.
23341 * include/shadow.h: Likewise.
23342 * include/signal.h: Likewise.
23343 * include/stdio.h: Likewise.
23344 * include/stdlib.h: Likewise.
23345 * include/string.h: Likewise.
23346 * include/sys/socket.h: Likewise.
23347 * include/sys/stat.h: Likewise.
23348 * include/sys/statfs.h: Likewise.
23349 * include/sys/statvfs.h: Likewise.
23350 * include/sys/syslog.h: Likewise.
23351 * include/sys/time.h: Likewise.
23352 * include/sys/uio.h: Likewise.
23353 * include/time.h: Likewise.
23354 * include/unistd.h: Likewise.
23355 * include/utmp.h: Likewise.
23356 * include/wchar.h: Likewise.
23357 * include/wctype.h: Likewise.
23358 * inet/aliases.h: Likewise.
23359 * inet/arpa/inet.h: Likewise.
23360 * inet/netinet/ether.h: Likewise.
23361 * inet/netinet/in.h: Likewise.
23362 * intl/libintl.h: Likewise.
23363 * io/bits/fcntl2.h: Likewise.
23364 * io/fcntl.h: Likewise.
23365 * io/ftw.h: Likewise.
23366 * io/sys/poll.h: Likewise.
23367 * io/sys/stat.h: Likewise.
23368 * io/sys/statfs.h: Likewise.
23369 * io/sys/statvfs.h: Likewise.
23370 * io/utime.h: Likewise.
23371 * libio/bits/stdio.h: Likewise.
23372 * libio/bits/stdio2.h: Likewise.
23373 * libio/libio.h: Likewise.
23374 * libio/libioP.h: Likewise.
23375 * libio/stdio.h: Likewise.
23376 * locale/lc-ctype.c: Likewise.
23377 * locale/locale.h: Likewise.
23378 * login/utmp.h: Likewise.
23379 * malloc/arena.c: Likewise.
23380 * malloc/malloc.c: Likewise.
23381 * malloc/malloc.h: Likewise.
23382 * malloc/mcheck.c: Likewise.
23383 * malloc/mtrace.c: Likewise.
23384 * math/bits/mathcalls.h: Likewise.
23385 * math/fenv.h: Likewise.
23386 * math/math_private.h: Likewise.
23387 * misc/bits/error.h: Likewise.
23388 * misc/bits/syslog.h: Likewise.
23389 * misc/err.h: Likewise.
23390 * misc/error.h: Likewise.
23391 * misc/fstab.h: Likewise.
23392 * misc/mntent.h: Likewise.
23393 * misc/regexp.h: Likewise.
23394 * misc/search.h: Likewise.
23395 * misc/sgtty.h: Likewise.
23396 * misc/sys/mman.h: Likewise.
23397 * misc/sys/syslog.h: Likewise.
23398 * misc/sys/uio.h: Likewise.
23399 * misc/sys/xattr.h: Likewise.
23400 * misc/ttyent.h: Likewise.
23401 * nis/rpcsvc/ypclnt.h: Likewise.
23402 * nss/nss.h: Likewise.
23403 * posix/bits/unistd.h: Likewise.
23404 * posix/fnmatch.h: Likewise.
23405 * posix/glob.h: Likewise.
23406 * posix/sched.h: Likewise.
23407 * posix/spawn.h: Likewise.
23408 * posix/sys/wait.h: Likewise.
23409 * posix/unistd.h: Likewise.
23410 * posix/wordexp.h: Likewise.
23411 * pwd/pwd.h: Likewise.
23412 * resolv/netdb.h: Likewise.
23413 * resource/sys/resource.h: Likewise.
23414 * rt/aio.h: Likewise.
23415 * rt/bits/mqueue2.h: Likewise.
23416 * rt/mqueue.h: Likewise.
23417 * shadow/shadow.h: Likewise.
23418 * signal/signal.h: Likewise.
23419 * socket/send.c: Likewise.
23420 * socket/sendto.c: Likewise.
23421 * socket/sys/socket.h: Likewise.
23422 * stdio-common/printf.h: Likewise.
23423 * stdlib/bits/stdlib.h: Likewise.
23424 * stdlib/fmtmsg.h: Likewise.
23425 * stdlib/monetary.h: Likewise.
23426 * stdlib/stdlib.h: Likewise.
23427 * stdlib/ucontext.h: Likewise.
23428 * streams/stropts.h: Likewise.
23429 * string/argz.h: Likewise.
23430 * string/bits/string2.h: Likewise.
23431 * string/string.h: Likewise.
23432 * string/strings.h: Likewise.
23433 * sunrpc/rpc/auth.h: Likewise.
23434 * sunrpc/rpc/auth_des.h: Likewise.
23435 * sunrpc/rpc/clnt.h: Likewise.
23436 * sunrpc/rpc/netdb.h: Likewise.
23437 * sunrpc/rpc/pmap_clnt.h: Likewise.
23438 * sunrpc/rpc/xdr.h: Likewise.
23439 * sysdeps/generic/inttypes.h: Likewise.
23440 * sysdeps/generic/net/if.h: Likewise.
23441 * sysdeps/generic/sys/swap.h: Likewise.
23442 * sysdeps/gnu/net/if.h: Likewise.
23443 * sysdeps/gnu/utmpx.h: Likewise.
23444 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23445 * sysdeps/i386/i486/bits/string.h: Likewise.
23446 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23447 * sysdeps/s390/bits/string.h: Likewise.
23448 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23449 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23450 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23451 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23452 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23453 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23454 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23455 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23456 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23457 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23458 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23459 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23460 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23461 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23462 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23463 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23464 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23465 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23466 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23467 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23468 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23469 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23470 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23471 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23472 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23473 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23474 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23476 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23477 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23478 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23479 * sysvipc/sys/ipc.h: Likewise.
23480 * sysvipc/sys/msg.h: Likewise.
23481 * sysvipc/sys/sem.h: Likewise.
23482 * sysvipc/sys/shm.h: Likewise.
23483 * termios/termios.h: Likewise.
23484 * time/sys/time.h: Likewise.
23485 * time/time.h: Likewise.
23486 * wcsmbs/bits/wchar2.h: Likewise.
23487 * wcsmbs/uchar.h: Likewise.
23488 * wcsmbs/wchar.h: Likewise.
23489 * wctype/wctype.h: Likewise.
23490
23491 [BZ #13551]
23492 * Makeconfig: Remove all but ELF support including AIX support.
23493 * Makerules: Likewise.
23494 * config.h.in: Likewise.
23495 * config.make.in: Likewise.
23496 * configure: Likewise.
23497 * configure.in: Likewise.
23498 * csu/Makefile: Likewise.
23499 * csu/version.c: Likewise.
23500 * debug/Makefile: Likewise.
23501 * dlfcn/Makefile: Likewise.
23502 * elf/Makefile: Likewise.
23503 * extra-lib.mk: Likewise.
23504 * iconv/Makefile: Likewise.
23505 * include/libc-symbols.h: Likewise.
23506 * include/shlib-compat.h: Likewise.
23507 * resolv/Makefile: Likewise.
23508 * resolv/res_libc.c: Likewise.
23509 * rt/Makefile: Likewise.
23510 * sysdeps/i386/asm-syntax.h: Likewise.
23511 * sysdeps/i386/sysdep.h: Likewise.
23512 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23513 * sysdeps/mach/sysdep.h: Likewise.
23514 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23515 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23516 * sysdeps/s390/asm-syntax.h: Likewise.
23517 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23518 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23519 * sysdeps/sh/sysdep.h: Likewise.
23520 * sysdeps/unix/sparc/sysdep.h: Likewise.
23521 * sysdeps/wordsize-32/divdi3.c: Likewise.
23522 * sysdeps/x86_64/sysdep.h: Likewise.
23523
23524 * argp/Versions: Remove _argp_unlock_xxx.
23525
23526 [BZ #13559]
23527 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23528 * abilist/libBrokenLocale.abilist: Likewise.
23529 * abilist/libanl.abilist: Likewise.
23530 * abilist/libc.abilist: Likewise.
23531 * abilist/libcrypt.abilist: Likewise.
23532 * abilist/libdl.abilist: Likewise.
23533 * abilist/libm.abilist: Likewise.
23534 * abilist/libnsl.abilist: Likewise.
23535 * abilist/libpthread.abilist: Likewise.
23536 * abilist/libresolv.abilist: Likewise.
23537 * abilist/librt.abilist: Likewise.
23538 * abilist/libthread_db.abilist: Likewise.
23539 * abilist/libutil.abilist: Likewise.
23540 * abilist/libnss_db.abilist: New file.
23541
23542 * scripts/abilist.awk: Add support for indirect functions.
23543
23544 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23545
23546 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23547
23548 * shlib-versions: Remove entries for ports architectures.
23549
23550 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23551 files in ports.
23552 * elf/stackguard-macros.h: Remove support for IA-64.
23553 * elf/tst-auditmod1.c: Likewise.
23554 * sysdeps/generic/ldsodefs.h: Likewise.
23555
23556 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23557 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23558 configure files.
23559
23560 [BZ #13552]
23561 * configure.in: Remove --enable-omitfp support.
23562 * FAQ.in: Adjust.
23563 * config.make.in: Likewise.
23564 * Makeconfig: Likewise.
23565 * manual/install.texi: Likewise.
23566
23567 In case anyone cares, the IA-64 architecture could move to ports.
23568 * sysdeps/ia64/*: Removed.
23569 * sysdeps/unix/sysv/linux/ia64/*: Removed.
23570 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
23571
23572 [BZ #13555]
23573 * configure.in: Remove entries for unsupported architectures.
23574
23575 [BZ #13533]
23576 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23577 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23578 routines.
23579 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23580 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23581 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23582 fall back to using wcrtomb.
23583 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23584 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23585 renaming.
23586 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23587 * wcsmbs/tst-c16c32-1.c: New file.
23588
23589 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23590 local variable.
23591
23592 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23593
23594 * elf/tst-unique3.cc: Add explicit declaration of gets.
23595 * elf/tst-unique3lib.cc: Likewise.
23596 * elf/tst-unique3lib2.cc: Likewise.
23597 * elf/tst-unique4.cc: Likewise.
23598
23599 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23600
236012012-01-06 Joseph Myers <joseph@codesourcery.com>
23602
23603 [BZ #13566]
23604 * assert/assert.h (static_assert): Don't define for C++.
23605 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23606 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23607
236082012-01-03 Ulrich Drepper <drepper@gmail.com>
23609
23610 * iconv/loop.c (single loop): Fix assertion in storing of
23611 remaining bytes.
23612
23613 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23614
236152012-01-01 Ulrich Drepper <drepper@gmail.com>
23616
23617 * posix/getconf.c: Update copyright year.
23618 * nss/getent.c: Likewise.
23619 * nss/makedb.c: Likewise.
23620 * iconv/iconvconfig.c: Likewise.
23621 * iconv/iconv_prog.c: Likewise.
23622 * elf/ldconfig.c: Likewise.
23623 * elf/pldd.c: Likewise.
23624 * elf/sotruss.ksh: Likewise.
23625 * catgets/gencat.c: Likewise.
23626 * csu/version.c: Likewise.
23627 * elf/ldd.bash.in: Likewise.
23628 * elf/sprof.c (print_version): Likewise.
23629 * locale/programs/locale.c: Likewise.
23630 * locale/programs/localedef.c: Likewise.
23631 * login/programs/pt_chown.c: Likewise.
23632 * nscd/nscd.c (print_version): Likewise.
23633 * debug/xtrace.sh: Likewise.
23634 * malloc/memusage.sh: Likewise.
23635 * malloc/mtrace.pl: Likewise.
23636 * debug/catchsegv.sh: Likewise.
23637
236382011-12-30 Jakub Jelinek <jakub@redhat.com>
23639
23640 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23641 pure attribute.
23642
236432011-12-24 Ulrich Drepper <drepper@gmail.com>
23644
23645 [BZ #13533]
23646 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23647 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23648 transformations.
23649 * iconv/gconv_int.h: Likewise.
23650 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23651 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23652 from libc for GLIBC_2.16.
23653 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23654 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23655 * wcsmbs/uchar.h: Really define mbstate_t.
23656 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23657 * wcsmbs/c16rtomb.c: New file.
23658 * wcsmbs/mbrtoc16.c: New file.
23659 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23660 for C/POSIX locale.
23661 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23662 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23663
23664 * wcsmbs/wchar.h: Add missing __restrict.
23665
236662011-12-23 Ulrich Drepper <drepper@gmail.com>
23667
23668 [BZ #13532]
23669 * time/Makefile (routines): Add timespec_get.
23670 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23671 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23672 timespec for ISO C11.
23673 * time/timespec_get.c: New file.
23674 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23675 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23676
23677 [BZ #13531]
23678 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23679 * stdlib/stdlib.h: Declare aligned_alloc.
23680 * Versions.def: Add GLIBC_2.16 for libc.
23681 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23682
23683 [BZ 13527]
23684 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23685 ISO C11.
23686
23687 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
23688 code.
23689
23690 [BZ #13528]
23691 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23692
23693 [BZ #13529]
23694 * assert/assert.h (static_assert): Define.
23695
23696 * version.h: Update for 2.16 development version.
23697
23698 [BZ #13526]
23699 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23700 _ISOC11_SOURCE.
23701
23702 * version.h (RELEASE): Bump for 2.15 release.
23703 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23704
23705 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23706 Patch by Marek Polacek <mpolacek@redhat.com>.
23707
23708 * bits/byteswap.h: Protect long long constants with __extension__.
23709 * sysdeps/i386/bits/byteswap.h: Likewise.
23710 * sysdeps/ia64/bits/byteswap.h: Likewise.
23711 * sysdeps/s390/bits/byteswap.h: Likewise.
23712 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23713
237142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23715
23716 [BZ #13540]
23717 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23718 destination buffer.
23719 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23720
237212011-12-23 Marek Polacek <polacek@redhat.com>
23722
23723 * elf/dl-addr.c (determine_info): Add inline keyword.
23724 * elf/tst-auditmod4b.c (check_avx): Likewise.
23725 * elf/tst-auditmod6b.c (check_avx): Likewise.
23726 * elf/tst-auditmod6c.c (check_avx): Likewise.
23727 * elf/tst-auditmod7b.c (check_avx): Likewise.
23728
237292011-12-23 Ulrich Drepper <drepper@gmail.com>
23730
23731 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23732 !__SSE_MATH__.
23733
237342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23735
23736 [BZ #13540]
23737 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23738 processing for last bytes.
23739
237402011-08-06 Bruno Haible <bruno@clisp.org>
23741
23742 [BZ #13061]
23743 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23744 U+0385, not to U+1FEE.
23745
23746 [BZ #13062]
23747 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23748 entry for U+00A5 U+0301.
23749
237502011-12-22 Ulrich Drepper <drepper@gmail.com>
23751
23752 [BZ #13166]
23753 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23754 buffer for the output is too small.
23755
23756 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23757 optimization.
23758
23759 [BZ #13185]
23760 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23761 SSE flags if possible.
23762
237632011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23764
23765 [BZ #13540]
23766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23767 processing for last bytes.
23768
237692011-12-22 Joseph Myers <joseph@codesourcery.com>
23770
23771 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23772 (syscall-list-default-options, syscall-list-default-condition)
23773 (syscall-list-includes): Define.
23774 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23775 list of ABIs and options and #if conditions for each ABI. Do not
23776 handle common syscalls between ABIs specially.
23777 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23778 Remove.
23779 (syscall-list-variants, syscall-list-32bit-options)
23780 (syscall-list-32bit-condition, syscall-list-64bit-options)
23781 (syscall-list-64bit-condition): Define.
23782 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23783 (syscall-list-variants, syscall-list-32bit-options)
23784 (syscall-list-32bit-condition, syscall-list-64bit-options)
23785 (syscall-list-64bit-condition): Define.
23786 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23787 Remove.
23788 (syscall-list-variants, syscall-list-32bit-options)
23789 (syscall-list-32bit-condition, syscall-list-64bit-options)
23790 (syscall-list-64bit-condition): Define.
23791 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23792 Remove.
23793 (syscall-list-variants, syscall-list-32bit-options)
23794 (syscall-list-32bit-condition, syscall-list-64bit-options)
23795 (syscall-list-64bit-condition): Define.
23796
237972011-12-22 Ulrich Drepper <drepper@gmail.com>
23798
23799 * locale/iso-639.def: Add brx entry.
23800
23801 [BZ #13328]
23802 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23803 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23804
23805 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23806 __feraiseexcept_renamed.
23807
238082011-12-21 Ulrich Drepper <drepper@gmail.com>
23809
23810 [BZ #13538]
23811 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23812 EPOLLET with unsigned values.
23813 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23814 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23815
23816 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23817 to large cancellation.
23818 * math/s_cacoshf.c: Likewise.
23819 * math/s_cacoshl.c: Likewise.
23820
238212011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23822
23823 [BZ #13305]
23824 [BZ #12786]
23825 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23826 * math/s_cacoshf.c: Likewise.
23827 * math/s_cacoshl.c: Likewise.
23828
238292011-12-21 Ulrich Drepper <drepper@gmail.com>
23830
23831 [BZ #13439]
23832 * iconv/gconv.h: Define __GCONV_SWAP.
23833 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23834 * iconvdata/utf-16.c: Likewise.
23835 * iconvdata/utf-32.c: Likewise.
23836
238372011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23838
23839 [BZ #13524]
23840 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23841 numerator after shifting it by one limb.
23842
238432011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23844
23845 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23846 under [__USE_EXTERN_INLINES].
23847
238482011-12-17 Ulrich Drepper <drepper@gmail.com>
23849
23850 [BZ #13446]
23851 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23852
238532011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23854
23855 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23856 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23857 optimized code.
23858 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23859 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23860 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23861 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23862 for strncasecmp/strncasecmp_l compilation.
23863 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23864 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23865
238662011-12-08 Marek Polacek <mpolacek@redhat.com>
23867
23868 [BZ #13484]
23869 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23870 of __asm__.
23871
238722011-12-17 Ulrich Drepper <drepper@gmail.com>
23873
23874 [BZ #13506]
23875 * time/tzfile.c (__tzfile_read): Check values from file header.
23876
238772011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23878
23879 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23880 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23881 * powerpc/powerpc32/dl-start.S: Likewise.
23882 * powerpc/powerpc32/elf/start.S: Likewise.
23883 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23884 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23885 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23886 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23887 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23888 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23889 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23890 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23891 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23892 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23893 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23894 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23895 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23896 * powerpc/powerpc32/memset.S: Likewise.
23897 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23898 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23899 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23900 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23901 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23902 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23903 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23904 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23905 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23906 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23907 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23908 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23909 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23910
239112011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23912
23913 * math/libm-test.inc: Added more nearbyint tests.
23914 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23915 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23916 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23917 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23918
239192011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23920
23921 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23922 FD_CLOEXEC.
23923
239242011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23925
23926 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23927 Add wcscpy-ssse3 wcscpy-c.
23928 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23929 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23930 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23931 * sysdeps/x86_64/wcschr.S: New file.
23932 * sysdeps/x86_64/wcsrchr.S: New file.
23933 * string/test-strcmp.c: Remove checking of wcscmp function for
23934 wrong alignments.
23935 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23936 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23937 wcsrchr-sse2 wcsrchr-c.
23938 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23939 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23940 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23941 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23942 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23943 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23944 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23945 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23946 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23947 * wcsmbc/wcschr.c (WCSCHR): New macro.
23948
239492011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23950
23951 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23952 * wcsmbs/test-wcsrchr.c: New file.
23953 * string/test-strrchr.c: Add wcsrchr support.
23954 (WIDE): New macro.
23955 * wcsmbs/test-wcscpy.c: New file.
23956 * string/test-strcpy.c: Add wcscpy support.
23957 (WIDE): New macro.
23958
239592011-12-10 Ulrich Drepper <drepper@gmail.com>
23960
23961 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23962 the inner loop.
23963
239642011-12-06 Andreas Schwab <schwab@linux-m68k.org>
23965
23966 [BZ #13472]
23967 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
23968
239692011-12-04 Ulrich Drepper <drepper@gmail.com>
23970
23971 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
23972 Minor optimizations.
23973
23974 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
23975 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
23976 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23977
239782011-12-03 Ulrich Drepper <drepper@gmail.com>
23979
23980 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
23981 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
23982 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
23983 for gcc to avoid warnings.
23984 * inet/Makefile (tests): Add tst-checks.
23985 * inet/tst-checks.c: New file.
23986
23987 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
23988 warning.
23989
23990 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
23991 __wmemcmp_sse2.
23992
23993 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
23994 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
23995
23996 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
23997
239982011-12-02 Ulrich Drepper <drepper@gmail.com>
23999
24000 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24001 problem.
24002
24003 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24004
240052011-11-29 Joseph Myers <joseph@codesourcery.com>
24006
24007 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24008 conditional on GCC version.
24009 (__arch_compare_and_exchange_val_8_acq)
24010 (__arch_compare_and_exchange_val_16_acq)
24011 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24012 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24013 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24014
240152011-12-02 Joseph Myers <joseph@codesourcery.com>
24016
24017 * sysdeps/sh/backtrace.c: New file.
24018
240192011-12-02 Andreas Schwab <schwab@redhat.com>
24020
24021 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24022 parenthesis.
24023
240242011-12-01 Andreas Schwab <schwab@redhat.com>
24025
24026 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24027 falling back to utime.
24028
240292011-11-30 Andreas Schwab <schwab@redhat.com>
24030
24031 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24032 expectations for float.
24033
240342011-11-29 Andreas Schwab <schwab@redhat.com>
24035
24036 * locale/weight.h (findidx): Add parameter len.
24037 * locale/weightwc.h (findidx): Likewise.
24038 * posix/fnmatch_loop.c (FCT): Adjust caller.
24039 * posix/regcomp.c (build_equiv_class): Likewise.
24040 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24041 * posix/regexec.c (check_node_accept_bytes): Likewise.
24042 * string/strcoll_l.c (STRCOLL): Likewise.
24043 * string/strxfrm_l.c (STRXFRM): Likewise.
24044
240452011-11-17 Ulrich Drepper <drepper@gmail.com>
24046
24047 * Makefile.in: Remove CVSOPT handling.
24048 * configure.in: Remove use of AC_REVISION.
24049 * iconvdata/Makefile (distribute): No need to filter out CVS.
24050 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24051 handling.
24052
240532011-11-16 Andreas Schwab <schwab@redhat.com>
24054
24055 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24056 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24057 [USE_AS_STRNCASECMP_L]: Likewise.
24058 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24059 NO_TLS_DIRECT_SEG_REFS.
24060 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24061 Fix argument offsets for non-PIC.
24062 [USE_AS_STRNCASECMP_L]: Likewise.
24063 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24064 NO_TLS_DIRECT_SEG_REFS.
24065
240662011-11-15 Ulrich Drepper <drepper@gmail.com>
24067
24068 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24069 O_CLOEXEC.
24070 * locale/loadlocale.c (_nl_load_locale): Likewise.
24071
240722011-11-15 Andreas Schwab <schwab@redhat.com>
24073
24074 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24075 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24076 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24077 (SYSCALL_GETTIME): Set errno on error.
24078
24079 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24080 count references to noai6ai_cached.
24081
240822011-11-15 Ulrich Drepper <drepper@gmail.com>
24083
24084 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24085
24086 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24087 FD_CLOEXEC for /proc/self/maps.
24088
24089 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24090 FD_CLOEXEC for /proc/meminfo.
24091
24092 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24093 gai.conf.
24094
24095 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24096 FD_CLOEXEC for given file.
24097
24098 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24099
24100 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24101 FD_CLOEXEC for /etc/hosts.
24102 (_gethtent): Likewise.
24103
24104 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24105
24106 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24107 cancellation and set FD_CLOEXEC for /etc/netgroup.
24108
24109 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24110 reading /etc/publickey.
24111
24112 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24113 allow cancellation when reading /etc/group.
24114
24115 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24116 cancellation.
24117 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24118
24119 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24120 when using data file.
24121
24122 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24123
24124 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24125 (write_nis_obj): Use "c" and "e" in fopen.
24126
24127 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24128
24129 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24130
24131 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24132
24133 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24134
24135 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24136 locale.alias.
24137
24138 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24139
24140 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24141
24142 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24143
24144 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24145 file parsing and set FD_CLOEXEC.
24146
241472011-11-14 Ulrich Drepper <drepper@gmail.com>
24148
24149 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24150
241512011-11-14 Andreas Schwab <schwab@redhat.com>
24152
24153 * malloc/arena.c (arena_get2): Don't call reused_arena when
24154 _int_new_arena failed.
24155
241562011-11-14 Ulrich Drepper <drepper@gmail.com>
24157
24158 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24159 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24160 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24161 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24162 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24163 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24164 to compile strcasecmp and strncasecmp.
24165 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24166 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24167
24168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24169
241702011-11-13 Ulrich Drepper <drepper@gmail.com>
24171
24172 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24173 locale-defines.sym to gen-as-const-headers.
24174 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24175 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24177 to compile strcasecmp and strncasecmp.
24178 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24179 strcasecmp_l and strncasecmp_l.
24180 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24181 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24182 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24183 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24184 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24185 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24186 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24187 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24188 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24189 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24190 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24191
241922011-11-12 Ulrich Drepper <drepper@gmail.com>
24193
24194 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24195 result of SYSDEP_GETTIME_CPU to retval.
24196 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24197 parameter list to macro. Remove trailing semicolon. Adjust users.
24198
24199 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24200 variable.
24201
24202 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24203 mantissa words.
24204 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24205
24206 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24207 from unused variable.
24208
24209 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24210 DWARF definitions.
24211 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24212 for assembling.
24213
24214 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24215 over namespaces.
24216
24217 * sunrpc/rpc_prot.c (rejected): Fix case value.
24218
24219 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24220 unsigned long long int to avoid warnings in shift.
24221
24222 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24223 of use of trans.
24224 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24225 variable tmp.
24226
24227 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24228 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24229 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24230
24231 * nis/nis_table.c (nis_list): Use variable of correct type for
24232 result of __follow_path call.
24233
242342011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24235
24236 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24237 of math functions ceil, trunc, floor, round, and sqrt, when
24238 avaliable on the platform.
24239 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24240 name clash.
24241 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24242 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24243 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24244
242452011-10-30 Marek Polacek <mpolacek@redhat.com>
24246
24247 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24248 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24249
242502011-11-11 Roland McGrath <roland@hack.frob.com>
24251
24252 * include/unistd.h: Fix __readlink return type.
24253 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24254
242552011-11-11 Ulrich Drepper <drepper@gmail.com>
24256
24257 * stdlib/ucontext.h: Undo last change for makecontext.
24258
242592011-11-11 Andreas Schwab <schwab@redhat.com>
24260
24261 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24262
24263 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24264 * setjmp/setjmp.h: Mark functions as non-leaf.
24265 * setjmp/bits/setjmp2.h: Likewise.
24266 * stdlib/ucontext.h: Likewise.
24267
242682011-11-10 Andreas Schwab <schwab@redhat.com>
24269
24270 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24271 (reused_arena): Don't check arena limit.
24272 (arena_get2): Atomically check arena limit.
24273
242742011-11-08 Ulrich Drepper <drepper@gmail.com>
24275
24276 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24277 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24278
24279 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24280 instructions.
24281
242822011-11-07 Andreas Schwab <schwab@redhat.com>
24283
24284 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24285 handler when locking.
24286
24287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24288 Fix size of allocated buffer.
24289
242902011-11-04 Andreas Schwab <schwab@redhat.com>
24291
24292 [BZ #10103]
24293 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24294 declarations for long double functions.
24295 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24296
24297 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24298
242992011-11-03 Andreas Schwab <schwab@redhat.com>
24300
24301 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24302 installed.
24303
24304 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24305 is disabled.
24306
243072011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24308
24309 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24310
243112011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24312
24313 * include/alloca.h (stackinfo_alloca_round): Define.
24314 (extend_alloca): Use it.
24315 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24316 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24317 here.
24318
24319 * scripts/check-local-headers.sh: Ignore libaudit.h.
24320
24321 * nscd/Makefile (extra-objs): Make recursively expanded.
24322
243232011-11-01 Ulrich Drepper <drepper@gmail.com>
24324
24325 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24326 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24327
24328 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24329 * posix/tst-rfc3484-2.c: Likewise.
24330 * posix/tst-rfc3484-3.c: Likewise.
24331
24332 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24333 process_vm_writev.
24334 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24335 process_vm_writev.
24336 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24337 process_vm_writev from libc using GLIBC_2.15 version.
24338
24339 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24340
243412011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24342
24343 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24344 stack usage.
24345
243462011-10-31 Ulrich Drepper <drepper@gmail.com>
24347
24348 [BZ #13367]
24349 * nss/getent.c (initgroups_keys): Show error message in case no group
24350 names are given.
24351
24352 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24353 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24354 __bump_nl_timestamp.
24355 * nscd/connections (nscd_init): When host database is served open
24356 netlink socket and request notification about configuration changes.
24357 (main_loop_poll): Track netlink file descriptor and bump timestamp
24358 in case data becomes available.
24359 (main_loop_epoll): Likewise.
24360 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24361 (database_pers_head): Add extra_data fileds.
24362 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24363 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24364 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24365 Adjust caller.
24366 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24367 in6ai data, call __free_in6ai.
24368 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24369 Add -DHAVE_NETLINK.
24370 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24371 interface information. Reuse previous data if netlink timestamp
24372 is not changed.
24373 (__bump_nl_timestamp): New function.
24374 (__free_in6ai): New function.
24375
243762011-10-30 Ulrich Drepper <drepper@gmail.com>
24377
24378 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24379 close_not_cancel_no_status here.
24380 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24381
243822011-10-29 Ulrich Drepper <drepper@gmail.com>
24383
24384 [BZ #13276]
24385 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24386 return value.
24387
24388 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
24389 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24390 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24391
243922011-07-03 Andreas Jaeger <aj@suse.de>
24393
24394 [BZ #10709]
24395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24396 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24397 * math/libm-test.inc (sin_test): Add test case.
24398
243992011-10-29 Ulrich Drepper <drepper@gmail.com>
24400
24401 [BZ #13337]
24402 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24403 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24404
24405 * elf/chroot_canon.c (chroot_canon): Cleanups.
24406
24407 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24408
24409 [BZ #13335]
24410 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24411 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24412
24413 * string/test-strchr.c: Make usable for strchrnul testing.
24414 * string/test-strchrnul.c: New file.
24415 * string/Makefile (strop-tests): Add strchrnul.
24416
24417 * po/it.po: Update from translation team.
24418 * po/es.po: Likewise.
24419
244202011-10-28 Ulrich Drepper <drepper@gmail.com>
24421
24422 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24423 the three constants needed as parameters. Drop the others.
24424 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24425 __m128i_strloadu_tolower.
24426 Create and initialize variable zero and use it in all the places
24427 where _mm_setzero_si128 was used.
24428
24429 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24430 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24431 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24432 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24433 anymore.
24434 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24435 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24436 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24437 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24438 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24439 __mpranred, __mptan.
24440 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24441 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24442 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24443 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24444 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24445 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24446 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24447 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24448 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24449
244502011-10-28 Andreas Schwab <schwab@redhat.com>
24451
24452 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24453 redefine if SHARED.
24454 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24455
24456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24457 wide char related routines to wcsmbs subdir.
24458
244592011-10-27 Andreas Schwab <schwab@redhat.com>
24460
24461 [BZ #13344]
24462 * misc/sys/cdefs.h (__THROWNL): Define.
24463 * posix/unistd.h: Use __THREADNL instead of __THREAD
24464 for memory synchronization functions.
24465
244662011-10-26 Roland McGrath <roland@hack.frob.com>
24467
24468 [BZ #13349]
24469 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24470 doesn't exist.
24471 * manual/stdio.texi (Obstack Streams): Node removed.
24472
244732011-10-26 Andreas Schwab <schwab@redhat.com>
24474
24475 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24476 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24477 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24478
24479 * math/math_private.h (math_force_eval): Allow non-addressable
24480 arguments.
24481 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24482
244832011-10-25 Ulrich Drepper <drepper@gmail.com>
24484
24485 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24486 file is not needed.
24487
24488 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24489 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24490 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24491 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24492 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24493 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24494 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24495 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24496 Add AVX variants.
24497 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24498 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24499 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24500 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24501 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24502 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24503 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24504 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24505 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24506 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24507 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24508 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24509 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24510 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24511 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24512 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24513 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24514 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24515 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24516
24517 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24518 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24519
24520 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24521 place. Use VEX encoding when compiling for AVX.
24522
245232011-10-25 Andreas Schwab <schwab@redhat.com>
24524
24525 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24526 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24527
24528 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24529
245302011-10-25 Ulrich Drepper <drepper@gmail.com>
24531
24532 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
24533 useless if() expression.
24534 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24535 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24536 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24537 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24538 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24539 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24540 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24541 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24542 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24543 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24544 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24545 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24546 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24547 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24548 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24549 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24550 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24551 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24552 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24553
24554 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24555
245562011-10-25 Andreas Schwab <schwab@redhat.com>
24557
24558 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24559 condition.
24560 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24561
245622011-10-25 Ulrich Drepper <drepper@gmail.com>
24563
24564 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24565 .text section. Avoid duplicate constants.
24566 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24567 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24568 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24570 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24571 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24572 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24573 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24574 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24575 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24576 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24577 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24578 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24579 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24580 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24581 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24582 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24583 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24584 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24585 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24586 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24587 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24588 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24589 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24590 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24591 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24592 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24593 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24594 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24595 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24596 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24597 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24598 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24599 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24600 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24601 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24602 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24603 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24604 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24605 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24606 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24607 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24608 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24609 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24610 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24611
246122011-10-24 Ulrich Drepper <drepper@gmail.com>
24613
24614 * sysdeps/x86_64/dla.h: Move to ...
24615 * sysdeps/x86_64/fpu/dla.h: ...here.
24616 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24617 situations. Use __builtin_fma only for gcc 4.6 and up.
24618
24619 * config.make.in: Add have-mfma4 entry.
24620 * configure.in: Substitute libc_cv_cc_fma4.
24621 * math/Makefile (dbl-only-routines): Add sincostab.
24622 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24623 Use __sincostab not sincos.
24624 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24625 name is a macro.
24626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24630 using __copysign.
24631 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24632 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24633 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24634 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24635 and __inv.
24636 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24637 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24638 __copysign.
24639 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24640 define aliases when function name is a macro.
24641 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24642 sysdeps/ieee754/dbl-64/sincos.tbl.
24643 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24644 fma4-enabled routines.
24645 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24646 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24647 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24648 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24649 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24650 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24651 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24652 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24653 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24654 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24655 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24656 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24657 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24658 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24659 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24660 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24661 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24662 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24663 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24664 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24665 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24666 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24667 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24668 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24669 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24670 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24671 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24672 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24673 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24674 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24675
24676 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24677 rename.
24678 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24679 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24680 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24681 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24682 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24683 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24684 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24685 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24686
246872011-10-24 Andreas Schwab <schwab@redhat.com>
24688
24689 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24690
246912011-10-23 Ulrich Drepper <drepper@gmail.com>
24692
24693 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24694
24695 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24696 prediction.
24697 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24698
24699 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24700 Remove unused variable magic_bits.
24701 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24702
24703 * string/strnlen.c: Define and use STRNLEN macro.
24704 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24705 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24706 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24707 * wcsmbs/wcslen.c: Define and use WCSLEN.
24708 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24709 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24710 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24711 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24712 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24713 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24714 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24715
247162011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24717
24718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24719 strnlen-sse2-no-bsf.
24720 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24721 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24722 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24723 Add strnlen support.
24724 (USE_AS_STRNLEN): New macro.
24725 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24726 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24727 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24728 * sysdeps/x86_64/wcslen.S: New file.
24729
247302011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24731
24732 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24733 XMM-moves are used for copying on small sizes.
24734
247352011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24736
24737 * wcsmbs/Makefile (strop-tests): Add wcschr.
24738 * wcsmbs/test-wcschr.c: New file.
24739 * string/test-strchr.c: Update.
24740 Add wcschr support.
24741 (WIDE): New macro.
24742
247432011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24744
24745 * wcsmbs/Makefile (strop-tests): Add wcslen.
24746 * wcsmbs/test-wcslen.c: New file.
24747 * string/test-strlen.c: Update.
24748 Add wcslen support.
24749 (WIDE): New macro.
24750
247512011-10-23 Ulrich Drepper <drepper@gmail.com>
24752
24753 * po/it.po: Update from translation team.
24754
247552011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24756
24757 * sysdeps/x86_64/wcscmp.S: Update.
24758 Fix wrong comparison semantics.
24759 wcscmp shall use signed comparison not unsigned.
24760 Don't use substraction to avoid overflow bug.
24761 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24762 * wcsmbc/wcscmp.c: Likewise.
24763 * string/test-strcmp.c: Likewise.
24764 Add new tests to check cases with negative values.
24765
247662011-10-23 Ulrich Drepper <drepper@gmail.com>
24767
24768 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24769 * sysdeps/x86_64/dla.h: ...here. New file.
24770 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24774 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24775 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24777 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24779
247802011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24781
24782 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24783 __ynl_finite aliases.
24784
247852011-10-22 Ulrich Drepper <drepper@gmail.com>
24786
24787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24788
24789 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24790 define DLA_FMA.
24791 [DLA_FMA] (EMULV): Use DLA_FMA.
24792 [DLA_FMA] (MUL12): Use EMULV.
24793 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24794 that are not needed.
24795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24801 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24802
248032011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24804
24805 * math/s_nan.c: Undef __nan.
24806 * math/s_nanf.c: Undef __nanf.
24807 * math/s_nanl.c: Undef __nanl.
24808 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24809 "math_private.h".
24810
248112011-10-22 Ulrich Drepper <drepper@gmail.com>
24812
24813 * math/s_catan.c: Add branch predictions.
24814 * math/s_catanf.c: Likewise.
24815 * math/s_catanh.c: Likewise.
24816 * math/s_catanhf.c: Likewise.
24817 * math/s_catanhl.c: Likewise.
24818 * math/s_catanl.c: Likewise.
24819 * math/s_cexp.c: Likewise.
24820 * math/s_cexpf.c: Likewise.
24821 * math/s_cexpl.c: Likewise.
24822 * math/s_clog.c: Likewise.
24823 * math/s_clog10.c: Likewise.
24824 * math/s_clog10f.c: Likewise.
24825 * math/s_clog10l.c: Likewise.
24826 * math/s_clogf.c: Likewise.
24827 * math/s_clogl.c: Likewise.
24828 * math/s_csqrt.c: Likewise.
24829 * math/s_csqrtf.c: Likewise.
24830 * math/s_csqrtl.c: Likewise.
24831 * math/s_ctanf.c: Likewise.
24832 * math/s_ctanh.c: Likewise.
24833 * math/s_ctanhf.c: Likewise.
24834 * math/s_ctanhl.c: Likewise.
24835 * math/s_ctanl.c: Likewise.
24836
24837 * math/math_private.h: Define __nan, __nanf, __nanl.
24838 * math/s_cacosh.c: Include <math_private.h>.
24839 * math/s_cacoshl.c: Likewise.
24840 * math/s_casinh.c: Likewise.
24841 * math/s_casinhf.c: Likewise.
24842 * math/s_casinhl.c: Likewise.
24843 * math/s_ccos.c: Rely entire on ccosh.
24844 * math/s_ccosf.c: Rely entire on ccoshf.
24845 * math/s_ccosl.c: Rely entirely on ccoshl.
24846 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24847 Remove tests for FE_INVALID.
24848 * math/s_ccoshf.c: Likewise.
24849 * math/s_ccoshl.c: Likewise.
24850 * math/s_csin.c: Likewise.
24851 * math/s_csinf.c: Likewise.
24852 * math/s_csinh.c Likewise.
24853 * math/s_csinhf.c: Likewise.
24854 * math/s_csinhl.c: Likewise.
24855 * math/s_csinl.c: Likewise.
24856 * math/s_ctan.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24858 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24859 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24860
248612011-10-21 Ulrich Drepper <drepper@gmail.com>
24862
24863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24864 compilation problems.
24865
24866 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24867 __builtin_expect.
24868
248692011-10-20 Ulrich Drepper <drepper@gmail.com>
24870
24871 * sysdeps/i386/configure.in: Test for -mfma4 option.
24872 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24873 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24874 COMMON_CPUID_INDEX_80000001.
24875 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24876 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24877 use it if FMA3 is not supported.
24878 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24879
24880 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24881 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24882
248832011-10-20 Andreas Schwab <schwab@redhat.com>
24884
24885 [BZ #12892]
24886 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24887 it would create a cycle with a link time dependency.
24888
248892011-10-19 Ulrich Drepper <drepper@gmail.com>
24890
24891 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24892 instruction.
24893 * string/Makefile (strop-tests): Add rawmemchr.
24894 * string/test-rawmemchr.c: New file.
24895
24896 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24897 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24898 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24899 when compiling str{,n}casecmp and when AVX is available. Hook up
24900 new optimized code in initializers.
24901
249022011-10-19 Andreas Schwab <schwab@redhat.com>
24903
24904 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24905 __feraiseexcept instead of feraiseexcept.
24906
249072011-10-18 Ulrich Drepper <drepper@gmail.com>
24908
24909 * math/math_private.h: Define defaults for libc_fetestexcept and
24910 libc_feupdateenv.
24911 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24912 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24913 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24914 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24915 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24916 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24917 libc_fetestexcept and libc_feupdateenv.
24918
24919 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24920 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24921 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24922 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24923 libc_feholdexcept_setround.
24924
24925 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24926 Add s_nearbyint-c and s_nearbyintf-c.
24927 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24928 nearbyintf inlines.
24929 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24930 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24931 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24932 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24933
24934 * math/math_private.h: Define defaults for libc_fegetround,
24935 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24936 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24937 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24938 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24939 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24940 standard functions.
24941 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24942 Remove comments and hacks for old compiler versions.
24943 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24944 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24945 libc_feholdexceptl.
24946
249472011-10-18 Andreas Schwab <schwab@redhat.com>
24948
24949 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
24950 (__feraiseexcept_renamed): Add __NTH.
24951 (feraiseexcept): Add __NTH. Rename local variables to fix
24952 namespace violations.
24953
249542011-10-17 Ulrich Drepper <drepper@gmail.com>
24955
24956 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24957
24958 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24959
24960 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24961 recently added interfaces.
24962 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24963
24964 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
24965 about macro parameter expansion.
24966
24967 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
24968 __NO_MATH_INLINES is defined. Cleanups.
24969
24970 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
24971 and __floorf is target has SSE4.1.
24972 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
24973 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
24974 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
24975 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
24976
24977 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
24978 name.
24979 (floorf): Likewise.
24980
24981 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
24982
249832011-10-17 Andreas Schwab <schwab@redhat.com>
24984
24985 * misc/sys/cdefs.h: Fix last change.
24986
24987 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
24988 database lookup.
24989
249902011-10-16 Ulrich Drepper <drepper@gmail.com>
24991
24992 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
24993
24994 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
24995 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24996 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24998 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24999 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25000 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25001 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25002 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25003 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25004 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25005 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25006 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25007 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25008 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25009 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25010 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25011 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25012 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25013 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25014 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25015 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25016
25017 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25018 ceil, ceilf, floor, floorf.
25019
25020 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25021 Perform IRELATIVE relocations last.
25022
25023 * elf/do-rel.h: Add another parameter nrelative, replacing the
25024 local variable with the same name. Change name of the function
25025 to end in Rel or Rela (uppercase).
25026 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25027 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25028 elf_dynamic_do_##reloc function.
25029
250302011-10-15 Ulrich Drepper <drepper@gmail.com>
25031
25032 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25033 is sufficient, at least on modern CPUs.
25034
25035 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25036
25037 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25038 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25039
25040 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25041 __expl_finite.
25042 * math/bits/math-finite.h: Add entries for exp.
25043 * math/e_expl.c: Add __*_finite alias.
25044 * sysdeps/i386/fpu/e_exp.S: Likewise.
25045 * sysdeps/i386/fpu/e_expf.S: Likewise.
25046 * sysdeps/i386/fpu/e_expl.c: Likewise.
25047 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25048 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25049 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25050 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25051 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25052 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25053 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25054
25055 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25056 is sufficient, at least on modern CPUs.
25057
25058 * ctype/ctype-info.c (__ctype_init): Define.
25059 * include/ctype.h (__ctype_init): Declare.
25060 (__ctype_b_loc): The variable is always initialized.
25061 (__ctype_toupper_loc): Likewise.
25062 (__ctype_tolower_loc): Likewise.
25063 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25064 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25065
250662011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25067
25068 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25069
25070 * configure.in: Also look in $cxxmachine/include for C++ system
25071 headers.
25072
250732011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25074
25075 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25076 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25077 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25078 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25079 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25080 (USE_AS_WMEMCMP): New macro.
25081 Fixing indents.
25082 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25083 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25084 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25085 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25087 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25088 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25089 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25090 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25091 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25092 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25093 (USE_AS_WMEMCMP): New macro.
25094 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25095 * sysdeps/string/test-memcmp.c: Update.
25096 Fix simple_wmemcmp.
25097 Add new tests.
25098 * wcsmbs/wmemcmp.c: Update.
25099 (WMEMCMP): New macro.
25100 Fix overflow bug.
25101
251022011-10-12 Andreas Jaeger <aj@suse.de>
25103
25104 [BZ #13268]
25105 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25106
251072011-10-15 Ulrich Drepper <drepper@gmail.com>
25108
25109 * libio/iofwide.c (do_length): Avoid warning.
25110
25111 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25112
251132011-10-14 Ulrich Drepper <drepper@gmail.com>
25114
25115 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25116
25117 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25118 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25119 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25120 * sysdeps/i386/i686/fpu/e_log.S: New file.
25121 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25122 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25123
25124 * ctype/ctype.h: Add support for inlined isXXX functions when
25125 compiling C++ code.
25126
251272011-10-14 Andreas Schwab <schwab@redhat.com>
25128
25129 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25130
25131 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25132
251332011-10-13 Roland McGrath <roland@hack.frob.com>
25134
25135 [BZ #13291]
25136 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25137
251382011-10-13 Andreas Schwab <schwab@redhat.com>
25139
25140 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25141 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25142 feraiseexcept.
25143
25144 * sysdeps/x86_64/memrchr.S: Check for zero size.
25145
25146 * string/stratcliff.c: Add memrchr tests.
25147
251482011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25149
25150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25151 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25152 rawmemchr-sse2 rawmemchr-sse2-bsf.
25153 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25154 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25155 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25156 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25157 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25158 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25159 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25160 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25161 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25162 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25163 * string/memrchr.c (MEMRCHR): New macro.
25164
251652011-10-12 Ulrich Drepper <drepper@gmail.com>
25166
25167 Add integration with gcc's -ffinite-math-only and optimize wrapper
25168 functions in libm.
25169 * Versions.def: Define GLIBC_2.15 version for libm.
25170 * math/Makefile (headers): Add bits/math-finite.h.
25171 * math/bits/math-finite.h: New file.
25172 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25173 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25174 * math/e_acoshl.c: Add __*_finite alias.
25175 * math/e_acosl.c: Likewise.
25176 * math/e_asinl.c: Likewise.
25177 * math/e_atan2l.c: Likewise.
25178 * math/e_atanhl.c: Likewise.
25179 * math/e_coshl.c: Likewise.
25180 * math/e_exp10.c: Likewise.
25181 * math/e_exp10f.c: Likewise.
25182 * math/e_exp10l.c: Likewise.
25183 * math/e_exp2l.c: Likewise.
25184 * math/e_fmodl.c: Likewise.
25185 * math/e_gammal_r.c: Likewise.
25186 * math/e_hypotl.c: Likewise.
25187 * math/e_j0l.c: Likewise.
25188 * math/e_j1l.c: Likewise.
25189 * math/e_jnl.c: Likewise.
25190 * math/e_lgammal_r.c: Likewise.
25191 * math/e_log10l.c: Likewise.
25192 * math/e_log2l.c: Likewise.
25193 * math/e_logl.c: Likewise.
25194 * math/e_powl.c: Likewise.
25195 * math/e_sinhl.c: Likewise.
25196 * math/e_sqrtl.c: Likewise.
25197 * math/e_scalb.c: Completely rewritten and optimized.
25198 * math/e_scalbf.c: Likewise.
25199 * math/e_scalbl.c: Likewise.
25200 * math/w_acos.c: Likewise.
25201 * math/w_acosf.c: Likewise.
25202 * math/w_acosl.c: Likewise.
25203 * math/w_acosh.c: Likewise.
25204 * math/w_acoshf.c: Likewise.
25205 * math/w_acoshl.c: Likewise.
25206 * math/w_asin.c: Likewise.
25207 * math/w_asinf.c: Likewise.
25208 * math/w_asinl.c: Likewise.
25209 * math/w_atan2.c: Likewise.
25210 * math/w_atan2f.c: Likewise.
25211 * math/w_atan2l.c: Likewise.
25212 * math/w_atanh.c: Likewise.
25213 * math/w_atanhf.c: Likewise.
25214 * math/w_atanhl.c: Likewise.
25215 * math/w_exp10.c: Likewise.
25216 * math/w_exp10f.c: Likewise.
25217 * math/w_exp10l.c: Likewise.
25218 * math/w_fmod.c: Likewise.
25219 * math/w_fmodf.c: Likewise.
25220 * math/w_fmodl.c: Likewise.
25221 * math/w_j0.c: Likewise.
25222 * math/w_j0f.c: Likewise.
25223 * math/w_j0l.c: Likewise.
25224 * math/w_j1.c: Likewise.
25225 * math/w_j1f.c: Likewise.
25226 * math/w_j1l.c: Likewise.
25227 * math/w_jn.c: Likewise.
25228 * math/w_jnf.c: Likewise.
25229 * math/w_log.c: Likewise.
25230 * math/w_logf.c: Likewise.
25231 * math/w_logl.c: Likewise.
25232 * math/w_log10.c: Likewise.
25233 * math/w_log10f.c: Likewise.
25234 * math/w_log10l.c: Likewise.
25235 * math/w_log2.c: Likewise.
25236 * math/w_log2f.c: Likewise.
25237 * math/w_log2l.c: Likewise.
25238 * math/w_pow.c: Likewise.
25239 * math/w_powf.c: Likewise.
25240 * math/w_powl.c: Likewise.
25241 * math/w_remainder.c: Likewise.
25242 * math/w_remainderf.c: Likewise.
25243 * math/w_remainderl.c: Likewise.
25244 * math/w_scalb.c: Likewise.
25245 * math/w_scalbf.c: Likewise.
25246 * math/w_scalbl.c: Likewise.
25247 * math/w_sqrt.c: Likewise.
25248 * math/w_sqrtf.c: Likewise.
25249 * math/w_sqrtl.c: Likewise.
25250 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25251 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25252 used.
25253 * math/math_private.h: Declare __kernel_standard_f.
25254 * math/w_cosh.c: Remove cruft and optimize a bit.
25255 * math/w_coshf.c: Likewise.
25256 * math/w_coshl.c: Likewise.
25257 * math/w_exp2.c: Likewise.
25258 * math/w_exp2f.c: Likewise.
25259 * math/w_exp2l.c: Likewise.
25260 * math/w_hypot.c: Likewise.
25261 * math/w_hypotf.c: Likewise.
25262 * math/w_hypotl.c: Likewise.
25263 * math/w_lgamma.c: Likewise.
25264 * math/w_lgamma_r.c: Likewise.
25265 * math/w_lgammaf.c: Likewise.
25266 * math/w_lgammaf_r.c: Likewise.
25267 * math/w_lgammal.c: Likewise.
25268 * math/w_lgammal_r.c: Likewise.
25269 * math/w_sinh.c: Likewise.
25270 * math/w_sinhf.c: Likewise.
25271 * math/w_sinhl.c: Likewise.
25272 * math/w_tgamma.c: Likewise.
25273 * math/w_tgammaf.c: Likewise.
25274 * math/w_tgammal.c: Likewise.
25275 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25276 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25277 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25278 Minor optimizations. Pretty printing. Remove cruft.
25279 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25280 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25281 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25282 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25283 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25284 * sysdeps/i386/fpu/e_asin.S: Likewise.
25285 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25286 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25287 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25288 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25289 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25290 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25291 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25292 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25293 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25294 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25295 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25296 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25297 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25298 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25299 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25300 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25301 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25302 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25303 * sysdeps/i386/fpu/e_log.S: Likewise.
25304 * sysdeps/i386/fpu/e_log10.S: Likewise.
25305 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25306 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25307 * sysdeps/i386/fpu/e_log2.S: Likewise.
25308 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25309 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25310 * sysdeps/i386/fpu/e_logf.S: Likewise.
25311 * sysdeps/i386/fpu/e_logl.S: Likewise.
25312 * sysdeps/i386/fpu/e_pow.S: Likewise.
25313 * sysdeps/i386/fpu/e_powf.S: Likewise.
25314 * sysdeps/i386/fpu/e_powl.S: Likewise.
25315 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25316 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25317 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25318 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25319 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25320 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25321 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25322 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25323 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25324 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25325 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25327 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25328 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25337 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25338 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25340 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25341 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25342 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25344 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25345 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25346 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25347 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25348 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25349 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25350 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25351 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25352 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25353 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25354 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25355 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25356 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25357 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25358 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25359 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25360 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25361 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25362 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25363 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25364 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25365 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25366 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25370 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25373 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25374 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25376 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25377 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25379 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25380 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25381 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25382 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25383 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25385 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25386 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25387 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25388 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25389 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25392 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25393 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25396 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25401 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25404 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25407 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25409 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25410 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25412 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25415 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25416 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25417 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25418 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25419 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25420 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25421 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25422 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25423 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25424 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25425 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25426 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25427 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25428 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25429 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25430 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25431 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25432 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25433 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25434 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25435 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25436 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25437 (__isnanf): Likewise.
25438 (__isinf_ns): Likewise.
25439 (__isinf_nsf): Likewise.
25440 (__finite): Likewise.
25441 (__finitef): Likewise.
25442 (__ieee754_sqrt): Define as macro.
25443 (__ieee754_sqrtf): Define as macro.
25444 (__ieee754_sqrtl): Define as macro.
25445 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25446 inlined copy.
25447 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25448 __FINITE_MATH_ONLY__ consistent.
25449 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25450
254512011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25452
25453 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25454 of rawmemchr.
25455
25456 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25457
254582011-10-09 Ulrich Drepper <drepper@gmail.com>
25459
25460 * po/ja.po: Update from translation team.
25461
254622011-10-08 Roland McGrath <roland@hack.frob.com>
25463
25464 * locale/programs/locarchive.c (prepare_address_space): New function.
25465 (create_archive, enlarge_archive, open_archive): Use it.
25466
25467 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25468 inside [SHARED], where it is used.
25469
25470 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25471
25472 * nss/getent.c (netgroup_keys): Remove unused variable.
25473 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25474
254752011-10-08 Ulrich Drepper <drepper@gmail.com>
25476
25477 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25478 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25479 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25480 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25481 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25482 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25483 * math/Makefile (libm-calls): Add s_isinf_ns.
25484 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25485 * math/multc3.c: Likewise.
25486 * math/s_casin.c: Likewise.
25487 * math/s_casinf.c: Likewise.
25488 * math/s_casinl.c: Likewise.
25489 * math/s_ccos.c: Likewise.
25490 * math/s_ccosf.c: Likewise.
25491 * math/s_ccosl.c: Likewise.
25492 * math/s_ctan.c: Likewise.
25493 * math/s_ctanf.c: Likewise.
25494 * math/s_ctanh.c: Likewise.
25495 * math/s_ctanhf.c: Likewise.
25496 * math/s_ctanhl.c: Likewise.
25497 * math/s_ctanl.c: Likewise.
25498 * math/w_fmod.c: Likewise.
25499 * math/w_fmodf.c: Likewise.
25500 * math/w_fmodl.c: Likewise.
25501 * math/w_remainder.c: Likewise.
25502 * math/w_remainderf.c: Likewise.
25503 * math/w_remainderl.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25505 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25506 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25507 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25508 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25509 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25510 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25511 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25512
25513 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25514 of the number.
25515 * stdio-common/printf_fphex.c: Likewise.
25516 * stdio-common/printf_size.c: Likewise.
25517
25518 * math/e_exp10.c: Include math_private.h using <...> not "...".
25519 * math/e_exp10f.c: Likewise.
25520 * math/e_exp10l.c: Likewise.
25521 * math/e_exp2l.c: Likewise.
25522 * math/e_j0l.c: Likewise.
25523 * math/e_j1l.c: Likewise.
25524 * math/e_jnl.c: Likewise.
25525 * math/e_lgammal_r.c: Likewise.
25526 * math/e_rem_pio2l.c: Likewise.
25527 * math/e_scalb.c: Likewise.
25528 * math/e_scalbf.c: Likewise.
25529 * math/e_scalbl.c: Likewise.
25530 * math/k_cosl.c: Likewise.
25531 * math/k_sinl.c: Likewise.
25532 * math/k_tanl.c: Likewise.
25533 * math/s_cacoshf.c: Likewise.
25534 * math/s_catan.c: Likewise.
25535 * math/s_catanf.c: Likewise.
25536 * math/s_catanh.c: Likewise.
25537 * math/s_catanhf.c: Likewise.
25538 * math/s_catanhl.c: Likewise.
25539 * math/s_catanl.c: Likewise.
25540 * math/s_ccosh.c: Likewise.
25541 * math/s_ccoshf.c: Likewise.
25542 * math/s_ccoshl.c: Likewise.
25543 * math/s_cexp.c: Likewise.
25544 * math/s_cexpf.c: Likewise.
25545 * math/s_cexpl.c: Likewise.
25546 * math/s_clog.c: Likewise.
25547 * math/s_clog10.c: Likewise.
25548 * math/s_clog10f.c: Likewise.
25549 * math/s_clog10l.c: Likewise.
25550 * math/s_clogf.c: Likewise.
25551 * math/s_clogl.c: Likewise.
25552 * math/s_csin.c: Likewise.
25553 * math/s_csinf.c: Likewise.
25554 * math/s_csinh.c: Likewise.
25555 * math/s_csinhf.c: Likewise.
25556 * math/s_csinhl.c: Likewise.
25557 * math/s_csinl.c: Likewise.
25558 * math/s_csqrt.c: Likewise.
25559 * math/s_csqrtf.c: Likewise.
25560 * math/s_csqrtl.c: Likewise.
25561 * math/s_ctan.c: Likewise.
25562 * math/s_ctanf.c: Likewise.
25563 * math/s_ctanh.c: Likewise.
25564 * math/s_ctanhf.c: Likewise.
25565 * math/s_ctanhl.c: Likewise.
25566 * math/s_ctanl.c: Likewise.
25567 * math/s_ldexp.c: Likewise.
25568 * math/s_ldexpf.c: Likewise.
25569 * math/s_ldexpl.c: Likewise.
25570 * math/s_significand.c: Likewise.
25571 * math/s_significandf.c: Likewise.
25572 * math/s_significandl.c: Likewise.
25573 * math/w_acos.c: Likewise.
25574 * math/w_acosf.c: Likewise.
25575 * math/w_acosh.c: Likewise.
25576 * math/w_acoshf.c: Likewise.
25577 * math/w_acoshl.c: Likewise.
25578 * math/w_acosl.c: Likewise.
25579 * math/w_asin.c: Likewise.
25580 * math/w_asinf.c: Likewise.
25581 * math/w_asinl.c: Likewise.
25582 * math/w_atan2.c: Likewise.
25583 * math/w_atan2f.c: Likewise.
25584 * math/w_atan2l.c: Likewise.
25585 * math/w_atanh.c: Likewise.
25586 * math/w_atanhf.c: Likewise.
25587 * math/w_atanhl.c: Likewise.
25588 * math/w_cosh.c: Likewise.
25589 * math/w_coshf.c: Likewise.
25590 * math/w_coshl.c: Likewise.
25591 * math/w_dremf.c: Likewise.
25592 * math/w_exp10.c: Likewise.
25593 * math/w_exp10f.c: Likewise.
25594 * math/w_exp10l.c: Likewise.
25595 * math/w_exp2.c: Likewise.
25596 * math/w_exp2f.c: Likewise.
25597 * math/w_fmod.c: Likewise.
25598 * math/w_fmodf.c: Likewise.
25599 * math/w_fmodl.c: Likewise.
25600 * math/w_hypot.c: Likewise.
25601 * math/w_hypotf.c: Likewise.
25602 * math/w_hypotl.c: Likewise.
25603 * math/w_j0.c: Likewise.
25604 * math/w_j0f.c: Likewise.
25605 * math/w_j0l.c: Likewise.
25606 * math/w_j1.c: Likewise.
25607 * math/w_j1f.c: Likewise.
25608 * math/w_j1l.c: Likewise.
25609 * math/w_jn.c: Likewise.
25610 * math/w_jnf.c: Likewise.
25611 * math/w_jnl.c: Likewise.
25612 * math/w_lgamma.c: Likewise.
25613 * math/w_lgamma_r.c: Likewise.
25614 * math/w_lgammaf.c: Likewise.
25615 * math/w_lgammaf_r.c: Likewise.
25616 * math/w_lgammal.c: Likewise.
25617 * math/w_lgammal_r.c: Likewise.
25618 * math/w_log.c: Likewise.
25619 * math/w_log10.c: Likewise.
25620 * math/w_log10f.c: Likewise.
25621 * math/w_log10l.c: Likewise.
25622 * math/w_log2.c: Likewise.
25623 * math/w_log2f.c: Likewise.
25624 * math/w_log2l.c: Likewise.
25625 * math/w_logf.c: Likewise.
25626 * math/w_logl.c: Likewise.
25627 * math/w_pow.c: Likewise.
25628 * math/w_powf.c: Likewise.
25629 * math/w_powl.c: Likewise.
25630 * math/w_remainder.c: Likewise.
25631 * math/w_remainderf.c: Likewise.
25632 * math/w_remainderl.c: Likewise.
25633 * math/w_scalb.c: Likewise.
25634 * math/w_scalbf.c: Likewise.
25635 * math/w_scalbl.c: Likewise.
25636 * math/w_sinh.c: Likewise.
25637 * math/w_sinhf.c: Likewise.
25638 * math/w_sinhl.c: Likewise.
25639 * math/w_sqrt.c: Likewise.
25640 * math/w_sqrtf.c: Likewise.
25641 * math/w_sqrtl.c: Likewise.
25642 * math/w_tgamma.c: Likewise.
25643 * math/w_tgammaf.c: Likewise.
25644 * math/w_tgammal.c: Likewise.
25645
25646 * po/ja.po: Update from translation team.
25647
256482011-09-29 Andreas Jaeger <aj@suse.de>
25649
25650 [BZ #13179]
25651 * sunrpc/netname.c (netname2host): Fix logic.
25652
25653 [BZ #6779]
25654 [BZ #6783]
25655 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25656 correctly.
25657 * math/w_remainder.c (__remainder): Likewise.
25658 * math/w_remainderf.c (__remainderf): Likewise.
25659 * math/libm-test.inc (remainder_test): Add test cases.
25660
256612011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25662
25663 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25664 sdiv_qrnnd.
25665
256662011-10-07 Ulrich Drepper <drepper@gmail.com>
25667
25668 * string/test-memcmp.c: Avoid unncessary #defines.
25669 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25670
256712011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25672
25673 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25674 Use new sse2 version for core i3 - i7 as it's faster
25675 than sse42 version.
25676 (bit_Prefer_PMINUB_for_stringop): New.
25677 * sysdeps/x86_64/rawmemchr.S: Update.
25678 Replace with faster SSE2 version.
25679 * sysdeps/x86_64/memrchr.S: New file.
25680 * sysdeps/x86_64/memchr.S: Update.
25681 Replace with faster SSE2 version.
25682
256832011-09-12 Marek Polacek <mpolacek@redhat.com>
25684
25685 * elf/dl-load.c (lose): Add cast to avoid warning.
25686
256872011-10-07 Ulrich Drepper <drepper@gmail.com>
25688
25689 * po/ca.po: Update from translation team.
25690
25691 * inet/getnetgrent_r.c: Hook up nscd.
25692 * nscd/Makefile (routines): Add nscd_netgroup.
25693 (nscd-modules): Add netgroupcache.
25694 (CFLAGS-netgroupcache.c): Define.
25695 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25696 (cache_search): Add const to second parameter.
25697 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25698 INNETGR.
25699 (dbs): Add netgrdb entry.
25700 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25701 (verify_persistent_db): Handle netgrdb.
25702 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25703 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25704 GETFDNETGR.
25705 (netgroup_response_header): Define.
25706 (innetgroup_response_header): Define.
25707 (datahead): Add netgroup_response_header and innetgroup_response_header
25708 elements.
25709 * nscd/nscd.conf: Add entries for netgroup cache.
25710 * nscd/nscd.h (dbtype): Add netgrdb.
25711 (_PATH_NSCD_NETGROUP_DB): Define.
25712 (netgroup_iov_disabled): Declare.
25713 (xmalloc, xcalloc, xrealloc): Move declarations here.
25714 (cache_search): Adjust prototype.
25715 Add netgroup-related prototypes.
25716 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25717 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25718 (__nscd_innetgr): Declare.
25719 * nscd/selinux.c (perms): Use access_vector_t as element type and
25720 add netgroup-related initializers.
25721 * nscd/netgroupcache.c: New file.
25722 * nscd/nscd_netgroup.c: New file.
25723 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25724 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25725 For four parameters use innetgr.
25726 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25727 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25728 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25729 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25730
25731 * nscd/connections.c (register_traced_file): Don't register file
25732 for disabled databases.
25733
257342011-10-06 Ulrich Drepper <drepper@gmail.com>
25735
25736 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25737
25738 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25739 from tree and freeing node.
25740
257412011-09-25 Jiri Olsa <jolsa@redhat.com>
25742
25743 * nss/nsswitch.c (__nss_database_lookup): Handle
25744 nss_parse_service_list out of memory case.
25745
257462011-09-15 Jiri Olsa <jolsa@redhat.com>
25747
25748 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25749 out of memory case.
25750
257512011-10-04 Andreas Schwab <schwab@redhat.com>
25752
25753 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25754 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25755 pass it down.
25756 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25757 elf_machine_rela, elf_machine_lazy_rel.
25758 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25759 (ELF_DYNAMIC_DO_REL): Likewise.
25760 (ELF_DYNAMIC_DO_RELA): Likewise.
25761 (ELF_DYNAMIC_RELOCATE): Likewise.
25762 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25763 to ELF_DYNAMIC_DO_REL.
25764 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25765 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25766 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25767 elf_machine_rela.
25768 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25769 skip_ifunc, don't call ifunc function if non-zero.
25770 (elf_machine_rela): Likewise.
25771 (elf_machine_lazy_rel): Likewise.
25772 (elf_machine_lazy_rela): Likewise.
25773 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25774 (elf_machine_lazy_rel): Likewise.
25775 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25776 Likewise.
25777 (elf_machine_lazy_rel): Likewise.
25778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25779 Likewise.
25780 (elf_machine_lazy_rel): Likewise.
25781 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25782 (elf_machine_lazy_rel): Likewise.
25783 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25784 (elf_machine_lazy_rel): Likewise.
25785 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25786 (elf_machine_lazy_rel): Likewise.
25787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25788 (elf_machine_lazy_rel): Likewise.
25789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25790 (elf_machine_lazy_rel): Likewise.
25791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25792 (elf_machine_lazy_rel): Likewise.
25793
257942011-09-28 Ulrich Drepper <drepper@gmail.com>
25795
25796 * nss/nss_files/files-init.c (_nss_files_init): Use static
25797 initialization for all the *_traced_file variables.
25798
257992011-09-28 Andreas Schwab <schwab@redhat.com>
25800
25801 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25802
258032011-09-27 Roland McGrath <roland@hack.frob.com>
25804
25805 [BZ #13226]
25806 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25807
258082011-09-27 Andreas Schwab <schwab@redhat.com>
25809
25810 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25811 Reread the line before reparsing it.
25812
258132011-09-26 Andreas Schwab <schwab@redhat.com>
25814
25815 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25816
258172011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25818 Maxim Kuvyrkov <maxim@codesourcery.com>
25819 Joseph Myers <joseph@codesourcery.com>
25820
25821 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25822 if needed for __stack_chk_guard.
25823
258242011-09-19 Roland McGrath <roland@hack.frob.com>
25825
25826 * sysdeps/posix/spawni.c (script_execute): Always define it.
25827 It will be optimized away if unused.
25828 (maybe_script_execute): New function.
25829 (__spawni): Call it.
25830
25831 * Makerules: Don't include tls.make.
25832 (config-tls): Always set to thread.
25833 * tls.make.c: File removed.
25834
258352011-09-19 Mike Frysinger <vapier@gentoo.org>
25836
25837 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25838 * config.make.in (CPPFLAGS-config): New substituted variable.
25839
258402011-09-15 Ulrich Drepper <drepper@gmail.com>
25841
25842 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25843
25844 [BZ #13192]
25845 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25846 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25847
258482011-09-15 Roland McGrath <roland@hack.frob.com>
25849
25850 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25851 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25852 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25853 (CALL_FAIL): Likewise.
25854 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25855 (CALL_FAIL): Macro removed.
25856 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25857
258582011-09-15 Ulrich Drepper <drepper@gmail.com>
25859
25860 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25861 for __FINITE_MATH_ONLY__ == 1.
25862
258632011-09-15 Andreas Schwab <schwab@redhat.com>
25864
25865 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25866 __ieee754_sqrt instead of sqrt.
25867 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25868 __ieee754_sqrtf instead of sqrtf.
25869 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25870 __floorf instead of floorf.
25871 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25872 __floorf, __truncf instead of floorf, truncf.
25873
258742011-09-14 Ulrich Drepper <drepper@gmail.com>
25875
25876 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25877
25878 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25879 __extern_always_inline.
25880 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25881 32-bit.
25882
258832011-09-14 Andreas Schwab <schwab@redhat.com>
25884
25885 * elf/rtld.c (dl_main): Also relocate in dependency order when
25886 doing symbol dependency testing.
25887
258882011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25889
25890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25891 Always define `refsym'.
25892
258932011-09-13 Andreas Schwab <schwab@redhat.com>
25894
25895 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25896 (__FD_ELT): Renamed from __FDELT.
25897 * misc/bits/select2.h (__FD_ELT): Likewise.
25898 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25899 __FD_MASK instead of __FDELT, __FDMASK.
25900 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25901 Likewise.
25902 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25903 Likewise.
25904
25905 * elf/Makefile (gen-ldd): Fix pattern.
25906
25907 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25908 (init_tls): Likewise.
25909
259102011-09-12 Ulrich Drepper <drepper@gmail.com>
25911
25912 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25913
259142011-09-12 Andreas Schwab <schwab@redhat.com>
25915
25916 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25917 `struct cmsghdr *' instead of `void *'.
25918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25919 Likewise.
25920
259212011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25922
25923 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25924 if non-absolute.
25925 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25926 ldd_rewrite_script.
25927
259282011-09-11 Ulrich Drepper <drepper@gmail.com>
25929
25930 * configure.in: Remove --with-tls option.
25931 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25932 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25933 out in case it is missing.
25934 * sysdeps/ia64/elf/configure.in: Likewise.
25935 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25936 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25937 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25938 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25939 * sysdeps/sh/elf/configure.in: Likewise.
25940 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25941 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25942 * sysdeps/x86_64/elf/configure.in: Likewise.
25943 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25944 * sysdeps/mach/hurd/tls.h: Likewise.
25945
25946 [BZ #13067]
25947 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25948
25949 [BZ #13090]
25950 * configure.in: Fix use of AC_INIT.
25951
25952 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25953
259542011-09-10 Ulrich Drepper <drepper@gmail.com>
25955
25956 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25957 __set_errno.
25958 * malloc/hooks.c: Likewise.
25959
25960 [BZ #11929]
25961 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
25962 variables statically.
25963 (narenas): Initialize.
25964 (list_lock): Initialize.
25965 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
25966 initializtion of main_arena and list_lock. Small cleanups.
25967 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
25968 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
25969 Add initializers to main_arena and mp_.
25970 (malloc_state): Remove pagesize member. Change all users to use
25971 GLRO(dl_pagesize).
25972
25973 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
25974 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
25975 is always initialized.
25976
25977 * malloc/malloc.c: Removed unused configurations and dead code.
25978 * malloc/arena.c: Likewise.
25979 * malloc/hooks.c: Likewise.
25980 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
25981
25982 * include/tls.h: Removed. USE___THREAD must always be defined.
25983 * bits/libc-tsd.h: Don't handle !USE___THREAD.
25984 * elf/dl-libc.c: Likewise.
25985 * elf/dl-tsd.c: Likewise.
25986 * include/errno.h: Likewise.
25987 * include/netdb.h: Likewise.
25988 * include/resolv.h: Likewise.
25989 * inet/herrno-loc.c: Likewise.
25990 * inet/herrno.c: Likewise.
25991 * malloc/arena.c: Likewise.
25992 * malloc/hooks.c: Likewise.
25993 * malloc/malloc.c: Likewise.
25994 * resolv/res-state.c: Likewise.
25995 * resolv/res_libc.c: Likewise.
25996 * sysdeps/i386/dl-machine.h: Likewise.
25997 * sysdeps/ia64/dl-machine.h: Likewise.
25998 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25999 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26000 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26001 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26002 * sysdeps/sh/dl-machine.h: Likewise.
26003 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26004 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26005 * sysdeps/unix/i386/sysdep.S: Likewise.
26006 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26007 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26008 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26009 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26010 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26011 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26012 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26013 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26015 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26016 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26017 * sysdeps/x86_64/dl-machine.h: Likewise.
26018 * tls.make.c: Likewise.
26019
26020 * configure.in: Remove --with-__thread option. Make tests for
26021 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26022 tls_model attribute fail if no support is available. Remove
26023 USE_IN_LIBIO.
26024 * Makeconfig: Adjust for dropped configure option. All features are
26025 now mandatory.
26026 * Makerules: Likewise.
26027 * Versions.def: Likewise.
26028 * argp/argp-fmtstream.c: Likewise.
26029 * argp/argp-fmtstream.h: Likewise.
26030 * argp/argp-help.c: Likewise.
26031 * assert/assert.c: Likewise.
26032 * config.h.in: Likewise.
26033 * config.make.in: Likewise.
26034 * configure: Likewise.
26035 * configure.in: Likewise.
26036 * csu/Versions: Likewise.
26037 * csu/init.c: Likewise.
26038 * elf/tst-audit2.c: Likewise.
26039 * elf/tst-tls10.c: Likewise.
26040 * elf/tst-tls10.h: Likewise.
26041 * elf/tst-tls11.c: Likewise.
26042 * elf/tst-tls12.c: Likewise.
26043 * elf/tst-tls14.c: Likewise.
26044 * elf/tst-tlsmod11.c: Likewise.
26045 * elf/tst-tlsmod12.c: Likewise.
26046 * elf/tst-tlsmod13.c: Likewise.
26047 * elf/tst-tlsmod13a.c: Likewise.
26048 * elf/tst-tlsmod14a.c: Likewise.
26049 * elf/tst-tlsmod15b.c: Likewise.
26050 * elf/tst-tlsmod16a.c: Likewise.
26051 * elf/tst-tlsmod16b.c: Likewise.
26052 * elf/tst-tlsmod7.c: Likewise.
26053 * elf/tst-tlsmod8.c: Likewise.
26054 * elf/tst-tlsmod9.c: Likewise.
26055 * gmon/gmon.c: Likewise.
26056 * grp/fgetgrent_r.c: Likewise.
26057 * grp/putgrent.c: Likewise.
26058 * hurd/fopenport.c: Likewise.
26059 * include/libc-symbols.h: Likewise.
26060 * include/tls.h: Likewise.
26061 * intl/gettextP.h: Likewise.
26062 * intl/loadinfo.h: Likewise.
26063 * locale/global-locale.c: Likewise.
26064 * locale/localeinfo.h: Likewise.
26065 * mach/devstream.c: Likewise.
26066 * malloc/arena.c: Likewise.
26067 * malloc/set-freeres.c: Likewise.
26068 * misc/err.c: Likewise.
26069 * misc/getttyent.c: Likewise.
26070 * misc/mntent_r.c: Likewise.
26071 * posix/getopt.c: Likewise.
26072 * posix/wordexp.c: Likewise.
26073 * pwd/fgetpwent_r.c: Likewise.
26074 * resolv/Versions: Likewise.
26075 * resolv/res_hconf.c: Likewise.
26076 * shadow/fgetspent_r.c: Likewise.
26077 * shadow/putspent.c: Likewise.
26078 * stdio-common/printf_fphex.c: Likewise.
26079 * stdio-common/tmpfile.c: Likewise.
26080 * stdlib/abort.c: Likewise.
26081 * stdlib/fmtmsg.c: Likewise.
26082 * sunrpc/auth_unix.c: Likewise.
26083 * sunrpc/clnt_perr.c: Likewise.
26084 * sunrpc/clnt_tcp.c: Likewise.
26085 * sunrpc/clnt_udp.c: Likewise.
26086 * sunrpc/clnt_unix.c: Likewise.
26087 * sunrpc/openchild.c: Likewise.
26088 * sunrpc/svc_simple.c: Likewise.
26089 * sunrpc/svc_tcp.c: Likewise.
26090 * sunrpc/svc_udp.c: Likewise.
26091 * sunrpc/svc_unix.c: Likewise.
26092 * sunrpc/xdr.c: Likewise.
26093 * sunrpc/xdr_array.c: Likewise.
26094 * sunrpc/xdr_rec.c: Likewise.
26095 * sunrpc/xdr_ref.c: Likewise.
26096 * sunrpc/xdr_stdio.c: Likewise.
26097
260982011-09-09 Ulrich Drepper <drepper@gmail.com>
26099
26100 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26101
261022011-07-03 Andreas Jaeger <aj@suse.de>
26103
26104 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26105 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26106 regenerate with gen-libm-tests.pl.
26107
261082010-05-12 Petr Baudis <pasky@suse.cz>
26109
26110 [BZ #11589]
26111 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26112 around j0() zero points by switching to j1().
26113 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26114 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26115 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26116 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26117
261182011-09-09 Ulrich Drepper <drepper@gmail.com>
26119
26120 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26121 instead of 0.
26122 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26123 instead of 0.
26124 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26125 Patch in part by Pavel Roskin <proski@gnu.org>.
26126
26127 [BZ #13138]
26128 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26129 realloc.
26130 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26131 Free memory block if necessary.
26132
26133 [BZ #12847]
26134 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26135 be NULL. Don't lock in this case.
26136
261372011-09-09 Roland McGrath <roland@hack.frob.com>
26138
26139 * elf/elf.h (ELFOSABI_GNU): New macro.
26140 (ELFOSABI_LINUX): Define to that.
26141
261422011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26143
26144 * string/strncat.c (strncat): Undef the symbol in case it has been
26145 defined in bits/string.h.
26146
261472011-09-09 Ulrich Drepper <drepper@gmail.com>
26148
26149 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26150
26151 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26152 link map.
26153
261542011-08-17 Andreas Jaeger <aj@suse.de>
26155
26156 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26157
261582011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26159 Ian Lance Taylor <iant@google.com>
26160
26161 * math/libm-test.inc (lround_test): New testcase.
26162 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26163
261642011-09-08 Ulrich Drepper <drepper@gmail.com>
26165
26166 * Makefile: Remove support for automatic cvs check-ins.
26167 * Makerules: Likewise.
26168 * config.make.in: Likewise.
26169 * configure.in: Likewise.
26170 * intl/Makefile: Likewise.
26171 * locale/Makefile: Likewise.
26172 * po/Makefile: Likewise.
26173 * posix/Makefile: Likewise.
26174 * sysdeps/gnu/Makefile: Likewise.
26175 * sysdeps/mach/hurd/Makefile: Likewise.
26176 * sysdeps/sparc/sparc32/Makefile: Likewise.
26177
26178 [BZ #13118]
26179 * posix/Makefile (bug-regex32-ENV): Define.
26180 Patch by John Stanley <jpsinthemix@verizon.net>.
26181
26182 * misc/Makefile (headers): Add bits/select2.h.
26183 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26184 * misc/bits/select2.h: New file.
26185 * include/bits/select2.h: New file.
26186 * debug/Makefile (routines): Add fdelt_chk.
26187 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26188 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26189 FD_ISSET.
26190 * debug/fdelt_chk.c: New file.
26191
26192 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26193 * wcsmbs/test-wmemcmp.c: Likewise.
26194 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
26195 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
26196
261972011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26198
26199 * string/Makefile (strop-tests): Add memcmp.
26200 * string/test-wmemcmp.c: New file.
26201 * string/test-memcmp.c: Add wmemcmp support.
26202
262032011-09-08 Roland McGrath <roland@hack.frob.com>
26204
26205 [BZ #13153]
26206 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26207 2011-07-19 change.
26208
26209 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26210 garbage value in a __mach_port_mod_refs call in the cases of the
26211 task-self and thread-self ports.
26212
262132011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26214
26215 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26216
262172011-09-08 Andreas Schwab <schwab@redhat.com>
26218
26219 * elf/dl-load.c (lose): Check for non-null L.
26220
262212011-09-07 Ulrich Drepper <drepper@gmail.com>
26222
26223 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26224
26225 * elf/dl-libc.c (dlerror_run): Pass back error code from
26226 dl_catch_error.
26227
26228 [BZ #13123]
26229 * elf/dl-load.c (lose): Free l_origin if it is valid.
26230
26231 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26232 names.
26233 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26234 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26235 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26236 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26237 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26238 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26239
262402011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26241
26242 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26243 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26244 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26245 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26246 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26247 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26248 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26249 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26250 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26251 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26252
262532011-08-15 Alan Modra <amodra@gmail.com>
26254
26255 [BZ #13092]
26256 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26257 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26258 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26259 ppc_mcount to static-only-routines.
26260 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26261 __mcount_internal.
26262 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26263 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26264
262652011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26266
26267 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26268 for finite and infinity parameters.
26269
262702011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26271
26272 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26273 and add nop instructions for throughput optimization.
26274 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26275
262762011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26277
26278 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26279 aligned copy for power7 with vector-scalar instructions.
26280 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26281
262822011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26283
26284 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26285 AVX check.
26286
262872011-09-07 Andreas Schwab <schwab@redhat.com>
26288
26289 [BZ #13144]
26290 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26291 last change.
26292
262932011-09-07 Ulrich Drepper <drepper@gmail.com>
26294
26295 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26296 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26297 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26298 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26299 clock_gettime.
26300
263012011-09-06 Ulrich Drepper <drepper@gmail.com>
26302
26303 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26304 Forgot to demangle the pointer.
26305
26306 * sysdeps/i386/sysdep.h: Define atom_text_section.
26307 * sysdeps/x86_64/sysdep.h: Likewise.
26308 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26309 section with atom_text_section.
26310 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26311 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26312 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26313 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26314 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26315
26316 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26317 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26318 already be defined. Change to take two parameters and don't assign
26319 result to variable. Adjust all users.
26320 Define INTERNAL_GETTIME if not already defined.
26321 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26322 call.
26323 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26324 HAVE_CLOCK_GETTIME_VSYSCALL.
26325 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26326
26327 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26328 gettimeofday vsyscall, just use time.
26329
263302011-09-06 Andreas Schwab <schwab@redhat.com>
26331
26332 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26333 <errno.h>.
26334
263352011-09-06 Ulrich Drepper <drepper@gmail.com>
26336
26337 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26338 syscall on x86-64.
26339 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26340 syscall.
26341 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26342 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26343 syscall if possible.
26344
263452011-09-05 Ulrich Drepper <drepper@gmail.com>
26346
26347 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26348 e_ident. Don't pass to find_mapsXX.
26349 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26350
263512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26352
26353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26354 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26355 * sysdeps/x86_64/multiarch/strchr.S: Update.
26356 Check bit_slow_BSF bit.
26357 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26358 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26359 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26360
263612011-09-05 Ulrich Drepper <drepper@gmail.com>
26362
26363 [BZ #13134]
26364 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26365 before glibc 2.15.
26366 (tryshell): Define.
26367 (__spawni): Change last parameter to be flag. Test
26368 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26369 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26370 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26371 * posix/spawni.c: Likewise.
26372 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26373 * posix/spawnp.c: Likewise. Change normal version to use
26374 SPAWN_XFLAGS_USE_PATH.
26375 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26376 SPAWN_XFLAGS_TRY_SHELL.
26377
26378 [BZ #13150]
26379 * posix/glob.h: Remove gcc 1.x support.
26380
26381 [BZ #13068]
26382 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26383
263842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26385
26386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26387 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26388 strrchr-sse2-bsf
26389 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26390 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26391 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26392 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26393 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26394 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26395
263962011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26397
26398 * sysdeps/x86_64/wcscmp.S: New file.
26399
26400 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26401 wcscmp-c wcscmp-sse2
26402 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26403 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26404 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26405 * wcsmbs/wcscmp.c: Allow renaming.
26406
264072011-09-05 David S. Miller <davem@davemloft.net>
26408
26409 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26410 stack slot, rather than the struct return pointer slot.
26411 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26412 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26414 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26415
264162011-09-05 Ulrich Drepper <drepper@gmail.com>
26417
26418 * po/ja.po: Update from translation team.
26419
26420 [BZ #13144]
26421 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26422 kernel in 64-bit binaries.
26423
264242011-09-01 David S. Miller <davem@davemloft.net>
26425
26426 * elf/elf.h (HWCAP_SPARC_*): Move to..
26427 * sysdeps/sparc/sysdep.h: this new file and add new values.
26428 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26429 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26430 _DL_HWCAP_COUNT to 24.
26431 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26432 entries.
26433 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26434 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26435 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26437 instead of magic constants.
26438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26439
264402011-08-31 David S. Miller <davem@davemloft.net>
26441
26442 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26443 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26444 Reimplement to do errno handling inline.
26445 (SYSCALL_ERROR_HANDLER): New macro.
26446 (__SYSCALL_STRING): Do not do errno handling in asm.
26447 (__CLONE_SYSCALL_STRING): Delete.
26448 (__INTERNAL_SYSCALL_STRING): Delete.
26449 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26450 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26451 (PSEUDO): Reimplement to do errno handling inline.
26452 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26453 (SYSCALL_ERROR_HANDLER): New macro.
26454 (__SYSCALL_STRING): Do not do errno handling in asm.
26455 (__CLONE_SYSCALL_STRING): Delete.
26456 (__INTERNAL_SYSCALL_STRING): Delete.
26457 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26458 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26459 i386.
26460 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26461 (inline_syscall*): Add 'err' argument.
26462 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26463 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26464 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26465 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26466
26467 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26468 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26469
264702011-08-30 Andreas Schwab <schwab@redhat.com>
26471
26472 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26473
264742011-08-29 Jiri Olsa <jolsa@redhat.com>
26475
26476 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26477 directive.
26478
264792011-08-24 David S. Miller <davem@davemloft.net>
26480
26481 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26482
264832011-08-24 Andreas Schwab <schwab@redhat.com>
26484
26485 * elf/Makefile: Add rules to build and run unload8 test.
26486 * elf/unload8.c: New file.
26487 * elf/unload8mod1.c: New file.
26488 * elf/unload8mod1x.c: New file.
26489 * elf/unload8mod2.c: New file.
26490 * elf/unload8mod3.c: New file.
26491
26492 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26493 it wasn't used.
26494
264952011-08-23 David S. Miller <davem@davemloft.net>
26496
26497 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26498 subtract stack bias.
26499 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26500 %sp not %fp in calculations.
26501 (_JMPBUF_UNWINDS_ADJ): Likewise.
26502
26503 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26504 (aio_suspend): Call it to force an exception region around the
26505 AIO_MISC_WAIT() invocation.
26506
265072011-08-23 Andreas Schwab <schwab@redhat.com>
26508
26509 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26510 backslash.
26511
265122011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26513
26514 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26515 protection macro.
26516 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26517 and <dl-machine.h>.
26518 (Elf64_FuncDesc): Remove.
26519
265202011-08-22 David S. Miller <davem@davemloft.net>
26521
26522 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26523 sigaltstack check, add missing cfi directives.
26524 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26525 missing cfi directives, and sigaltstack handling.
26526
265272011-08-16 Andreas Schwab <schwab@redhat.com>
26528
26529 [BZ #11724]
26530 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26531 object is seen twice.
26532 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26533
26534 * elf/Makefile (distribute): Add tst-initorder2.c.
26535 (tests): Add tst-initorder2.
26536 (modules-names): Add tst-initorder2a tst-initorder2b
26537 tst-initorder2c tst-initorder2d. Add rules to build them.
26538 ($(objpfx)tst-initorder2.out): New rule.
26539 * elf/tst-initorder2.c: New file.
26540 * elf/tst-initorder2.exp: New file.
26541
265422011-08-22 Andreas Schwab <schwab@redhat.com>
26543
26544 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26545
26546 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26547 dependencies back to end of function.
26548
26549 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26550 $(elfobjdir)/ld.so.
26551
265522011-08-21 Ulrich Drepper <drepper@gmail.com>
26553
26554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26555 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26557 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26558 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26559 of __vdso_gettimeofday.
26560 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26561 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26562 attribute_hidden.
26563 (_libc_vdso_platform_setup): Remove initialization of
26564 __vdso_gettimeofday and __vdso_time.
26565
265662011-08-20 Ulrich Drepper <drepper@gmail.com>
26567
26568 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26569 and fgetc_unlocked.
26570 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26571 getc_unlocked.
26572
26573 * elf/dl-open.c (add_to_global): Report additions to the global scope
26574 for LD_DEBUG=scopes.
26575 (dl_open_worker): Also print scope of newly loaded dependencies.
26576 (_dl_show_scope): Indicate if there is no scope.
26577
26578 [BZ #13114]
26579 * stdio-common/Makefile (tests): Add bug24.
26580 * stdio-common/bug24.c: New file.
26581
265822011-08-19 Andreas Jaeger <aj@suse.de>
26583
26584 [BZ #13114]
26585 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26586 non-existant file when using close-on-exec mode.
26587
265882011-08-20 Ulrich Drepper <drepper@gmail.com>
26589
26590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26591 the very first instruction.
26592
26593 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26594 the CFI state in the end.
26595 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26596 inclusion of dl-trampoline.h.
26597 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26598
265992011-08-19 Andreas Schwab <schwab@redhat.com>
26600
26601 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26602 expectations for long double.
26603
26604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26605 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26606
266072011-08-14 David S. Miller <davem@davemloft.net>
26608
26609 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26610 artificual limit depends upon the system page size.
26611
266122011-08-17 Ulrich Drepper <drepper@gmail.com>
26613
26614 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26615 * resolv/Makefile: Define CFLAGS-libresolv.
26616
266172011-08-17 Andreas Schwab <schwab@redhat.com>
26618
26619 * nss/makedb.c (compute_tables): Make variables used in nested
26620 function static.
26621
266222011-08-17 Ulrich Drepper <drepper@gmail.com>
26623
26624 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26625 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26626 if buffer was too small.
26627
26628 * elf/pldd.c (main): Attach to all threads in the process.
26629 Rewrite /proc handling to use *at functions.
26630
266312011-08-16 Ulrich Drepper <drepper@gmail.com>
26632
26633 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26634 specifies first scope to show.
26635 (dl_open_worker): Update callers. Move printing scope of new
26636 object to before the relocation.
26637 * elf/rtld.c (dl_main): Update _dl_show_scope call.
26638 * sysdeps/generic/ldsodefs.h: Update declaration.
26639
26640 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26641 string for the scope number.
26642
266432011-08-14 Ulrich Drepper <drepper@gmail.com>
26644
26645 * nscd/servicescache.c (cache_addserv): Make sure written is always
26646 initialized.
26647
266482011-08-14 Roland McGrath <roland@hack.frob.com>
26649
26650 * sysdeps/i386/i486/bits/atomic.h
26651 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26652 statement expression, so as to suppress "set but not used" warning.
26653 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26654
26655 * string/strncat.c (STRNCAT): Use prototype definition.
26656
26657 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26658 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26659 -Iprograms here.
26660 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26661 (localedef-modules): Add localedef.
26662 (locale-modules): Add locale.
26663
26664 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26665 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26666 to avoid a warning.
26667
266682011-08-14 David S. Miller <davem@davemloft.net>
26669
26670 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26671 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26672
266732011-08-13 Ulrich Drepper <drepper@gmail.com>
26674
26675 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
26676 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26677 * elf/rtld.c (dl_main): Set l_name of vDSO.
26678 Call _dl_show_scope when DL_DEBUG_SCOPES.
26679 (process_dl_debug): Recognize scopes flag and also set it for all.
26680 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26681 Declare _dl_show_scope.
26682
26683 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26684 (do_dlopen): Pass caller_dlopen to dl_open.
26685 (__libc_dlopen_mode): Initialize caller_dlopen.
26686
26687 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26688 of libc. Make tolower call locale-independent. Optimize a bit by
26689 using isdigit instead of isalnum.
26690 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26691
266922011-08-12 Ulrich Drepper <drepper@gmail.com>
26693
26694 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26695 was a dependency or dynamically loaded.
26696
266972011-08-11 Ulrich Drepper <drepper@gmail.com>
26698
26699 * intl/l10nflist.c: Allow architecture-specific pop function.
26700 * sysdeps/x86_64/l10nflist.c: New file.
26701
26702 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26703 classification.
26704
267052011-08-10 Andreas Schwab <schwab@redhat.com>
26706
26707 * include/dirent.h: Add libc_hidden_proto for scandirat and
26708 scandirat64. Don't declare __scandirat64.
26709 * dirent/scandirat.c: Add libc_hidden_def.
26710 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26711 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26712
267132011-08-10 David S. Miller <davem@davemloft.net>
26714
26715 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26716 enum.
26717 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26718 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26719 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26720
267212011-08-09 Ulrich Drepper <drepper@gmail.com>
26722
26723 * Versions.def [libc]: Add GLIBC_2.15.
26724 * dirent/Makefile (routines): Add scandirat and scandirat64.
26725 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26726 GLIBC_2.15.
26727 * dirent/dirent.h: Declare scandirat and scandirat64.
26728 * dirent/scandirat.c: New file.
26729 * dirent/scandirat64.c: New file.
26730 * sysdeps/wordsize-64/scandirat.c: New file.
26731 * sysdeps/wordsize-64/scandirat64.c: New file.
26732 * dirent/opendir.c: Define opendirat.
26733 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26734 using scandirat.
26735 * dirent/scandir64.c: Adjust for scandir.c change.
26736 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26737 __scandirat64, and __scandir_cancel_handler.
26738 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26739 additional parameter and use openat instead of open (outside of ld.so).
26740 Add new __opendir as wrapper around __opendirat.
26741 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26742 here without requiring old scandirat implementation.
26743
267442011-08-08 Ulrich Drepper <drepper@gmail.com>
26745
26746 * dirent/scandir.c (cancel_handler): Renamed to
26747 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26748 defined. Adjust users.
26749 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26750 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26751
267522011-08-04 Ulrich Drepper <drepper@gmail.com>
26753
26754 * string/test-string.h (IMPL): Use __STRING to expand name and then
26755 stringify it.
26756
26757 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26758 of cleanups.
26759
267602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26761
26762 * string/Makefile: Update.
26763 (strop-tests): Append strncat.
26764 * string/test-wcscmp.c: New file.
26765 New comprehensive test for wcscmp.
26766 * string/test-strcmp.c: Update.
26767 (WIDE): New define.
26768
267692011-07-22 Andreas Schwab <schwab@redhat.com>
26770
26771 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26772 line.
26773
267742011-07-26 Andreas Schwab <schwab@redhat.com>
26775
26776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26777 encoding to ACE if AI_IDN.
26778
267792011-08-01 Jakub Jelinek <jakub@redhat.com>
26780
26781 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26782 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26783
267842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26785
26786 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26787 Fix overflow bug in strncat.
26788 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26789
26790 * string/test-strncat.c: Update.
26791 Add new tests for checking overflow bugs.
26792
267932011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26794
26795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26796 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26797 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26798 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26799 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26800 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26801 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26802 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26803 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26804
26805 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26806 (USE_AS_STRCAT): Define.
26807 Add strcat and strncat support.
26808 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26809
268102011-07-25 Andreas Schwab <schwab@redhat.com>
26811
26812 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26813 __n bigger than INT_MAX+1.
26814 (__strncmp_g): Likewise.
26815
268162011-07-23 Ulrich Drepper <drepper@gmail.com>
26817
26818 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26819 * libio/stido.h: Likewise.
26820
26821 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26822 (AF_NFC): Define.
26823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26824 (AF_NFC): Define.
26825
26826 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26827 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26828 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26829 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26830 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26831
26832 [BZ #13021]
26833 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26834 installed.
26835
26836 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26837 typo.
26838 (_dl_x86_64_save_sse): Likewise.
26839
268402011-07-22 Ulrich Drepper <drepper@gmail.com>
26841
26842 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26843 OSXSAVE.
26844 (_dl_x86_64_save_sse): Likewise.
26845
26846 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26847
26848 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26849
268502011-07-21 Andreas Schwab <schwab@redhat.com>
26851
26852 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26853 change.
26854 (_dl_x86_64_save_sse): Use correct AVX check.
26855
268562011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26857
26858 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26859 bug in strncpy/strncat.
26860 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26861
268622011-07-21 Ulrich Drepper <drepper@gmail.com>
26863
26864 * string/tester.c (test_strcat): Add tests for different alignments
26865 of source and destination.
26866 (test_strncat): Likewise.
26867
268682011-07-20 Ulrich Drepper <drepper@gmail.com>
26869
26870 [BZ #12852]
26871 * posix/glob.c (glob): Check passed in values before using them in
26872 expressions to avoid some overflows.
26873 (glob_in_dir): Likewise.
26874
26875 [BZ #13007]
26876 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26877 check for AVX enablement so that we don't crash with old kernels and
26878 new hardware.
26879 * elf/tst-audit4.c: Add same checks here.
26880 * elf/tst-audit6.c: Likewise.
26881
26882 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
26883
268842011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26885
26886 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26887
268882011-07-20 Ulrich Drepper <drepper@gmail.com>
26889
26890 * po/cs.po: Update from translation team.
26891 * po/bg.po: Likewise.
26892
268932011-07-12 Marek Polacek <mpolacek@redhat.com>
26894
26895 * misc/sys/cdefs.h: Add support for const attribute.
26896 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26897 to gnu_dev_{major,minor,makedev} functions.
26898
268992011-07-20 Marek Polacek <mpolacek@redhat.com>
26900
26901 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26902
269032011-07-20 Andreas Schwab <schwab@redhat.com>
26904
26905 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26906 strlen results.
26907
269082011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26909
26910 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26911 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26912 register in order to avoid conflicts with the soft frame pointer
26913 being held in r11 when necessary.
26914 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26915 (INTERNAL_VSYSCALL_NCS): Likewise.
26916
269172011-07-14 Marek Polacek <mpolacek@redhat.com>
26918
26919 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26920 * elf/dl-fini.c (_dl_fini): Adjust caller.
26921 * elf/dl-close.c (_dl_close_worker): Likewise.
26922 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26923
269242011-07-15 Marek Polacek <mpolacek@redhat.com>
26925
26926 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26927 "aux_cache->nlibs < 0".
26928
26929 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26930 in the reload-count case.
26931
269322011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26933
26934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26935 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26936 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26937 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26938 * sysdeps/x86_64/multiarch/strcat.S: New file.
26939 * sysdeps/x86_64/multiarch/strncat.S: New file.
26940 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26941 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26942 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26943 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26944 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26945 (USE_AS_STRCAT): Define.
26946 Add strcat and strncat support.
26947 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26948 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26949 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26950 * string/strncat.c: Update.
26951 (USE_AS_STRNCAT): Define.
26952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26953 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26954 and i7.
26955 * sysdeps/x86_64/multiarch/init-arch.h
26956 (bit_Prefer_PMINUB_for_stringop): New.
26957 (index_Prefer_PMINUB_for_stringop): Likewise.
26958 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26959 bit_Prefer_PMINUB_for_stringop.
26960
269612011-07-19 Ulrich Drepper <drepper@gmail.com>
26962
26963 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26964 buffer64.
26965 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
26966 of casting of buffer.
26967 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
26968 buffer32 and buffer64.
26969 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
26970 writes instead of casting of buffer.
26971 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
26972 buffer32.
26973 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
26974 casting of buffer.
26975
269762011-07-19 Andreas Schwab <schwab@redhat.com>
26977
26978 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
26979
269802011-07-19 Ulrich Drepper <drepper@gmail.com>
26981
26982 * nscd/nscd.c (termination_handler): Don't do anything for a database
26983 if it has not yet been initialized.
26984
269852011-07-18 Ulrich Drepper <drepper@gmail.com>
26986
26987 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26988
269892011-07-15 Marek Polacek <mpolacek@redhat.com>
26990
26991 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26992
269932011-07-18 Ulrich Drepper <drepper@gmail.com>
26994
26995 * po/nl.po: Update from translation team.
26996 * po/sv.po: Likewise.
26997
269982011-07-16 Roland McGrath <roland@hack.frob.com>
26999
27000 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27001 now disallowed by GCC.
27002
27003 * configure.in (use-default-link): Default to yes if a test -shared
27004 link meets our qualifications.
27005 * configure: Regenerated.
27006
27007 * config.make.in (output-format): New variable.
27008 * configure.in: Check for ld --print-output-format support.
27009 * configure: Regenerated.
27010 * Makerules ($(common-objpfx)format.lds)
27011 [$(output-format) != unknown]: Just use $(output-format),
27012 instead of the linker-script munging.
27013
270142011-07-14 Roland McGrath <roland@hack.frob.com>
27015
27016 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27017 of $(common-objpfx)shlib.lds.
27018 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27019
27020 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27021 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27022
27023 * configure.in (-z relro check): Adjust test code to add a large
27024 writable data section after it.
27025 * configure: Regenerated.
27026
270272011-07-11 Roland McGrath <roland@hack.frob.com>
27028
27029 * configure.in (-z relro check): Fix test code to make the variable
27030 truly const.
27031 * configure: Regenerated.
27032
270332011-07-11 Ulrich Drepper <drepper@gmail.com>
27034
27035 * nscd/nscd.h (struct traced_file): Define.
27036 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27037 elements. Add traced_files.
27038 (inotify_fd): Declare.
27039 (register_traced_file): Declare.
27040 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27041 (inotify_fd): Export.
27042 (resolv_conf_descr): Remove.
27043 (nscd_init): Move inotify descriptor creation to main.
27044 Don't register files for notification here.
27045 (register_traced_file): New function.
27046 (invalidate_cache): Don't use reset_res to determine whether to call
27047 res_init, go through the list of registered files.
27048 (main_loop_poll): The inotify descriptors are now stored in the
27049 structures for the traced files.
27050 (main_loop_epoll): Likewise
27051 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27052 to __nss_disable_nscd.
27053 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27054 for a database anymore. Check the records for all the registered
27055 files instead.
27056 * nss/Makefile (libnss_files-routines): Add files-init.
27057 (libnss_db-routines): Add db-init.
27058 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27059 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27060 * nss/nss_db/db-init.c: New file.
27061 * nss/nss_files/files-init.c: New file.
27062 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27063 __nss_lookup_function.
27064 (__nss_lookup_function): Call nss_load_library.
27065 (nss_load_all_libraries): New function.
27066 (__nss_disable_nscd): Take parameter with callback function for files
27067 to register. Set is_nscd. Load all the DSOs for the NSS modules
27068 used for the cached services.
27069 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27070 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27071 options for features to all the files in nscd.
27072
27073 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27074
270752011-07-10 Roland McGrath <roland@hack.frob.com>
27076
27077 * csu/elf-init.c (__libc_csu_init): Comment typo.
27078
270792011-07-09 Ulrich Drepper <drepper@gmail.com>
27080
27081 * po/pl.po: Update from translation team.
27082 * po/ja.po: Likewise.
27083 * po/ru.po: Likewise.
27084 * po/ko.po: Likewise.
27085 * po/fr.po: Likewise.
27086
270872011-07-09 Roland McGrath <roland@hack.frob.com>
27088
27089 * configure.in (.ctors/.dtors header and trailer check):
27090 Use an empirical test on a built program.
27091 * configure: Regenerated.
27092
27093 * configure.in (-z relro check): Use an empirical test on a built DSO.
27094 Detect, but do not require, on ia64.
27095 * configure: Regenerated.
27096
27097 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27098 Update tests that use readelf to use $READELF instead.
27099 * configure: Regenerated.
27100
271012011-07-08 Ulrich Drepper <drepper@gmail.com>
27102
27103 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27104 if the result is not used.
27105
271062011-07-05 Andreas Jaeger <aj@suse.de>
27107
27108 [BZ#9696]
27109 * stdlib/tst-strtod.c: Add testcase.
27110
271112011-07-07 Ulrich Drepper <drepper@gmail.com>
27112
27113 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27114 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27115 The latter has a higher limit. Take additional parameter to pass to
27116 the new function.
27117 (__pathconf): Pass file to __statfs_link_max.
27118 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27119 __statfs_link_max.
27120 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27121 __statfs_link_max.
27122
27123 [BZ #12868]
27124 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27125 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27126 Handle Lustre.
27127 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27128 (__statfs_filesize_max): Likewise.
27129 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27130
271312011-07-05 Andreas Jaeger <aj@suse.de>
27132
27133 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27134
271352011-07-06 Marek Polacek <mpolacek@redhat.com>
27136
27137 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27138 `status' variable.
27139 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27140 Likewise.
27141
271422011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27143
27144 * Makefile (strop-tests): Add strncat.
27145 * string/test-strncat.c: New file.
27146
271472011-06-30 Marek Polacek <mpolacek@redhat.com>
27148
27149 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27150
271512011-06-21 Andreas Jaeger <aj@suse.de>
27152
27153 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27154 Copy rule from iconvdata/Makefile.
27155
271562011-07-06 Ulrich Drepper <drepper@gmail.com>
27157
27158 [BZ #12922]
27159 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27160 but no long options are defined, just return 'W'.
27161
271622011-06-22 Marek Polacek <mpolacek@redhat.com>
27163
27164 [BZ #9696]
27165 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27166
271672011-07-06 Ulrich Drepper <drepper@gmail.com>
27168
27169 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27170 netgroups to read.
27171 (innetgr): Likewise.
27172
271732011-07-05 Roland McGrath <roland@hack.frob.com>
27174
27175 * config.make.in (install_root): Default to $(DESTDIR).
27176
271772011-07-05 Ulrich Drepper <drepper@gmail.com>
27178
27179 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27180
271812011-07-02 Roland McGrath <roland@hack.frob.com>
27182
27183 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27184
27185 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27186 containing directory rather than embedding absolute directory names.
27187
27188 * scripts/check-local-headers.sh: Rewritten using awk.
27189 Match by word, not by line. Print error messages for matches.
27190 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27191
27192 * Makerules [shlib-lds-flags empty]:
27193 ($(common-objpfx)libc_pic.opts): New target.
27194 ($(common-objpfx)libc_pic.os.clean): New target.
27195 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27196
27197 * config.make.in (OBJCOPY): New variable.
27198 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27199 * configure: Regenerated.
27200
27201 * config.make.in (use-default-link): New variable.
27202 * configure.in (use_default_link): Grok --with-default-link to set it.
27203 * configure: Regenerated.
27204 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27205 (shlib-lds, shlib-lds-flags): Define to empty.
27206
27207 * Makerules (shlib-lds): New variable.
27208 (shlib-lds-flags): New variable.
27209 (build-shlib, build-moduile, build-module-asneeded): Use it.
27210 ($(common-objpfx)libc.so): Use $(shlib-lds).
27211 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27212 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27213
27214 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27215 DT_FLAGS/DT_FLAGS_1 with zero flags.
27216
27217 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27218 linker script munging.
27219
272202011-07-02 Ulrich Drepper <drepper@gmail.com>
27221
27222 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27223 as 128-bit value.
27224 * crypt/sha512.c (sha512_process_block): Perform total addition using
27225 128-bit if possible.
27226 (__sha512_finish_ctx): Likewise.
27227 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27228 as 64-bit value.
27229 * crypt/sha256.c (SWAP64): Define.
27230 (sha256_process_block): Perform total addition using 64-bit if
27231 possible.
27232 (__sha256_finish_ctx): Likewise.
27233
272342011-07-01 Ulrich Drepper <drepper@gmail.com>
27235
27236 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27238 * nscd/hstcache.c (cache_addhst): Likewise.
27239 * nscd/grpcache.c (cache_addgr): Likewise.
27240 * nscd/aicache.c (addhstaiX): Likewise
27241 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27242
272432011-07-01 Thorsten Kukuk <kukuk@suse.de>
27244
27245 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27246 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27247 * nscd/hstcache.c (cache_addhst): Likewise.
27248 * nscd/grpcache.c (cache_addgr): Likewise.
27249 * nscd/aicache.c (addhstaiX): Likewise
27250
272512011-07-01 Andreas Schwab <schwab@redhat.com>
27252
27253 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27254 domain only when needed.
27255
272562011-06-30 Andreas Schwab <schwab@redhat.com>
27257
27258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27259 is always restored.
27260
272612011-06-29 Ulrich Drepper <drepper@gmail.com>
27262
27263 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27264 are re-adding the entry.
27265 * nscd/servicescache.c (cache_addserv): Likewise.
27266
272672011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27268
27269 * sysdeps/generic/dl-irel.h: fix protection against multiple
27270 inclusions.
27271 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27272
272732011-06-28 Ulrich Drepper <drepper@gmail.com>
27274
27275 [BZ #12935]
27276 * malloc/memusage.sh: Fix quoting in message.
27277 * debug/xtrace.sh: Likewise.
27278
27279 * configure.in: Remove support for --experimental-malloc option, make
27280 it the default.
27281 * config.make.in: Likewise.
27282 * malloc/Makefile: Likewise.
27283
272842011-06-27 Andreas Schwab <schwab@redhat.com>
27285
27286 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27287 two-byte characters.
27288
272892011-06-27 Roland McGrath <roland@hack.frob.com>
27290
27291 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27292 AC_CACHE_CHECK invocation.
27293 * configure: Regenerated.
27294
27295 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27296
272972011-06-27 Ulrich Drepper <drepper@gmail.com>
27298
27299 [BZ #12350]
27300 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27301 bit from old_res_options.
27302
27303 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27304
27305 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27306 value type for setfct.
27307
273082011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27309
27310 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27311 __gettimeofday instead of gettimeofday.
27312
273132011-06-26 Ulrich Drepper <drepper@gmail.com>
27314
27315 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27316
273172011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27318
27319 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27320
27321 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27322 info.
27323
273242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27325
27326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27327 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27328 strcpy-sse2-unaligned strncpy-sse2-unaligned
27329 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27330 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27331 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27332 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27333 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27334 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27335 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27336 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27337 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27338 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27339 (STRCPY): Support SSE2 and SSSE3 versions.
27340
273412011-06-24 Ulrich Drepper <drepper@gmail.com>
27342
27343 [BZ #12874]
27344 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27345 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27346 kernels which artificially limit size of requests.
27347
273482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27349
27350 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27351 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27352 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27353 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27354 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27355 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27356 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27357 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27358 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27359 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27360 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27361 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27362 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27363 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27364 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27366 Enable unaligned load optimization for Intel Core i3, i5 and i7
27367 processors.
27368 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27369 Define.
27370 (index_Fast_Unaligned_Load): Define.
27371 (HAS_FAST_UNALIGNED_LOAD): Define.
27372
273732011-06-23 Marek Polacek <mpolacek@redhat.com>
27374
27375 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27376
273772011-06-22 Ulrich Drepper <drepper@gmail.com>
27378
27379 [BZ #12907]
27380 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27381 until it is clear that the information is realy needed.
27382 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27383
273842011-06-22 Andreas Schwab <schwab@redhat.com>
27385
27386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27387
273882011-06-22 Ulrich Drepper <drepper@gmail.com>
27389
27390 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27391 /sys/devices/system/cpu/online if it is usable.
27392
27393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27394 reading the information from the /proc filesystem to once a second.
27395
273962011-06-21 Andreas Jaeger <aj@suse.de>
27397
27398 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27399 NULL after inclusion of kernel headers.
27400
274012011-06-21 Ulrich Drepper <drepper@gmail.com>
27402
27403 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27404 calls to internal_setent.
27405
27406 [BZ #12885]
27407 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27408 addresses using gethostbyname4_r ignore IPv4 addresses.
27409
27410 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27411 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27412
27413 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27414
274152011-06-20 David S. Miller <davem@davemloft.net>
27416
27417 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27418 inclusions.
27419 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27420
27421 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27422 (elf_irel): Use it.
27423 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27424 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27425 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27426 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27427 * sysdeps/x86_64/dl-irel.h: Likewise.
27428
27429 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27430 * elf/dl-sym.c: Likewise.
27431
274322011-06-15 Ulrich Drepper <drepper@gmail.com>
27433
27434 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27435 need to dereference resplen2.
27436
274372011-06-14 Andreas Schwab <schwab@redhat.com>
27438
27439 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27440
274412011-06-15 Ulrich Drepper <drepper@gmail.com>
27442
27443 * Makeconfig: Define vardbdir and inst_vardbdir.
27444 * nss/Makefile: Add rules to install db-Makefile.
27445
27446 * nss/nss_db/db-XXX.c: Cleanup.
27447
27448 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27449 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27450 GLIBC_PRIVATE.
27451 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27452 * nss/makedb.c: Implement -g option to specify that value strings
27453 are generated and should not be added to table iterated over for
27454 get*ent calls.
27455 * nss/nss_db/db-initgroups.c: New file.
27456
27457 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27458 interface.
27459
27460 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27461 (internal_getgrouplist): Adjust to name change.
27462 Update use_initgroups_entry if this is not the first call.
27463 * nss/databases.def: Add initgroups entry.
27464
27465 * nss/makedb.c (compute_tables): Check result of multiple hash table
27466 sizes to minimize maximum chain length.
27467
274682011-06-14 Ulrich Drepper <drepper@gmail.com>
27469
27470 * Versions.def: Add entry for libnss_db.
27471 * shlib-versions: Likewise.
27472 * nss/Makefile: Add rules to build libnss_db.
27473 * nss/Versions: Add libnss_db information. Organize libnss_files
27474 entries better.
27475 * nss/db-Makefile: Add gshadow support. Change rules for the new
27476 makedb progra. Some minor improvements to generate smaller files.
27477 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27478 here from...
27479 * nss/makedb.c: ...here.
27480 Improve database format to be smaller and require less memory at
27481 runtime.
27482 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27483 db anymore.
27484 * nss/nss_db/db-netgrp.c: Likewise.
27485 * nss/nss_db/db-open.c: Likewise.
27486 * nss/nss_files/flies-XXX.x: Adjust comments.
27487 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27488 * nss/nss_files/files-grp.c: Likewise.
27489 * nss/nss_files/files-hosts.c: Likewise.
27490 * nss/nss_files/files-network.c: Likewise.
27491 * nss/nss_files/files-proto.c: Likewise.
27492 * nss/nss_files/files-pwd.c: Likewise.
27493 * nss/nss_files/files-rpc.c: Likewise.
27494 * nss/nss_files/files-service.c: Likewise.
27495 * nss/nss_files/files-sgrp.c: Likewise.
27496 * nss/nss_files/files-spwd.c: Likewise.
27497 * nss/nss_db/db-alias.c: Removed.
27498 * nss/nss_db/dummy-db.h: Removed.
27499
275002011-06-02 Ulrich Drepper <drepper@gmail.com>
27501
27502 * nss/makedb.c: Rewritten to not use database library.
27503 * nss/Makefile: Update to build new makedb program.
27504
275052011-06-14 Andreas Jaeger <aj@suse.de>
27506
27507 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27508 memset declaration.
27509
275102011-06-10 Andreas Schwab <schwab@redhat.com>
27511
27512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27513 tmpbuf.
27514
275152011-06-10 Roland McGrath <roland@hack.frob.com>
27516
27517 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27518 * elf/Makefile ($(objpfx)ld.so): Likewise.
27519
27520 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27521 Don't list ld.so twice in dependencies.
27522
27523 * posix/bug-regex31.c: Include <stdlib.h>.
27524
27525 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27526
27527 * nis/nss_compat/compat-spwd.c
27528 (getspent_next_nss_netgr): Remove unused variable.
27529 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27530
27531 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27532 nonmembers" output to use the right array.
27533
27534 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27535
27536 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27537
27538 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27539 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27540 * catgets/gencat.c (read_input_file): Likewise.
27541 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27542
27543 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27544 variable definition inside #if's controlling its use.
27545
27546 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27547
27548 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27549
27550 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27551
27552 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27553 unreachable code.
27554
27555 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27556
27557 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27558 * configure: Regenerated.
27559
27560 * Makerules: Revert last change.
27561 * elf/Makefile: Likewise.
27562
275632011-06-09 Roland McGrath <roland@hack.frob.com>
27564
27565 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27566 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27567 (reloc-link): Likewise.
27568
275692011-06-09 Ulrich Drepper <drepper@gmail.com>
27570
27571 * elf/Makefile: Add rules to build pldd.
27572 * elf/pldd.c: New file.
27573 * elf/pldd-xx.c: New file.
27574
275752011-06-07 Ulrich Drepper <drepper@gmail.com>
27576
27577 * version.h: Update for 2.15 development version.
27578
275792011-06-07 David S. Miller <davem@davemloft.net>
27580
27581 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27582 ifuncs.
27583 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27584 elf_machine_lazy_rel): Likewise.
27585 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27586 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27587 elf_machine_lazy_rel): Likewise.
27588 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27589 dl_hwcap via passed in argument.
27590 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27591 Likewise.
27592
275932011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27594
27595 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27596
275972011-06-06 Roland McGrath <roland@hack.frob.com>
27598
27599 [BZ #12849]
27600 * manual/fdl-1.1.texi: New file, verbatim from:
27601 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27602 * manual/lgpl-2.1.texi: New file, verbatim from:
27603 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27604 * manual/Makefile (licenses): New variable, list those new file names.
27605 (texis): Use it.
27606 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27607
27608 * manual/fdl.texi: File removed.
27609 * manual/lesser.texi: File removed.
27610 * manual/libc.texinfo (Copying, Documentation License):
27611 Use new @include file names, put @appendix directive before @include.
27612
276132011-06-04 Jakub Jelinek <jakub@redhat.com>
27614
27615 [BZ #12841]
27616 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27617 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27618 (mq_open): Add __NTH.
27619
276202011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27621
27622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27623 Assume Intel Core i3/i5/i7 processor if AVX is available.
27624
276252011-05-31 Ulrich Drepper <drepper@gmail.com>
27626
27627 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27628 typo.
27629
276302011-05-31 Andreas Schwab <schwab@redhat.com>
27631
27632 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27633 memory. Use alloca_account. Fix memory leak when retrying.
27634
276352011-05-31 Ulrich Drepper <drepper@gmail.com>
27636
27637 * version.h (RELEASE): Bump for 2.14 release.
27638 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27639
27640 * config.make.in (RANLIB): Remove entry.
27641
276422011-05-30 Ulrich Drepper <drepper@gmail.com>
27643
27644 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27645 (libc.pot): Work around missing support for .ksh extension in xgettext.
27646
27647 [BZ #12684]
27648 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27649 if both request failed.
27650 (send_dg): In case of server errors clear resplen or *resplen2.
27651
27652 [BZ #12454]
27653 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27654 when there are multiple maps.
27655 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27656 (_dl_fini): Remove test here.
27657
27658 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27659
276602011-05-29 Ulrich Drepper <drepper@gmail.com>
27661
27662 [BZ #12350]
27663 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27664 bit from old_res_options.
27665 (gaih_inet): Likewise.
27666
27667 [BZ #11099]
27668 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
27669 as signed.
27670
27671 * resolv/res_init.c (res_setoptions): Make the code more compact.
27672
27673 [BZ #11558]
27674 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27675 set RES_USEVC.
27676
27677 [BZ #11634]
27678 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27679
27680 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27681
27682 [BZ #11781]
27683 * malloc/malloc.h: Declare malloc hook variables as volatile.
27684
27685 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27686 in last patch.
27687
27688 [BZ #11799]
27689 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
27690 raise in the comment.
27691 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27692 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27693 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
27694
276952011-05-28 Ulrich Drepper <drepper@gmail.com>
27696
27697 [BZ #12811]
27698 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27699 grow the buffers more if it already has to be sufficient.
27700 (build_wcs_upper_buffer): Likewise.
27701 * posix/regexec.c (check_matching): Likewise.
27702 (clean_state_log_if_needed): Likewise.
27703 (extend_buffers): Don't enlarge buffers beyond size of the input
27704 buffer.
27705 Patches mostly by Emil Wojak <emil@wojak.eu>.
27706 * posix/bug-regex32.c: New file.
27707 * posix/Makefile (tests): Add bug-regex32.
27708
27709 * locale/findlocale.c (_nl_find_locale): Return right away if
27710 _nl_explode_name failed.
27711 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27712
27713 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27714
27715 * debug/xtrace.sh: Unify messages.
27716 * malloc/memusage.sh: Likewise.
27717
27718 [BZ #12813]
27719 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27720 time symbol from vDSO. Substitute with vsyscall if not available.
27721 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27722 __vdso_time.
27723
27724 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27725 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27726 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27727 Add sendmmsg and internal_sendmmsg.
27728 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27729 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27730 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27731
27732 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27733 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27734 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27735
277362011-05-27 Ulrich Drepper <drepper@gmail.com>
27737
27738 [BZ #12813]
27739 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27740 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27741 available.
27742 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27743 __vdso_getcpu.
27744
27745 [BZ #12814]
27746 * iconvdata/Makefile (tests): Add bug-iconv9.
27747 * iconvdata/bug-iconv9.c: New file.
27748
277492011-05-27 Andreas Schwab <schwab@redhat.com>
27750
27751 [BZ #12814]
27752 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27753
277542011-05-25 Jakub Jelinek <jakub@redhat.com>
27755
27756 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27757 (struct user_regs_struct): Change intcs field back to cs.
27758
277592011-05-25 Ulrich Drepper <drepper@gmail.com>
27760
27761 * po/ja.po: Update from translation team.
27762
277632011-05-23 Ulrich Drepper <drepper@gmail.com>
27764
27765 [BZ #12795]
27766 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27767 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27768
277692011-05-20 Andreas Schwab <schwab@redhat.com>
27770
27771 * stdlib/longlong.h: Update from GCC.
27772
277732011-05-23 Andreas Schwab <schwab@redhat.com>
27774
27775 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27776 parameter name.
27777 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27778 Add parameter name.
27779 (__sysconf): Pass it down.
27780
277812011-05-22 Ulrich Drepper <drepper@gmail.com>
27782
27783 [BZ #12671]
27784 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27785 some situations.
27786 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27787 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27788 add in in __libc_use_alloca calls. Adjust callers.
27789 (glob): Use malloc in some situations.
27790
27791 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27792 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27793 pltexit.
27794
277952011-05-21 Ulrich Drepper <drepper@gmail.com>
27796
27797 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27798 and CLOCK_BOOTTIME_ALARM.
27799
27800 [BZ #12782]
27801 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27802 is returned.
27803
27804 * string/_strerror.c (__strerror_r): Print negative errors as signed
27805 numbers.
27806
27807 [BZ #12777]
27808 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27809 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27810 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27811
27812 * configure.in: Fix typo in redirection and correct removal of test
27813 files in two cases.
27814
27815 [BZ #12788]
27816 * locale/setlocale.c (new_composite_name): Fix test to check for
27817 identical name of all categories.
27818
27819 [BZ #12792]
27820 * libio/filedoalloc.c (local_isatty): New function.
27821 (_IO_file_doallocate): Use local_isatty.
27822 * stdio-common/perror.c (perror): In case a new stream is used
27823 forward the stream error.
27824 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27825 error flag.
27826
278272011-05-20 Ulrich Drepper <drepper@gmail.com>
27828
27829 [BZ #11869]
27830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27831 alloca.
27832 * include/alloca.h (extend_alloca_account): Define.
27833
27834 [BZ #11857]
27835 * posix/regex.h: Fix comments with documentation of user-accessible
27836 fields after compilation and describe correct free'ing of pattern
27837 after re_compile_pattern.
27838 Patch by Reuben Thomas <rrt@sc3d.org>.
27839
278402011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27841
27842 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27843 and -mno-altivec to prevent the compiler from using Altivec and/or
27844 VSX instructions when the corresponding registers are not available.
27845
278462011-05-19 Andreas Schwab <schwab@redhat.com>
27847
27848 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27849
278502011-05-19 Ulrich Drepper <drepper@gmail.com>
27851
27852 * libio/freopen.c (freopen): Use __dup2, not dup2.
27853 * libio/freopen64.c (freopen64): Likewise.
27854
278552011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27856
27857 [BZ #12775]
27858 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27859 * math/Makefile (tests): Add test-powl.
27860 (CFLAGS-test-powl.c): Define.
27861 * math/test-powl.c: New file.
27862
278632011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27864
27865 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27866
278672011-05-17 Ulrich Drepper <drepper@gmail.com>
27868
27869 [BZ #11837]
27870 * iconvdata/gb18030.c: Update to GB18020-2005.
27871
278722011-05-16 Ulrich Drepper <drepper@gmail.com>
27873
27874 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27875 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27876 Patch by Aharon Robbins <arnold@skeeve.com>.
27877
27878 [BZ #11892]
27879 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27880 on the stack.
27881
27882 [BZ #11895]
27883 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27884 through underflows.
27885
27886 [BZ #12766]
27887 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27888 point to strings before performing equality test for error_one_per_line
27889 mode.
27890
27891 [BZ #11697]
27892 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27893
27894 [BZ #11820]
27895 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27896 (struct user_fpregs_struct): Avoid __uint*_t types.
27897
27898 [BZ #6420]
27899 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27900 symbol info. Use it instead of calling _dl_addr locally.
27901 (lock_and_info): New function.
27902 (tr_freehook): Call lock_and_info and pass symbol info as additional
27903 parameter to tr_where.
27904 (tr_mallochook): Likewise.
27905 (tr_reallochook): Likewise.
27906 (tr_memalignhook): Likewise.
27907
27908 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27909 used and couldn't be at all thread-safe.
27910
279112011-05-15 Ulrich Drepper <drepper@gmail.com>
27912
27913 * libio/freopen.c (freopen): Don't close old file descriptor
27914 before the new one is opened. Instead dup the new file descriptor
27915 to the old one after the new stream is created.
27916 * libio/freopen64.c (freopen64): Likewise.
27917 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27918 * libio/fileops.c (_IO_new_file_close_it): Handle new
27919 _IO_FLAGS2_NOCLOSE flag.
27920 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27921 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27922 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27923 _IO_FLAGS2_NOCLOSE flag.
27924 * include/unistd.h: Add hidden_proto for dup3.
27925 Define __have_dup3.
27926 * io/dup3.c: Define hidden symbol.
27927 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27928
27929 [BZ #7101]
27930 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27931 when an incomplete long option is used.
27932 * posix/tst-getopt_long1.c: New file.
27933 * posix/Makefile (tests): Add tst-getopt_long1.
27934
27935 [BZ #10138]
27936 * scripts/config.guess: Update from autoconf-2.68.
27937 * scripts/config.sub: Likewise.
27938
27939 [BZ #10157]
27940 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27941 tests into ...
27942 (has_cpuclock): ...this. New function.
27943 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27944 macro here based on has_cpuclock code.
27945
27946 [BZ #10149]
27947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27948 First byte (not low byte) is now always NUL.
27949 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27950
27951 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27952 Use non-cancelable interfaces.
27953
27954 [BZ #9809]
27955 * locale/iso-639.def: Add entry for Sorani.
27956
27957 [BZ #11901]
27958 * include/stdlib.h: Move include protection to the right place.
27959 Define abort_msg_s. Declare __abort_msg with it.
27960 * stdlib/abort.c (__abort_msg): Adjust type.
27961 * assert/assert.c (__assert_fail_base): New function. Majority
27962 of code from __assert_fail. Allocate memory for __abort_msg with
27963 mmap.
27964 (__assert_fail): Now call __assert_fail_base.
27965 * assert/assert-perr.c: Remove bulk of implementation. Use
27966 __assert_fail_base.
27967 * include/assert.hL Declare __assert_fail_base.
27968 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
27969 mmap.
27970 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
27971
279722011-05-14 Ulrich Drepper <drepper@gmail.com>
27973
27974 [BZ #11952]
27975 [BZ #12453]
27976 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
27977 until all modules are registered in the DTV.
27978 * elf/Makefile: Add rules to build and run tst-tls19.
27979 * elf/tst-tls19.c: New file.
27980 * elf/tst-tls19mod1.c: New file.
27981 * elf/tst-tls19mod2.c: New file.
27982 * elf/tst-tls19mod3.c: New file.
27983 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
27984
27985 [BZ #12083]
27986 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
27987 correctly.
27988
27989 [BZ #12601]
27990 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
27991 two-byte sequence errors.
27992 * iconvdata/Makefile (tests): Add bug-iconv8.
27993 * iconvdata/bug-iconv8.c: New file.
27994
27995 [BZ #12626]
27996 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
27997 buf2 definition.
27998
27999 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28000
28001 [BZ #12432]
28002 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28003 (dummy_getcfa): New function.
28004 (init): Get _Unwind_GetCFA address, use dummy if not found.
28005 (backtrace_helper): In recursion check, also check whether CFA changes.
28006 (__backtrace): Completely initialize arg.
28007
28008 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28009 storing incomplete byte sequence in state object. Avoid testing for
28010 guaranteed too small input if we know there is enough data available.
28011
280122011-05-11 Andreas Schwab <schwab@redhat.com>
28013
28014 * Makeconfig (+link-pie): Indent.
28015 * Rules (binaries-pie): Define if $(have-fpie) and
28016 $(build-shared).
28017 (binaries-shared): Also filter out $(binaries-pie).
28018 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28019 * nscd/Makefile (others-pie): Add nscd.
28020 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28021 ($(objpfx)nscd): Remove command override.
28022 * login/Makefile (others-pie): Add pt_chown.
28023 ($(objpfx)pt_chown): Remove command override.
28024 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28025 remove command overrides.
28026
280272011-05-13 Ulrich Drepper <drepper@gmail.com>
28028
28029 * libio/tst_putwc.c: Fix error messages.
28030
28031 [BZ #12724]
28032 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28033 currently writing and seek to current position when not.
28034 * libio/Makefile (tests): Add bug-fclose1.
28035 * libio/bug-fclose1.c: New file.
28036
280372011-05-12 Ulrich Drepper <drepper@gmail.com>
28038
28039 [BZ #12511]
28040 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28041 don't set DF_1_NODELETE here.
28042 (do_lookup_x): When entering new entry test for copy relocation
28043 and if necessary set DF_1_NODELETE flag.
28044 * elf/tst-unique4.cc: New file.
28045 * elf/tst-unique4.h: New file.
28046 * elf/tst-unique4lib.cc: New file.
28047 * elf/Makefile: Add rules to build and run tst-unique4.
28048 Patch by Piotr Bury <pbury@goahead.com>.
28049
280502011-05-11 Ulrich Drepper <drepper@gmail.com>
28051
28052 [BZ #12052]
28053 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28054
28055 [BZ #12625]
28056 * misc/mntent_r.c (addmntent): Flush the stream after the output
28057
28058 [BZ #12393]
28059 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28060 (is_trusted_path_normalize): Skip initial colon. Append slash
28061 to empty buffer. Duplicate is_trusted_path code but allow
28062 constructed patch to be prefix.
28063 (is_dst): Allow $ORIGIN followed by /.
28064 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28065 Correct testing of result of is_trusted_path_normalize
28066 (decompose_rpath): Fix warning.
28067
280682011-05-10 Ulrich Drepper <drepper@gmail.com>
28069
28070 [BZ #11257]
28071 * grp/initgroups.c (internal_getgrouplist): When we found the service
28072 list through the initgroups entry in nsswitch.conf do not always
28073 continue on a successful lookup. Don't always use the
28074 __nss_group_database value if it is set.
28075 * nss/nsswitch.conf (initgroups): Change action for successful db
28076 lookup to continue for compatibility.
28077
280782011-05-09 Ulrich Drepper <drepper@gmail.com>
28079
28080 [BZ #11532]
28081 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28082 and CP774 modules.
28083 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28084 and CP774 modules.
28085 * iconvdata/tst-tables.sh: Likewise.
28086 * iconvdata/cp770.c: New file.
28087 * iconvdata/cp771.c: New file.
28088 * iconvdata/cp772.c: New file.
28089 * iconvdata/cp773.c: New file.
28090 * iconvdata/cp774.c: New file.
28091 * iconvdata/testdata/CP770: New file.
28092 * iconvdata/testdata/CP770..UTF8: New file.
28093 * iconvdata/testdata/CP771: New file.
28094 * iconvdata/testdata/CP771..UTF8: New file.
28095 * iconvdata/testdata/CP772: New file.
28096 * iconvdata/testdata/CP772..UTF8: New file.
28097 * iconvdata/testdata/CP773: New file.
28098 * iconvdata/testdata/CP773..UTF8: New file.
28099 * iconvdata/testdata/CP774: New file.
28100 * iconvdata/testdata/CP774..UTF8: New file.
28101
28102 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28103 END CHARMAP line.
28104 * iconvdata/gen-8bit-gap.sh: Likewise.
28105 * iconvdata/gen-8bit.sh: Likewise.
28106
28107 * locale/iso-639.def: Add ary entry.
28108
28109 [BZ #11258]
28110 * locale/C-translit.h.in: Add U20A1 transliteration.
28111
28112 [BZ #12178]
28113 * locale/iso-639.def: Add wae entry.
28114 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28115
28116 [BZ #12545]
28117 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28118 for n.
28119
28120 [BZ #12711]
28121 * locale/C-translit.h.in: Add entry for U20B9.
28122 Patch by pravin.d.s@gmail.com.
28123
281242011-05-08 Ulrich Drepper <drepper@gmail.com>
28125
28126 [BZ #12713]
28127 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28128 ENAMETOOLONG use generic getcwd.
28129 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28130 in rtld. Use *stat64.
28131 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28132 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28133 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28134 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28135 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28136 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28137 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28138 __fstatat64 macros.
28139 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28140 * dirent/rewinddir.c: Add libc_hidden_def.
28141 * sysdeps/mach/hurd/rewinddir.c: Likewise.
28142 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
28143
28144 * include/dirent.h (__alloc_dir): Add flags parameter.
28145 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28146 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28147 __alloc_dir.
28148 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28149 from fdopendir if O_CLOEXEC is already set.
28150
281512011-03-15 Alan Modra <amodra@gmail.com>
28152
28153 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28154 l_tls_firstbyte_offset non-zero. Save padding offset in
28155 l_tls_firstbyte_offset for later use.
28156 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28157 freeing static tls block.
28158
281592011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28160
28161 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28162 where #ifdef was intended. The intent is to prevent ARG_MAX from
28163 being defined by the kernel headers.
28164
281652011-05-07 Ulrich Drepper <drepper@gmail.com>
28166
28167 [BZ #12734]
28168 * resolv/resolv.h: Define RES_NOTLDQUERY.
28169 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28170 no-tld-query and set RES_NOTLDQUERY.
28171 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28172 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28173 modern BIND to search name as TLD unless forbidden.
28174
281752011-05-07 Petr Baudis <pasky@suse.cz>
28176 Ulrich Drepper <drepper@gmail.com>
28177
28178 [BZ #12393]
28179 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28180 (is_trusted_path): ...to here.
28181 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28182 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28183 using is_trusted_path_normalize() in setuid scripts.
28184
281852011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28186
28187 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28188 __BEGIN/__END_DECLS.
28189
281902011-05-06 Ulrich Drepper <drepper@gmail.com>
28191
28192 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28193 NSS_STATUS_NOTFOUND if no record was found.
28194
281952011-05-05 Andreas Schwab <schwab@redhat.com>
28196
28197 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28198 (headers-not-in-tirpc): Remove rpc/netdb.h
28199 * resolv/netdb.h: Revert last change.
28200
282012011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28202
28203 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28204 circular dependency between libgcc.a and libc.a.
28205
282062011-05-05 Andreas Schwab <schwab@redhat.com>
28207
28208 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28209 * nis/Makefile: Don't install rpcsvc/*.
28210 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28211 instead of <rpc/types.h>.
28212 (MAXHOSTNAMELEN): Define.
28213
282142011-05-03 Andreas Schwab <schwab@redhat.com>
28215
28216 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28217
282182011-04-28 Maciej Babinski <mbabinski@google.com>
28219
28220 [BZ #12714]
28221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28222 gethostbyname4_r when IPv6 results are possible.
28223
282242011-05-02 Ulrich Drepper <drepper@gmail.com>
28225
28226 [BZ #12723]
28227 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28228 _PC_PIPE_BUF handling.
28229
282302011-04-30 Bruno Haible <bruno@clisp.org>
28231
28232 [BZ #12717]
28233 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28234 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28235 to 'int'.
28236 * inet/getnameinfo.c (getnameinfo): Likewise.
28237
282382011-04-29 Ulrich Drepper <drepper@gmail.com>
28239
28240 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28241 to groups setting in database lookup.
28242 * nss/nsswitch.conf: Add initgroups entry.
28243
282442011-04-22 Ulrich Drepper <drepper@gmail.com>
28245
28246 [BZ #12685]
28247 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28248 mode string.
28249 Patch by Eric Blake <eblake@redhat.com>.
28250
282512011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28252
28253 * sunrpc/Makefile (need-export-routines): Add svc_run.
28254 (routines): Remove svc_run.
28255 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28256 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28257 * sunrpc/svc_run.c (svc_run): Likewise.
28258 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28259
282602011-04-21 Ulrich Drepper <drepper@gmail.com>
28261
28262 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28263 problem in reallocation in last patch.
28264
282652011-04-20 Ulrich Drepper <drepper@gmail.com>
28266
28267 * sunrpc/Makefile: Move inclusion of Rules.
28268
282692011-04-19 Ulrich Drepper <drepper@gmail.com>
28270
28271 * nss/nss_files/files-initgroups.c: New file.
28272 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28273 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28274 _nss_files_initgroups_dyn.
28275
282762011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28277
28278 * elf/elf.h (R_ARM_IRELATIVE): Define.
28279
282802011-04-19 Ulrich Drepper <drepper@gmail.com>
28281
28282 * po/ru.po: Update from translation team.
28283
282842011-04-17 Ulrich Drepper <drepper@gmail.com>
28285
28286 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28287 dependencies.
28288
282892011-02-06 Mike Frysinger <vapier@gentoo.org>
28290
28291 [BZ #12653]
28292 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28293 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28294 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28295 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28296 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28297
282982011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28299
28300 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28301 differing bytes.
28302 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28303 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28304 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28305
283062011-04-17 Ulrich Drepper <drepper@gmail.com>
28307
28308 [BZ #12420]
28309 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28310 storing it.
28311 * stdlib/bug-getcontext.c: New file.
28312 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28313
283142011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28315
28316 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28317 instructions into .machine "z9-109".
28318 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28319 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28320
283212011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28322
28323 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28324 between environment variables and auxiliary vector.
28325
283262011-04-16 Ulrich Drepper <drepper@gmail.com>
28327
28328 * Makefile: Add rules to build linkobj/libc.so.
28329 * include/libc-symbols.h: Define libc_hidden_nolink.
28330 * include/rpc/auth.h: Mark functions which are to be hidden.
28331 * include/rpc/auth_des.h: Likewise.
28332 * include/rpc/auth_unix.h: Likewise.
28333 * include/rpc/clnt.h: Likewise.
28334 * include/rpc/des_crypt.h: Likewise.
28335 * include/rpc/key_prot.h: Likewise.
28336 * include/rpc/pmap_clnt.h: Likewise.
28337 * include/rpc/pmap_prot.h: Likewise.
28338 * include/rpc/pmap_rmt.h: Likewise.
28339 * include/rpc/rpc_msg.h: Likewise.
28340 * include/rpc/svc.h: Likewise.
28341 * include/rpc/svc_auth.h: Likewise.
28342 * include/rpc/xdr.h: Likewise.
28343 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28344 * nss/Makefile: Likewise.
28345 * sunrpc/Makefile: Don't install headers. Build library with normal
28346 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28347 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28348 for the compat linking library. Remove use of INTDEF/INTUSE.
28349 * sunrpc/auth_none.c: Likewise.
28350 * sunrpc/auth_unix.c: Likewise.
28351 * sunrpc/authdes_prot.c: Likewise.
28352 * sunrpc/authuxprot.c: Likewise.
28353 * sunrpc/clnt_gen.c: Likewise.
28354 * sunrpc/clnt_perr.c: Likewise.
28355 * sunrpc/clnt_raw.c: Likewise.
28356 * sunrpc/clnt_simp.c: Likewise.
28357 * sunrpc/clnt_tcp.c: Likewise.
28358 * sunrpc/clnt_udp.c: Likewise.
28359 * sunrpc/clnt_unix.c: Likewise.
28360 * sunrpc/des_crypt.c: Likewise.
28361 * sunrpc/des_soft.c: Likewise.
28362 * sunrpc/get_myaddr.c: Likewise.
28363 * sunrpc/key_call.c: Likewise.
28364 * sunrpc/key_prot.c: Likewise.
28365 * sunrpc/netname.c: Likewise.
28366 * sunrpc/pm_getmaps.c: Likewise.
28367 * sunrpc/pm_getport.c: Likewise.
28368 * sunrpc/pmap_clnt.c: Likewise.
28369 * sunrpc/pmap_prot.c: Likewise.
28370 * sunrpc/pmap_prot2.c: Likewise.
28371 * sunrpc/pmap_rmt.c: Likewise.
28372 * sunrpc/publickey.c: Likewise.
28373 * sunrpc/rpc_cmsg.c: Likewise.
28374 * sunrpc/rpc_common.c: Likewise.
28375 * sunrpc/rpc_dtable.c: Likewise.
28376 * sunrpc/rpc_prot.c: Likewise.
28377 * sunrpc/rpc_thread.c: Likewise.
28378 * sunrpc/rtime.c: Likewise.
28379 * sunrpc/svc.c: Likewise.
28380 * sunrpc/svc_auth.c: Likewise.
28381 * sunrpc/svc_authux.c: Likewise.
28382 * sunrpc/svc_raw.c: Likewise.
28383 * sunrpc/svc_run.c: Likewise.
28384 * sunrpc/svc_simple.c: Likewise.
28385 * sunrpc/svc_tcp.c: Likewise.
28386 * sunrpc/svc_udp.c: Likewise.
28387 * sunrpc/svc_unix.c: Likewise.
28388 * sunrpc/svcauth_des.c: Likewise.
28389 * sunrpc/xcrypt.c: Likewise.
28390 * sunrpc/xdr.c: Likewise.
28391 * sunrpc/xdr_array.c: Likewise.
28392 * sunrpc/xdr_float.c: Likewise.
28393 * sunrpc/xdr_intXX_t.c: Likewise.
28394 * sunrpc/xdr_mem.c: Likewise.
28395 * sunrpc/xdr_rec.c: Likewise.
28396 * sunrpc/xdr_ref.c: Likewise.
28397 * sunrpc/xdr_sizeof.c: Likewise.
28398 * sunrpc/xdr_stdio.c: Likewise.
28399
284002011-04-10 Ulrich Drepper <drepper@gmail.com>
28401
28402 [BZ #12650]
28403 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28404 * sysdeps/ia64/dl-tls.h: Likewise.
28405 * sysdeps/powerpc/dl-tls.h: Likewise.
28406 * sysdeps/s390/dl-tls.h: Likewise.
28407 * sysdeps/sh/dl-tls.h: Likewise.
28408 * sysdeps/sparc/dl-tls.h: Likewise.
28409 * sysdeps/x86_64/dl-tls.h: Likewise.
28410 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28411
284122011-03-14 Andreas Schwab <schwab@redhat.com>
28413
28414 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28415 rpath element also skip the following colon.
28416 (expand_dynamic_string_token): Add is_path parameter and pass
28417 down to DL_DST_REQUIRED and _dl_dst_substitute.
28418 (decompose_rpath): Call expand_dynamic_string_token with
28419 non-zero is_path. Ignore empty rpaths.
28420 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28421 with zero is_path.
28422
284232011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28424
28425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28426 Make cancelable.
28427
284282011-04-09 Ulrich Drepper <drepper@gmail.com>
28429
28430 [BZ #12655]
28431 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28432 Patch by Filipe David Manana <fdmanana@apache.org>.
28433
284342011-04-07 Andreas Schwab <schwab@redhat.com>
28435
28436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28437 Maintain aligned stack.
28438 (CHECK_RSP): Remove unused macro.
28439
284402011-04-03 Ulrich Drepper <drepper@gmail.com>
28441
28442 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28443 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28444
284452011-04-02 Ulrich Drepper <drepper@gmail.com>
28446
28447 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28448
28449 * include/features.h: Mention __USE_XOPEN2K8 in comment.
28450
284512011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28452
28453 [BZ #12518]
28454 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28455 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28456 * sysdeps/x86_64/memmove.c: New file.
28457 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28458 (memcpy): Renamed to ...
28459 (__new_memcpy): This.
28460 (memcpy): Provide GLIBC_2_14 memcpy.
28461 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28462 (memcpy): Provide GLIBC_2_2_5 memcpy.
28463
284642011-04-01 Ulrich Drepper <drepper@gmail.com>
28465
28466 [BZ #12631]
28467 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28468
284692011-03-30 Andreas Schwab <schwab@redhat.com>
28470
28471 * misc/syncfs.c: New file.
28472 * misc/Makefile (routines): Add syncfs.
28473 * posix/unistd.h: Declare syncfs.
28474 * sysdeps/unix/syscalls.list: Add syncfs.
28475
284762011-04-01 Andreas Schwab <schwab@redhat.com>
28477
28478 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28479 open_by_handle_at.
28480 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28481 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28483 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28485 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28486 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28487
284882011-04-01 Ulrich Drepper <drepper@gmail.com>
28489
28490 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28491 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28492 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28494 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28496 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28497
28498 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28499 sync_file_range.c with -fexceptions.
28500 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28501 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28502 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28503 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28504 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28505 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28506 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
28507 sync_file_range as cancellation point
28508 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28509 now a wrapper around __call_sync_file_range with cancellation handling.
28510 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28511 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28512 function name to __call_sync_file_range.
28513 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28514 Add call_sync_file_range.
28515
285162011-04-01 Andreas Schwab <schwab@redhat.com>
28517
28518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28519 bits/timex.h.
28520
285212011-04-01 Ulrich Drepper <drepper@gmail.com>
28522
28523 * iconv/iconv.h: Fix typo in comment.
28524 * io/fcntl.h: Likewise.
28525 * libio/stdio.h: Likewise.
28526 * posix/spawn.h: Likewise.
28527 * posix/unistd.h: Likewise.
28528 * stdlib/stdlib.h: Likewise.
28529 * time/time.h: Likewise.
28530 * wcsmbs/wchar.h: Likewise.
28531
28532 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28533 open_by_handle): Add.
28534 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28535 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28536 Augment a few comments.
28537 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28539 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28541 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28542 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28543 open_by_handle.
28544
28545 * io/fcntl.h (AT_EMPTY_PATH): Define.
28546
285472011-03-30 Ulrich Drepper <drepper@gmail.com>
28548
28549 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28550 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28551 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28552 to...
28553 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
28554 * Versions.def: Add GLIBC_2.14.
28555 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28556 Export.
28557
285582011-03-22 Ulrich Drepper <drepper@gmail.com>
28559
28560 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28561 round counter.
28562 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28563
285642011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28565
28566 [BZ #12597]
28567 * string/test-strncmp.c (do_page_test): New function.
28568 (check2): Likewise.
28569 (test_main): Call check2.
28570 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28571
285722011-03-20 Ulrich Drepper <drepper@gmail.com>
28573
28574 [BZ #12587]
28575 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28576 Handle cache information in CPU leaf 4.
28577 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28578
285792011-03-18 Ulrich Drepper <drepper@gmail.com>
28580
28581 [BZ #12583]
28582 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28583 character representation.
28584 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28585
285862011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28587
28588 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28589 END(__isnan) to END(__isnanf) to match function entry point/label
28590 EALIGN(__isnanf,...).
28591
285922011-03-10 Jakub Jelinek <jakub@redhat.com>
28593
28594 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28595
285962011-03-10 Ulrich Drepper <drepper@gmail.com>
28597
28598 [BZ #12510]
28599 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28600 copy from the symbol referenced in the relocation to initialize the
28601 used variable.
28602 Patch by Piotr Bury <pbury@goahead.com>.
28603 * elf/Makefile: Add rules to build and tst-unique3.
28604 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28605 * elf/tst-unique3.cc: New file.
28606 * elf/tst-unique3.h: New file.
28607 * elf/tst-unique3lib.cc: New file.
28608 * elf/tst-unique3lib2.cc: New file.
28609
28610 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28611
286122011-03-10 Mike Frysinger <vapier@gentoo.org>
28613
28614 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28615 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28616 to _start.
28617
286182011-03-06 Ulrich Drepper <drepper@gmail.com>
28619
28620 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28621 to-be-loaded object along a path to loader is ld.so.
28622
286232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28624 Ulrich Drepper <drepper@gmail.com>
28625
28626 * sysdeps/x86_64/memset.S: After aligning destination, code
28627 branches to different locations depending on the value of
28628 misalignment, when multiarch is enabled. Fix this.
28629
286302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28631
28632 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28633 Set _x86_64_preferred_memory_instruction for AMD processsors.
28634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28635 Set bit_Prefer_SSE_for_memop for AMD processors.
28636
286372011-03-04 Ulrich Drepper <drepper@gmail.com>
28638
28639 * libio/fmemopen.c (fmemopen): Optimize a bit.
28640
286412011-03-03 Andreas Schwab <schwab@redhat.com>
28642
28643 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28644
286452011-03-03 Roland McGrath <roland@redhat.com>
28646
28647 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28648
286492011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28650
28651 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
28652 __bzero_ultra1 instead of __memset_ultra1.
28653
286542011-02-23 Andreas Schwab <schwab@redhat.com>
28655 Ulrich Drepper <drepper@gmail.com>
28656
28657 [BZ #12509]
28658 * include/link.h (struct link_map): Add l_orig_initfini.
28659 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28660 returning unsuccessfully.
28661 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28662 close of a file loaded at startup, restore the original l_initfini
28663 list.
28664 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28665 list, store the pointer.
28666 * elf/Makefile ($(objpfx)noload-mem): New rule.
28667 (noload-ENV): Define.
28668 (tests): Add $(objpfx)noload-mem.
28669 * elf/noload.c: Include <memcheck.h>.
28670 (main): Call mtrace. Close all opened handles.
28671
286722011-02-17 Andreas Schwab <schwab@redhat.com>
28673
28674 [BZ #12454]
28675 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28676 dependencies are missing.
28677
286782011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28679
28680 Fix __if_freereq crash: Unlike the generic version which uses free,
28681 Hurd needs munmap.
28682 * sysdeps/mach/hurd/ifreq.h: New file.
28683
286842011-01-27 Petr Baudis <pasky@suse.cz>
28685 Ulrich Drepper <drepper@gmail.com>
28686
28687 [BZ 12445]#
28688 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28689 to extend_alloca().
28690 * stdio-common/bug23.c: New file.
28691 * stdio-common/Makefile (tests): Add bug23.
28692
286932010-09-28 Andreas Schwab <schwab@redhat.com>
28694 Ulrich Drepper <drepper@gmail.com>
28695
28696 [BZ #12489]
28697 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28698 before performing relro protection. At old place add assertion
28699 to make sure nothing changed.
28700
287012011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28702 Glauber de Oliveira Costa <glommer@gmail.com>
28703
28704 * elf/elf.h: Add new ARM TLS relocs.
28705
287062011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28707
28708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28709 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28710 cast from r3.
28711 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28712 'tests' variable.
28713 * sysdeps/wordsize-64/tst-writev.c: New file.
28714
287152011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28716
28717 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28718 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28719 insns in _dl_start to prevent a TOC reference before relocs are
28720 resolved.
28721
287222011-02-15 Ulrich Drepper <drepper@gmail.com>
28723
28724 [BZ #12469]
28725 * Makeconfig: Remove RANLIB definition.
28726 * Makerules: Don't use RANLIB.
28727 * aclocal.m4: Remove ranlib test.
28728 * configure.in: No need to check for ranlib.
28729 * elf/rtld-Rules: Don't use RANLIB.
28730
287312011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28732
28733 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28734 protection macro.
28735 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28736 inclusion protection macro.
28737
28738 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28739 SIGRTMIN and SIGRTMAX and print information in that case only when
28740 SIGRTMIN is defined.
28741
287422011-02-11 Jakub Jelinek <jakub@redhat.com>
28743
28744 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28745 arginfo fn returning -1.
28746
28747 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28748 and thousands string is zero terminated.
28749
287502011-02-03 Andreas Schwab <schwab@redhat.com>
28751
28752 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28753 sysdeps/unix/sysv/linux/bits/socket.h.
28754
287552011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28756
28757 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28758 (__CPU_COUNT): Remove old macros.
28759 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28760 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28761 (__CPU_ALLOC, __CPU_FREE): Add macros.
28762 (__sched_cpualloc, __sched_cpufree): Add declarations.
28763
287642011-02-05 Ulrich Drepper <drepper@gmail.com>
28765
28766 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28767 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28768 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28769 (readdhstai): Return value of addhstaiX call.
28770 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28771 (addgrbyX): Return value returned by cache_addgr.
28772 (readdgrbyname): Return value returned by addgrbyX.
28773 (readdgrbygid): Likewise.
28774 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28775 (addpwbyX): Return value returned by cache_addpw.
28776 (readdpwbyname): Return value returned by addhstbyX.
28777 (readdpwbyuid): Likewise.
28778 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28779 (addservbyX): Return value returned by cache_addserv.
28780 (readdservbyname): Return value returned by addservbyX:
28781 (readdservbyport): Likewise.
28782 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28783 (addhstbyX): Return value returned by cache_addhst.
28784 (readdhstbyname): Return value returned by addhstbyX.
28785 (readdhstbyaddr): Likewise.
28786 (readdhstbynamev6): Likewise.
28787 (readdhstbyaddrv6): Likewise.
28788 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28789 (readdinitgroups): Return value returned by addinitgroupsX.
28790 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28791 (prune_cache): Keep track of timeout value of re-added entries.
28792 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28793 * nscd/nscd.h: Adjust prototypes of readd* functions.
28794
287952011-02-04 Roland McGrath <roland@redhat.com>
28796
28797 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28798 (nis_stats): Likewise.
28799 * nis/nis_modify.c (nis_modify): Likewise.
28800 * nis/nis_remove.c (nis_remove): Likewise.
28801 * nis/nis_add.c (nis_add): Likewise.
28802
28803 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28804
28805 * posix/fnmatch_loop.c: Add some consts.
28806
28807 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28808
288092011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28810
28811 [BZ #12460]
28812 * config.make.in (config-cflags-novzeroupper): Define.
28813 * configure.in: Substitute libc_cv_cc_novzeroupper.
28814 * elf/Makefile (AVX-CFLAGS): Define.
28815 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28816 (CFLAGS-tst-auditmod4a.c): Likewise.
28817 (CFLAGS-tst-auditmod4b.c): Likewise.
28818 (CFLAGS-tst-auditmod6b.c): Likewise.
28819 (CFLAGS-tst-auditmod6c.c): Likewise.
28820 (CFLAGS-tst-auditmod7b.c): Likewise.
28821 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28822
288232011-02-02 Ulrich Drepper <drepper@gmail.com>
28824
28825 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28826 function to the callback.
28827 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28828
288292011-02-02 Andreas Schwab <schwab@redhat.com>
28830
28831 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28832 of errno.
28833
288342011-01-19 Ulrich Drepper <drepper@gmail.com>
28835
28836 [BZ #11724]
28837 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28838 of constructors.
28839 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28840 of destructors.
28841 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28842
28843 [BZ #11724]
28844 * elf/Makefile: Add rules to build and run new test.
28845 * elf/tst-initorder.c: New file.
28846 * elf/tst-initorder.exp: New file.
28847 * elf/tst-initordera1.c: New file.
28848 * elf/tst-initordera2.c: New file.
28849 * elf/tst-initordera3.c: New file.
28850 * elf/tst-initordera4.c: New file.
28851 * elf/tst-initorderb1.c: New file.
28852 * elf/tst-initorderb2.c: New file.
28853 * elf/tst-order-a1.c: New file.
28854 * elf/tst-order-a2.c: New file.
28855 * elf/tst-order-a3.c: New file.
28856 * elf/tst-order-a4.c: New file.
28857 * elf/tst-order-b1.c: New file.
28858 * elf/tst-order-b2.c: New file.
28859 * elf/tst-order-main.c: New file.
28860 New test case by George Gensure <werkt0@gmail.com>.
28861
288622010-10-01 Andreas Schwab <schwab@redhat.com>
28863
28864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28865 decoding ACE if AI_CANONIDN.
28866
288672011-01-18 Ulrich Drepper <drepper@gmail.com>
28868
28869 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28870
288712011-01-17 Ulrich Drepper <drepper@gmail.com>
28872
28873 * version.h (RELEASE): Bump for 2.13 release.
28874 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28875
28876 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28877
28878 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28879 MADV_NOHUGEPAGE.
28880 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28881 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28882 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28883 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28884 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28885 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28886
28887 * posix/getconf.c: Update copyright year.
28888 * catgets/gencat.c: Likewise.
28889 * csu/version.c: Likewise.
28890 * debug/catchsegv.sh: Likewise.
28891 * debug/xtrace.sh: Likewise.
28892 * elf/ldconfig.c: Likewise.
28893 * elf/ldd.bash.in: Likewise.
28894 * elf/sprof.c (print_version): Likewise.
28895 * iconv/iconv_prog.c: Likewise.
28896 * iconv/iconvconfig.c: Likewise.
28897 * locale/programs/locale.c: Likewise.
28898 * locale/programs/localedef.c: Likewise.
28899 * malloc/memusage.sh: Likewise.
28900 * malloc/mtrace.pl: Likewise.
28901 * nscd/nscd.c (print_version): Likewise.
28902 * nss/getent.c: Likewise.
28903
28904 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28905 PF_CAIF, and PF_ALG.
28906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28907
289082011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28909
28910 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28911 (modules-names): Use them.
28912 (ifunc-test-modules, ifunc-pie-tests): Define.
28913 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28914 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28915 (test-extras): Likewise.
28916 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28917 $(compile-command.c).
28918 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28919 (all-built-dso): Define.
28920 (check-textrel.out, check-execstack.out): Depend on it.
28921
28922 * configure.in: Don't override --enable-multi-arch.
28923
289242011-01-15 Ulrich Drepper <drepper@gmail.com>
28925
28926 [BZ #6812]
28927 * nscd/hstcache.c (tryagain): Define.
28928 (cache_addhst): Return tryagain not notfound for temporary errors.
28929 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28930 failed.
28931
289322011-01-14 Ulrich Drepper <drepper@gmail.com>
28933
28934 [BZ #10563]
28935 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28936 to make the syscall.
28937 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28938
28939 [BZ #12378]
28940 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28941 and fall back to matching as normal character if the string ends before
28942 the matching ']' is found. This is what POSIX requires.
28943 * posix/testfnm.c: Adjust test result.
28944 * posix/globtest.sh: Adjust test result. Add new test.
28945 * posix/tst-fnmatch.input: Likewise.
28946 * posix/tst-fnmatch2.c: Add new test.
28947
289482010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28949
28950 * elf/Makefile (check-execstack): Revert last change. Depend on
28951 check-execstack.h.
28952 (check-execstack.h): New target.
28953 (generated): Add check-execstack.h.
28954 * elf/check-execstack.c: Include "check-execstack.h".
28955 (main): Revert last change.
28956 (handle_file): Return zero if GNU_STACK is absent and
28957 DEFAULT_STACK_PERMS doesn't include PF_X.
28958
289592011-01-13 Ulrich Drepper <drepper@gmail.com>
28960
28961 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28962 in child fails because the descriptor is already closed.
28963 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28964 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
28965 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
28966
28967 [BZ #12397]
28968 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
28969 syscall.
28970
28971 [BZ #10484]
28972 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
28973 temporary buffer used to handle multi lookups locally.
28974 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
28975
289762011-01-12 Ulrich Drepper <drepper@gmail.com>
28977
28978 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
28979 loader is ld.so.
28980
289812011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
28982
28983 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
28984 alignment for SSE2.
28985
289862011-01-12 Ulrich Drepper <drepper@gmail.com>
28987
28988 [BZ #12394]
28989 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
28990 characters. When rounding increased number of integer digits recompute
28991 number of groups.
28992 * stdio-common/tst-grouping.c: New file.
28993 * stdio-common/Makefile: Add rules to build and run tst-grouping.
28994
289952011-01-09 Ulrich Drepper <drepper@gmail.com>
28996
28997 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
28998 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
28999
29000 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29001 void.
29002 * bits/select.h: Likewise.
29003
290042011-01-08 Ulrich Drepper <drepper@gmail.com>
29005
29006 * po/ja.po: Update from translation team.
29007
290082011-01-04 David S. Miller <davem@sunset.davemloft.net>
29009
29010 [BZ #11155]
29011 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29012 implementation just like for lxstat, fxstatat, et al.
29013
290142010-12-27 Jim Meyering <meyering@redhat.com>
29015
29016 [BZ #12348]
29017 * posix/regexec.c (build_trtable): Return failure indication upon
29018 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29019
290202010-12-25 Ulrich Drepper <drepper@gmail.com>
29021
29022 [BZ #12201]
29023 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29024 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29025 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29026 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29027
29028 [BZ #12207]
29029 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29030
29031 [BZ #12204]
29032 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29033 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29034
290352010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29036
29037 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29038 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29039 script has SORT_BY_INIT_PRIORITY.
29040 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29041 NO_CTORS_DTORS_SECTIONS is defined.
29042 * elf/soinit.c: Likewise.
29043 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29044 NO_CTORS_DTORS_SECTIONS is defined.
29045 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29046 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29047 * sysdeps/sh/init-first.c: Likewise.
29048 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29049
290502010-12-24 Ulrich Drepper <drepper@gmail.com>
29051
29052 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29053 always use the slow path.
29054
290552010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29056
29057 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29058 similar rule which adds the sysdep directories to the header search in
29059 order to pick up the correct platform stackinfo.h.
29060 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29061 perform test if it is, otherwise return successfully without testing.
29062 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29063 DEFAULT_STACK_PERMS define in stackinfo.h.
29064 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29065 defined in stackinfo.h.
29066 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29067 DEFAULT_STACK_PERMS defined in stackinfo.h.
29068 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29069 * sysdeps/ia64/stackinfo.h: Likewise.
29070 * sysdeps/s390/stackinfo.h: Likewise.
29071 * sysdeps/sh/stackinfo.h: Likewise.
29072 * sysdeps/sparc/stackinfo.h: Likewise.
29073 * sysdeps/x86_64/stackinfo.h: Likewise.
29074 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29075 PF_X for powerpc64. Retain PF_X for powerpc32.
29076
290772010-12-19 Ulrich Drepper <drepper@gmail.com>
29078
29079 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29080 accurately.
29081 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29082 GETDENTS_64BIT_ALIGNED.
29083
290842010-12-14 Ulrich Drepper <dreper@gmail.com>
29085
29086 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29087
290882010-12-10 Andreas Schwab <schwab@redhat.com>
29089
29090 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29091 _GNU_SOURCE.
29092
29093 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29094 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29095 Remove __restrict.
29096 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29097 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29098
290992010-12-09 Ulrich Drepper <drepper@gmail.com>
29100
29101 [BZ #11655]
29102 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29103 are initialized.
29104
291052010-12-09 Jakub Jelinek <jakub@redhat.com>
29106
29107 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29108
291092010-12-03 Ulrich Drepper <drepper@gmail.com>
29110
29111 * po/it.po: Update from translation team.
29112
291132010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29114
29115 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29116 unused codes.
29117
291182010-11-30 Ulrich Drepper <drepper@gmail.com>
29119
29120 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29121
291222010-11-24 Andreas Schwab <schwab@redhat.com>
29123
29124 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29125 specially.
29126 (gaih_getanswer_slice): Likewise.
29127
291282010-10-20 Jakub Jelinek <jakub@redhat.com>
29129
29130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29131
291322010-05-31 Petr Baudis <pasky@suse.cz>
29133
29134 [BZ #11149]
29135 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29136 silently even in the chroot mode.
29137
291382010-11-22 Ulrich Drepper <drepper@gmail.com>
29139
29140 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29141 last patch a bit. Pretty printing
29142
291432010-05-31 Petr Baudis <pasky@suse.cz>
29144
29145 [BZ #10085]
29146 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29147 initialization of skip_initgroups_dyn.
29148
291492010-11-19 Ulrich Drepper <drepper@gmail.com>
29150
29151 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29152 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29153
291542010-11-16 Ulrich Drepper <drepper@gmail.com>
29155
29156 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29157
291582010-11-11 Andreas Schwab <schwab@redhat.com>
29159
29160 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29161 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29162 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29163 ($(objpfx)tst-fnmatch-mem): New rule.
29164 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29165 * posix/tst-fnmatch.c (main): Call mtrace.
29166
291672010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29168
29169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29170 Support Intel processor model 6 and model 0x2c.
29171
291722010-11-10 Luis Machado <luisgpm@br.ibm.com>
29173
29174 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29175 signed comparison.
29176
291772010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29178
29179 [BZ #12205]
29180 * string/test-strncasecmp.c (check_result): New function.
29181 (do_one_test): Use it.
29182 (check1): New function.
29183 (test_main): Use it.
29184 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29185 Support strcasecmp and strncasecmp.
29186
291872010-11-08 Ulrich Drepper <drepper@gmail.com>
29188
29189 [BZ #12194]
29190 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29191 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29192
291932010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29194
29195 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29196 IFUNC support.
29197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29198 memset-x86-64.
29199 * sysdeps/x86_64/multiarch/bzero.S: New file.
29200 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29201 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29202 * sysdeps/x86_64/multiarch/memset.S: New file.
29203 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29205 Set bit_Prefer_SSE_for_memop for Intel processors.
29206 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29207 Define.
29208 (index_Prefer_SSE_for_memop): Define.
29209 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29210
292112010-11-04 Luis Machado <luisgpm@br.ibm.com>
29212
29213 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29214 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29215
292162010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29217
29218 [BZ #12191]
29219 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29220 (__x86_64_raw_data_cache_size_half): Likewise.
29221 (__x86_64_raw_shared_cache_size): Likewise.
29222 (__x86_64_raw_shared_cache_size_half): Likewise.
29223
29224 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29225 (__x86_64_raw_data_cache_size_half): Likewise.
29226 (__x86_64_raw_shared_cache_size): Likewise.
29227 (__x86_64_raw_shared_cache_size_half): Likewise.
29228 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29229 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29230 and __x86_64_raw_shared_cache_size_half. Round
29231 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29232 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29233 to multiple of 256 bytes.
29234
292352010-11-03 Ulrich Drepper <drepper@gmail.com>
29236
29237 [BZ #12167]
29238 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29239 of inacessible symlinks. Verify result of symlink before returning it.
29240 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29241 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29242
292432010-10-28 Erich Ritz <erichritz@gmail.com>
29244
29245 * math/math.h (isinf): Fix typo in comment.
29246
292472010-11-01 Ulrich Drepper <drepper@gmail.com>
29248
29249 * po/da.po: Update from translation team.
29250
292512010-10-26 Ulrich Drepper <drepper@gmail.com>
29252
29253 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29254 is added to the list.
29255
292562010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29257 Ulrich Drepper <drepper@gmail.com>
29258
29259 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29260 the global list here. Move code to...
29261 (_dl_add_to_namespace_list): ...here. New function.
29262 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29263 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29264 * elf/dl-load.c (lose): Don't remove the element from the list.
29265 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29266 (_dl_map_object): Likewise.
29267
292682010-10-25 Ulrich Drepper <drepper@gmail.com>
29269
29270 [BZ #12159]
29271 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29272 into all bytes of SSE register.
29273 Patch by Richard Li <richardpku@gmail.com>.
29274
292752010-10-24 Ulrich Drepper <drepper@gmail.com>
29276
29277 [BZ #12140]
29278 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29279 perturbing.
29280
292812010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29282
29283 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29284 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29285 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29286 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29288 submachine.
29289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29290
292912010-10-22 Andreas Schwab <schwab@redhat.com>
29292
29293 * include/dlfcn.h (__RTLD_SECURE): Define.
29294 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29295 mode & __RTLD_SECURE instead.
29296 (open_path): Rename preloaded parameter to secure.
29297 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29298 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29299 * elf/dl-deps.c (openaux): Likewise.
29300 * elf/rtld.c (struct map_args): Remove is_preloaded.
29301 (map_doit): Don't use it.
29302 (dl_main): Likewise.
29303 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29304 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29305
293062010-09-09 Andreas Schwab <schwab@redhat.com>
29307
29308 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29309 (sysd-rules-targets): Remove duplicates.
29310 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29311 rtld-%.$o dependency.
29312
293132010-10-18 Andreas Schwab <schwab@redhat.com>
29314
29315 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29316 _dl_map_object do it.
29317
293182010-10-19 Ulrich Drepper <drepper@gmail.com>
29319
29320 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29321 fast fma builtins, define the macros in the C99 standard.
29322 (FP_FAST_FMAF): Likewise.
29323 (FP_FAST_FMAL): Likewise.
29324 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29325
29326 * bits/mathdef.h: Update copyright year.
29327 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29328
293292010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29330
29331 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29332 builtins, define the macros in the C99 standard.
29333 (FP_FAST_FMAF): Likewise.
29334 (FP_FAST_FMAL): Likewise.
29335 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29336 multiply/add.
29337 (FP_FAST_FMAF): Likewise.
29338
293392010-10-15 Jakub Jelinek <jakub@redhat.com>
29340
29341 [BZ #3268]
29342 * math/libm-test.inc (fma_test): Some new testcases.
29343 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29344 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29345 y and infinite z. Do multiplication by C already in long double.
29346 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29347 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29348 y and infinite z. Do bitwise or of inexact bit into u.d.
29349 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29350 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29351 * sysdeps/i386/fpu/s_fma.S: Removed.
29352 * sysdeps/i386/fpu/s_fmal.S: Removed.
29353
293542010-10-16 Jakub Jelinek <jakub@redhat.com>
29355
29356 [BZ #3268]
29357 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29359 computation is not scheduled after fetestexcept. Fix value
29360 of minimum denormal long double.
29361
293622010-10-14 Jakub Jelinek <jakub@redhat.com>
29363
29364 [BZ #3268]
29365 * math/libm-test.inc (fma_test): Add some more tests.
29366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29367 correctly.
29368
293692010-10-15 Andreas Schwab <schwab@redhat.com>
29370
29371 * scripts/data/localplt-s390-linux-gnu.data: New file.
29372 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29373
293742010-10-13 Jakub Jelinek <jakub@redhat.com>
29375
29376 [BZ #3268]
29377 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29378 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29379 instead of dbl-64.
29380 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29381 inlines.
29382 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29384 if one of x and y is very large and the other is subnormal.
29385 * sysdeps/s390/fpu/s_fmaf.c: New file.
29386 * sysdeps/s390/fpu/s_fma.c: New file.
29387 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29388 * sysdeps/powerpc/fpu/s_fma.S: New file.
29389 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29390 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29391 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29392
293932010-10-12 Jakub Jelinek <jakub@redhat.com>
29394
29395 [BZ #3268]
29396 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29397 fma tests.
29398 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29399 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29400 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29401 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29402 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29403 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29404 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29405
294062010-10-12 Ulrich Drepper <drepper@redhat.com>
29407
29408 [BZ #12078]
29409 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29410 * posix/bug-regex31.input: Add test case.
29411
294122010-10-11 Ulrich Drepper <drepper@gmail.com>
29413
29414 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29415 * posix/bug-regex31.input: New file.
29416
29417 [BZ #12078]
29418 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29419 (parse_sub_exp): Fix last change, use postorder.
29420
29421 * posix/bug-regex31.c: New file.
29422 * posix/Makefile: Add rules to build and run bug-regex31.
29423
29424 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29425
29426 [BZ #12078]
29427 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29428
29429 [BZ #12108]
29430 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29431 to have entries in sys_siglist.
29432
29433 [BZ #12093]
29434 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29435 be NULL.
29436
294372010-10-07 Jakub Jelinek <jakub@redhat.com>
29438
29439 [BZ #3268]
29440 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29441 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29442 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29443 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29444 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29445 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29446 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29447 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29448 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29449 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29450 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29451 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29452 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29453 * math/ftestexcept.c (fetestexcept): Likewise.
29454 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29455 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29456 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29457 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29458 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29459 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29460 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29461
294622010-10-11 Ulrich Drepper <drepper@gmail.com>
29463
29464 [BZ #12107]
29465 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29466 newline.
29467
294682010-10-06 Ulrich Drepper <drepper@gmail.com>
29469
29470 * string/bug-strstr1.c: New file.
29471 * string/Makefile: Add rules to build and run bug-strstr1.
29472
294732010-10-05 Eric Blake <eblake@redhat.com>
29474
29475 [BZ #12092]
29476 * string/str-two-way.h (two_way_long_needle): Always clear memory
29477 when skipping input due to the shift table.
29478
294792010-10-03 Ulrich Drepper <drepper@gmail.com>
29480
29481 [BZ #12005]
29482 * malloc/mcheck.c: Handle large requests.
29483
29484 [BZ #12077]
29485 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29486 for strncmp and strncasecmp.
29487 * string/stratcliff.c: Add tests for strcmp and strncmp.
29488 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29489
294902010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29491
29492 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29493 __set_fpscr.
29494
294952010-09-30 Andreas Jaeger <aj@suse.de>
29496
29497 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29498 (CGROUP_SUPER_MAGIC): Define.
29499 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29500 Handle btrfs and cgroup file systems.
29501 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29502 Likewise.
29503
295042010-09-27 Luis Machado <luisgpm@br.ibm.com>
29505
29506 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29507 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29508
295092010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29510
29511 [BZ #12067]
29512 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29513 trying to locate the ELF header.
29514
295152010-09-27 Andreas Schwab <schwab@redhat.com>
29516
29517 [BZ #11611]
29518 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29519 Mask out sign-bit copies when constructing f_fsid.
29520
295212010-09-24 Petr Baudis <pasky@suse.cz>
29522
29523 * debug/stack_chk_fail_local.c: Add missing licence exception.
29524 * debug/warning-nop.c: Likewise.
29525
295262010-09-15 Joseph Myers <joseph@codesourcery.com>
29527
29528 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29529 implementing getdents64 using getdents syscall, set d_type if
29530 __ASSUME_GETDENTS32_D_TYPE.
29531
295322010-09-16 Andreas Schwab <schwab@redhat.com>
29533
29534 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29535 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29536
295372010-09-21 Ulrich Drepper <drepper@redhat.com>
29538
29539 [BZ #12037]
29540 * posix/unistd.h: Undo change of feature selection for ftruncate from
29541 2010-01-11.
29542
295432010-09-20 Ulrich Drepper <drepper@redhat.com>
29544
29545 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29546 detection.
29547
295482010-09-20 Andreas Schwab <schwab@redhat.com>
29549
29550 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29551 fanotify_mark.
29552 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29553
295542010-09-14 Andreas Schwab <schwab@redhat.com>
29555
29556 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29557 variables after CHECK_SP call.
29558 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29559
295602010-09-13 Andreas Schwab <schwab@redhat.com>
29561 Ulrich Drepper <drepper@redhat.com>
29562
29563 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29564 re-relocationg ld.so.
29565 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29566 _dl_init_paths call.
29567 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29568 here anymore.
29569
295702010-09-14 Ulrich Drepper <drepper@redhat.com>
29571
29572 * resolv/res_init.c (__res_vinit): Count the default server we added.
29573
295742010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29575 Ulrich Drepper <drepper@redhat.com>
29576
29577 [BZ #11968]
29578 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29579 (____longjmp_chk): Use %ebx for saving value across system call.
29580 Add unwind info.
29581
295822010-09-06 Andreas Schwab <schwab@redhat.com>
29583
29584 * manual/Makefile: Don't mix pattern rules with normal rules.
29585
295862010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29587
29588 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29589 operation.
29590 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29591 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29592 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29593 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29594 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29595 Likewise.
29596
295972010-09-04 Ulrich Drepper <drepper@redhat.com>
29598
29599 [BZ #11979]
29600 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29601 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29602
296032010-09-02 Ulrich Drepper <drepper@redhat.com>
29604
29605 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29606 * sysdeps/x86_64/addmul_1.S: Likewise.
29607 * sysdeps/x86_64/lshift.S: Likewise.
29608 * sysdeps/x86_64/mul_1.S: Likewise.
29609 * sysdeps/x86_64/rshift.S: Likewise.
29610 * sysdeps/x86_64/sub_n.S: Likewise.
29611 * sysdeps/x86_64/submul_1.S: Likewise.
29612
296132010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29614
29615 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29616 Define __sched_param instead of SCHED_* and sched_param when
29617 <bits/sched.h> is included with __need_schedparam defined.
29618 * bits/sched.h [__need_schedparam]
29619 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
29620 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29621 (__defined_schedparam): Define to 1.
29622 (__sched_param): New structure, identical to sched_param.
29623 (__need_schedparam): Undefine.
29624
296252010-08-31 Mike Frysinger <vapier@gentoo.org>
29626
29627 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29628 (epoll_create1): Declare.
29629
29630 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29631
296322010-08-31 Andreas Schwab <schwab@redhat.com>
29633
29634 [BZ #7066]
29635 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29636 shifting retval into place.
29637
296382010-09-01 Ulrich Drepper <drepper@redhat.com>
29639
29640 * nis/rpcsvc/nis.h: Update copyright notice.
29641 * nis/rpcsvc/nis.x: Likewise.
29642 * nis/rpcsvc/nis_callback.h: Likewise.
29643 * nis/rpcsvc/nis_callback.x: Likewise.
29644 * nis/rpcsvc/nis_object.x: Likewise.
29645 * nis/rpcsvc/nis_tags.h: Likewise.
29646 * nis/rpcsvc/yp.h: Likewise.
29647 * nis/rpcsvc/yp.x: Likewise.
29648 * nis/rpcsvc/ypupd.h: Likewise.
29649 * nis/yp_xdr.c: Likewise.
29650 * nis/ypupdate_xdr.c: Likewise.
29651
29652 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29653 mainly the body of pmap_getport. Add parameters to specify timeouts.
29654 (pmap_getport): Use __libc_rpc_getport.
29655 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29656 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29657 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29658
296592010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29660
29661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29662 fanotify_mark.
29663
296642010-08-27 Roland McGrath <roland@redhat.com>
29665
29666 * sysdeps/i386/i686/multiarch/Makefile
29667 (CFLAGS-varshift.c): New variable.
29668
296692010-08-27 Ulrich Drepper <drepper@redhat.com>
29670
29671 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29672 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29673
29674 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29675
29676 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29677
296782010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29679
29680 * sysdeps/x86_64/strlen.S: Unroll the loop.
29681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29682 strlen-sse2 strlen-sse2-bsf.
29683 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29684 __strlen_no_bsf if bit_Slow_BSF is set.
29685 (__strlen_sse42): Removed.
29686 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29687 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29688
296892010-08-25 Roland McGrath <roland@redhat.com>
29690
29691 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29692 * sysdeps/x86_64/multiarch/varshift.c: New file.
29693 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29694 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29695 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29696 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29697
296982010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29699
29700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29701 strlen-sse2 strlen-sse2-bsf.
29702 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29703 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29704 (__strlen_sse2): Removed.
29705 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29706 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29708 bit_Slow_BSF for Atom.
29709 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29710 (index_Slow_BSF): Define.
29711 (HAS_SLOW_BSF): Define.
29712
297132010-08-25 Ulrich Drepper <drepper@redhat.com>
29714
29715 [BZ #10851]
29716 * resolv/res_init.c (__res_vinit): When no server address at all
29717 is given default to loopback.
29718
297192010-08-24 Roland McGrath <roland@redhat.com>
29720
29721 * configure.in: Remove config-name.h generation.
29722 * configure: Regenerated.
29723 * config-name.in: File removed.
29724 * scripts/config-uname.sh: New file.
29725 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29726 ($(objdir)config-name.h): New target.
29727
29728 * sunrpc/rpc_parse.h: Avoid nested comment.
29729
297302010-08-24 Richard Henderson <rth@redhat.com>
29731 Ulrich Drepper <drepper@redhat.com>
29732 H.J. Lu <hongjiu.lu@intel.com>
29733
29734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29736 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29737 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29738 _mm_alignr_epi8 with _mm_loadu_si128.
29739 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29740 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29741 (__m128i_shift_right): Removed.
29742 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29743 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29744 * sysdeps/x86_64/multiarch/varshift.h: New file.
29745 * sysdeps/x86_64/multiarch/varshift.S: New file.
29746
297472010-08-21 Mike Frysinger <vapier@gentoo.org>
29748
29749 * configure.in: Move assembler checks to before sysdep dir checking.
29750
297512010-08-20 Petr Baudis <pasky@suse.cz>
29752
29753 * LICENSES: Sync the sunrpc license.
29754
297552010-08-19 Ulrich Drepper <drepper@redhat.com>
29756
29757 * sunrpc/auth_des.c: Update copyright notice once again.
29758 * sunrpc/auth_none.c: Likewise.
29759 * sunrpc/auth_unix.c: Likewise.
29760 * sunrpc/authdes_prot.c: Likewise.
29761 * sunrpc/authuxprot.c: Likewise.
29762 * sunrpc/bindrsvprt.c: Likewise.
29763 * sunrpc/clnt_gen.c: Likewise.
29764 * sunrpc/clnt_perr.c: Likewise.
29765 * sunrpc/clnt_raw.c: Likewise.
29766 * sunrpc/clnt_simp.c: Likewise.
29767 * sunrpc/clnt_tcp.c: Likewise.
29768 * sunrpc/clnt_udp.c: Likewise.
29769 * sunrpc/clnt_unix.c: Likewise.
29770 * sunrpc/des_crypt.c: Likewise.
29771 * sunrpc/des_soft.c: Likewise.
29772 * sunrpc/get_myaddr.c: Likewise.
29773 * sunrpc/getrpcport.c: Likewise.
29774 * sunrpc/key_call.c: Likewise.
29775 * sunrpc/key_prot.c: Likewise.
29776 * sunrpc/openchild.c: Likewise.
29777 * sunrpc/pm_getmaps.c: Likewise.
29778 * sunrpc/pm_getport.c: Likewise.
29779 * sunrpc/pmap_clnt.c: Likewise.
29780 * sunrpc/pmap_prot.c: Likewise.
29781 * sunrpc/pmap_prot2.c: Likewise.
29782 * sunrpc/pmap_rmt.c: Likewise.
29783 * sunrpc/rpc/auth.h: Likewise.
29784 * sunrpc/rpc/auth_unix.h: Likewise.
29785 * sunrpc/rpc/clnt.h: Likewise.
29786 * sunrpc/rpc/des_crypt.h: Likewise.
29787 * sunrpc/rpc/key_prot.h: Likewise.
29788 * sunrpc/rpc/netdb.h: Likewise.
29789 * sunrpc/rpc/pmap_clnt.h: Likewise.
29790 * sunrpc/rpc/pmap_prot.h: Likewise.
29791 * sunrpc/rpc/pmap_rmt.h: Likewise.
29792 * sunrpc/rpc/rpc.h: Likewise.
29793 * sunrpc/rpc/rpc_des.h: Likewise.
29794 * sunrpc/rpc/rpc_msg.h: Likewise.
29795 * sunrpc/rpc/svc.h: Likewise.
29796 * sunrpc/rpc/svc_auth.h: Likewise.
29797 * sunrpc/rpc/types.h: Likewise.
29798 * sunrpc/rpc/xdr.h: Likewise.
29799 * sunrpc/rpc_clntout.c: Likewise.
29800 * sunrpc/rpc_cmsg.c: Likewise.
29801 * sunrpc/rpc_common.c: Likewise.
29802 * sunrpc/rpc_cout.c: Likewise.
29803 * sunrpc/rpc_dtable.c: Likewise.
29804 * sunrpc/rpc_hout.c: Likewise.
29805 * sunrpc/rpc_main.c: Likewise.
29806 * sunrpc/rpc_parse.c: Likewise.
29807 * sunrpc/rpc_parse.h: Likewise.
29808 * sunrpc/rpc_prot.c: Likewise.
29809 * sunrpc/rpc_sample.c: Likewise.
29810 * sunrpc/rpc_scan.c: Likewise.
29811 * sunrpc/rpc_scan.h: Likewise.
29812 * sunrpc/rpc_svcout.c: Likewise.
29813 * sunrpc/rpc_tblout.c: Likewise.
29814 * sunrpc/rpc_util.c: Likewise.
29815 * sunrpc/rpc_util.h: Likewise.
29816 * sunrpc/rpcinfo.c: Likewise.
29817 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29818 * sunrpc/rpcsvc/key_prot.x: Likewise.
29819 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29820 * sunrpc/rpcsvc/mount.x: Likewise.
29821 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29822 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29823 * sunrpc/rpcsvc/rex.x: Likewise.
29824 * sunrpc/rpcsvc/rstat.x: Likewise.
29825 * sunrpc/rpcsvc/rusers.x: Likewise.
29826 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29827 * sunrpc/rpcsvc/spray.x: Likewise.
29828 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29829 * sunrpc/rtime.c: Likewise.
29830 * sunrpc/svc.c: Likewise.
29831 * sunrpc/svc_auth.c: Likewise.
29832 * sunrpc/svc_authux.c: Likewise.
29833 * sunrpc/svc_raw.c: Likewise.
29834 * sunrpc/svc_run.c: Likewise.
29835 * sunrpc/svc_simple.c: Likewise.
29836 * sunrpc/svc_tcp.c: Likewise.
29837 * sunrpc/svc_udp.c: Likewise.
29838 * sunrpc/svc_unix.c: Likewise.
29839 * sunrpc/svcauth_des.c: Likewise.
29840 * sunrpc/xcrypt.c: Likewise.
29841 * sunrpc/xdr.c: Likewise.
29842 * sunrpc/xdr_array.c: Likewise.
29843 * sunrpc/xdr_float.c: Likewise.
29844 * sunrpc/xdr_mem.c: Likewise.
29845 * sunrpc/xdr_rec.c: Likewise.
29846 * sunrpc/xdr_ref.c: Likewise.
29847 * sunrpc/xdr_sizeof.c: Likewise.
29848 * sunrpc/xdr_stdio.c: Likewise.
29849
29850 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29851 handling.
29852
298532010-08-19 Andreas Schwab <schwab@redhat.com>
29854
29855 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29856
298572010-08-19 Luis Machado <luisgpm@br.ibm.com>
29858
29859 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29860 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29861 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29862 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29863 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29864 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29865 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29866 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29867 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29868 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29869 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29870 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29871 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29872 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29873
298742010-07-26 Anton Blanchard <anton@samba.org>
29875
29876 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29877 * malloc/arena.c (heap_trim): Likewise.
29878
298792010-08-16 Ulrich Drepper <drepper@redhat.com>
29880
29881 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29882 here. Not...
29883 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29884 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29885
298862010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29887
29888 * sysdeps/i386/elf/Makefile: New file.
29889
298902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29891
29892 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29893 from fanotify_init.
29894 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29895 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29896
298972010-08-15 Ulrich Drepper <drepper@redhat.com>
29898
29899 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29900 of strncasecmp_l.
29901 * sysdeps/multiarch/strcmp.S: Likewise.
29902
299032010-08-14 Ulrich Drepper <drepper@redhat.com>
29904
29905 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29906 strncase_l-nonascii.
29907 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29908 Add strncase_l-ssse3.
29909 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29910 * sysdeps/x86_64/strcmp.S: Likewise.
29911 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29912 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29913 * sysdeps/x86_64/strncase.S: New file.
29914 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29915 * sysdeps/x86_64/strncase_l.S: New file.
29916 * string/Makefile (strop-tests): Add strncasecmp.
29917 * string/test-strncasecmp.c: New file.
29918
29919 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29920 warning.
29921
29922 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29923 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29924
299252010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29926
29927 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29928
299292010-08-12 Ulrich Drepper <drepper@redhat.com>
29930
29931 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29932 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29933 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29934
299352010-05-01 Alan Modra <amodra@gmail.com>
29936
29937 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29938 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29939 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29940 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29941 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29942 tidying. Don't tail-call __sigjmp_save for static lib.
29943 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29944 save location.
29945 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29946 (CALL_MCOUNT): Add eh info, and nop after bl.
29947 (TAIL_CALL_SYSCALL_ERROR): New macro.
29948 (PSEUDO_RET): Use it.
29949 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29950 Correct save location of integer regs and cr.
29951 (_dl_profile_resolve): Correct cr save location. Delete nops
29952 after bl when SHARED. Reduce cfi size a little by better
29953 placement of cfi directives.
29954 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29955 make a stack frame. Instead use parm save area as a temp.
29956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29957 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
29958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29959 Don't make a stack frame for parent, use parm save area.
29960 Increase child stack frame to 112 bytes. Don't save unused reg,
29961 and adjust reg usage. Set up cfi on error recovery and
29962 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29964 (__makecontext): Add dummy nop after jump to exit.
29965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
29966 Use correct parm save area and cr save, reduce stack frame.
29967 Correct cfi for possible PSEUDO_RET frame setup.
29968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
29969 Branch to local label emitted by PSEUDO_RET rather than
29970 __syscall_error.
29971
299722010-08-12 Andreas Schwab <schwab@redhat.com>
29973
29974 [BZ #11904]
29975 * locale/programs/locale.c (print_assignment): New function.
29976 (show_locale_vars): Use it.
29977
299782010-08-11 Ulrich Drepper <drepper@redhat.com>
29979
29980 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
29981 field.
29982 (struct statfs64): Likewise.
29983 (_STATFS_F_FLAGS): Define.
29984 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
29985 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29986 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
29987 (ST_VALID): Define locally.
29988 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
29989 __statvfs_getflags, use the provided value.
29990 * sysdeps/unix/sysv/linux/kernel-features.h: Define
29991 __ASSUME_STATFS_F_FLAGS.
29992
29993 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
29994
29995 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
29996 Add sys/fanotify.h.
29997 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
29998 fanotify_mask for GLIBC_2.13.
29999 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30000 fanotify_init and fanotify_mark.
30001 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30002 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30003
30004 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30005 Add prlimit.
30006 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30007 prlimit64 for GLIBC_2.13.
30008 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30009 prlimit64.
30010 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30011 syscall.
30012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30013 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30014 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30015 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30016 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30017 add prlimit alias.
30018 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30019
30020 [BZ #11903]
30021 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30022 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30023
30024 * nss/Makefile: Add rules to build and run tst-nss-test1.
30025 * shlib-versions: Add entry for libnss_test1.
30026 * nss/nss_test1.c: New file.
30027 * nss/tst-nss-test1.c: New file.
30028
30029 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30030 (__nss_configure_lookup): Set appropriate entry in
30031 __nss_configure_lookup to true.
30032 * nss/nsswitch.h: Define enum with indeces of databases in
30033 databases and __nss_database_custom arrays. Declare
30034 __nss_database_custom.
30035 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30036 to avoid using nscd when custom rules are installed.
30037 * nss/getXXbyYY_r.c: Likewise.
30038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30039
30040 * nss/nss_files/files-parse.c: Whitespace fixes.
30041
300422010-08-09 Ulrich Drepper <drepper@redhat.com>
30043
30044 [BZ #11883]
30045 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30046 * posix/fnmatch_loop.c: Likewise.
30047
300482010-07-17 Andi Kleen <ak@linux.intel.com>
30049
30050 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30051 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30052 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30053 * Versions.def [GLIBC_2.13]: Add.
30054
300552010-08-06 Ulrich Drepper <drepper@redhat.com>
30056
30057 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30058 Also fail if tpwd after pwuid call is NULL.
30059
300602010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30061
30062 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30063 when converting to ms.
30064
300652010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30066
30067 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30068 EOPNOTSUPP errors with ENOTTY.
30069 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30070 EOPNOTSUPP errors with ENOTTY.
30071
300722010-07-31 Ulrich Drepper <drepper@redhat.com>
30073
30074 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30075 Add strcasecmp_l-ssse3.
30076 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30077 strcasecmp.
30078 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30079 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30080 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30081
300822010-07-30 Ulrich Drepper <drepper@redhat.com>
30083
30084 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30085
30086 * string/Makefile (strop-tests): Add strcasecmp.
30087 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30088 strcasecmp_l-nonascii.
30089 (gen-as-const-headers): Add locale-defines.sym.
30090 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30091 * sysdeps/x86_64/strcasecmp.S: New file.
30092 * sysdeps/x86_64/strcasecmp_l.S: New file.
30093 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30094 * sysdeps/x86_64/locale-defines.sym: New file.
30095 * string/test-strcasecmp.c: New file.
30096
30097 * string/test-strcasestr.c: Test both ends of the range of characters.
30098 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30099
301002010-07-29 Roland McGrath <roland@redhat.com>
30101
30102 [BZ #11856]
30103 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30104
301052010-07-27 Ulrich Drepper <drepper@redhat.com>
30106
30107 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30108 for ld.so.
30109
301102010-07-27 Andreas Schwab <schwab@redhat.com>
30111
30112 * manual/memory.texi (Malloc Tunable Parameters): Document
30113 M_PERTURB.
30114
301152010-07-26 Roland McGrath <roland@redhat.com>
30116
30117 [BZ #11840]
30118 * configure.in (-fgnu89-inline check): Set and substitute
30119 gnu89_inline, not libc_cv_gnu89_inline.
30120 * configure: Regenerated.
30121 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30122
301232010-07-26 Ulrich Drepper <drepper@redhat.com>
30124
30125 * string/test-strnlen.c: New file.
30126 * string/Makefile (strop-tests): Add strnlen.
30127 * string/tester.c (test_strnlen): Add a few more test cases.
30128 * string/tst-strlen.c: Better error reporting.
30129
30130 * sysdeps/x86_64/strnlen.S: New file.
30131
301322010-07-24 Ulrich Drepper <drepper@redhat.com>
30133
30134 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30135 lower-latency instructions.
30136
301372010-07-23 Ulrich Drepper <drepper@redhat.com>
30138
30139 * string/test-strcasestr.c: New file.
30140 * string/test-strstr.c: New file.
30141 * string/Makefile (strop-tests): Add strstr and strcasestr.
30142 * string/str-two-way.h: Don't undefine MAX.
30143 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30144
301452010-07-21 Andreas Schwab <schwab@redhat.com>
30146
30147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30148 strcasestr-nonascii.
30149 (CFLAGS-strcasestr-nonascii.c): Define.
30150 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30151 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30152 Remove unused attribute.
30153
301542010-07-20 Roland McGrath <roland@redhat.com>
30155
30156 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30157 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30158 ld.so.cache was broken. With it, there is no way to disable dsocaps
30159 like LD_HWCAP_MASK can disable hwcaps.
30160
301612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30162
30163 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30164
301652010-07-16 Ulrich Drepper <drepper@redhat.com>
30166
30167 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30168 call in strcasestr.
30169 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30170 __strcasestr_sse42_nonascii.
30171 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30172 strcasestr-nonascii.c.
30173 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30174
301752010-06-15 Luis Machado <luisgpm@br.ibm.com>
30176
30177 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30178 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30179 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30180 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30181
301822010-07-09 Ulrich Drepper <drepper@redhat.com>
30183
30184 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30185 fcntl.
30186
301872010-07-06 Andreas Schwab <schwab@redhat.com>
30188
30189 [BZ #11577]
30190 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30191 dl_signal_cerror.
30192
301932010-07-06 Ulrich Drepper <drepper@redhat.com>
30194
30195 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30196 _PC_PIPE_BUF using F_GETPIPE_SZ.
30197
301982010-07-05 Roland McGrath <roland@redhat.com>
30199
30200 * manual/arith.texi (Rounding Functions): Fix rint description
30201 implicit in round description.
30202
302032010-07-02 Ulrich Drepper <drepper@redhat.com>
30204
30205 * elf/Makefile: Fix linking for a few tests to make recent linker
30206 happy.
30207
302082010-06-30 Andreas Schwab <schwab@redhat.com>
30209
30210 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30211 $(common-objpfx)libc_nonshared.a.
30212
302132010-06-21 Luis Machado <luisgpm@br.ibm.com>
30214
30215 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30216 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30217 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30218 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30219 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30220 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30221 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30222 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30237 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30238 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30239 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30240 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30241 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30242 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30243 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30244 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30245 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30246 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30247 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30248 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30263
302642010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30265
30266 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30267 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30268 * string/memmove.c (memmove): Renamed to ...
30269 (MEMMOVE): ...this. Default to memmove.
30270 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30271 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30272 (END_CHK): Define.
30273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30274 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30275 mempcpy-ssse3-back memmove-ssse3-back.
30276 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30277 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30278 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30279 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30280 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30281 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30282 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30283 * sysdeps/x86_64/multiarch/memmove.c: New file.
30284 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30285 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30286 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30287 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30288 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30289 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30290 Define.
30291 (index_Fast_Copy_Backward): Define.
30292 (HAS_ARCH_FEATURE): Define.
30293 (HAS_FAST_REP_STRING): Define.
30294 (HAS_FAST_COPY_BACKWARD): Define.
30295
302962010-06-21 Andreas Schwab <schwab@redhat.com>
30297
30298 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30299 Restore proper fallback handling.
30300
303012010-06-19 Ulrich Drepper <drepper@redhat.com>
30302
30303 [BZ #11701]
30304 * posix/group_member.c (__group_member): Correct checking loop.
30305
30306 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30307 OOM in getpwuid_r correctly. Return error number when the caller
30308 should return, otherwise -1.
30309 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30310 call returning > 0 value.
30311 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30312
303132010-06-07 Andreas Schwab <schwab@redhat.com>
30314
30315 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30316 libc_nonshared.a from targets in modules-names.
30317
303182010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30319
30320 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30321 requires it.
30322
303232010-06-10 Luis Machado <luisgpm@br.ibm.com>
30324
30325 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30326 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30327 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30328 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30329
303302010-06-02 Andreas Schwab <schwab@redhat.com>
30331
30332 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30333
303342010-06-14 Ulrich Drepper <drepper@redhat.com>
30335
30336 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30337 and F_GETPIPE_SZ.
30338 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30339 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30340 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30342 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30343 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30344
303452010-06-14 Roland McGrath <roland@redhat.com>
30346
30347 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30348
303492010-06-07 Jakub Jelinek <jakub@redhat.com>
30350
30351 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30352 __REDIRECT followed by __THROW.
30353 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30354 * posix/getopt.h (getopt): Likewise.
30355
303562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30357
30358 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30359 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30360 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30361 in AT_FLAGS.
30362 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30363 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30364
303652010-05-28 Luis Machado <luisgpm@br.ibm.com>
30366
30367 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30368
303692010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30370
30371 [BZ #11640]
30372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30373 Properly check family and model.
30374
303752010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30376
30377 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30378
303792010-05-24 Luis Machado <luisgpm@br.ibm.com>
30380
30381 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30382
303832010-05-21 Ulrich Drepper <drepper@redhat.com>
30384
30385 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30386 symbol reference.
30387
303882010-05-19 Andreas Schwab <schwab@redhat.com>
30389
30390 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30391 symbol reference.
30392
303932010-05-21 Andreas Schwab <schwab@redhat.com>
30394
30395 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30396 and internal_recvmmsg.
30397 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30398 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30399 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30400 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30401
30402 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30403 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30404 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30405
304062010-05-20 Andreas Schwab <schwab@redhat.com>
30407
30408 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30409
304102010-05-17 Luis Machado <luisgpm@br.ibm.com>
30411
30412 POWER7 optimizations.
30413 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30414 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30415
304162010-05-19 Ulrich Drepper <drepper@redhat.com>
30417
30418 * version.h: Update for 2.13 development version.
30419
304202010-05-12 Andrew Stubbs <ams@codesourcery.com>
30421
30422 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30423 exceptions. Return 0.
30424
304252010-05-07 Roland McGrath <roland@redhat.com>
30426
30427 * elf/ldconfig.c (main): Add a const.
30428
304292010-05-06 Ulrich Drepper <drepper@redhat.com>
30430
30431 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30432 (args_options): Add no-idn option.
30433 (ahosts_keys_int): Add idn_flags to ai_flags.
30434 (parse_option): Handle 'i' option to clear idn_flags.
30435
30436 * malloc/malloc.c (_int_free): Possible race in the most recently
30437 added check. Only act on the data if no current modification
30438 happened.
30439
30440See ChangeLog.17 for earlier changes.