1 2013-05-28 Ben North <ben@redfrontdoor.org>
3 * manual/arith.texi (frexp): It is the magnitude of the return
4 value which lies in [0.5, 1), not the return value itself.
6 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12 * stdio-common/bug26.c (main): Correct fscanf template.
14 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15 declare _dl_skip_args.
17 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20 * manual/platform.texi: Add missing @end deftypefun.
22 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26 bit of mantissa of 2^16382.
27 * math/libm-test.inc (hypot_test_data): Add more tests.
29 * math/libm-test.inc: Add drem and pow10 to list of tested
31 (pow10_test): New function.
32 (drem_test): Likewise.
33 (drem_test_tonearest): Likewise.
34 (drem_test_towardzero): Likewise.
35 (drem_test_downward): Likewise.
36 (drem_test_upward): Likewise.
37 (main): Call the new functions.
39 * math/libm-test.inc (finite_test_data): Remove.
40 (finite_test): Run tests from isfinite_test_data.
41 (gamma_test_data): Remove.
42 (gamma_test): Run tests from lgamma_test_data.
43 * sysdeps/i386/fpu/libm-test-ulps: Update.
44 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48 * manual/platform.texi: Add PowerPC PPR function set documentation.
49 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52 2013-05-24 Carlos O'Donell <carlos@redhat.com>
54 * math/libm-test.inc (MAX_EXP): Define.
57 (check_float_internal): Use ULPDIFF.
58 (cpow_test): Disable failing test.
59 (check_ulp): Test ulp() implemetnation.
60 (main): Call check_ulp before starting tests.
62 2013-05-24 Joseph Myers <joseph@codesourcery.com>
64 * math/gen-libm-test.pl (generate_testfile): Do not handle
65 START_DATA and END_DATA.
66 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
68 (acos_tonearest_test_data): Likewise.
69 (acos_towardzero_test_data): Likewise.
70 (acos_downward_test_data): Likewise.
71 (acos_upward_test_data): Likewise.
72 (acosh_test_data): Likewise.
73 (asin_test_data): Likewise.
74 (asin_tonearest_test_data): Likewise.
75 (asin_towardzero_test_data): Likewise.
76 (asin_downward_test_data): Likewise.
77 (asin_upward_test_data): Likewise.
78 (asinh_test_data): Likewise.
79 (atan_test_data): Likewise.
80 (atanh_test_data): Likewise.
81 (atan2_test_data): Likewise.
82 (cabs_test_data): Likewise.
83 (cacos_test_data): Likewise.
84 (cacosh_test_data): Likewise.
85 (carg_test_data): Likewise.
86 (casin_test_data): Likewise.
87 (casinh_test_data): Likewise.
88 (catan_test_data): Likewise.
89 (catanh_test_data): Likewise.
90 (cbrt_test_data): Likewise.
91 (ccos_test_data): Likewise.
92 (ccosh_test_data): Likewise.
93 (ceil_test_data): Likewise.
94 (cexp_test_data): Likewise.
95 (cimag_test_data): Likewise.
96 (clog_test_data): Likewise.
97 (clog10_test_data): Likewise.
98 (conj_test_data): Likewise.
99 (copysign_test_data): Likewise.
100 (cos_test_data): Likewise.
101 (cos_tonearest_test_data): Likewise.
102 (cos_towardzero_test_data): Likewise.
103 (cos_downward_test_data): Likewise.
104 (cos_upward_test_data): Likewise.
105 (cosh_test_data): Likewise.
106 (cosh_tonearest_test_data): Likewise.
107 (cosh_towardzero_test_data): Likewise.
108 (cosh_downward_test_data): Likewise.
109 (cosh_upward_test_data): Likewise.
110 (cpow_test_data): Likewise.
111 (cproj_test_data): Likewise.
112 (creal_test_data): Likewise.
113 (csin_test_data): Likewise.
114 (csinh_test_data): Likewise.
115 (csqrt_test_data): Likewise.
116 (ctan_test_data): Likewise.
117 (ctan_tonearest_test_data): Likewise.
118 (ctan_towardzero_test_data): Likewise.
119 (ctan_downward_test_data): Likewise.
120 (ctan_upward_test_data): Likewise.
121 (ctanh_test_data): Likewise.
122 (ctanh_tonearest_test_data): Likewise.
123 (ctanh_towardzero_test_data): Likewise.
124 (ctanh_downward_test_data): Likewise.
125 (ctanh_upward_test_data): Likewise.
126 (erf_test_data): Likewise.
127 (erfc_test_data): Likewise.
128 (exp_test_data): Likewise.
129 (exp_tonearest_test_data): Likewise.
130 (exp_towardzero_test_data): Likewise.
131 (exp_downward_test_data): Likewise.
132 (exp_upward_test_data): Likewise.
133 (exp10_test_data): Likewise.
134 (exp2_test_data): Likewise.
135 (expm1_test_data): Likewise.
136 (fabs_test_data): Likewise.
137 (fdim_test_data): Likewise.
138 (finite_test_data): Likewise.
139 (floor_test_data): Likewise.
140 (fma_test_data): Likewise.
141 (fma_towardzero_test_data): Likewise.
142 (fma_downward_test_data): Likewise.
143 (fma_upward_test_data): Likewise.
144 (fmax_test_data): Likewise.
145 (fmin_test_data): Likewise.
146 (fmod_test_data): Likewise.
147 (fpclassify_test_data): Likewise.
148 (frexp_test_data): Likewise.
149 (gamma_test_data): Likewise.
150 (hypot_test_data): Likewise.
151 (ilogb_test_data): Likewise.
152 (isfinite_test_data): Likewise.
153 (isgreater_test_data): Likewise.
154 (isgreaterequal_test_data): Likewise.
155 (isinf_test_data): Likewise.
156 (isless_test_data): Likewise.
157 (islessequal_test_data): Likewise.
158 (islessgreater_test_data): Likewise.
159 (isnan_test_data): Likewise.
160 (isnormal_test_data): Likewise.
161 (issignaling_test_data): Likewise.
162 (isunordered_test_data): Likewise.
163 (j0_test_data): Likewise.
164 (j1_test_data): Likewise.
165 (jn_test_data): Likewise.
166 (ldexp_test_data): Likewise.
167 (lgamma_test_data): Likewise.
168 (lrint_test_data): Likewise.
169 (lrint_tonearest_test_data): Likewise.
170 (lrint_towardzero_test_data): Likewise.
171 (lrint_downward_test_data): Likewise.
172 (lrint_upward_test_data): Likewise.
173 (llrint_test_data): Likewise.
174 (llrint_tonearest_test_data): Likewise.
175 (llrint_towardzero_test_data): Likewise.
176 (llrint_downward_test_data): Likewise.
177 (llrint_upward_test_data): Likewise.
178 (log_test_data): Likewise.
179 (log10_test_data): Likewise.
180 (log1p_test_data): Likewise.
181 (log2_test_data): Likewise.
182 (logb_test_data): Likewise.
183 (logb_downward_test_data): Likewise.
184 (lround_test_data): Likewise.
185 (llround_test_data): Likewise.
186 (modf_test_data): Likewise.
187 (nearbyint_test_data): Likewise.
188 (nextafter_test_data): Likewise.
189 (nexttoward_test_data): Likewise.
190 (pow_test_data): Likewise.
191 (pow_tonearest_test_data): Likewise.
192 (pow_towardzero_test_data): Likewise.
193 (pow_downward_test_data): Likewise.
194 (pow_upward_test_data): Likewise.
195 (remainder_test_data): Likewise.
196 (remainder_tonearest_test_data): Likewise.
197 (remainder_towardzero_test_data): Likewise.
198 (remainder_downward_test_data): Likewise.
199 (remainder_upward_test_data): Likewise.
200 (remquo_test_data): Likewise.
201 (rint_test_data): Likewise.
202 (rint_tonearest_test_data): Likewise.
203 (rint_towardzero_test_data): Likewise.
204 (rint_downward_test_data): Likewise.
205 (rint_upward_test_data): Likewise.
206 (round_test_data): Likewise.
207 (scalb_test_data): Likewise.
208 (scalbn_test_data): Likewise.
209 (scalbln_test_data): Likewise.
210 (signbit_test_data): Likewise.
211 (sin_test_data): Likewise.
212 (sin_tonearest_test_data): Likewise.
213 (sin_towardzero_test_data): Likewise.
214 (sin_downward_test_data): Likewise.
215 (sin_upward_test_data): Likewise.
216 (sincos_test_data): Likewise.
217 (sinh_test_data): Likewise.
218 (sinh_tonearest_test_data): Likewise.
219 (sinh_towardzero_test_data): Likewise.
220 (sinh_downward_test_data): Likewise.
221 (sinh_upward_test_data): Likewise.
222 (sqrt_test_data): Likewise.
223 (tan_test_data): Likewise.
224 (tan_tonearest_test_data): Likewise.
225 (tan_towardzero_test_data): Likewise.
226 (tan_downward_test_data): Likewise.
227 (tan_upward_test_data): Likewise.
228 (tanh_test_data): Likewise.
229 (tgamma_test_data): Likewise.
230 (trunc_test_data): Likewise.
231 (y0_test_data): Likewise.
232 (y1_test_data): Likewise.
233 (yn_test_data): Likewise.
234 (significand_test_data): Likewise.
236 * math/gen-libm-test.pl (@functions): Remove variable.
237 (generate_testfile): Don't handle START and END lines.
238 * math/libm-test.inc (START): New macro.
240 (END_COMPLEX): Likewise.
241 (acos_test): Use END macro without arguments.
242 (acos_test_tonearest): Likewise.
243 (acos_test_towardzero): Likewise.
244 (acos_test_downward): Likewise.
245 (acos_test_upward): Likewise.
246 (acosh_test): Likewise.
247 (asin_test): Likewise.
248 (asin_test_tonearest): Likewise.
249 (asin_test_towardzero): Likewise.
250 (asin_test_downward): Likewise.
251 (asin_test_upward): Likewise.
252 (asinh_test): Likewise.
253 (atan_test): Likewise.
254 (atanh_test): Likewise.
255 (atan2_test): Likewise.
256 (cabs_test): Likewise.
257 (cacos_test): Use END_COMPLEX macro without arguments.
258 (cacosh_test): Likewise.
259 (carg_test): Use END macro without arguments.
260 (casin_test): Use END_COMPLEX macro without arguments.
261 (casinh_test): Likewise.
262 (catan_test): Likewise.
263 (catanh_test): Likewise.
264 (cbrt_test): Use END macro without arguments.
265 (ccos_test): Use END_COMPLEX macro without arguments.
266 (ccosh_test): Likewise.
267 (ceil_test): Use END macro without arguments.
268 (cexp_test): Use END_COMPLEX macro without arguments.
269 (cimag_test): Use END macro without arguments.
270 (clog_test): Use END_COMPLEX macro without arguments.
271 (clog10_test): Likewise.
272 (conj_test): Likewise.
273 (copysign_test): Use END macro without arguments.
274 (cos_test): Likewise.
275 (cos_test_tonearest): Likewise.
276 (cos_test_towardzero): Likewise.
277 (cos_test_downward): Likewise.
278 (cos_test_upward): Likewise.
279 (cosh_test): Likewise.
280 (cosh_test_tonearest): Likewise.
281 (cosh_test_towardzero): Likewise.
282 (cosh_test_downward): Likewise.
283 (cosh_test_upward): Likewise.
284 (cpow_test): Use END_COMPLEX macro without arguments.
285 (cproj_test): Likewise.
286 (creal_test): Use END macro without arguments.
287 (csin_test): Use END_COMPLEX macro without arguments.
288 (csinh_test): Likewise.
289 (csqrt_test): Likewise.
290 (ctan_test): Likewise.
291 (ctan_test_tonearest): Likewise.
292 (ctan_test_towardzero): Likewise.
293 (ctan_test_downward): Likewise.
294 (ctan_test_upward): Likewise.
295 (ctanh_test): Likewise.
296 (ctanh_test_tonearest): Likewise.
297 (ctanh_test_towardzero): Likewise.
298 (ctanh_test_downward): Likewise.
299 (ctanh_test_upward): Likewise.
300 (erf_test): Use END macro without arguments.
301 (erfc_test): Likewise.
302 (exp_test): Likewise.
303 (exp_test_tonearest): Likewise.
304 (exp_test_towardzero): Likewise.
305 (exp_test_downward): Likewise.
306 (exp_test_upward): Likewise.
307 (exp10_test): Likewise.
308 (exp2_test): Likewise.
309 (expm1_test): Likewise.
310 (fabs_test): Likewise.
311 (fdim_test): Likewise.
312 (finite_test): Likewise.
313 (floor_test): Likewise.
314 (fma_test): Likewise.
315 (fma_test_towardzero): Likewise.
316 (fma_test_downward): Likewise.
317 (fma_test_upward): Likewise.
318 (fmax_test): Likewise.
319 (fmin_test): Likewise.
320 (fmod_test): Likewise.
321 (fpclassify_test): Likewise.
322 (frexp_test): Likewise.
323 (gamma_test): Likewise.
324 (hypot_test): Likewise.
325 (ilogb_test): Likewise.
326 (isfinite_test): Likewise.
327 (isgreater_test): Likewise.
328 (isgreaterequal_test): Likewise.
329 (isinf_test): Likewise.
330 (isless_test): Likewise.
331 (islessequal_test): Likewise.
332 (islessgreater_test): Likewise.
333 (isnan_test): Likewise.
334 (isnormal_test): Likewise.
335 (issignaling_test): Likewise.
336 (isunordered_test): Likewise.
340 (ldexp_test): Likewise.
341 (lgamma_test): Likewise.
342 (lrint_test): Likewise.
343 (lrint_test_tonearest): Likewise.
344 (lrint_test_towardzero): Likewise.
345 (lrint_test_downward): Likewise.
346 (lrint_test_upward): Likewise.
347 (llrint_test): Likewise.
348 (llrint_test_tonearest): Likewise.
349 (llrint_test_towardzero): Likewise.
350 (llrint_test_downward): Likewise.
351 (llrint_test_upward): Likewise.
352 (log_test): Likewise.
353 (log10_test): Likewise.
354 (log1p_test): Likewise.
355 (log2_test): Likewise.
356 (logb_test): Likewise.
357 (logb_test_downward): Likewise.
358 (lround_test): Likewise.
359 (llround_test): Likewise.
360 (modf_test): Likewise.
361 (nearbyint_test): Likewise.
362 (nextafter_test): Likewise.
363 (nexttoward_test): Likewise.
364 (pow_test): Likewise.
365 (pow_test_tonearest): Likewise.
366 (pow_test_towardzero): Likewise.
367 (pow_test_downward): Likewise.
368 (pow_test_upward): Likewise.
369 (remainder_test): Likewise.
370 (remainder_test_tonearest): Likewise.
371 (remainder_test_towardzero): Likewise.
372 (remainder_test_downward): Likewise.
373 (remainder_test_upward): Likewise.
374 (remquo_test): Likewise.
375 (rint_test): Likewise.
376 (rint_test_tonearest): Likewise.
377 (rint_test_towardzero): Likewise.
378 (rint_test_downward): Likewise.
379 (rint_test_upward): Likewise.
380 (round_test): Likewise.
381 (scalb_test): Likewise.
382 (scalbn_test): Likewise.
383 (scalbln_test): Likewise.
384 (signbit_test): Likewise.
385 (sin_test): Likewise.
386 (sin_test_tonearest): Likewise.
387 (sin_test_towardzero): Likewise.
388 (sin_test_downward): Likewise.
389 (sin_test_upward): Likewise.
390 (sincos_test): Likewise.
391 (sinh_test): Likewise.
392 (sinh_test_tonearest): Likewise.
393 (sinh_test_towardzero): Likewise.
394 (sinh_test_downward): Likewise.
395 (sinh_test_upward): Likewise.
396 (sqrt_test): Likewise.
397 (tan_test): Likewise.
398 (tan_test_tonearest): Likewise.
399 (tan_test_towardzero): Likewise.
400 (tan_test_downward): Likewise.
401 (tan_test_upward): Likewise.
402 (tanh_test): Likewise.
403 (tgamma_test): Likewise.
404 (trunc_test): Likewise.
408 (significand_test): Likewise.
410 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
413 * libio/genops.c (_IO_no_init): Initialize wide struct info.
415 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
418 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
419 __ppc_mdoio and __ppc_mdoom.
420 * manual/platform.texi: Document new functions __ppc_yield,
421 __ppc_mdoio and __ppc_mdoom.
423 2013-05-22 Carlos O'Donell <carlos@redhat.com>
425 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
426 (main): Mention "tls" pseudo-hwcap is legacy.
427 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
429 2013-05-22 Joseph Myers <joseph@codesourcery.com>
431 * math/gen-libm-test.pl (parse_args): Output only string of
432 arguments as text for test name, not full call or descriptions of
433 tests for extra outputs.
434 (generate_testfile): Do not pass function name to parse_args.
435 Generate this_func variable from START.
436 * math/libm-test.inc (struct test_f_f_data): Rename test_name
438 (struct test_ff_f_data): Likewise.
439 (test_ff_f_data_nexttoward): Likewise.
440 (struct test_fi_f_data): Likewise.
441 (struct test_fl_f_data): Likewise.
442 (struct test_if_f_data): Likewise.
443 (struct test_fff_f_data): Likewise.
444 (struct test_c_f_data): Likewise.
445 (struct test_f_f1_data): Likewise. Remove field extra_name.
446 (struct test_fF_f1_data): Likewise.
447 (struct test_ffI_f1_data): Likewise.
448 (struct test_c_c_data): Rename test_name field to arg_str.
449 (struct test_cc_c_data): Likewise.
450 (struct test_f_i_data): Likewise.
451 (struct test_ff_i_data): Likewise.
452 (struct test_f_l_data): Likewise.
453 (struct test_f_L_data): Likewise.
454 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
456 (COMMON_TEST_SETUP): New macro.
457 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
458 (COMMON_TEST_CLEANUP): Likewise.
459 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
460 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
462 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
463 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
465 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
466 (RUN_TEST_fff_f): Take argument string. Call new setup and
468 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
469 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
471 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
472 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
474 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
475 (RUN_TEST_fF_f1): Take argument string. Call new setup and
477 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
478 (RUN_TEST_fI_f1): Take argument string. Call new setup and
480 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
481 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
483 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
484 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
486 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
487 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
489 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
490 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
492 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
493 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
495 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
496 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
498 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
499 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
501 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
502 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
504 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
505 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
507 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
508 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
510 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
511 (RUN_TEST_fFF_11): Take argument string. Call new setup and
513 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
515 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
517 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
518 to _sifields.sigfault.
519 (si_addr_lsb): Define new macro.
520 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
521 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
522 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
524 2013-05-03 Carlos O'Donell <carlos at redhat.com>
527 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
529 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
531 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
534 2013-05-22 Joseph Myers <joseph@codesourcery.com>
536 * math/gen-libm-test.pl (parse_args): Do not include expected
538 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
539 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
540 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
541 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
542 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
545 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
547 * benchtests/Makefile: Sort function entries.
549 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
550 tanh, asinh, acosh, atanh.
551 * benchtests/acos-inputs: New file.
552 * benchtests/acosh-inputs: New file.
553 * benchtests/asin-inputs: New file.
554 * benchtests/asinh-inputs: New file.
555 * benchtests/atanh-inputs: New file.
556 * benchtests/cosh-inputs: New file.
557 * benchtests/log-inputs: New file.
558 * benchtests/sinh-inputs: New file.
559 * benchtests/tanh-inputs: New file.
561 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
564 * posix/tst-getaddrinfo4.c: New test.
565 * posix/Makefile (tests): Add it.
567 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
570 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
571 when no services were used.
572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
573 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
575 2013-05-21 Andreas Schwab <schwab@suse.de>
578 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
579 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
581 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
582 redundant variable declarations and reallocation of buffer when
583 parsing as IPv6 address. Always set NSS status when called from
584 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
585 buffer too small. Correct computation of needed size.
586 * nss/Makefile (tests): Add test-digits-dots.
587 * nss/test-digits-dots.c: New test.
589 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
591 * benchtests/Makefile: Remove instructions for adding
593 * benchtests/README: New file to explain how to execute and
594 enhance the benchmark tests.
596 2013-05-21 Andreas Schwab <schwab@suse.de>
599 * setjmp/Makefile (tests): Add tst-sigsetjmp.
600 * setjmp/tst-sigsetjmp.c: New test.
602 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
604 * sysdeps/x86_64/memset.S (memset): New implementation.
606 (__memset_tail): New function.
608 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
610 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
611 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
612 __memcpy_sse2_unaligned ifunc selection.
613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
614 Add memcpy-sse2-unaligned.S.
615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
616 Add: __memcpy_sse2_unaligned.
618 2013-05-19 Joseph Myers <joseph@codesourcery.com>
621 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
622 math_force_eval before restoring floating-point envrionment.
623 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
624 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
626 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
628 (__nearbyintl): Use math_force_eval before restoring
629 floating-point environment.
630 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
632 * math/gen-libm-test.pl (special_functions): Remove.
633 (parse_args): Don't handle TEST_extra. Handle functions with no
635 * math/libm-test.inc (struct test_sincos_data): Replace with
636 struct test_fFF_11_data.
637 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
638 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
639 (sincos_test_data): Change element type to struct
640 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
641 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
642 RUN_TEST_LOOP_sincos.
643 * math/README.libm-test: Don't mention special handling of
644 individual functions.
645 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
646 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
647 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
648 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
649 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
652 * math/gen-libm-test.pl (get_variable): Remove function.
653 (parse_args): Don't show pointer parameters to call in test
654 names. Use "extra output N" in test names for extra outputs
655 rather than naming variables.
657 2013-05-18 Joseph Myers <joseph@codesourcery.com>
660 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
661 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
662 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
664 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
666 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
669 * math/gen-libm-test.pl (@tests): Remove variable.
671 (new_test): Remove function.
672 (show_exceptions): New function.
673 (special_functions): Use show_exceptions instead of new_test.
674 (parse_args): Likewise.
675 (generate_testfile): Pass only function name in generated call to
676 print_max_error or print_complex_max_error.
677 (get_ulps): Do not handle complex tests specially.
678 (output_test): Rename to ...
679 (get_all_ulps_for_test): ... this. Return a string rather than
680 printing to a file. Require ulps to be present.
681 (output_ulps): Generate arrays rather than #defines.
682 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
683 (struct ulp_data): New type.
684 (BUILD_COMPLEX_ULP): Remove macro.
685 (compare_ulp_data): New function.
686 (find_ulps): Likewise.
687 (find_test_ulps): Likewise.
688 (find_function_ulps): Likewise.
689 (find_complex_function_ulps): Likewise.
690 (print_max_error): Determine allowed ulps using
692 (print_complex_max_error): Determine allowed ulps using
693 find_complex_function_ulps.
694 (check_float_internal): Determine max ulps using find_test_ulps.
695 (check_float): Do not take max_ulp parameter. Update call to
696 check_float_internal.
697 (check_complex): Likewise.
698 (check_int): Do not take max_ulp parameter.
699 (check_long): Likewise.
700 (check_bool): Likewise.
701 (check_longlong): Likewise.
702 (struct test_f_f_data): Remove max_ulp field.
703 (struct test_ff_f_data): Likewise.
704 (struct test_ff_f_data_nexttoward): Likewise.
705 (struct test_fi_f_data): Likewise.
706 (struct test_fl_f_data): Likewise.
707 (struct test_if_f_data): Likewise.
708 (struct test_fff_f_data): Likewise.
709 (struct test_c_f_data): Likewise.
710 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
711 (struct test_fF_f1_data): Likewise.
712 (struct test_ffI_f1_data): Likewise.
713 (struct test_c_c_data): Remove max_ulp field.
714 (struct test_cc_c_data): Likewise.
715 (struct test_f_i_data): Likewise.
716 (struct test_ff_i_data): Likewise.
717 (struct test_f_l_data): Likewise.
718 (struct test_f_L_data): Likewise.
719 (struct test_sincos_data): Likewise.
720 (RUN_TEST_f_f): Do not handle ulps.
721 (RUN_TEST_LOOP_f_f): Likewise.
722 (RUN_TEST_2_f): Likewise.
723 (RUN_TEST_LOOP_2_f): Likewise.
724 (RUN_TEST_fff_f): Likewise.
725 (RUN_TEST_LOOP_fff_f): Likewise.
726 (RUN_TEST_c_f): Likewise.
727 (RUN_TEST_LOOP_c_f): Likewise.
728 (RUN_TEST_f_f1): Likewise.
729 (RUN_TEST_LOOP_f_f1): Likewise.
730 (RUN_TEST_fF_f1): Likewise.
731 (RUN_TEST_LOOP_fF_f1): Likewise.
732 (RUN_TEST_fI_f1): Likewise.
733 (RUN_TEST_LOOP_fI_f1): Likewise.
734 (RUN_TEST_ffI_f1): Likewise.
735 (RUN_TEST_LOOP_ffI_f1): Likewise.
736 (RUN_TEST_c_c): Likewise.
737 (RUN_TEST_LOOP_c_c): Likewise.
738 (RUN_TEST_cc_c): Likewise.
739 (RUN_TEST_LOOP_cc_c): Likewise.
740 (RUN_TEST_f_i): Likewise.
741 (RUN_TEST_LOOP_f_i): Likewise.
742 (RUN_TEST_f_i_tg): Likewise.
743 (RUN_TEST_LOOP_f_i_tg): Likewise.
744 (RUN_TEST_ff_i_tg): Likewise.
745 (RUN_TEST_LOOP_ff_i_tg): Likewise.
746 (RUN_TEST_f_b): Likewise.
747 (RUN_TEST_LOOP_f_b): Likewise.
748 (RUN_TEST_f_b_tg): Likewise.
749 (RUN_TEST_LOOP_f_b_tg): Likewise.
750 (RUN_TEST_f_l): Likewise.
751 (RUN_TEST_LOOP_f_l): Likewise.
752 (RUN_TEST_f_L): Likewise.
753 (RUN_TEST_LOOP_f_L): Likewise.
754 (RUN_TEST_sincos): Likewise.
755 (RUN_TEST_LOOP_sincos): Likewise.
757 2013-05-17 Joseph Myers <joseph@codesourcery.com>
761 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
762 main case of finite arguments, set rounding mode to FE_TONEAREST
763 and discard exceptions.
764 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
766 (remainder_tonearest_test_data): New variable.
767 (remainder_test_tonearest): New function.
768 (remainder_towardzero_test_data): New variable.
769 (remainder_test_towardzero): New function.
770 (remainder_downward_test_data): New variable.
771 (remainder_test_downward): New function.
772 (remainder_upward_test_data): New variable.
773 (remainder_test_upward): New function.
774 (main): Call the new test functions.
776 * math/libm-test.inc (struct test_f_f1_data): Remove field
778 (struct test_fF_f1_data): Likewise.
779 (struct test_ffI_f1_data): Likewise.
780 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
781 based on value of EXTRA_EXPECTED.
782 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
783 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
784 EXTRA_VAR based on value of EXTRA_EXPECTED.
785 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
786 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
787 EXTRA_VAR based on value of EXTRA_EXPECTED.
788 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
789 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
790 EXTRA_VAR based on value of EXTRA_EXPECTED.
791 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
792 * math/gen-libm-test.pl (parse_args): Don't output initializers
793 for extra output values.
795 * math/libm-test.inc (check_int): Expect result to be exactly
796 equal to expected value and do not handle ulps.
797 (check_long): Likewise.
798 (check_longlong): Likewise.
800 * math/libm-test.inc (ceil_test_data): Test for "inexact"
802 (cimag_test_data): Likewise.
803 (conj_test_data): Likewise.
804 (copysign_test_data): Likewise.
805 (cproj_test_data): Likewise.
806 (creal_test_data): Likewise.
807 (fabs_test_data): Likewise.
808 (fdim_test_data): Likewise.
809 (finite_test_data): Likewise.
810 (floor_test_data): Likewise.
811 (fmax_test_data): Likewise.
812 (fmin_test_data): Likewise.
813 (fmod_test_data): Likewise.
814 (fpclassify_test_data): Likewise.
815 (frexp_test_data): Likewise.
816 (ilogb_test_data): Likewise.
817 (isfinite_test_data): Likewise.
818 (isgreater_test_data): Likewise.
819 (isgreaterequal_test_data): Likewise.
820 (isinf_test_data): Likewise.
821 (isless_test_data): Likewise.
822 (islessequal_test_data): Likewise.
823 (islessgreater_test_data): Likewise.
824 (isnan_test_data): Likewise.
825 (isnormal_test_data): Likewise.
826 (issignaling_test_data): Likewise.
827 (isunordered_test_data): Likewise.
828 (ldexp_test_data): Likewise.
829 (lrint_test_data): Likewise.
830 (lrint_test_data) [TEST_FLOAT]: Disable one test.
831 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
832 (lrint_tonearest_test_data): Test for "inexact" exceptions.
833 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
834 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
835 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
837 (lrint_towardzero_test_data): Test for "inexact" exceptions.
838 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
839 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
840 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
842 (lrint_downward_test_data): Test for "inexact" exceptions.
843 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
844 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
845 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
847 (lrint_upward_test_data): Test for "inexact" exceptions.
848 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
850 (llrint_test_data): Test for "inexact" exceptions.
851 (llrint_test_data) [TEST_FLOAT]: Disable one test.
852 (llrint_tonearest_test_data): Test for "inexact" exceptions.
853 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
854 (llrint_towardzero_test_data): Test for "inexact" exceptions.
855 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
856 (llrint_downward_test_data): Test for "inexact" exceptions.
857 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
858 (llrint_upward_test_data): Test for "inexact" exceptions.
859 (logb_test_data): Likewise.
860 (logb_downward_test_data): Likewise.
861 (nextafter_test_data): Likewise.
862 (nexttoward_test_data): Likewise.
863 (remainder_test_data): Likewise.
864 (remquo_test_data): Likewise.
865 (scalbn_test_data): Likewise.
866 (scalbln_test_data): Likewise.
867 (signbit_test_data): Likewise.
868 (sqrt_test_data): Likewise.
869 (significand_test_data): Likewise.
871 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
874 * benchtests/bench-modf.c (struct args): Mark arg0 as
876 * scripts/bench.pl: Mark members of struct args as volatile.
878 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
881 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
882 negative infinity on POWER6 or lower.
883 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
885 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
888 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
889 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
890 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
891 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
892 (_FP_SETQNAN): New macro.
893 (_FP_SETQNAN_SEMIRAW): Likewise.
894 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
895 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
896 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
897 (FP_EXTEND): Use _FP_FRAC_SNANP.
898 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
899 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
901 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
903 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
906 2013-05-16 Joseph Myers <joseph@codesourcery.com>
908 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
909 with DIVIDE_BY_ZERO_EXCEPTION.
910 (gamma_test_data): Likewise.
911 (lgamma_test_data): Likewise.
912 (log_test_data): Likewise.
913 (log10_test_data): Likewise.
914 (log2_test_data): Likewise.
915 (tgamma_test_data): Likewise.
917 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
918 (acos_test_tonearest): Likewise.
919 (acos_test_towardzero): Likewise.
920 (acos_test_downward): Likewise.
921 (acos_test_upward): Likewise.
922 (acosh_test): Likewise.
923 (asin_test): Likewise.
924 (asin_test_tonearest): Likewise.
925 (asin_test_towardzero): Likewise.
926 (asin_test_downward): Likewise.
927 (asin_test_upward): Likewise.
928 (asinh_test): Likewise.
929 (atan_test): Likewise.
930 (atanh_test): Likewise.
931 (atan2_test): Likewise.
932 (cabs_test): Likewise.
933 (cacos_test): Likewise.
934 (cacosh_test): Likewise.
935 (casin_test): Likewise.
936 (casinh_test): Likewise.
937 (catan_test): Likewise.
938 (catanh_test): Likewise.
939 (cbrt_test): Likewise.
940 (ccos_test): Likewise.
941 (ccosh_test): Likewise.
942 (cexp_test): Likewise.
943 (clog_test): Likewise.
944 (clog10_test): Likewise.
945 (cos_test): Likewise.
946 (cos_test_tonearest): Likewise.
947 (cos_test_towardzero): Likewise.
948 (cos_test_downward): Likewise.
949 (cos_test_upward): Likewise.
950 (cosh_test): Likewise.
951 (cosh_test_tonearest): Likewise.
952 (cosh_test_towardzero): Likewise.
953 (cosh_test_downward): Likewise.
954 (cosh_test_upward): Likewise.
955 (cpow_test): Likewise.
956 (csin_test): Likewise.
957 (csinh_test): Likewise.
958 (csqrt_test): Likewise.
959 (ctan_test): Likewise.
960 (ctan_test_tonearest): Likewise.
961 (ctan_test_towardzero): Likewise.
962 (ctan_test_downward): Likewise.
963 (ctan_test_upward): Likewise.
964 (ctanh_test): Likewise.
965 (ctanh_test_tonearest): Likewise.
966 (ctanh_test_towardzero): Likewise.
967 (ctanh_test_downward): Likewise.
968 (ctanh_test_upward): Likewise.
969 (erf_test): Likewise.
970 (erfc_test): Likewise.
971 (exp_test): Likewise.
972 (exp_test_tonearest): Likewise.
973 (exp_test_towardzero): Likewise.
974 (exp_test_downward): Likewise.
975 (exp_test_upward): Likewise.
976 (exp10_test): Likewise.
977 (exp2_test): Likewise.
978 (expm1_test): Likewise.
979 (fmod_test): Likewise.
980 (gamma_test): Likewise.
981 (hypot_test): Likewise.
985 (lgamma_test): Likewise.
986 (log_test): Likewise.
987 (log10_test): Likewise.
988 (log1p_test): Likewise.
989 (log2_test): Likewise.
990 (logb_test_downward): Likewise.
991 (pow_test): Likewise.
992 (pow_test_tonearest): Likewise.
993 (pow_test_towardzero): Likewise.
994 (pow_test_downward): Likewise.
995 (pow_test_upward): Likewise.
996 (remainder_test): Likewise.
997 (remquo_test): Likewise.
998 (sin_test): Likewise.
999 (sin_test_tonearest): Likewise.
1000 (sin_test_towardzero): Likewise.
1001 (sin_test_downward): Likewise.
1002 (sin_test_upward): Likewise.
1003 (sincos_test): Likewise.
1004 (sinh_test): Likewise.
1005 (sinh_test_tonearest): Likewise.
1006 (sinh_test_towardzero): Likewise.
1007 (sinh_test_downward): Likewise.
1008 (sinh_test_upward): Likewise.
1009 (sqrt_test): Likewise.
1010 (tan_test): Likewise.
1011 (tan_test_tonearest): Likewise.
1012 (tan_test_towardzero): Likewise.
1013 (tan_test_downward): Likewise.
1014 (tan_test_upward): Likewise.
1015 (tanh_test): Likewise.
1016 (tgamma_test): Likewise.
1017 (y0_test): Likewise.
1018 (y1_test): Likewise.
1019 (yn_test): Likewise.
1021 * math/gen-libm-test.pl (adjust_arg): Remove function.
1022 (special_function): Remove argument $in_func. Only handle
1023 generating output for tables of tests, not inside functions.
1024 (parse_args): Likewise.
1025 (generate_testfile): Remove variable $in_func. Update call to
1027 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1028 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1029 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1030 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1031 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1032 (MAX_VALUE_INIT): Rename macro to max_value.
1033 (MIN_VALUE_INIT): Rename macro to min_value.
1034 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1035 (plus_zero): Remove variable.
1036 (minus_zero): Likewise.
1037 (plus_infty): Likewise.
1038 (minus_infty): Likewise.
1039 (qnan_value): Likewise.
1040 (max_value): Likewise.
1041 (min_value): Likewise.
1042 (min_subnorm_value): Likewise.
1044 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1046 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1047 uint64_t or uint32_t usage.
1048 * crypt/sha256-block.c: Likewise.
1049 * crypt/sha256-crypt.c: Likewise.
1050 * crypt/sha256.c: Likewise.
1051 * crypt/sha512-block.c: Likewise.
1052 * crypt/sha512-crypt.c: Likewise.
1053 * crypt/sha512.c: Likewise.
1054 * debug/backtrace-tst.c: Likewise.
1055 * debug/pcprofiledump.c: Likewise.
1056 * elf/cache.c: Likewise.
1057 * elf/dl-cache.c: Likewise.
1058 * elf/dl-misc.c: Likewise.
1059 * elf/dl-profile.c: Likewise.
1060 * elf/dl-support.c: Likewise.
1061 * elf/ldconfig.c: Likewise.
1062 * elf/sprof.c: Likewise.
1063 * iconv/dummy-repertoire.c: Likewise.
1064 * iconv/iconv_charmap.c: Likewise.
1065 * iconv/skeleton.c: Likewise.
1066 * iconvdata/8bit-generic.c: Likewise.
1067 * iconvdata/cp737.h: Likewise.
1068 * iconvdata/cp775.h: Likewise.
1069 * iconvdata/ibm1008.h: Likewise.
1070 * iconvdata/ibm1025.h: Likewise.
1071 * iconvdata/ibm1046.h: Likewise.
1072 * iconvdata/ibm1097.h: Likewise.
1073 * iconvdata/ibm1112.h: Likewise.
1074 * iconvdata/ibm1122.h: Likewise.
1075 * iconvdata/ibm1123.h: Likewise.
1076 * iconvdata/ibm1124.h: Likewise.
1077 * iconvdata/ibm1129.h: Likewise.
1078 * iconvdata/ibm1130.h: Likewise.
1079 * iconvdata/ibm1132.h: Likewise.
1080 * iconvdata/ibm1133.h: Likewise.
1081 * iconvdata/ibm1137.h: Likewise.
1082 * iconvdata/ibm1140.h: Likewise.
1083 * iconvdata/ibm1141.h: Likewise.
1084 * iconvdata/ibm1142.h: Likewise.
1085 * iconvdata/ibm1143.h: Likewise.
1086 * iconvdata/ibm1144.h: Likewise.
1087 * iconvdata/ibm1145.h: Likewise.
1088 * iconvdata/ibm1146.h: Likewise.
1089 * iconvdata/ibm1147.h: Likewise.
1090 * iconvdata/ibm1148.h: Likewise.
1091 * iconvdata/ibm1149.h: Likewise.
1092 * iconvdata/ibm1153.h: Likewise.
1093 * iconvdata/ibm1154.h: Likewise.
1094 * iconvdata/ibm1155.h: Likewise.
1095 * iconvdata/ibm1156.h: Likewise.
1096 * iconvdata/ibm1157.h: Likewise.
1097 * iconvdata/ibm1158.h: Likewise.
1098 * iconvdata/ibm1160.h: Likewise.
1099 * iconvdata/ibm1161.h: Likewise.
1100 * iconvdata/ibm1162.h: Likewise.
1101 * iconvdata/ibm1163.h: Likewise.
1102 * iconvdata/ibm1164.h: Likewise.
1103 * iconvdata/ibm1166.h: Likewise.
1104 * iconvdata/ibm1167.h: Likewise.
1105 * iconvdata/ibm12712.h: Likewise.
1106 * iconvdata/ibm1390.h: Likewise.
1107 * iconvdata/ibm1399.h: Likewise.
1108 * iconvdata/ibm16804.h: Likewise.
1109 * iconvdata/ibm4517.h: Likewise.
1110 * iconvdata/ibm4899.h: Likewise.
1111 * iconvdata/ibm4909.h: Likewise.
1112 * iconvdata/ibm4971.h: Likewise.
1113 * iconvdata/ibm5347.h: Likewise.
1114 * iconvdata/ibm803.h: Likewise.
1115 * iconvdata/ibm856.h: Likewise.
1116 * iconvdata/ibm901.h: Likewise.
1117 * iconvdata/ibm902.h: Likewise.
1118 * iconvdata/ibm9030.h: Likewise.
1119 * iconvdata/ibm9066.h: Likewise.
1120 * iconvdata/ibm921.h: Likewise.
1121 * iconvdata/ibm922.h: Likewise.
1122 * iconvdata/ibm9448.h: Likewise.
1123 * iconvdata/isiri-3342.h: Likewise.
1124 * iconvdata/jis0201.h: Likewise.
1125 * include/link.h: Likewise.
1126 * include/netdb.h: Likewise.
1127 * inet/check_native.c: Likewise.
1128 * inet/check_pf.c: Likewise.
1129 * inet/getipv4sourcefilter.c: Likewise.
1130 * inet/getnameinfo.c: Likewise.
1131 * inet/getsourcefilter.c: Likewise.
1132 * inet/htonl.c: Likewise.
1133 * inet/setipv4sourcefilter.c: Likewise.
1134 * inet/setsourcefilter.c: Likewise.
1135 * inet/test-inet6_opt.c: Likewise.
1136 * inet/tst-network.c: Likewise.
1137 * locale/C-collate.c: Likewise.
1138 * locale/C-ctype.c: Likewise.
1139 * locale/C-time.c: Likewise.
1140 * locale/C-translit.h: Likewise.
1141 * locale/loadarchive.c: Likewise.
1142 * locale/programs/3level.h: Likewise.
1143 * locale/programs/charmap.c: Likewise.
1144 * locale/programs/charmap.h: Likewise.
1145 * locale/programs/ld-address.c: Likewise.
1146 * locale/programs/ld-collate.c: Likewise.
1147 * locale/programs/ld-ctype.c: Likewise.
1148 * locale/programs/ld-identification.c: Likewise.
1149 * locale/programs/ld-measurement.c: Likewise.
1150 * locale/programs/ld-messages.c: Likewise.
1151 * locale/programs/ld-monetary.c: Likewise.
1152 * locale/programs/ld-name.c: Likewise.
1153 * locale/programs/ld-numeric.c: Likewise.
1154 * locale/programs/ld-paper.c: Likewise.
1155 * locale/programs/ld-telephone.c: Likewise.
1156 * locale/programs/ld-time.c: Likewise.
1157 * locale/programs/linereader.c: Likewise.
1158 * locale/programs/locale.c: Likewise.
1159 * locale/programs/locarchive.c: Likewise.
1160 * locale/programs/locfile.h: Likewise.
1161 * locale/programs/repertoire.c: Likewise.
1162 * locale/programs/simple-hash.c: Likewise.
1163 * locale/programs/simple-hash.h: Likewise.
1164 * malloc/memusage.c: Likewise.
1165 * malloc/memusagestat.c: Likewise.
1166 * nis/nis_defaults.c: Likewise.
1167 * nis/nis_hash.c: Likewise.
1168 * nis/nis_print.c: Likewise.
1169 * nis/nis_xdr.c: Likewise.
1170 * nscd/connections.c: Likewise.
1171 * nscd/hstcache.c: Likewise.
1172 * nscd/nscd_gethst_r.c: Likewise.
1173 * nscd/nscd_getserv_r.c: Likewise.
1174 * nscd/nscd_helper.c: Likewise.
1175 * nscd/servicescache.c: Likewise.
1176 * nss/makedb.c: Likewise.
1177 * nss/nss_db/db-XXX.c: Likewise.
1178 * nss/nss_db/db-initgroups.c: Likewise.
1179 * nss/nss_db/db-netgrp.c: Likewise.
1180 * nss/nss_files/files-network.c: Likewise.
1181 * nss/nss_files/files-parse.c: Likewise.
1182 * posix/bug-regex5.c: Likewise.
1183 * posix/fnmatch_loop.c: Likewise.
1184 * posix/regcomp.c: Likewise.
1185 * posix/regexec.c: Likewise.
1186 * posix/tst-rfc3484-2.c: Likewise.
1187 * posix/tst-rfc3484-3.c: Likewise.
1188 * posix/tst-rfc3484.c: Likewise.
1189 * resolv/nss_dns/dns-canon.c: Likewise.
1190 * resolv/nss_dns/dns-network.c: Likewise.
1191 * resolv/res_init.c: Likewise.
1192 * resolv/res_mkquery.c: Likewise.
1193 * resolv/tst-aton.c: Likewise.
1194 * stdlib/cxa_atexit.c: Likewise.
1195 * stdlib/cxa_finalize.c: Likewise.
1196 * stdlib/gen-fpioconst.c: Likewise.
1197 * stdlib/strtol_l.c: Likewise.
1198 * string/tst-endian.c: Likewise.
1199 * sunrpc/auth_des.c: Likewise.
1200 * sunrpc/clnt_udp.c: Likewise.
1201 * sunrpc/rtime.c: Likewise.
1202 * sunrpc/svcauth_des.c: Likewise.
1203 * sunrpc/xdr.c: Likewise.
1204 * sunrpc/xdr_intXX_t.c: Likewise.
1205 * sunrpc/xdr_rec.c: Likewise.
1206 * sysdeps/generic/ldconfig.h: Likewise.
1207 * sysdeps/generic/ldsodefs.h: Likewise.
1208 * sysdeps/generic/memusage.h: Likewise.
1209 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1210 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1211 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1212 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1213 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1214 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1215 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1216 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1217 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1218 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1219 * sysdeps/posix/getaddrinfo.c: Likewise.
1220 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1221 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1222 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1223 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1224 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1225 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1226 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1227 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1228 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1229 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1230 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1231 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1232 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1233 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1234 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1235 * sysdeps/x86_64/dl-tls.h: Likewise.
1236 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1237 * time/alt_digit.c: Likewise.
1238 * time/era.c: Likewise.
1239 * wcsmbs/tst-c16c32-1.c: Likewise.
1241 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1243 * math/libm-test.inc (struct test_sincos_data): New type.
1244 (RUN_TEST_LOOP_sincos): New macro.
1245 (sincos_test_data): New variable.
1246 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1248 2013-05-16 Richard Henderson <rth@redhat.com>
1250 * math/atest-exp2.c (LIMB64): New macro.
1251 (CONSTSZ): New macro.
1252 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1254 (print_mpn_fp): ... to function scope.
1255 (read_mpn_hex): Remove.
1257 (exp2_mpn): Use mp_log2.
1258 (main): Use mp_exp1.
1260 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1262 * math/libm-test.inc: Remove comment about not testing "inexact"
1264 (INEXACT_EXCEPTION): New macro.
1265 (NO_INEXACT_EXCEPTION): Likewise.
1266 (INVALID_EXCEPTION_OK): Update value.
1267 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1268 (OVERFLOW_EXCEPTION_OK): Likewise.
1269 (UNDERFLOW_EXCEPTION_OK): Likewise.
1270 (IGNORE_ZERO_INF_SIGN): Likewise.
1271 (ERRNO_UNCHANGED): Likewise.
1272 (ERRNO_EDOM): Likewise.
1273 (ERRNO_ERANGE): Likewise.
1274 (test_exceptions): Handle testing "inexact" exceptions.
1275 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1276 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1277 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1278 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1280 (rint_towardzero_test_data): Likewise.
1281 (rint_downward_test_data): Likewise.
1282 (rint_upward_test_data): Likewise.
1284 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1285 with OVERFLOW_EXCEPTION.
1286 (exp10_test_data): Likewise.
1287 (exp2_test_data): Likewise.
1288 (expm1_test_data): Likewise.
1289 (lgamma_test_data): Likewise.
1290 (pow_test_data): Likewise.
1291 (tgamma_test_data): Likewise.
1292 (yn_test_data): Remove duplicate test of overflow.
1294 * math/libm-test.inc (struct test_cc_c_data): New type.
1295 (RUN_TEST_LOOP_cc_c): New macro.
1296 (cpow_test_data): New variable.
1297 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1299 * math/libm-test.inc (struct test_f_L_data): New type.
1300 (RUN_TEST_LOOP_f_L): New macro.
1301 (llrint_test_data): New variable.
1302 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1303 (llrint_tonearest_test_data): New variable.
1304 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1305 (llrint_towardzero_test_data): New variable.
1306 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1307 (llrint_downward_test_data): New variable.
1308 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1309 (llrint_upward_test_data): New variable.
1310 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1311 (llround_test_data): New variable.
1312 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1314 2013-05-13 Peter Collingbourne <pcc@google.com>
1316 * math/atest-exp2.c (get_log2): Remove const attribute.
1318 2013-05-15 Joseph Myers <joseph@codesourcery.com>
1320 * math/libm-test.inc (struct test_f_l_data): New type.
1321 (RUN_TEST_LOOP_f_l): New macro.
1322 (lrint_test_data): New variable.
1323 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1324 (lrint_tonearest_test_data): New variable.
1325 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1326 (lrint_towardzero_test_data): New variable.
1327 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1328 (lrint_downward_test_data): New variable.
1329 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1330 (lrint_upward_test_data): New variable.
1331 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1332 (lround_test_data): New variable.
1333 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1335 2013-05-15 Peter Collingbourne <pcc@google.com>
1337 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1338 (EXTRACT_WORDS64) Use where appropriate.
1339 (INSERT_WORDS64) Likewise.
1341 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1342 constraints with x constraints.
1343 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1345 * malloc/obstack.c (_obstack_compat): Add initializer.
1347 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1349 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1350 si_trapno and add si_addr_lsb to _sifields.sigfault.
1351 (si_trapno): Remove macro.
1352 (si_addr_lsb): Define new macro.
1353 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1355 2013-05-15 Joseph Myers <joseph@codesourcery.com>
1357 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1358 instead of TEST_f_l.
1359 (llrint_test_tonearest): Likewise.
1360 (llrint_test_towardzero): Likewise.
1361 (llrint_test_downward): Likewise.
1362 (llrint_test_upward): Likewise.
1363 (llround_test): Likewise.
1365 * math/libm-test.inc (struct test_f_i_data): Add comment.
1366 (RUN_TEST_LOOP_f_b): New macro.
1367 (RUN_TEST_LOOP_f_b_tg): Likewise.
1368 (finite_test_data): New variable.
1369 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1370 (isfinite_test_data): New variable.
1371 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1372 (isinf_test_data): New variable.
1373 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1374 (isnan_test_data): New variable.
1375 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1376 (isnormal_test_data): New variable.
1377 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1378 (issignaling_test_data): New variable.
1379 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1380 (signbit_test_data): New variable.
1381 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1383 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1384 with INVALID_EXCEPTION.
1385 (acosh_test_data): Likewise.
1386 (asin_test_data): Likewise.
1387 (atanh_test_data): Likewise.
1388 (fmod_test_data): Likewise.
1389 (log_test_data): Likewise.
1390 (log10_test_data): Likewise.
1391 (log2_test_data): Likewise.
1392 (pow_test_data): Likewise.
1393 (sqrt_test_data): Likewise.
1394 (y0_test_data): Likewise.
1395 (y1_test_data): Likewise.
1396 (yn_test_data): Likewise.
1398 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1401 * math/libm-test.inc (struct test_ff_i_data): New type.
1402 (RUN_TEST_LOOP_ff_i_tg): New macro.
1403 (isgreater_test_data): New variable.
1404 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1405 (isgreaterequal_test_data): New variable.
1406 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1407 (isless_test_data): New variable.
1408 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1409 (islessequal_test_data): New variable.
1410 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1411 (islessgreater_test_data): New variable.
1412 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1413 (isunordered_test_data): New variable.
1414 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1416 2013-05-14 David S. Miller <davem@davemloft.net>
1418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1420 2013-05-14 Joseph Myers <joseph@codesourcery.com>
1422 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1424 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1426 (struct test_f_i_data): Change type of max_ulp to int.
1428 * math/libm-test.inc (test_ffI_f1_data): New type.
1429 (RUN_TEST_LOOP_ffI_f1): New macro.
1430 (remquo_test_data): New variable.
1431 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1433 * setjmp/tst-setjmp-fp.c: New file.
1434 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1435 (link-libm): New variable.
1436 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1438 * math/libm-test.inc (struct test_f_i_data): New type.
1439 (RUN_TEST_LOOP_f_i): New macro.
1440 (RUN_TEST_LOOP_f_i_tg): Likewise.
1441 (fpclassify_test_data): New variable.
1442 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1443 (ilogb_test_data): New variable.
1444 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1446 * math/libm-test.inc (scalbln_test): Correct function name in END
1449 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1450 (RUN_TEST_LOOP_fI_f1): New macro.
1451 (frexp_test_data): New variable.
1452 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1454 * math/libm-test.inc (struct test_fF_f1_data): New type.
1455 (RUN_TEST_LOOP_fF_f1): New macro.
1456 (modf_test_data): New variable.
1457 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1459 * math/libm-test.inc (struct test_f_f1_data): New type.
1460 (RUN_TEST_LOOP_f_f1): New macro.
1461 (gamma_test_data): New variable.
1462 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1463 (lgamma_test_data): New variable.
1464 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1466 2013-05-13 Carlos O'Donell <carlos@redhat.com>
1468 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1469 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1470 (main): Comment "tls" pseudo-hwcap.
1472 2013-05-13 Joseph Myers <joseph@codesourcery.com>
1474 * math/libm-test.inc (struct test_fl_f_data): New type.
1475 (RUN_TEST_LOOP_fl_f): New variable.
1476 (scalbln_test_data): New variable.
1477 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1479 * math/libm-test.inc (struct test_fi_f_data): New type.
1480 (RUN_TEST_LOOP_fi_f): New macro.
1481 (ldexp_test_data): New variable.
1482 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1483 (scalbn_test_data): New variable.
1484 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1486 * math/libm-test.inc (struct test_c_f_data): New type.
1487 (RUN_TEST_LOOP_c_f): New macro.
1488 (cabs_test_data): New variable.
1489 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1490 (carg_test_data): New variable.
1491 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1492 (cimag_test_data): New variable.
1493 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1494 (creal_test_data): New variable.
1495 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1497 * math/libm-test.inc (struct test_if_f_data): New type.
1498 (RUN_TEST_LOOP_if_f): New macro.
1499 (jn_test_data): New variable.
1500 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1501 (yn_test_data): New variable.
1502 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1504 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1506 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1508 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1509 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1511 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1513 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1514 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1515 (bench-deps): Add bench-timing.h.
1516 * benchtests-bench-skeleton.c: Include bench-timing.h.
1517 (main): Use TIMING_* macros instead of clock_gettime.
1518 * benchtests/bench-timing.h: New file.
1521 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1522 Renamed from _LIB_VERSION.
1523 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1525 2013-05-12 Joseph Myers <joseph@codesourcery.com>
1527 * math/libm-test.inc (struct test_fff_f_data): New type.
1528 (RUN_TEST_LOOP_fff_f): New macro.
1529 (fma_test_data): New variable.
1530 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1531 (fma_towardzero_test_data): New variable.
1532 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1533 (fma_downward_test_data): New variable.
1534 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1535 (fma_upward_test_data): New variable.
1536 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1538 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1539 (struct test_c_c_data): New type.
1540 (RUN_TEST_LOOP_c_c): New macro.
1541 (cacos_test_data): New variable.
1542 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1543 (cacosh_test_data): New variable.
1544 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1545 (casin_test_data): New variable.
1546 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1547 (casinh_test_data): New variable.
1548 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1549 (catan_test_data): New variable.
1550 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1551 (catanh_test_data): New variable.
1552 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1553 (ccos_test_data): New variable.
1554 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1555 (ccosh_test_data): New variable.
1556 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1557 (cexp_test_data): New variable.
1558 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1559 (clog_test_data): New variable.
1560 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1561 (clog10_test_data): New variable.
1562 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1563 (conj_test_data): New variable.
1564 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1565 (cproj_test_data): New variable.
1566 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1567 (csin_test_data): New variable.
1568 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1569 (csinh_test_data): New variable.
1570 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1571 (csqrt_test_data): New variable.
1572 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1573 (ctan_test_data): New variable.
1574 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1575 (ctan_tonearest_test_data): New variable.
1576 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1577 (ctan_towardzero_test_data): New variable.
1578 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1579 (ctan_downward_test_data): New variable.
1580 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1581 (ctan_upward_test_data): New variable.
1582 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1583 (ctanh_test_data): New variable.
1584 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1585 (ctanh_tonearest_test_data): New variable.
1586 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1587 (ctanh_towardzero_test_data): New variable.
1588 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1589 (ctanh_downward_test_data): New variable.
1590 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1591 (ctanh_upward_test_data): New variable.
1592 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1593 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1596 * math/libm-test.inc (struct test_ff_f_data): New type.
1597 (struct test_ff_f_data_nexttoward): Likewise.
1598 (RUN_TEST_LOOP_2_f): New macro.
1599 (RUN_TEST_LOOP_ff_f): Likewise.
1600 (atan2_test_data): New variable.
1601 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1602 (copysign_test_data): New variable.
1603 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1604 (fdim_test_data): New variable.
1605 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1606 (fmax_test_data): New variable.
1607 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1608 (fmin_test_data): New variable.
1609 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1610 (fmod_test_data): New variable.
1611 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1612 (hypot_test_data): New variable.
1613 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1614 (nextafter_test_data): New variable.
1615 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1616 (nexttoward_test_data): New variable.
1617 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1618 (pow_test_data): New variable.
1619 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1620 (pow_tonearest_test_data): New variable.
1621 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1622 (pow_towardzero_test_data): New variable.
1623 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1624 (pow_downward_test_data): New variable.
1625 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1626 (pow_upward_test_data): New variable.
1627 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1628 (remainder_test_data): New variable.
1629 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1630 (scalb_test_data): New variable.
1631 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1632 * sysdeps/i386/fpu/libm-test-ulps: Update.
1634 2013-05-11 Joseph Myers <joseph@codesourcery.com>
1636 * math/libm-test.inc (fma_test): Use max_value instead of local
1638 (nextafter_test): Likewise.
1640 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1641 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1642 (acos_downward_test_data): New variable.
1643 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1644 (acos_upward_test_data): New variable.
1645 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1646 (acosh_test_data): New variable.
1647 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1648 (asin_test_data): New variable.
1649 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1650 (asin_tonearest_test_data): New variable.
1651 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1652 (asin_towardzero_test_data): New variable.
1653 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1654 (asin_downward_test_data): New variable.
1655 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1656 (asin_upward_test_data): New variable.
1657 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1658 (asinh_test_data): New variable.
1659 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1660 (atan_test_data): New variable.
1661 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1662 (atanh_test_data): New variable.
1663 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1664 (cbrt_test_data): New variable.
1665 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1666 (ceil_test_data): New variable.
1667 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1668 (cos_test_data): New variable.
1669 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1670 (cos_tonearest_test_data): New variable.
1671 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1672 (cos_towardzero_test_data): New variable.
1673 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1674 (cos_downward_test_data): New variable.
1675 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1676 (cos_upward_test_data): New variable.
1677 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1678 (cosh_test_data): New variable.
1679 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1680 (cosh_tonearest_test_data): New variable.
1681 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1682 (cosh_towardzero_test_data): New variable.
1683 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1684 (cosh_downward_test_data): New variable.
1685 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1686 (cosh_upward_test_data): New variable.
1687 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1688 (erf_test_data): New variable.
1689 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1690 (erfc_test_data): New variable.
1691 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1692 (exp_test_data): New variable.
1693 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1694 (exp_tonearest_test_data): New variable.
1695 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1696 (exp_towardzero_test_data): New variable.
1697 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1698 (exp_downward_test_data): New variable.
1699 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1700 (exp_upward_test_data): New variable.
1701 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1702 (exp10_test_data): New variable.
1703 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1704 (exp2_test_data): New variable.
1705 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1706 (expm1_test_data): New variable.
1707 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1708 (fabs_test_data): New variable.
1709 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1710 (floor_test_data): New variable.
1711 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1712 (j0_test_data): New variable.
1713 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1714 (j1_test_data): New variable.
1715 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1716 (log_test_data): New variable.
1717 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1718 (log10_test_data): New variable.
1719 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1720 (log1p_test_data): New variable.
1721 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1722 (log2_test_data): New variable.
1723 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1724 (logb_test_data): New variable.
1725 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1726 (logb_downward_test_data): New variable.
1727 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1728 (nearbyint_test_data): New variable.
1729 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1730 (rint_test_data): New variable.
1731 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1732 (rint_tonearest_test_data): New variable.
1733 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1734 (rint_towardzero_test_data): New variable.
1735 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1736 (rint_downward_test_data): New variable.
1737 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1738 (rint_upward_test_data): New variable.
1739 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1740 (round_test_data): New variable.
1741 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1742 (sin_test_data): New variable.
1743 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1744 (sin_tonearest_test_data): New variable.
1745 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1746 (sin_towardzero_test_data): New variable.
1747 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1748 (sin_downward_test_data): New variable.
1749 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1750 (sin_upward_test_data): New variable.
1751 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1752 (sinh_test_data): New variable.
1753 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1754 (sinh_tonearest_test_data): New variable.
1755 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1756 (sinh_towardzero_test_data): New variable.
1757 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1758 (sinh_downward_test_data): New variable.
1759 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1760 (sinh_upward_test_data): New variable.
1761 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1762 (sqrt_test_data): New variable.
1763 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1764 (tan_test_data): New variable.
1765 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1766 (tan_tonearest_test_data): New variable.
1767 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1768 (tan_towardzero_test_data): New variable.
1769 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1770 (tan_downward_test_data): New variable.
1771 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1772 (tan_upward_test_data): New variable.
1773 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1774 (tanh_test_data): New variable.
1775 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1776 (tgamma_test_data): New variable.
1777 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1778 (trunc_test_data): New variable.
1779 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1780 (y0_test_data): New variable.
1781 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1782 (y1_test_data): New variable.
1783 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1784 (significand_test_data): New variable.
1785 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1787 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1790 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1792 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1794 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1796 2013-05-10 Andreas Jaeger <aj@suse.de>
1799 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1800 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1802 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1804 * math/gen-libm-test.pl (adjust_arg): New function.
1805 (special_functions): Handle generating output in both functions
1807 (parse_args): Likewise.
1808 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1809 $in_func argument to parse_args.
1810 * math/libm-test.inc (struct test_f_f_data): New type.
1811 (IF_ROUND_INIT_): New macro.
1812 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1813 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1814 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1815 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1816 (ROUND_RESTORE_): Likewise.
1817 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1818 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1819 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1820 (ROUND_RESTORE_FE_UPWARD): Likewise.
1821 (RUN_TEST_LOOP_f_f): New macro.
1822 (acos_test_data): New variable.
1823 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1824 (acos_tonearest_test_data): New variable.
1825 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1827 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1829 * benchtests/bench-skeleton.c (startup): Fix coding style.
1831 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1834 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1835 negative infinity argument.
1836 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1837 negative infinity argument.
1838 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1839 negative infinity argument.
1840 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1843 2013-05-10 Florian Weimer <fweimer@redhat.com>
1845 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1846 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1847 * iconv/iconv_prog.c (main): Likewise.
1848 * locale/programs/charmap-dir.c (charmap_readdir)
1849 (fopen_uncompressed): Likewise.
1850 * locale/programs/locfile.c (siblings_uncached)
1851 (write_locale_data): Use lstat64 instead of lstat.
1852 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1855 2013-05-10 Andreas Jaeger <aj@suse.de>
1858 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1862 2013-05-09 Carlos O'Donell <carlos@redhat.com>
1864 * elf/dl-close.c (_dl_close_worker): Add comments.
1866 2013-05-09 Joseph Myers <joseph@codesourcery.com>
1869 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1871 (__ieee754_rem_pio2l): Update comments.
1874 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1876 (__ieee754_rem_pio2l): Update comments.
1878 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1879 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1881 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1884 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1885 (M_PI_34_LOG10El): Likewise.
1886 (M_PI2_LOG10El): Likewise.
1887 (M_PI4_LOG10El): Likewise.
1888 (M_PI_LOG10El): Likewise.
1890 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1894 2013-05-08 Joseph Myers <joseph@codesourcery.com>
1896 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1897 (MINUS_ZERO_INIT): Likewise.
1898 (PLUS_INFTY_INIT): Likewise.
1899 (MINUS_INFTY_INIT): Likewise.
1900 (QNAN_VALUE_INIT): Likewise.
1901 (MAX_VALUE_INIT): Likewise.
1902 (MIN_VALUE_INIT): Likewise.
1903 (MIN_SUBNORM_VALUE_INIT): Likewise.
1904 (plus_zero): Initialize with PLUS_ZERO_INIT.
1905 (minus_zero): Initialize with MINUS_ZERO_INIT.
1906 (plus_infty): Initialize with PLUS_INFTY_INIT.
1907 (minus_infty): Initialize with MINUS_INFTY_INIT.
1908 (qnan_value): Initialize with QNAN_VALUE_INIT.
1909 (max_value): Initialize with MAX_VALUE_INIT.
1910 (min_value): Initialize with MIN_VALUE_INIT.
1911 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1913 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1914 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1915 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1916 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1918 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1919 (RUN_TEST_2_f): Likewise.
1920 (RUN_TEST_ff_f): Likewise.
1921 (RUN_TEST_fi_f): Likewise.
1922 (RUN_TEST_fl_f): Likewise.
1923 (RUN_TEST_fff_f): Likewise.
1924 (RUN_TEST_c_f): Likewise.
1925 (RUN_TEST_f_f1): Likewise.
1926 (RUN_TEST_fF_f1): Likewise.
1927 (RUN_TEST_fI_f1): Likewise.
1928 (RUN_TEST_ffI_f1): Likewise.
1929 (RUN_TEST_c_c): Likewise.
1930 (RUN_TEST_cc_c): Likewise.
1931 (RUN_TEST_f_i): Likewise.
1932 (RUN_TEST_f_i_tg): Likewise.
1933 (RUN_TEST_ff_i_tg): Likewise.
1934 (RUN_TEST_f_b): Likewise.
1935 (RUN_TEST_f_b_tg): Likewise.
1936 (RUN_TEST_f_l): Likewise.
1937 (RUN_TEST_f_L): Likewise.
1938 (RUN_TEST_sincos): Likewise.
1939 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1940 whether to show exceptions. Do not include ");\n" in return
1942 (special_functions): Output call to RUN_TEST_sincos instead of
1943 check_float calls. Update calls to new_test.
1944 (parse_args): Output call to single RUN_TEST_* macro instead of
1945 check_* calls and other assignments. Update calls to new_test.
1951 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1952 input to result for tgamma overflow.
1953 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1954 (gamma_coeff): New variable.
1955 (NCOEFF): New macro.
1956 (gamma_positive): New function.
1957 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1958 underflow here. Use gamma_positive instead of exp (lgamma) for
1960 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1961 (gamma_coeff): New variable.
1962 (NCOEFF): New macro.
1963 (gammaf_positive): New function.
1964 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1965 underflow here. Use gamma_positive instead of exp (lgamma) for
1967 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1968 (gamma_coeff): New variable.
1969 (NCOEFF): New macro.
1970 (gammal_positive): New function.
1971 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1972 underflow here. Use gamma_positive instead of exp (lgamma) for
1974 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1975 (gamma_coeff): New variable.
1976 (NCOEFF): New macro.
1977 (gammal_positive): New function.
1978 (__ieee754_gammal_r): Handle positive infinity, overflow and
1979 underflow here. Handle NaN the same as positive infinity. Remove
1980 check x < 0xffffffff for negative integers. Use gamma_positive
1981 instead of exp (lgamma) for other arguments.
1982 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1983 (gamma_coeff): New variable.
1984 (NCOEFF): New macro.
1985 (gammal_positive): New function.
1986 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1987 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1988 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1990 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1991 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1992 * sysdeps/generic/math_private.h (__gamma_productf): New
1994 (__gamma_product): Likewise.
1995 (__gamma_productl): Likewise.
1996 * math/Makefile (libm-calls): Add gamma_product.
1997 * math/libm-test.inc (tgamma_test): Add more tests.
1998 * sysdeps/i386/fpu/libm-test-ulps: Update.
1999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2001 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
2003 * benchtests/bench-skeleton.c (main): Preheat CPU.
2005 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2007 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2009 2013-05-07 Roland McGrath <roland@hack.frob.com>
2011 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2012 and _dl_skip_args_internal.
2014 2013-05-07 Carlos O'Donell <carlos@redhat.com>
2016 * manual/message.texi (Message Translation): Talk about users.
2017 Message to key mapping impacts design.
2019 2013-05-06 Roland McGrath <roland@hack.frob.com>
2021 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2023 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2025 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2026 * sysdeps/wordsize-64/glob64.c: ... here.
2028 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2029 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2032 * debug/getlogin_r_chk.c: Moved to ...
2033 * login/getlogin_r_chk.c: ... here.
2034 * debug/Makefile (routines): Move getlogin_r_chk to ...
2035 * login/Makefile (routines): ... here.
2036 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2037 * login/Versions (libc: GLIBC_2.4): ... here.
2039 * io/poll.c (__poll): Renamed from poll.
2040 Add libc_hidden_def.
2041 (poll): Define as weak alias.
2043 * debug/ptsname_r_chk.c: Moved to ...
2044 * login/ptsname_r_chk.c: ... here.
2045 * debug/Makefile (routines): Move ptsname_r_chk to ...
2046 * login/Makefile (routines): ... here.
2047 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2048 * login/Versions (libc: GLIBC_2.4): ... here.
2050 * posix/getlogin.c: Moved to ...
2051 * login/getlogin.c: ... here.
2052 * posix/getlogin_r.c: Moved to ...
2053 * login/getlogin_r.c: ... here.
2054 * posix/getlogin_r.c: Moved to ...
2055 * login/getlogin_r.c: ... here.
2056 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2057 * login/Makefile (routines): ... here.
2058 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2059 * login/Versions (libc: GLIBC_2.0): ... here.
2061 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2062 (setrlimit): Define as weak alias.
2064 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2065 Call __ names for open, ftruncate, and close.
2066 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2067 (truncate): Define as weak alias.
2069 2013-05-06 Joseph Myers <joseph@codesourcery.com>
2071 * math/gen-libm-test.pl (parse_args): Initialize x before each
2072 test of frexp, modf and remquo.
2074 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2077 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2081 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2083 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2085 2013-05-06 Roland McGrath <roland@hack.frob.com>
2087 * elf/dl-writev.h: New file.
2088 * elf/dl-misc.c: Include it.
2089 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2090 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2092 2013-05-04 Joseph Myers <joseph@codesourcery.com>
2094 * math/libm-test.inc (noXFails): Remove variable.
2095 (noXPasses): Likewise.
2096 (BUILD_COMPLEX_INT): Remove macro.
2097 (print_screen): Remove xfail argument.
2098 (print_screen_max_error): Likewise.
2099 (update_stats): Likewise.
2100 (print_max_error): Likewise. Update calls to other affected
2102 (print_complex_max_error): Likewise.
2103 (test_single_exception): Update calls to print_screen.
2104 (test_single_errno): Likewise.
2105 (check_float_internal): Remove xfail argument. Update calls to
2106 other affected functions.
2107 (check_float): Likewise.
2108 (check_complex): Likewise.
2109 (check_int): Likewise.
2110 (check_long): Likewise.
2111 (check_bool): Likewise.
2112 (check_longlong): Likewise.
2113 (main): Don't print noXFails and noXPasses.
2114 * math/gen-libm-test.pl (top level): Don't mention expected
2115 failure handling in comment.
2116 (new_test): Don't handle expected failures.
2117 (parse_args): Don't mention expected failure handling in comment.
2118 (generate_testfile): Don't handle expected failures.
2119 (parse_ulps): Likewise.
2120 (print_ulps_file): Likewise.
2121 (get_failure): Remove function.
2122 (output_test): Don't handle expected failures.
2123 * make/README.libm-test: Don't mention expected failure handling.
2125 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2126 (minus_zero): Likewise.
2127 (plus_infty): Likewise.
2128 (minus_infty): Likewise.
2129 (qnan_value): Likewise.
2130 (max_value): Likewise.
2131 (min_value): Likewise.
2132 (min_subnorm_value): Likewise.
2133 (initialize): Do not initialize those variables dynamically.
2135 2013-05-03 Roland McGrath <roland@hack.frob.com>
2137 * io/open.c (__open_2): Moved to ...
2138 * io/open_2.c: ... this new file.
2139 * io/open64.c (__open64_2): Moved to ...
2140 * io/open64_2.c: ... this new file.
2141 * io/openat.c (__openat_2): Moved to ...
2142 * io/openat_2.c: ... this new file.
2143 * io/openat64.c (__openat64_2): Moved to ...
2144 * io/openat64_2.c: ... this new file.
2145 * io/Makefile (routines): Add them.
2146 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2147 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2148 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2149 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2150 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2151 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2152 (__openat64): Add hidden_ver.
2153 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2154 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2156 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2157 Separately conditionalize setting of GLRO(dl_sysinfo) so
2158 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2159 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2161 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2163 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2164 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2166 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2167 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2168 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2169 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2170 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2172 2013-05-03 Joseph Myers <joseph@codesourcery.com>
2174 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2177 * math/libm-test.inc (hypot_test): Do not use
2178 IGNORE_ZERO_INF_SIGN.
2180 2013-05-03 Andreas Jaeger <aj@suse.de>
2182 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2184 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2185 (PF_MAX): Adjust for VSOCK change.
2187 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2191 2013-05-02 Carlos O'Donell <carlos@redhat.com>
2194 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2195 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2196 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2198 2013-05-02 David S. Miller <davem@davemloft.net>
2200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2202 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
2204 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2206 2013-05-01 Roland McGrath <roland@hack.frob.com>
2208 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2210 2013-05-01 Richard Smith <richard@metafoo.co.uk>
2213 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2214 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2215 Use __attribute__ ((__gnu_inline__)).
2216 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2217 Don't use __attribute__ ((__gnu_inline__)).
2219 2013-05-01 Joseph Myers <joseph@codesourcery.com>
2222 * math/s_catan.c (__catan): Handle small real or imaginary part of
2223 input specially to avoid spurious underflow.
2224 * math/s_catanf.c (__catanf): Likewise.
2225 * math/s_catanh.c (__catanh): Likewise.
2226 * math/s_catanhf.c (__catanhf): Likewise.
2227 * math/s_catanhl.c (__catanhl): Likewise.
2228 * math/s_catanl.c (__catanl): Likewise.
2229 * math/libm-test.inc (catan_test): Add more tests.
2230 (catanh_test): Likewise.
2231 * sysdeps/i386/fpu/libm-test-ulps: Update.
2232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2234 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2238 2013-04-30 Joseph Myers <joseph@codesourcery.com>
2241 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2242 accurately for denominator in atan2.
2243 * math/s_catanf.c (__catanf): Likewise.
2244 * math/s_catanh.c (__catanh): Likewise.
2245 * math/s_catanhf.c (__catanhf): Likewise.
2246 * math/s_catanhl.c (__catanhl): Likewise.
2247 * math/s_catanl.c (__catanl): Likewise.
2248 * math/libm-test.inc (catan_test): Add more tests.
2249 (catanh_test): Likewise.
2250 * sysdeps/i386/fpu/libm-test-ulps: Update.
2251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2253 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2255 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2257 * benchtests/Makefile (bench): Remove slow benchmarks.
2258 * benchtests/atan-inputs: Add slow benchmark inputs.
2259 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2260 (BENCH_FUNC): Accept variant offset.
2262 * benchtests/bench-skeleton.c (main): Run benchmark for each
2264 * benchtests/cos-inputs: Add slow benchmark inputs.
2265 * benchtests/exp-inputs: Likewise.
2266 * benchtests/pow-inputs: Likewise.
2267 * benchtests/sin-inputs: Likewise.
2268 * benchtests/slowatan-inputs: Remove.
2269 * benchtests/slowatan.c: Remove.
2270 * benchtests/slowcos-inputs: Remove.
2271 * benchtests/slowcos.c: Remove.
2272 * benchtests/slowexp-inputs: Remove.
2273 * benchtests/slowexp.c: Remove.
2274 * benchtests/slowpow-inputs: Remove.
2275 * benchtests/slowpow.c: Remove.
2276 * benchtests/slowsin-inputs: Remove.
2277 * benchtests/slowsin.c: Remove.
2278 * benchtests/slowtan-inputs: Remove.
2279 * benchtests/slowtan.c: Remove.
2280 * benchtests/tan-inputs: Add slow benchmark inputs.
2281 * scripts/bench.pl: Parse comments and directives.
2283 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2285 ($(objpfx)bench-%.c): Remove *-ITER.
2286 * benchtests/bench-modf.c: Remove definition of ITER.
2287 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2288 (main): Loop for DURATION seconds instead of fixed number of
2290 * scripts/bench.pl: Don't expect iterations in parameters.
2292 2013-04-29 Roland McGrath <roland@hack.frob.com>
2294 * io/fchdir.c (__fchdir): Renamed from fchdir.
2295 (fchdir): Define as weak alias.
2297 2013-04-29 Joseph Myers <joseph@codesourcery.com>
2299 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2300 (ERRNO_EDOM): Likewise.
2301 (ERRNO_ERANGE): Likewise.
2302 (noErrnoTests): New variable.
2303 (init_max_error): Set errno to 0.
2304 (test_single_errno): New function.
2305 (test_errno): Likewise.
2306 (check_float_internal): Call test_errno. Set errno to 0.
2307 (check_complex): Refer to errno tests in comment.
2308 (check_int): Call test_errno. Set errno to 0.
2309 (check_long): Likewise.
2310 (check_bool): Likewise.
2311 (check_longlong): Likewise.
2312 (cos_test): Use ERRNO_* flags for errno tests instead of
2314 (expm1_test): Likewise.
2315 (fmod_test): Likewise.
2316 (ilogb_test): Likewise.
2317 (lgamma_test): Likewise.
2318 (pow_test): Likewise.
2319 (remainder_test): Likewise.
2320 (sin_test): Likewise.
2321 (tan_test): Likewise.
2322 (yn_test): Likewise.
2323 (initialize): Set errno to 0.
2324 (main): Print number of errno tests.
2325 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2327 2013-04-29 Andreas Jaeger <aj@suse.de>
2330 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2334 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2335 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2339 * stdlib/random.c (__initstate): Return NULL if
2343 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2344 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2347 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2351 2013-04-29 Joseph Myers <joseph@codesourcery.com>
2353 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2354 of individual tests.
2355 (casin_test): Likewise.
2356 (casinh_test): Likewise.
2358 2013-04-27 Joseph Myers <joseph@codesourcery.com>
2361 * math/s_catan.c (__catan): Handle arguments with large real or
2362 imaginary part separately without squaring.
2363 * math/s_catanf.c (__catanf): Likewise.
2364 * math/s_catanh.c (__catanh): Likewise.
2365 * math/s_catanhf.c (__catanhf): Likewise.
2366 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2368 (__catanhl): Handle arguments with large real or imaginary part
2369 separately without squaring.
2370 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2372 (__catanl): Handle arguments with large real or imaginary part
2373 separately without squaring.
2374 * math/libm-test.inc (catan_test): Add more tests.
2375 (catanh_test): Likewise.
2376 * sysdeps/i386/fpu/libm-test-ulps: Update.
2377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379 2013-04-27 Andreas Jaeger <aj@suse.de>
2382 * stdlib/stdlib.h: Update guards for qecvt.
2383 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2386 2013-04-27 Allan McRae <allan@archlinux.org>
2388 * sysdeps/i386/fpu/libm-test-ulps: Update.
2390 2013-04-26 Joseph Myers <joseph@codesourcery.com>
2393 * math/s_catan.c: Include <float.h>.
2394 (__catan): Ensure underflow exception occurs for underflowed
2396 * math/s_catanf.c: Include <float.h>.
2397 (__catanf): Ensure underflow exception occurs for underflowed
2399 * math/s_catanh.c: Include <float.h>.
2400 (__catanh): Ensure underflow exception occurs for underflowed
2402 * math/s_catanhf.c: Include <float.h>.
2403 (__catanhf): Ensure underflow exception occurs for underflowed
2405 * math/s_catanhl.c: Include <float.h>.
2406 (__catanhl): Ensure underflow exception occurs for underflowed
2408 * math/s_catanl.c: Include <float.h>.
2409 (__catanl): Ensure underflow exception occurs for underflowed
2411 * math/libm-test.inc (catan_test): Add more tests.
2412 (catanh_test): Likewise.
2415 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2417 * math/s_ccoshf.c (__ccoshf): Likewise.
2418 * math/s_ccoshl.c (__ccoshl): Likewise.
2419 * math/s_csin.c (__csin): Likewise.
2420 * math/s_csinf.c (__csinf): Likewise.
2421 * math/s_csinh.c (__csinh): Likewise.
2422 * math/s_csinhf.c (__csinhf): Likewise.
2423 * math/s_csinhl.c (__csinhl): Likewise.
2424 * math/s_csinl.c (__csinl): Likewise.
2425 * math/libm-test.inc (ccos_test): Add more tests.
2426 (ccosh_test): Likewise.
2427 (csin_test): Likewise.
2428 (csinh_test): Likewise.
2430 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2432 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2433 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2434 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2435 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2436 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2437 powerpc/power5+/fpu folders.
2438 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2441 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2445 2013-04-25 Joseph Myers <joseph@codesourcery.com>
2447 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2448 additions to variable.
2449 [$(config-machine) = x86_64] (modules-names): Likewise.
2450 ($(objpfx)tst-audit3): Remove dependency.
2451 ($(objpfx)tst-audit3.out): Likewise.
2452 ($(objpfx)tst-audit4): Likewise.
2453 ($(objpfx)tst-audit4.out): Likewise.
2454 ($(objpfx)tst-audit5): Likewise.
2455 ($(objpfx)tst-audit5.out): Likewise.
2456 ($(objpfx)tst-audit6): Likewise.
2457 ($(objpfx)tst-audit6.out): Likewise.
2458 ($(objpfx)tst-audit7): Likewise.
2459 ($(objpfx)tst-audit7.out): Likewise.
2460 (tst-audit3-ENV): Remove variable.
2461 (tst-audit4-ENV): Likewise.
2462 (tst-audit5-ENV): Likewise.
2463 (tst-audit6-ENV): Likewise.
2464 (tst-audit7-ENV): Likewise.
2465 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2466 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2467 addition to variable.
2468 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2469 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2470 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2471 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2472 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2473 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2474 tst-audit3, tst-audit4 and tst-audit5.
2475 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2476 tst-audit6 and tst-audit7.
2477 [$(subdir) = elf] (modules-names): Add audit modules for those
2479 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2480 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2481 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2482 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2483 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2484 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2485 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2486 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2487 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2488 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2489 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2490 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2491 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2492 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2493 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2494 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2496 [$(subdir) = elf && $(config-cflags-avx) = yes]
2497 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2498 [$(subdir) = elf && $(config-cflags-avx) = yes]
2499 (CFLAGS-tst-auditmod4a.c): Likewise.
2500 [$(subdir) = elf && $(config-cflags-avx) = yes]
2501 (CFLAGS-tst-auditmod4b.c): Likewise.
2502 [$(subdir) = elf && $(config-cflags-avx) = yes]
2503 (CFLAGS-tst-auditmod6b.c): Likewise.
2504 [$(subdir) = elf && $(config-cflags-avx) = yes]
2505 (CFLAGS-tst-auditmod6c.c): Likewise.
2506 [$(subdir) = elf && $(config-cflags-avx) = yes]
2507 (CFLAGS-tst-auditmod7b.c): Likewise.
2508 * elf/tst-audit3.c: Move to ...
2509 * sysdeps/x86_64/tst-audit3.c: ... here.
2510 * elf/tst-audit4.c: Move to ...
2511 * sysdeps/x86_64/tst-audit4.c: ... here.
2512 * elf/tst-audit5.c: Move to ...
2513 * sysdeps/x86_64/tst-audit5.c: ... here.
2514 * elf/tst-audit6.c: Move to ...
2515 * sysdeps/x86_64/tst-audit6.c: ... here.
2516 * elf/tst-audit7.c: Move to ...
2517 * sysdeps/x86_64/tst-audit7.c: ... here.
2518 * elf/tst-auditmod3a.c: Move to ...
2519 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2520 * elf/tst-auditmod3b.c: Move to ...
2521 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2522 * elf/tst-auditmod4a.c: Move to ...
2523 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2524 * elf/tst-auditmod4b.c: Move to ...
2525 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2526 * elf/tst-auditmod5a.c: Move to ...
2527 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2528 * elf/tst-auditmod5b.c: Move to ...
2529 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2530 * elf/tst-auditmod6a.c: Move to ...
2531 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2532 * elf/tst-auditmod6b.c: Move to ...
2533 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2534 * elf/tst-auditmod6c.c: Move to ...
2535 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2536 * elf/tst-auditmod7a.c: Move to ...
2537 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2538 * elf/tst-auditmod7b.c: Move to ...
2539 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2541 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2544 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2545 define unconditionally.
2546 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2547 define unconditionally.
2548 (INT8_C, INT16_C, etc.): Likewise.
2550 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2552 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2553 __ehdr_start with hidden visibility.
2555 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2557 2013-04-24 Carlos O'Donell <carlos@redhat.com>
2559 * math/libm-test.inc (cos_test): Use accurate hex constants.
2560 (sincost_test): Likewise.
2562 2013-04-24 Joseph Myers <joseph@codesourcery.com>
2564 * math/libm-test.inc (catan_test): Add more tests.
2565 (catanh_test): Likewise.
2567 * math/s_catanf.c (__catanf): Use suffixed floating-point
2569 * math/s_catanhf.c (__catanhf): Likewise.
2570 * math/s_catanhl.c (__catanhl): Likewise.
2571 * math/s_catanl.c (__catanl): Likewise.
2574 * math/s_catan.c (__catan): Calculate imaginary part of result
2575 with log1p not log unless computing log of number close to 0.
2576 * math/s_catanf.c (__catanf): Likewise.
2577 * math/s_catanl.c (__catanl): Likewise.
2578 * math/s_catanh.c (__catanh): Calculate real part of result with
2579 log1p not log unless computing log of number close to 0.
2580 * math/s_catanhf.c (__catanhf): Likewise.
2581 * math/s_catanhl.c (__catanhl): Likewise.
2582 * math/libm-test.inc (catan_test): Add more tests.
2583 (catanh_test): Likewise.
2584 * sysdeps/i386/fpu/libm-test-ulps: Update.
2585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2587 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2589 * benchtests/Makefile: Mention files in which fast and slow
2590 paths of math functions are implemented.
2592 2013-04-23 Roland McGrath <roland@hack.frob.com>
2594 * sysdeps/posix/timespec_get.c: New file.
2596 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2598 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2600 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2602 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2603 powerpc/power5/fpu folders.
2604 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2605 * benchtests/Makefile: Add modf testcase.
2606 * benchtests/bench-modf.c: New file: Benchmark test for mo
2608 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2611 * time/Makefile (tests): Add tst-strptime-whitespace.
2612 * time/strptime_l.c (get_number): Use ISSPACE.
2613 (__strptime_internal): Likewise.
2614 * time/tst-strptime-whitespace.c: New test case.
2616 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2618 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2620 (_nss_files_init): Set it here.
2622 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2624 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2625 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2628 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2630 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2632 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2634 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2637 2013-04-21 David S. Miller <davem@davemloft.net>
2639 * po/ru.po: Update Russion translation from translation project.
2641 2013-04-17 Adam Conrad <adconrad@0c3.net>
2643 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2646 2013-04-17 Carlos O'Donell <carlos@redhat.com>
2648 * configure.in: Remove i386 configure warning. Remove i386 case.
2649 * configure: Regenerate.
2650 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
2651 Add example to error message.
2652 * sysdeps/i386/configure: Regenerate.
2654 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2656 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2658 * benchtests/cos-inputs: New file.
2659 * benchtests/slowcos-inputs: New file.
2660 * benchtests/slowcos.c: New file.
2661 * benchtests/slowtan-inputs: New file.
2662 * benchtests/slowtan.c: New file.
2663 * benchtests/tan-inputs: New file.
2665 2013-04-16 Roland McGrath <roland@hack.frob.com>
2667 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2670 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2672 * benchtests/Makefile: Include cppflags-iterator.mk to add
2673 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2675 * Makefile.in (bench-clean): New target.
2676 * benchtests/Makefile (bench-clean): Likewise.
2678 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2680 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2682 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2684 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2686 2013-04-15 Andreas Schwab <schwab@suse.de>
2688 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2689 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2690 * nscd/pwdcache.c (cache_addpw): Likewise.
2691 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2694 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2696 * benchtests/Makefile (bench): Write all output to
2697 bench-out.tmp together.
2699 2013-04-15 Andreas Schwab <schwab@suse.de>
2701 * nscd/nscd.c (main): Don't fork again after closing files.
2703 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2705 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2707 * benchtests/Rules (bench-deps): Collect dependencies into a
2708 single variable. Add Makefile to dependencies.
2709 ($(objpfx)bench-%.c): Depend on bench-deps.
2711 2013-04-12 Roland McGrath <roland@hack.frob.com>
2712 Xavier Roche <roche+kml2@exalead.com>
2715 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2716 just that it's a file descriptor.
2717 * manual/llio.texi (Synchronizing AIO Operations): Update description
2718 for EBADF error from aio_fsync.
2720 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2722 * Rules (bench): Move target definition...
2723 * benchtests/Makefile: ... here.
2725 2013-04-11 Carlos O'Donell <carlos@redhat.com>
2727 * math/libm-test.inc (cos_test): Fix PI/2 test.
2728 (sincos_test): Likewise.
2729 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2730 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2732 2013-04-11 Andreas Schwab <schwab@suse.de>
2735 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2736 accept exponent character only when digits were seen.
2737 * stdio-common/Makefile (tests): Add bug26.
2738 * stdio-common/bug26.c: New file.
2741 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2744 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2746 * Makeconfig (rtld-prefix): Define built linker prefix.
2747 * Rules (run-bench): Use it.
2748 * math/Makefile (run-regen-ulps): Likewise.
2750 * Rules (bench): Remove eval.
2752 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2753 Roland McGrath <roland@hack.frob.com>
2754 Ondrej Bilka <neleai@seznam.cz>
2757 * time/getdate.c: Include ctype.h and alloca.h.
2758 (__getdate_r): Trim leading and trailing spaces of input.
2759 * time/tst-getdate.c (tests): Add tests with leading and
2762 2013-04-08 Roland McGrath <roland@hack.frob.com>
2765 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2766 when computing value.
2768 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2770 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2771 Use testrun.sh to run libm tests.
2774 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2776 2013-04-06 Marko Myllynen <myllynen@redhat.com>
2779 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2781 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2783 * Makefile.in (regen-ulps): New target.
2784 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2785 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2786 [ifneq (no,$(PERL)] (regen-ulps): New target.
2787 [ifeq (no,$(PERL)] (regen-ulps): New target.
2788 * math/libm-test.inc (ulps_file_name): Define.
2789 (output_dir): New variable.
2790 (options): Add "output-dir" option.
2791 (parse_opt): Handle 'o' case.
2792 (main): If output_dir is non-NULL use it as a prefix
2794 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2796 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2799 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2800 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2801 fail configure if __sync_val_compare_and_swap is not inlined.
2802 * sysdeps/i386/configure: Regenerate.
2803 * configure.in: Build for i686 when configured for i386.
2804 * configure: Regenerate.
2805 * README: Remove i386 reference.
2807 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2809 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2810 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2812 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2814 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2815 (lmsnanval): New variables.
2816 (F): Add conversion tests.
2817 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2818 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2820 * stdio-common/tstdiomisc.c (F): Properly collect individual
2824 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2825 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2826 Instead, use input NaN values or generate a qNaN by arithmetic
2827 operation. Also fix bugs to comply with the standard.
2828 * math/libm-test.inc (remainder_test): Add more tests.
2831 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2833 input NaN values or generate a qNaN by arithmetic operation.
2835 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2838 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2841 2013-04-03 Joseph Myers <joseph@codesourcery.com>
2844 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2846 * math/s_cexpf.c (__cexpf): Likewise.
2847 * math/s_cexpl.c (__cexpl): Likewise.
2848 * math/libm-test.inc (cexp_test): Add more tests.
2850 2013-04-03 Andreas Schwab <schwab@suse.de>
2853 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2854 order arrays from heap if bigger than alloca cutoff.
2856 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2858 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2859 (SNAN_TESTS_double): Refer to GCC PR56831.
2860 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2863 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2865 * Rules (bench): Move bench.out after the run is complete.
2867 * Rules (bench): Echo currently running benchmark.
2869 * benchtests/Makefile (bench): Add atan and slowatan.
2870 * benchtests/atan-inputs: New file.
2871 * benchtests/slowatan-inputs: New file.
2872 * benchtests/slowatan.c: New file.
2874 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2879 * sysdeps/unix/sysv/linux/kernel-features.h
2880 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2881 __ASSUME_XFS_RESTRICTED_CHOWN.
2882 * sysdeps/unix/sysv/linux/pathconf.c
2883 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2884 Save and restore errno.
2886 2013-04-02 Joseph Myers <joseph@codesourcery.com>
2889 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2890 arguments using __kernel_casinh.
2891 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2892 arguments using __kernel_casinhf.
2893 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2894 arguments using __kernel_casinhl.
2895 * math/libm-test.inc (cacosh_test): Add more tests.
2896 * sysdeps/i386/fpu/libm-test-ulps: Update.
2897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2899 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2901 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2904 * bench/Makefile (bench): Add sin and slowsin.
2905 * benchtests/sin-inputs: New file.
2906 * benchtests/slowsin-inputs: New file.
2907 * benchtests/slowsin.c: New file.
2909 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2910 (bench): Add slowexp and slowpow.
2911 (exp-ITER): Increase iterations.
2912 (pow-ITER): Likewise.
2913 * benchtests/exp-inputs: Change input.
2914 * benchtests/pow-inputs: Likewise.
2915 * benchtests/slowexp-inputs: New file.
2916 * benchtests/slowexp.c: New file.
2917 * benchtests/slowpow-inputs: New file.
2918 * benchtests/slowpow.c: New file.
2920 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2922 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2924 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2925 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2926 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2927 * benchtests/Makefile: Add rint benchtest.
2928 * benchtests/rint-inputs: Input for rint benchtest.
2930 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2932 * Versions.def (libm): Add GLIBC_2.18.
2933 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2934 hidden libm prototypes.
2935 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2936 * math/Makefile (libm-calls): Add s_issignaling.
2937 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2938 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2939 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2941 * math/math.h [__USE_GNU] (issignaling): New macro.
2942 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2943 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2944 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2945 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2946 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2947 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2948 * manual/arith.texi (issignaling): New section.
2949 * manual/libm-err-tab.pl (@all_functions): Update comment.
2950 * math/gen-libm-test.pl (parse_args): Apply special handling for
2952 * math/libm-test.inc (print_float, issignaling_test): New
2954 (check_float_internal): Add issignaling checks.
2955 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2957 * sysdeps/powerpc/math-tests.h: New file.
2958 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2960 * math/test-snan.c (TEST_FUNC): Likewise.
2962 2013-03-30 David S. Miller <davem@davemloft.net>
2964 * po/de.po: Update from translation team.
2966 2013-03-30 Joseph Myers <joseph@codesourcery.com>
2969 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2970 imaginary part less than 1.0 and real part less than 0.5
2972 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2973 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2974 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2975 (cacos_test): Add more tests.
2976 (casin_test): Likewise.
2977 (casinh_test): Likewise.
2978 * sysdeps/i386/fpu/libm-test-ulps: Update.
2979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2981 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2983 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2986 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2987 (__pow_mp): Replace ONE and MONE with their values.
2988 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2989 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2990 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2991 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2992 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2993 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2995 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2997 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2998 (__pow_mp): Replace ZERO and MZERO with their values.
2999 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3000 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3001 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3003 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3004 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3007 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3009 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3011 2013-03-28 Roland McGrath <roland@hack.frob.com>
3013 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3014 Declare with __attribute__ ((weak)).
3015 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3016 Call __call_tls_dtors only if it's not NULL.
3018 2013-03-28 Roland McGrath <roland@hack.frob.com>
3020 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3021 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3022 magic __ehdr_start linker symbol if it's defined.
3023 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3024 them up here if it was already done.
3026 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3027 (_dl_aux_init): Use const in cast when setting it.
3028 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3029 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3030 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3032 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3034 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3035 * csu/libc-tls.c: Nor here.
3036 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3038 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3039 (__libc_message): Never call vsyslog.
3041 2013-03-28 Alan Modra <amodra@gmail.com>
3043 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3045 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3048 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3055 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3058 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3059 Don't add gid passed as argument.
3061 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3063 2013-03-27 Joseph Myers <joseph@codesourcery.com>
3066 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3067 imaginary part between 1.0 and 1.5 and real part less than 0.5
3069 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3070 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3071 * math/libm-test.inc (cacos_test): Add more tests.
3072 (casin_test): Likewise.
3073 (casinh_test): Likewise.
3074 * sysdeps/i386/fpu/libm-test-ulps: Update.
3075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3077 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3079 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3083 (__dbl_mp): Likewise.
3084 (add_magnitudes): Likewise.
3085 (sub_magnitudes): Likewise.
3093 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3095 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3096 (__dubcos): Likewise.
3097 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3098 (__ieee754_acos): Likewise.
3099 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3100 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3102 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3105 (my_log2): Likewise.
3106 (checkint): Likewise.
3107 * sysdeps/ieee754/dbl-64/e_remainder.c
3108 (__ieee754_remainder): Likewise.
3109 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3110 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3112 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3114 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3115 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3116 MANTISSA_STORE_T to store computations on mantissa. Use
3117 macros for rounding and division.
3119 (__dbl_mp): Likewise.
3120 (add_magnitudes): Likewise.
3121 (sub_magnitudes): Likewise.
3124 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3125 powers of two in terms of TWOPOW macro.
3126 (mp_no): Make type of mantissa as MANTISSA_T.
3127 [!RADIXI]: Define RADIXI.
3128 [!TWO52]: Define TWO52.
3129 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3131 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3133 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3134 llroundl symbol when building for PPC32.
3136 2013-03-24 Mark H Weaver <mhw@netris.org>
3138 * manual/arith.texi (Normalization Functions): Fix prototypes for
3139 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3141 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3144 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3145 high value to check if expl overflow.
3146 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3147 to check for underflow and overflow.
3148 * math/libm-test.inc: Add exp test.
3150 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3153 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3156 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3158 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3161 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3163 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3164 wrap blocks consisting of several statements.
3166 * sysdeps/generic/math-tests.h: New file.
3167 * sysdeps/i386/fpu/math-tests.h: Likewise.
3168 * math/test-snan.c: Include it.
3169 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3171 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3174 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3175 (__ieee754_j0l): Do not improve calculations using cos of twice
3176 input for inputs above LDBL_MAX / 2.0L.
3177 (__ieee754_y0l): Likewise.
3178 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3179 (__ieee754_j1l): Do not improve calculations using cos of twice
3180 input for inputs above LDBL_MAX / 2.0L.
3181 (__ieee754_y1l): Likewise.
3182 * math/libm-test.inc (j0_test): Add another test.
3183 (j1_test): Likewise.
3184 (y0_test): Likewise.
3185 (y1_test): Likewise.
3186 * sysdeps/i386/fpu/libm-test-ulps: Update.
3188 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3190 * Rules ($(objpfx)bench-%.c): Include code from a C source
3193 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3196 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3197 imaginary part 1.0 and real part less than 0.5 specially.
3198 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3199 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3200 * math/libm-test.inc (cacos_test): Add more tests.
3201 (casin_test): Likewise.
3202 (casinh_test): Likewise.
3203 * sysdeps/i386/fpu/libm-test-ulps: Update.
3204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3206 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3208 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3209 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3211 2013-03-20 Joseph Myers <joseph@codesourcery.com>
3213 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3214 * config.make.in (config-cflags-sse4): Remove variable.
3215 (config-cflags-avx): Likewise.
3216 (config-cflags-sse2avx): Likewise.
3217 (config-cflags-novzeroupper): Likewise.
3218 (config-asflags-i686): Likewise.
3219 (have-mfma4): Likewise.
3220 (have-as-vis3): Likewise.
3222 * configure.in (MIG): Do not AC_SUBST.
3223 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3224 (libc_cv_cc_sse4): Do not AC_SUBST.
3225 (libc_cv_cc_avx): Likewise.
3226 (libc_cv_cc_sse2avx): Likewise.
3227 (libc_cv_cc_novzeroupper): Likewise.
3228 (libc_cv_cc_fma4): Likewise.
3229 (libc_cv_as_i686): Likewise.
3230 (libc_cv_sparc_as_vis3): Likewise.
3231 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3233 (config-asflags-i686): Likewise.
3234 (config-cflags-avx): Likewise.
3235 (config-cflags-sse2avx): Likewise.
3236 (have-mfma4): Likewise.
3237 (config-cflags-novzeroupper): Likewise.
3238 * sysdeps/mach/configure.in (MIG): Likewise.
3239 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3240 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3242 (config-cflags-avx): Likewise.
3243 (config-cflags-sse2avx): Likewise.
3244 (have-mfma4): Likewise.
3245 (config-cflags-novzeroupper): Likewise.
3246 * configure: Regenerated.
3247 * sysdeps/i386/configure: Likewise.
3248 * sysdeps/mach/configure: Likewise.
3249 * sysdeps/sparc/configure: Likewise.
3250 * sysdeps/x86_64/configure: Likewise.
3252 2013-03-20 Roland McGrath <roland@hack.frob.com>
3255 * locale/programs/localedef.c (options): Put N_ translation marker
3256 on argument names, not just descriptions.
3258 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3260 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3262 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
3265 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3267 2013-03-19 Roland McGrath <roland@hack.frob.com>
3269 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3270 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3271 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3272 [!BEFORE_ABORT] (before_abort): New function.
3273 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3274 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3275 (writev_for_fatal): New function.
3276 (WRITEV_FOR_FATAL): New macro; call that.
3277 (backtrace_and_maps): New function.
3278 (BEFORE_ABORT): New macro; call that.
3279 (struct str_list): Type removed.
3280 (__libc_message, __libc_fatal): Functions removed.
3281 Include <sysdeps/posix/libc_fatal.c> instead.
3283 2013-03-19 Joseph Myers <joseph@codesourcery.com>
3285 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3287 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3290 2013-03-19 Andreas Schwab <schwab@suse.de>
3292 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3293 * sysdeps/gnu/configure: Regenerate.
3295 * configure.in: Substitute libc_cv_rtlddir.
3296 * configure: Regenerate.
3297 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3298 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3299 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3300 * elf/Makefile (install-others, CFLAGS-interp.c)
3301 (ldso_install, common-ldd-rewrite): Likewise.
3302 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3303 $(inst_slibdir)/$(rtld-installed-name).
3304 * scripts/rellns-sh: Add -p option.
3305 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3308 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3310 * manual/nptl.texi: Renamed to ...
3311 * manual/threads.texi: ... this.
3312 * manual/Makefile (chapters): Update.
3314 2013-03-18 Roland McGrath <roland@hack.frob.com>
3317 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3318 on argument names, not just descriptions.
3319 * malloc/memusagestat.c (options): Likewise.
3320 * nss/getent.c (options): Likewise.
3322 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
3325 * iconv/iconv_prog.c (options): Put N_ translation marker
3326 on argument names, not just descriptions.
3327 * iconv/iconvconfig.c (options): Likewise.
3329 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
3331 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3332 implementation which is faster on all x86_64 architectures.
3333 Tested on AMD, Intel Nehalem, SNB, IVB.
3334 * sysdeps/x86_64/strnlen.S: Likewise.
3336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3337 Remove all multiarch strlen and strnlen versions.
3338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3339 Remove strlen and strnlen related parts.
3341 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3343 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3345 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3346 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3347 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3348 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3349 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3350 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3352 2013-03-17 Carlos O'Donell <carlos@redhat.com>
3354 * manual/memory.texi (Malloc Tunable Parameters):
3355 Sort parameters alphabetically. Add comments for missing entries.
3357 2013-03-17 David S. Miller <davem@davemloft.net>
3359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3361 2013-03-16 Joseph Myers <joseph@codesourcery.com>
3364 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3365 for arguments at most half maximum finite value.
3366 * math/libm-test.inc (j0_test): Add more tests.
3367 (j1_test): Likewise.
3368 (y0_test): Likewise.
3369 (y1_test): Likewise.
3370 * sysdeps/i386/fpu/libm-test-ulps: Update.
3371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3374 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3375 1 / x and functions P and Q for arguments above 0x1p256L.
3376 (__ieee754_y0l): Likewise.
3377 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3378 (__ieee754_y1l): Likewise.
3379 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3380 (j1_test): Likewise.
3381 (y0_test): Likewise.
3382 (y1_test): Likewise.
3384 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3386 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3389 2013-03-15 Roland McGrath <roland@hack.frob.com>
3391 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3392 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3393 zero since it's initialized to EXEC_PAGESIZE.
3395 * sysdeps/unix/sysv/linux/ldsodefs.h
3396 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3397 * sysdeps/generic/ldsodefs.h: ... here.
3399 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3401 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3403 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3405 * math/test-snan.c: Renamed from
3406 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3407 * math/Makefile (tests): Add test-snan.
3408 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3411 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3412 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3414 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3415 __builtin_nan family of functions.
3416 * math/libm-test.inc (initialize): Initialize qnan_value with
3417 __builtin_nan family of functions.
3418 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3420 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3422 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3423 storage class. Initialize qNaN_var and sNaN_var with
3424 __builtin_nan and __builtin_nans families of functions,
3427 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3428 (sqrt_test): Remove duplicate test with qNaN input.
3429 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3430 (round_test, signbit_test, significand_test): Note missing +/-Inf
3431 as well as qNaN tests.
3433 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3434 qNaN_var. Fix a few strings, too.
3435 * math/libm-test.inc (nan_value): Rename to qnan_value.
3436 * math/gen-libm-test.pl (%beautify): Adjust to that.
3437 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3438 * math/test-misc.c (main): Likewise.
3439 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3440 to __qnan_bytes, and __qnan_union, respectively.
3441 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3443 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3444 and lqnanval, respectively.
3445 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3446 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3447 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3448 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3450 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3451 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3454 * math/test-misc.c (main): Fix copy'n'pastos.
3455 * misc/tst-efgcvt.c (special): Likewise.
3457 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3458 Remove declarations.
3460 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3462 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3463 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3464 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3465 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3467 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3469 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3470 macro to return vdso values correctly in IFUNC implementations.
3471 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3472 Optimization by using IFUNC.
3474 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3475 Richard Henderson <rth@redhat.com>
3476 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3478 * Makefile.in (bench): New target.
3479 * NEWS: Mention the benchmark framework.
3480 * Rules (bench): Likewise.
3481 (binaries-bench): Generate binaries for functions to
3483 * benchtests/Makefile: New makefile for benchmark tests.
3484 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3486 * benchtests/exp-inputs: New input file for EXP function.
3487 * benchtests/pow-inputs: New input file for POW function.
3488 * scripts/bench.pl: New script to generate source files for
3491 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3493 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3494 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3495 computations on mantissa. Use macros for rounding and
3498 (__dbl_mp): Likewise.
3499 (add_magnitudes): Likewise.
3500 (sub_magnitudes): Likewise.
3503 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3504 powers of two in terms of TWOPOW macro.
3505 (mp_no): Make type of mantissa as MANTISSA_T.
3506 [!RADIXI]: Define RADIXI.
3507 [!TWO52]: Define TWO52.
3508 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3510 * manual/nptl.texi (cindex): Modify threads to pthreads.
3512 2013-03-15 Joseph Myers <joseph@codesourcery.com>
3514 * sysdeps/x86_64/preconfigure: Regenerated.
3516 2013-03-14 Joseph Myers <joseph@codesourcery.com>
3519 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3521 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3522 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3524 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3525 * math/libm-test.inc (j0_test): Do not allow one spurious
3526 underflow exception.
3527 (y1_test): Likewise.
3529 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3531 * manual/Makefile (chapters): Add nptl.
3532 * manual/debug.texi (Debugging Support): Add link to Threads
3534 * manual/nptl.texi: New file.
3536 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3538 2013-03-14 Petr Baudis <pasky@ucw.cz>
3540 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3541 for non-NULL pointer before the memory validity test. Pointed
3542 out by Holger Brunck <holger.brunck@keymile.com>.
3544 2013-03-13 Andreas Schwab <schwab@suse.de>
3546 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3549 2013-03-13 Joseph Myers <joseph@codesourcery.com>
3551 * timezone/zic.c: Update from tzcode 2013b.
3553 2013-03-12 Carlos O'Donell <carlos@redhat.com>
3555 * manual/install.texi (Configuring and compiling):
3556 Mention i686 and i586.
3557 * INSTALL: Regenerate.
3559 2013-03-12 Roland McGrath <roland@hack.frob.com>
3561 * sysdeps/init_array/elf-init.c: New file.
3563 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3564 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3566 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3567 __gmon_start__ as global, but as static with a .preinit_array pointer.
3568 * sysdeps/init_array/gmon-start.c: New file. Use that.
3569 * sysdeps/init_array/crti.S: New file, empty except for comments.
3570 * sysdeps/init_array/crtn.S: Likewise.
3572 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
3574 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3577 Remove Prefer_SSE_for_memop.
3578 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3579 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3580 HAS_PREFER_SSE_FOR_MEMOP.
3581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3583 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3584 Remove bzero, memset ifunc support.
3585 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3586 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3587 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3588 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3590 2013-03-11 Andreas Schwab <schwab@suse.de>
3593 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3596 (GLIBC_2.16): Remove pthread_atfork.
3598 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3600 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3601 (ptestcases.h): Likewise.
3603 2013-03-08 Roland McGrath <roland@hack.frob.com>
3605 * Makeconfig ($(common-objpfx)config.status): Depend on
3606 sysdeps/*/preconfigure{,.in} too.
3608 2013-03-08 Joseph Myers <joseph@codesourcery.com>
3610 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3611 (__free_hook): Use void * instead of __malloc_ptr_t.
3612 (__malloc_hook): Likewise.
3613 (__realloc_hook): Likewise.
3614 (__memalign_hook): Likewise.
3615 (__after_morecore_hook): Likewise.
3616 * malloc/arena.c (save_malloc_hook): Likewise.
3617 (save_free_hook): Likewise.
3618 * malloc/hooks.c (malloc_hook_ini): Likewise.
3619 (realloc_hook_ini): Likewise.
3620 (memalign_hook_ini): Likewise.
3621 * malloc/malloc.c (malloc_hook_ini): Likewise.
3622 (realloc_hook_ini): Likewise.
3623 (memalign_hook_ini): Likewise.
3624 (__free_hook): Likewise.
3625 (__malloc_hook): Likewise.
3626 (__realloc_hook): Likewise.
3627 (__memalign_hook): Likewise.
3628 (__libc_malloc): Likewise.
3629 (__libc_free): Likewise.
3630 (__libc_realloc): Likewise.
3631 (__libc_memalign): Likewise.
3632 (__libc_valloc): Likewise.
3633 (__libc_pvalloc): Likewise.
3634 (__libc_calloc): Likewise.
3635 (__posix_memalign): Likewise.
3636 * malloc/morecore.c (__sbrk): Likewise.
3637 (__default_morecore): Likewise.
3639 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3641 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3642 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3645 * malloc/malloc.h (__malloc_size_t): Remove macro.
3646 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3648 (old_memalign_hook): Likewise.
3649 (old_realloc_hook): Likewise.
3650 (struct hdr): Likewise.
3652 (mallochook): Likewise.
3653 (memalignhook): Likewise.
3654 (reallochook): Likewise.
3655 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3656 (tr_old_realloc_hook): Likewise.
3657 (tr_old_memalign_hook): Likewise.
3658 (tr_mallochook): Likewise.
3659 (tr_reallochook): Likewise.
3660 (tr_memalignhook): Likewise.
3662 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3664 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3665 default_ldbl_pack and using as default implementation.
3666 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3668 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3669 redundant definition.
3670 (ldbl_insert_mantissa): Likewise.
3671 (ldbl_canonicalize): Likewise.
3672 (ldbl_nearbyint): Likewise.
3673 (ldbl_pack): Rename to ldbl_pack_ppc.
3674 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3675 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3676 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3678 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3681 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3682 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3683 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3685 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3686 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3687 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3689 2013-03-07 Andreas Jaeger <aj@suse.de>
3691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3694 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3696 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3697 Include mpa.h and declare __MPEXP.
3698 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3699 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3700 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3701 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3702 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3703 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3704 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3706 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3707 (__slowpow): Use long double EXPL and LOGL functions to
3709 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3710 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3711 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3712 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3713 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3714 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3716 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3717 intermediate variable to calculate exponent.
3719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3723 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3724 [!NO__SQR]: Define __sqr.
3725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3726 and NO__SQR. Remove all code except __mul and __sqr. Include
3727 sysdeps/ieee754/dbl-64/mpa.c.
3728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3731 * posix/Makefile (tests): Add tst-pathconf.
3732 * posix/tst-pathconf.c: New test case.
3733 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3735 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3737 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
3739 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3741 2013-03-06 Andreas Jaeger <aj@suse.de>
3743 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3744 definition via __MAP_ANONYMOUS.
3746 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3747 it's not part of Linux headers.
3749 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3750 (MAP_HUGE_MASK): Define.
3752 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3754 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3755 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3757 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3758 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3760 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3761 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3763 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3765 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3766 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3767 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3768 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3769 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3770 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3772 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3775 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3776 Handle f2fs and efivarfs.
3778 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3781 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3782 (EFIVARFS_MAGIC): Add.
3783 (F2FS_LINK_MAX): Add.
3785 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3787 * stdio-common/vfprintf.c: Replace __builtin_expect with
3790 2013-03-06 Joseph Myers <joseph@codesourcery.com>
3793 * sysdeps/generic/bp-sym.h: Remove file.
3794 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3795 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3796 <bp-sym.h> and <bp-asm.h>.
3797 (__longjmp): Don't use BP_SYM.
3798 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3800 (memcpy): Don't use BP_SYM.
3801 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3802 <bp-sym.h> and <bp-asm.h>.
3803 (memcpy): Don't use BP_SYM.
3804 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3806 (memcpy): Don't use BP_SYM.
3807 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3809 (memset): Don't use BP_SYM.
3810 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3811 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3812 (__bzero): Don't use BP_SYM.
3813 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3814 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3815 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3816 <bp-sym.h> and <bp-asm.h>.
3817 (memcmp): Don't use BP_SYM. Remove comment about bounded
3819 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3820 <bp-sym.h> and <bp-asm.h>.
3821 (memcpy): Don't use BP_SYM.
3822 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3823 <bp-sym.h> and <bp-asm.h>.
3824 (memset): Don't use BP_SYM.
3825 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3826 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3827 (__bzero): Don't use BP_SYM.
3828 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3829 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3830 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3831 <bp-sym.h> and <bp-asm.h>.
3832 (strncmp): Don't use BP_SYM. Remove comment about bounded
3834 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3835 <bp-sym.h> and <bp-asm.h>.
3836 (memcpy): Don't use BP_SYM.
3837 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3838 <bp-sym.h> and <bp-asm.h>.
3839 (memset): Don't use BP_SYM.
3840 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3841 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3842 (__bzero): Don't use BP_SYM.
3843 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3844 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3845 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3846 <bp-sym.h> and <bp-asm.h>.
3847 (__memchr): Don't use BP_SYM.
3848 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3849 <bp-sym.h> and <bp-asm.h>.
3850 (memcmp): Don't use BP_SYM. Remove comment about bounded
3852 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3853 <bp-sym.h> and <bp-asm.h>.
3854 (memcpy): Don't use BP_SYM.
3855 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3856 <bp-sym.h> and <bp-asm.h>.
3857 (__mempcpy): Don't use BP_SYM.
3858 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3859 <bp-sym.h> and <bp-asm.h>.
3860 (__memrchr): Don't use BP_SYM.
3861 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3862 <bp-sym.h> and <bp-asm.h>.
3863 (memset): Don't use BP_SYM.
3864 (__bzero): Likewise.
3865 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3866 <bp-sym.h> and <bp-asm.h>.
3867 (__rawmemchr): Don't use BP_SYM.
3868 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3869 <bp-sym.h> and <bp-asm.h>.
3870 (__STRCMP): Don't use BP_SYM.
3871 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3872 <bp-sym.h> and <bp-asm.h>.
3873 (strchr): Don't use BP_SYM.
3874 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3875 <bp-sym.h> and <bp-asm.h>.
3876 (__strchrnul): Don't use BP_SYM.
3877 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3878 <bp-sym.h> and <bp-asm.h>.
3879 (strlen): Don't use BP_SYM.
3880 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3881 <bp-sym.h> and <bp-asm.h>.
3882 (strncmp): Don't use BP_SYM. Remove comment about bounded
3884 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3885 <bp-sym.h> and <bp-asm.h>.
3886 (__strnlen): Don't use BP_SYM.
3887 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3888 <bp-sym.h> and <bp-asm.h>.
3889 (__GI__setjmp): Don't use BP_SYM.
3890 (_setjmp): Likewise.
3891 (__sigsetjmp): Likewise.
3892 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3893 (L(start_addresses)): Don't use BP_SYM.
3895 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3897 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3898 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3899 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3900 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3901 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3903 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3904 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3905 about bounded pointers.
3906 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3907 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3908 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3910 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3911 about bounded pointers. Remove GKM FIXME comments.
3912 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3913 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3915 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3916 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3917 Remove GKM FIXME comments.
3918 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3919 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3920 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3922 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3923 about bounded pointers. Remove GKM FIXME comment.
3924 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3926 (strncmp): Don't use BP_SYM. Remove comment about bounded
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3929 <bp-sym.h> and <bp-asm.h>.
3930 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3932 <bp-sym.h> and <bp-asm.h>.
3933 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3936 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3938 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3941 2013-03-05 David S. Miller <davem@davemloft.net>
3943 * po/es.po: Update from translation team.
3945 2013-03-05 Andreas Jaeger <aj@suse.de>
3947 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3948 <bits/mman-linux.h>.
3949 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3951 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3952 <bits/mman-linux.h> to end of file.
3953 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3955 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3956 <bits/mman-linux.h> to end of file.
3957 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3959 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3960 <bits/mman-linux.h> to end of file.
3962 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3963 (MCL_CURRENT, MCL_FUTURE): Define here.
3965 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3968 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3970 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3972 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3974 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3975 fourth parameter needed for rt_sigprocmask syscall.
3976 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3977 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3978 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3979 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3980 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3981 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3983 2013-03-04 Joseph Myers <joseph@codesourcery.com>
3986 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3987 comment about bounded pointers.
3988 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3989 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3991 2013-03-04 Andreas Jaeger <aj@suse.de>
3993 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3996 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3997 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3998 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3999 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4000 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4001 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4003 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4007 __ieee754_sqrl instead of __sqrl.
4009 2013-03-01 Joseph Myers <joseph@codesourcery.com>
4011 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4012 * sysdeps/powerpc/fpu_control.h: ... here.
4013 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4014 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4015 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4016 * sysdeps/powerpc/bits/mathinline.h: ... here.
4018 2013-03-01 Roland McGrath <roland@hack.frob.com>
4020 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4021 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4022 to just [NEED_DL_SYSINFO_DSO].
4023 * elf/dl-support.c: Likewise.
4024 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4025 * elf/rtld.c (dl_main): Likewise.
4026 * elf/setup-vdso.h (setup_vdso): Likewise.
4027 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4028 * sysdeps/unix/sysv/linux/dl-sysdep.c
4029 (_dl_discover_osversion): Likewise.
4031 2013-03-01 Carlos O'Donell <carlos@redhat.com>
4033 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4034 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4036 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4038 * NEWS: Mention libm performance improvements and non-x86 PI
4041 * csu/libc-start.c (__pthread_initialize_minimal): Change
4043 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4045 2013-02-28 Joseph Myers <joseph@codesourcery.com>
4048 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4049 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4050 <bp-sym.h> and <bp-asm.h>.
4051 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4052 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4054 (memcpy): Don't use BP_SYM.
4055 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4057 (__mpn_add_n): Don't use BP_SYM.
4058 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4059 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4061 (__mpn_addmul_1): Don't use BP_SYM.
4062 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4063 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4065 (_setjmp): Don't use BP_SYM.
4066 (__novmx_setjmp): Likewise.
4067 (__GI__setjmp): Likewise.
4068 (__vmx_setjmp): Likewise.
4069 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4071 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4072 (__bzero): Don't use BP_SYM.
4073 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4074 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4075 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4076 <bp-sym.h> and <bp-asm.h>.
4077 (memcpy): Don't use BP_SYM.
4078 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4079 <bp-sym.h> and <bp-asm.h>.
4080 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4081 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4082 <bp-sym.h> and <bp-asm.h>.
4083 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4084 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4086 (__mpn_lshift): Don't use BP_SYM.
4087 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4088 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4090 (memset): Don't use BP_SYM.
4091 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4092 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4093 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4095 (__mpn_mul_1): Don't use BP_SYM.
4096 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4097 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4098 <bp-sym.h> and <bp-asm.h>.
4099 (memcmp): Don't use BP_SYM.
4100 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4101 <bp-sym.h> and <bp-asm.h>.
4102 (memcpy): Don't use BP_SYM.
4103 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4104 <bp-sym.h> and <bp-asm.h>.
4105 (memset): Don't use BP_SYM.
4106 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4107 <bp-sym.h> and <bp-asm.h>.
4108 (strncmp): Don't use BP_SYM.
4109 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4110 <bp-sym.h> and <bp-asm.h>.
4111 (memcpy): Don't use BP_SYM.
4112 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4113 <bp-sym.h> and <bp-asm.h>.
4114 (memset): Don't use BP_SYM.
4115 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4116 <bp-sym.h> and <bp-asm.h>.
4117 (__memchr): Don't use BP_SYM.
4118 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4119 <bp-sym.h> and <bp-asm.h>.
4120 (memcmp): Don't use BP_SYM.
4121 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4122 <bp-sym.h> and <bp-asm.h>.
4123 (memcpy): Don't use BP_SYM.
4124 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4125 <bp-sym.h> and <bp-asm.h>.
4126 (__mempcpy): Don't use BP_SYM.
4127 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4128 <bp-sym.h> and <bp-asm.h>.
4129 (__memrchr): Don't use BP_SYM.
4130 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4131 <bp-sym.h> and <bp-asm.h>.
4132 (memset): Don't use BP_SYM.
4133 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4134 <bp-sym.h> and <bp-asm.h>.
4135 (__rawmemchr): Don't use BP_SYM.
4136 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4137 <bp-sym.h> and <bp-asm.h>.
4138 (__STRCMP): Don't use BP_SYM.
4139 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4140 <bp-sym.h> and <bp-asm.h>.
4141 (strchr): Don't use BP_SYM.
4142 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4143 <bp-sym.h> and <bp-asm.h>.
4144 (__strchrnul): Don't use BP_SYM.
4145 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4146 <bp-sym.h> and <bp-asm.h>.
4147 (strlen): Don't use BP_SYM.
4148 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4149 <bp-sym.h> and <bp-asm.h>.
4150 (strncmp): Don't use BP_SYM.
4151 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4152 <bp-sym.h> and <bp-asm.h>.
4153 (__strnlen): Don't use BP_SYM.
4154 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4156 (__mpn_rshift): Don't use BP_SYM.
4157 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4158 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4159 <bp-sym.h> and <bp-asm.h>.
4160 (__sigsetjmp): Don't use BP_SYM.
4161 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4162 (L(start_addresses)): Don't use BP_SYM.
4164 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4166 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4167 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4168 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4169 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4171 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4172 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4173 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4174 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4176 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4178 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4179 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4181 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4183 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4184 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4185 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4187 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4189 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4191 (strncmp): Don't use BP_SYM,
4192 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4194 (__mpn_sub_n): Don't use BP_SYM.
4195 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4196 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4198 (__mpn_submul_1): Don't use BP_SYM.
4199 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4201 <bp-sym.h> and <bp-asm.h>.
4202 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4204 <bp-sym.h> and <bp-asm.h>.
4205 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4208 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4211 Use ZK to minimize writes to Z.
4212 (sub_magnitudes): Simplify code a bit.
4213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4214 Use ZK to minimize writes to Z.
4215 (sub_magnitudes): Simplify code a bit.
4217 2013-02-27 Roland McGrath <roland@hack.frob.com>
4219 * csu/gmon-start.c: Add special exception to license text.
4221 2013-02-27 Richard Henderson <rth@redhat.com>
4223 * scripts/config.guess: Update from config.git.
4224 * scripts/config.sub: Likewise.
4226 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4228 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4230 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4232 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4234 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4236 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4238 2013-02-26 Roland McGrath <roland@hack.frob.com>
4240 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4241 [$(build-shared = yes].
4243 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4245 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4246 (__mul): Reduce iterations for calculating mantissa.
4248 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4250 (__mpranred): Likewise.
4253 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4254 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4256 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4258 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4259 Define __attribute__.
4261 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4263 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4265 * posix/regex_internal.h (__attribute): Remove.
4266 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4267 (re_string_context_at): Likewise.
4268 (bitset_not): Use __attribute__ and mark function as possibly
4270 (bitset_merge): Likewise.
4271 (bitset_mask): Likewise.
4272 (re_string_char_size_at): Likewise.
4273 (re_string_wchar_at): Likewise.
4274 (re_string_elem_size_at): Likewise.
4276 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4278 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4282 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4287 (__dbl_mp): Likewise.
4288 (add_magnitudes): Likewise.
4289 (sub_magnitudes): Likewise.
4293 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4296 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4299 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4303 up changes with default code.
4304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4307 2013-02-24 Allan McRae <allan@archlinux.org>
4309 * manual/socket.texi (The Internet Namespace): Order menu items
4310 to match that in the file.
4312 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4313 node listing of the info page menu.
4315 2013-02-21 Joseph Myers <joseph@codesourcery.com>
4318 * sysdeps/i386/bp-asm.h: Remove file.
4319 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4320 (PARMS): Do not use macros from bp-asm.h.
4324 (__mpn_add_n): Do not use BP_SYM
4325 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4327 (PARMS): Do not use macros from bp-asm.h.
4330 (__mpn_addmul_1): Do not use BP_SYM
4331 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4333 (PARMS): Do not use macros from bp-asm.h.
4335 (_setjmp): Likewise. Do not use BP_SYM.
4336 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4338 (PARMS): Do not use macros from bp-asm.h.
4340 (setjmp): Likewise. Do not use BP_SYM.
4341 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4343 (PARMS): Do not use macros from bp-asm.h.
4344 (__frexp): Do not use BP_SYM.
4346 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4348 (PARMS): Do not use macros from bp-asm.h.
4349 (__frexpf): Do not use BP_SYM.
4351 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4353 (PARMS): Do not use macros from bp-asm.h.
4354 (__frexpl): Do not use BP_SYM.
4356 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4358 (PARMS): Do not use macros from bp-asm.h.
4359 (__remquo): Do not use BP_SYM.
4361 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4363 (PARMS): Do not use macros from bp-asm.h.
4364 (__remquof): Do not use BP_SYM.
4365 (remquof): Likewise.
4366 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4368 (PARMS): Do not use macros from bp-asm.h.
4369 (__remquol): Do not use BP_SYM.
4370 (remquol): Likewise.
4371 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4373 (PARMS): Do not use macros from bp-asm.h.
4376 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4377 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4379 (PARMS): Do not use macros from bp-asm.h.
4380 (strlen): Do not use BP_SYM.
4381 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4383 (PARMS): Do not use macros from bp-asm.h.
4387 (__mpn_add_n): Do not use BP_SYM.
4388 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4390 (PARMS): Do not use macros from bp-asm.h.
4393 (__mpn_addmul_1): Do not use BP_SYM.
4394 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4397 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4399 (PARMS): Do not use macros from bp-asm.h.
4402 (__mpn_lshift): Do not use BP_SYM.
4403 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4405 (PARMS): Do not use macros from bp-asm.h.
4409 (memcpy): Likewise. Do not use BP_SYM.
4410 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4411 libc_hidden_def and weak_alias.
4412 (mempcpy): Do not use BP_SYM in weak_alias.
4413 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4415 (PARMS): Do not use macros from bp-asm.h.
4418 [!BZERO_P] (CHR): Likewise.
4419 (memset): Likewise. Do not use BP_SYM.
4420 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4422 (PARMS): Do not use macros from bp-asm.h.
4425 (__mpn_mul_1): Do not use BP_SYM.
4426 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4428 (PARMS): Do not use macros from bp-asm.h.
4431 (__mpn_rshift): Do not use BP_SYM.
4432 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4434 (PARMS): Do not use macros from bp-asm.h.
4437 (strchr): Likewise. Do not use BP_SYM.
4438 (index): Do not use BP_SYM in weak_alias.
4439 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4441 (PARMS): Do not use macros from bp-asm.h.
4444 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4445 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4447 (PARMS): Do not use macros from bp-asm.h.
4448 (strlen): Do not use BP_SYM.
4449 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4451 (PARMS): Do not use macros from bp-asm.h.
4455 (__mpn_sub_n): Do not use BP_SYM.
4456 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4458 (PARMS): Do not use macros from bp-asm.h.
4461 (__mpn_submul_1): Do not use BP_SYM.
4462 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4464 (PARMS): Do not use macros from bp-asm.h.
4468 (__mpn_add_n): Do not use BP_SYM.
4469 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4472 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4474 (PARMS): Do not use macros from bp-asm.h.
4477 (memcmp): Do not use BP_SYM.
4478 (bcmp): Do not use BP_SYM in weak_alias.
4479 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4481 (PARMS): Do not use macros from bp-asm.h.
4485 (memcpy): Likewise. Do not use BP_SYM.
4486 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4488 (PARMS): Do not use macros from bp-asm.h.
4492 (memmove): Likewise. Do not use BP_SYM.
4493 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4495 (PARMS): Do not use macros from bp-asm.h.
4499 (__mempcpy): Likewise. Do not use BP_SYM.
4500 (mempcpy): Do not use BP_SYM in weak_alias.
4501 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4503 (PARMS): Do not use macros from bp-asm.h.
4506 [!BZERO_P] (CHR): Likewise.
4507 (memset): Likewise. Do not use BP_SYM.
4508 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4510 (PARMS): Do not use macros from bp-asm.h.
4512 (strcmp): Do not use BP_SYM.
4513 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4515 (PARMS): Do not use macros from bp-asm.h.
4518 [USE_AS_STRTOK_R] (SAVE): Likewise.
4519 (FUNCTION): Likewise. Do not use BP_SYM.
4520 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4522 (strtok_r): Likewise.
4523 (__GI___strtok_r): Likewise.
4524 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4525 (PARMS): Do not use macros from bp-asm.h.
4528 (__mpn_lshift): Do not use BP_SYM.
4529 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4530 (PARMS): Do not use macros from bp-asm.h.
4533 (__memchr): Do not use BP_SYM.
4534 (memchr): Do not use BP_SYM in weak_alias.
4535 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4536 (PARMS): Do not use macros from bp-asm.h.
4539 (memcmp): Do not use BP_SYM.
4540 (bcmp): Do not use BP_SYM in weak_alias.
4541 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4542 (PARMS): Do not use macros from bp-asm.h.
4545 (__mpn_mul_1): Do not use BP_SYM.
4546 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4548 (PARMS): Do not use macros from bp-asm.h.
4551 (__rawmemchr): Do not use BP_SYM.
4552 (rawmemchr): Do not use BP_SYM in weak_alias.
4553 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4554 (PARMS): Do not use macros from bp-asm.h.
4557 (__mpn_rshift): Do not use BP_SYM.
4558 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4559 (PARMS): Do not use macros from bp-asm.h.
4561 (__sigsetjmp): Likewise. Do not use BP_SYM.
4562 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4563 (_start): Do not use BP_SYM.
4564 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4565 (PARMS): Do not use macros from bp-asm.h.
4568 (__stpcpy): Likewise. Do not use BP_SYM.
4569 (stpcpy): Do not use BP_SYM in weak_alias.
4570 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4572 (PARMS): Do not use macros from bp-asm.h.
4576 (__stpncpy): Likewise. Do not use BP_SYM.
4577 (stpncpy): Do not use BP_SYM in weak_alias.
4578 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4579 (PARMS): Do not use macros from bp-asm.h.
4582 (strchr): Likewise. Do not use BP_SYM.
4583 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4585 (PARMS): Do not use macros from bp-asm.h.
4588 (__strchrnul): Likewise. Do not use BP_SYM.
4589 (strchrnul): Do not use BP_SYM in weak_alias.
4590 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4592 (PARMS): Do not use macros from bp-asm.h.
4594 (strcspn): Do not use BP_SYM.
4595 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4597 (PARMS): Do not use macros from bp-asm.h.
4600 (strpbrk): Likewise. Do not use BP_SYM.
4601 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4603 (PARMS): Do not use macros from bp-asm.h.
4606 (strrchr): Likewise. Do not use BP_SYM.
4607 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4608 (PARMS): Do not use macros from bp-asm.h.
4610 (strspn): Do not use BP_SYM.
4611 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4612 (PARMS): Do not use macros from bp-asm.h.
4616 (FUNCTION): Likewise. Do not use BP_SYM.
4617 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4619 (strtok_r): Likewise.
4620 (__GI___strtok_r): Likewise.
4621 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4622 (PARMS): Do not use macros from bp-asm.h.
4626 (__mpn_sub_n): Do not use BP_SYM.
4627 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4629 (PARMS): Do not use macros from bp-asm.h.
4632 (__mpn_submul_1): Do not use BP_SYM.
4633 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4635 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4637 (PARMS): Do not use macros from bp-asm.h.
4642 (__clone): Do not use BP_SYM.
4643 (clone): Do not use BP_SYM in weak_alias.
4644 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4646 (PARMS): Do not use macros from bp-asm.h.
4648 (__mmap64): Do not use BP_SYM.
4649 (mmap64): Do not use BP_SYM in weak_alias.
4650 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4651 <bp-sym.h> and <bp-asm.h>.
4652 (PARMS): Do not use macros from bp-asm.h.
4653 (__posix_fadvise64_l64): Do not use BP_SYM.
4654 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4655 (PARMS): Do not use macros from bp-asm.h.
4657 (semtimedop): Do not use BP_SYM.
4658 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4661 2013-02-21 Allan McRae <allan@archlinux.org>
4663 * manual/message.texi (Charset conversion in gettext):
4664 Move @end statement to beginning of line.
4666 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4673 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4678 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4680 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4681 tail-call to the resolved function if pltexit isn't needed.
4683 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4686 or Y being zero as being unlikely.
4687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4690 2013-02-20 Carlos O'Donell <carlos@redhat.com>
4692 * manual/nss.texi (System Databases and Name Service Switch):
4693 Remove frobnicate @pxref.
4695 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4697 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4698 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4700 2013-02-20 Petr Machata <pmachata@redhat.com>
4702 * elf/elf.h (R_ARM_TARGET1): New macro.
4703 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4704 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4705 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4706 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4707 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4708 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4709 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4710 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4711 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4712 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4713 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4714 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4715 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4716 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4717 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4718 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4719 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4720 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4721 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4722 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4723 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4724 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4725 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4726 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4727 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4728 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4729 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4730 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4731 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4732 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4733 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4734 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4735 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4736 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4737 (R_ARM_THM_GOT_BREL12): Likewise.
4738 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4739 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4740 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4741 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4742 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4743 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4744 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4745 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4746 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4748 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4750 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4751 __attribute_used__ to __attribute__ ((unused)).
4753 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4755 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4761 2013-02-19 Joseph Myers <joseph@codesourcery.com>
4764 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4766 (ENTER): Remove both macro definitions.
4768 (CHECK_BOUNDS_LOW): Likewise.
4769 (CHECK_BOUNDS_HIGH): Likewise.
4770 (CHECK_BOUNDS_BOTH): Likewise.
4771 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4772 (RETURN_BOUNDED_POINTER): Likewise.
4773 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4774 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4775 (POP_ERRNO_LOCATION_RETURN): Likewise.
4776 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4777 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4778 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4780 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4781 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4782 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4783 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4784 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4785 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4786 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4787 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4788 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4789 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4790 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4791 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4792 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4793 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4795 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4796 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4798 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4799 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4800 * sysdeps/i386/i586/memset.S (memset): Likewise.
4801 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4802 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4803 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4805 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4806 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4807 Change uses of L(2) to L(out).
4808 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4809 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4810 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4811 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4812 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4814 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4815 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4817 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4818 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4819 (RETURN): Do not use macro LEAVE.
4820 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4821 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4822 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4823 * sysdeps/i386/i686/memset.S (memset): Likewise.
4824 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4825 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4826 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4827 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4829 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4830 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4831 L(1_2) and L(1_3) into L(1).
4832 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4833 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4834 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4835 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4836 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4837 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4838 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4839 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4840 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4842 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4843 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4844 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4845 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4846 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4847 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4848 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4849 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4850 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4851 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4852 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4853 * sysdeps/i386/strspn.S (strspn): Likewise.
4854 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4856 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4857 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4858 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4859 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4861 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4862 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4863 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4865 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4867 2013-02-19 Jakub Jelinek <jakub@redhat.com>
4869 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4872 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4874 * math/atest-exp.c (exp_mpn): Remove ROUND.
4875 * math/atest-exp2.c (exp_mpn): Likewise.
4876 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4878 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4879 * stdlib/tst-tls-atexit-lib.c: Likewise.
4880 * stdlib/tst-tls-atexit.c: Likewise.
4882 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4884 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4885 and __attribute_alloc_size__.
4887 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4889 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4890 __attribute_alloc_size__.
4891 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4892 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4894 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4896 * include/programs/xmalloc.h: New file.
4897 * catgets/gencat.c: Include it.
4898 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4899 * elf/pldd.c: Likewise.
4900 * iconv/iconv_charmap.c: Likewise.
4901 * iconv/iconvconfig.c: Likewise.
4902 * iconv/strtab.c: Likewise.
4903 * locale/programs/locale.c: Likewise.
4904 * locale/programs/localedef.h: Likewise.
4905 * locale/programs/simple-hash.c: Likewise.
4906 * nscd/nscd.h: Likewise.
4907 * nss/makedb.c: Likewise.
4908 * sysdeps/generic/ldconfig.h: Likewise.
4910 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4912 * Versions.def: Add GLIBC_2.18.
4913 * include/link.h (struct link_map): New member l_tls_dtor_count.
4914 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4915 (__call_tls_dtors): Likewise.
4916 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4917 __cxa_thread_atexit_impl.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4926 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4934 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4935 (tests): Add test case tst-tls-atexit.
4936 (modules-names): Add shared library for tst-tls-atexit.
4937 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4938 (GLIBC_PRIVATE): Add __call_tls_dtors.
4939 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4941 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4942 * stdlib/tst-tls-atexit.c: New test case.
4943 * stdlib/tst-tls-atexit-lib.c: New test case.
4945 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
4947 * elf/Versions (ld): Add _dl_find_dso_for_object.
4948 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4949 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4950 (dl_open_worker): Use _dl_find_dso_for_object.
4951 * elf/dl-sym.c (do_sym): Likewise.
4952 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4954 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4956 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4957 Syntactic changes only.
4958 (_dl_runtime_profile): Do a tail-call to the resolved function.
4960 2013-02-17 Joseph Myers <joseph@codesourcery.com>
4963 * sysdeps/x86_64/bp-asm.h: Remove file.
4964 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4965 <bp-sym.h> and <bp-asm.h>.
4966 (__clone): Do not use BP_SYM.
4967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4968 <bp-sym.h> and <bp-asm.h>.
4969 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4970 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4972 (_setjmp): Do not use BP_SYM.
4973 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4975 (setjmp): Do not use BP_SYM.
4976 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4978 (mempcpy): Do not use BP_SYM in weak_alias.
4979 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4981 (strchr): Do not use BP_SYM.
4982 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4984 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4985 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4986 (_start): Do not use BP_SYM.
4987 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4989 (strcat): Do not use BP_SYM.
4990 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4992 (STRCMP): Do not use BP_SYM.
4993 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4995 (STRCPY): Do not use BP_SYM.
4996 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4998 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5000 (FUNCTION): Do not use BP_SYM.
5001 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5003 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5005 2013-02-17 Andreas Jaeger <aj@suse.de>
5007 * time/Versions: Sort entries.
5008 * string/Versions: Likewise.
5009 * resolv/Versions: Likewise.
5010 * posix/Versions: Likewise.
5011 * iconv/Versions: Likewise.
5012 * elf/Versions: Likewise.
5013 * wcsmbs/Versions: Likewise.
5015 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5017 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5018 loop termination condition.
5020 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5021 variable to calculate EZ.
5024 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5025 the lower precision input.
5027 2013-02-15 Joseph Myers <joseph@codesourcery.com>
5030 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5031 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5032 (run-via-rtld-prefix): Do not handle %-bp tests.
5033 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5034 (all-object-suffixes): Remove .ob.
5035 (bppfx): Remove variable.
5036 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5037 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5038 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5039 [$(build-bounded) = yes] (libtype.ob): Likewise.
5040 * Makerules (elide-routines.ob): Remove variable.
5041 (do-tests-clean): Do not handle *-bp.out.
5042 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5043 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5044 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5045 (tests): Do not include $(tests-bp.out).
5046 (xtests): Do not include $(xtests-bp.out).
5047 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5048 [$(build-bounded) = yes] ($(addprefix
5049 $(objpfx),$(binaries-bounded))): Remove rule.
5050 ($(objpfx)%-bp.out): Remove rule.
5051 * config.make.in (build-bounded): Remove variable.
5052 * crypt/Makefile [$(build-bounded) = yes]
5053 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5054 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5056 [$(build-bounded) = yes] (install-lib): Likewise.
5057 [$(build-bounded) = yes] (generated): Likewise.
5058 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5060 * intl/Makefile [$(build-bounded) = yes]
5061 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5062 * math/Makefile [$(build-bounded) = yes]
5063 ($(tests:%=$(objpfx)%-bp): Likewise.
5064 * misc/Makefile [$(build-bounded) = yes]
5065 ($(objpfx)tst-tsearch-bp): Likewise.
5066 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5067 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5069 * string/Makefile (o-objects.ob): Remove variable.
5070 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5071 (CFLAGS-.ob): Remove variable.
5072 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5073 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5074 both definitions of variable.
5075 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5076 (ASFLAGS-.ob): Remove variable.
5078 2013-02-14 Joseph Myers <joseph@codesourcery.com>
5081 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5082 Remove __BOUNDED_POINTERS__ from condition.
5083 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5084 * string/bits/string2.h [!__NO_STRING_INLINES &&
5085 !__BOUNDED_POINTERS__]: Likewise.
5086 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5088 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5089 Remove conditional code.
5090 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5091 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5092 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5096 * csu/libc-start.c: Do not include <bp-sym.h>.
5097 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5098 * elf/dl-open.c: Do not include <bp-sym.h>.
5099 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5100 * math/fegetenv.c: Do not include <bp-sym.h>.
5101 (fegetenv): Do not use BP_SYM in versioned symbols.
5102 * nptl/sysdeps/pthread/bits/libc-lockP.h
5103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5106 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5108 (__pthread_mutex_destroy): Likewise.
5109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5110 (__pthread_mutex_lock): Likewise.
5111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5112 (__pthread_mutex_trylock): Likewise.
5113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5114 (__pthread_mutex_unlock): Likewise.
5115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5116 (__pthread_mutexattr_init): Likewise.
5117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5118 (__pthread_mutexattr_destroy): Likewise.
5119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5120 (__pthread_mutexattr_settype): Likewise.
5121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5122 (__pthread_rwlock_init): Likewise.
5123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5124 (__pthread_rwlock_destroy): Likewise.
5125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5126 (__pthread_rwlock_rdlock): Likewise.
5127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5128 (__pthread_rwlock_tryrdlock): Likewise.
5129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5130 (__pthread_rwlock_wrlock): Likewise.
5131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5132 (__pthread_rwlock_trywrlock): Likewise.
5133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5134 (__pthread_rwlock_unlock): Likewise.
5135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5136 (__pthread_key_create): Likewise.
5137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5138 (__pthread_setspecific): Likewise.
5139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5140 (__pthread_getspecific): Likewise.
5141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5144 (_pthread_cleanup_push_defer): Likewise.
5145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5146 (_pthread_cleanup_pop_restore): Likewise.
5147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5148 (pthread_setcancelstate): Likewise.
5149 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5151 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5152 (memchr): Do not use BP_SYM in weak_alias.
5153 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5154 (fegetenv): Do not use BP_SYM in versioned symbols.
5155 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5156 (fesetenv): Do not use BP_SYM in versioned symbols.
5157 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5158 (feupdateenv): Do not use BP_SYM in versioned symbols.
5159 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5160 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5161 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5162 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5163 (open64): Do not use BP_SYM in weak_alias.
5164 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5165 (fegetenv): Do not use BP_SYM in versioned symbols.
5166 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5167 (fesetenv): Do not use BP_SYM in versioned symbols.
5168 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5169 (feupdateenv): Do not use BP_SYM in versioned symbols.
5170 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5171 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5172 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5173 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5174 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5175 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5176 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5178 (__libc_start_main): Do not use BP_SYM.
5180 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5183 redundant return line.
5187 (sub_magnitudes): Likewise.
5193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5197 (sub_magnitudes): Likewise.
5204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5206 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5207 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5210 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5211 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5213 of __mul for squares.
5214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5218 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5219 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5221 2013-02-13 Joseph Myers <joseph@codesourcery.com>
5224 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5226 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5227 prototype or function definition. Rename ubp_* variables and
5228 parameters. Remove argv definitions conditional on
5229 [__BOUNDED_POINTERS__].
5230 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5231 * elf/dl-runtime.c (_dl_fixup): Likewise.
5232 * include/set-hooks.h (RUN_HOOK): Likewise.
5233 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5235 * string/strcpy.c (strcpy): Do not use __unbounded.
5236 * sysdeps/generic/frame.h (struct layout): Likewise.
5237 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5238 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5239 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5240 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5241 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5242 (__backtrace): Likewise.
5243 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5245 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5246 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5247 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5249 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5250 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5251 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5252 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5253 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5254 Do not use __unbounded.
5255 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5256 Rename __unboundedrlimits parameter to rlimits in prototype.
5257 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5258 Do not use __unbounded.
5259 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5261 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5262 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5263 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5264 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5265 __ptrvalue or __unbounded.
5266 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5267 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5269 (__new_msgctl): Do not use __ptrvalue.
5270 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5272 (__libc_msgrcv): Do not use __ptrvalue.
5273 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5274 startup_info): Do not use __unbounded.
5275 (__libc_start_main): Likewise. Rename ubp_* variables and
5276 parameters. Remove argv definitions conditional on
5277 [__BOUNDED_POINTERS__].
5278 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5280 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5282 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5284 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5286 (__new_shmctl): Do not use __ptrvalue.
5287 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5288 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5290 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5292 (__libc_sigaction): Likewise.
5293 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5294 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5296 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5298 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
5300 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
5302 * string/mempcpy.c: Implement by calling memcpy.
5304 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5311 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5312 values in the mantissa.
5314 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5315 minimize writes to Z.
5316 (sub_magnitudes): Simplify code a bit.
5318 2013-02-12 Roland McGrath <roland@hack.frob.com>
5320 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5321 from the message. The linker prefixes all warnings with that already.
5323 2013-02-12 Andreas Schwab <schwab@suse.de>
5326 * posix/regexec.c (extend_buffers): Add parameter min_len.
5327 (check_matching): Pass minimum needed length.
5328 (clean_state_log_if_needed): Likewise.
5329 (get_subexp): Likewise.
5330 * posix/Makefile (tests): Add bug-regex34.
5331 (bug-regex34-ENV): Define.
5332 * posix/bug-regex34.c: New file.
5335 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5336 elements compare against the byte sequence of it, not its name.
5337 * posix/Makefile (tests): Add bug-regex35.
5338 (bug-regex35-ENV): Define.
5339 * posix/bug-regex35.c: New file.
5341 2013-02-11 Tom de Vries <tom@codesourcery.com>
5343 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5345 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5346 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5347 (CHECK_EOL): Add undef.
5349 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
5351 * bits/stdlib-bsearch.h: New file.
5352 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
5353 * stdlib/stdlib.h: Likewise.
5355 2013-02-11 Roland McGrath <roland@hack.frob.com>
5357 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5358 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5360 * manual/search.texi (Array Search Function): Add missing const in
5362 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5363 declaration to use rlim_t.
5364 (Basic Scheduling Functions): Remove erroneous const from
5365 sched_getparam prototype. Remove erroneous * from
5366 sched_get_priority_max and sched_get_priority_min prototypes.
5367 (Resource Usage): Fix summary @comment on vtimes to refer to
5368 sys/vtimes.h rather than vtimes.h.
5369 Add missing *s in vtimes prototype.
5370 (Limits on Resources): Fix ulimit prototype to return long int.
5371 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5372 prototypes to use long int rather than double.
5373 (BSD Random): Fix initstate and setstate to use char *, not void *.
5374 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5375 prototype to make second argument 'struct aiocb64 *const[]'.
5376 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5377 (Status of AIO Operations): Remove erroneous const in aio_return and
5378 aio_return64 prototypes.
5379 (Synchronizing I/O): Fix sync prototype to return void.
5380 * manual/startup.texi (Suboptions): Remove an erroneous const in
5381 getsubopt prototype.
5382 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5383 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5384 use size_t rather than int.
5385 (Scanning All Users): Likewise for getpwent_r.
5386 (Setting Groups): Add missing const to setgroups prototype.
5387 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5388 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5389 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5390 'const void *' rather than 'const char *'.
5391 (Host Address Functions): Likewise for inet_ntop.
5392 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5393 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5394 ssize_t for return value.
5395 (Sending Data): Likewise for send, sendto, sendmsg.
5396 (Socket Option Functions): Add a missing const in setsockopt prototype.
5397 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5398 use wchar_t for the argument.
5399 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5400 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5402 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5403 double/float/long double for second argument.
5404 Fix return types of significand, significandf, significandl.
5405 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5406 argument in fchmod prototype.
5407 (File Owner): Use uid_t and gid_t in fchown prototype.
5408 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5409 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5410 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5411 use 'const struct dirent **' as argument types to CMP function pointer
5413 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5414 (File Times): Fix summary magic @comment for struct utimbuf and utime
5415 to refer to utime.h, not time.h.
5416 * manual/string.texi (Argz Functions): Add missing const in
5417 argz_extract and argz_next prototypes.
5418 (Finding Tokens in a String): Likewise for basename.
5419 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5420 (Copying and Concatenation): Fix typo in wmemmove prototype.
5421 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5422 (Signal Stack): Remove erroneous const in sigstack prototype.
5423 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5425 (Simple Calendar Time): Likewise for stime.
5426 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5428 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5429 say sys/sysctl.h instead.
5430 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5431 and vsyslog prototypes.
5433 2013-02-11 Tom de Vries <tom@codesourcery.com>
5435 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5438 2013-02-11 Roland McGrath <roland@hack.frob.com>
5440 * misc/sys/mman.h: Fix typo in mremap comment.
5442 2013-02-08 Roland McGrath <roland@hack.frob.com>
5444 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5445 the '\0' terminator.
5447 2013-02-08 Joseph Myers <joseph@codesourcery.com>
5450 * debug/segfault.c: Don't include <bp-checks.h>.
5451 * sysdeps/generic/bp-checks.h: Remove file.
5452 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5453 (__GETDENTS): Don't use CHECK_N.
5454 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5455 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5456 (__getgroups): Don't use CHECK_N.
5457 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5458 (setgroups): Don't use CHECK_N.
5459 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5460 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5461 (__libc_msgrcv): Don't use CHECK_N.
5462 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5463 (__libc_msgsnd): Don't use CHECK_N.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5466 (__libc_pread): Don't use CHECK_N.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5468 include <bp-checks.h>.
5469 (__libc_pread64): Don't use CHECK_N.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5471 include <bp-checks.h>.
5472 (__libc_pwrite): Don't use CHECK_N.
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5474 include <bp-checks.h>.
5475 (__libc_pwrite64): Don't use CHECK_N.
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5478 (__libc_pread): Don't use CHECK_N.
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5480 include <bp-checks.h>.
5481 (__libc_pread64): Don't use CHECK_N.
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5483 include <bp-checks.h>.
5484 (__libc_pwrite): Don't use CHECK_N.
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5486 include <bp-checks.h>.
5487 (__libc_pwrite64): Don't use CHECK_N.
5488 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5489 (do_pread): Don't use CHECK_N.
5490 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5491 (do_pread64): Don't use CHECK_N.
5492 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5493 (do_pwrite): Don't use CHECK_N.
5494 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5495 (do_pwrite64): Don't use CHECK_N.
5496 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5497 (__libc_readv): Don't use CHECK_N.
5498 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5499 (semop): Don't use CHECK_N.
5500 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5502 (semtimedop): Don't use CHECK_N.
5503 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5504 (__libc_pread): Don't use CHECK_N.
5505 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5507 (__libc_pread64): Don't use CHECK_N.
5508 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5510 (__libc_pwrite): Don't use CHECK_N.
5511 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5513 (__libc_pwrite64): Don't use CHECK_N.
5514 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5516 (__libc_msgrcv): Don't use CHECK_N.
5517 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5518 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5519 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5520 (__libc_writev): Don't use CHECK_N.
5522 2013-02-08 Roland McGrath <roland@hack.frob.com>
5524 * string/strcpy.c: Removed unused variable.
5526 * Makeconfig (+sysdep-includes): Define with := rather than =.
5527 Use an existing include/ subdir of each sysdeps dir before it.
5529 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5531 * nscd/connection.c (register_traced_file): Comment function.
5532 [HAVE_INOTIFY] (union __inev): Define.
5533 [HAVE_INOTIFY] (inotify_check_files): New function.
5534 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5535 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5537 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5539 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5541 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5542 loaded if not already and that a failure is permanent.
5544 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5547 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5548 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5550 2013-02-08 Joseph Myers <joseph@codesourcery.com>
5553 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5554 (CHECK_1_NULL_OK): Likewise.
5555 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5556 (__fxstat): Do not use CHECK_1.
5557 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5559 (___fxstat64): Do not use CHECK_1.
5560 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5562 (__fxstatat): Do not use CHECK_1.
5563 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5565 (__fxstatat64): Do not use CHECK_1.
5566 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5568 (__fxstat): Do not use CHECK_1.
5569 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5571 (__fxstatat): Do not use CHECK_1.
5572 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5574 (__getresgid): Do not use CHECK_1.
5575 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5577 (__getresuid): Do not use CHECK_1.
5578 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5580 (__lxstat): Do not use CHECK_1.
5581 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5583 (__old_msgctl): Do not use CHECK_1.
5584 (__new_msgctl): Likewise.
5585 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5587 (__new_setrlimit): Do not use CHECK_1.
5588 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5590 (__old_shmctl): Do not use CHECK_1.
5591 (__new_shmctl): Likewise.
5592 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5594 (__xstat): Do not use CHECK_1.
5595 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5596 (__lxstat): Do not use CHECK_1.
5597 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5599 (___lxstat64): Do not use CHECK_1.
5600 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5601 (__old_msgctl): Do not use CHECK_1.
5602 (__new_msgctl): Likewise.
5603 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5605 (__gettimeofday): Do not use CHECK_1.
5606 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5607 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5608 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5610 (__gettimeofday): Do not use CHECK_1.
5611 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5612 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5613 (__new_shmctl): Do not use CHECK_1.
5614 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5616 (do_sigtimedwait): Do not use CHECK_1.
5617 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5619 (do_sigwaitinfo): Do not use CHECK_1.
5620 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5622 (msgctl): Do not use CHECK_1.
5623 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5625 (shmctl): Do not use CHECK_1.
5626 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5627 (ustat): Do not use CHECK_1.
5628 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5630 (__fxstat): Do not use CHECK_1.
5631 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5633 (__fxstatat): Do not use CHECK_1.
5634 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5636 (__lxstat): Do not use CHECK_1.
5637 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5639 (__xstat): Do not use CHECK_1.
5640 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5641 (__xstat): Do not use CHECK_1.
5642 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5643 (___xstat64): Do not use CHECK_1.
5646 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5648 (CHECK_BOUNDS_HIGH): Likewise.
5649 * string/strcpy.c: Do not include <bp-checks.h>.
5650 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5652 2013-02-07 Roland McGrath <roland@hack.frob.com>
5654 * nscd/nscd-client.h (__nscd_drop_map_ref):
5655 Add __attribute__ ((unused)).
5656 * nis/nss-nisplus.h (niserr2nss): Likewise.
5658 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5659 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5661 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5662 Remove inline keyword.
5663 * include/rounding-mode.h (round_away): Likewise.
5664 * libio/wfileops.c (adjust_wide_data): Likewise.
5665 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5666 (__m128i_strloadu_tolower): Likewise.
5667 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5668 (__m128i_strloadu_tolower): Likewise.
5669 * time/mktime.c (ydhms_diff): Likewise.
5670 * locale/elem-hash.h (elem_hash): Likewise.
5671 * locale/setlocale.c (setdata): Likewise.
5672 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5673 (re_string_wchar_at): Likewise.
5674 (bitset_not, bitset_merge, bitset_mask): Likewise.
5675 [!(__GNUC__ > 3)] (inline): Remove macro.
5676 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5677 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5678 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5679 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5680 * string/memcmp.c (memcmp_bytes): Likewise.
5681 * locale/programs/locarchive.c (compute_hashval): Likewise.
5682 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5683 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5684 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5685 * nss/getent.c (print_rpc, print_protocols): Likewise.
5686 (print_passwd, print_group, print_aliases): Likewise.
5687 * nis/nss-nisplus.h (niserr2nss): Likewise.
5688 * nscd/connections.c (restart_p): Likewise.
5689 Change return type to bool.
5691 2013-02-05 Roland McGrath <roland@hack.frob.com>
5693 * Makeconfig (all-Depend-files): Add existing
5694 $(sorted-subdirs:=/Depend) files.
5695 (all-subdirs): Remove nss.
5696 * sysdeps/unix/inet/Subdirs: Add it here instead.
5697 * hesiod/Depend: New file.
5699 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5700 instead of calling alloca.
5702 * io/lseek.c (__lseek): Rename to __libc_lseek.
5703 Define __lseek as an alias.
5705 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5707 2013-02-04 Carlos O'Donell <carlos@redhat.com>
5709 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5710 else clause and remove check for non-standard endianness.
5712 2013-02-04 David S. Miller <davem@davemloft.net>
5714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5716 2013-02-04 Joseph Myers <joseph@codesourcery.com>
5719 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5720 (__ubp_memchr): Remove prototype.
5721 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5722 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5723 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5724 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5725 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5727 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5728 (__ubp_memchr): Likewise.
5729 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5730 (__ubp_memchr): Likewise.
5731 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5732 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5733 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5734 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5736 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5737 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5738 (__getcwd): Do not use CHECK_STRING.
5739 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5741 (__real_chown): Do not use CHECK_STRING.
5742 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5744 (fchownat): Do not use CHECK_STRING.
5745 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5747 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5749 (__lchown): Do not use CHECK_STRING.
5750 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5751 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5752 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5753 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5755 include <bp-checks.h>.
5756 (truncate64): Do not use CHECK_STRING.
5757 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5759 (__real_chown): Do not use CHECK_STRING.
5760 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5762 (__lchown): Do not use CHECK_STRING.
5763 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5765 (__chown): Do not use CHECK_STRING.
5766 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5768 (truncate64): Do not use CHECK_STRING.
5769 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5771 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5772 (__xmknod): Do not use CHECK_STRING.
5773 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5775 (__xmknodat): Do not use CHECK_STRING.
5776 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5777 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5779 2013-02-04 Andreas Schwab <schwab@suse.de>
5782 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5783 * include/netdb.h: Likewise for h_errno.
5784 * elf/tst-stackguard1.c: Include <tls.h>.
5786 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5788 * elf/link.h (struct link_map): Extend the l_addr comment.
5789 * include/link.h (struct link_map): Likewise.
5791 2013-02-01 Joseph Myers <joseph@codesourcery.com>
5794 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5795 (BOUNDED_1): Remove macro.
5796 * debug/backtrace.c: Don't include <bp-checks.h>.
5797 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5798 (__backtrace): Likewise.
5799 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5801 (__backtrace): Don't use BOUNDED_1.
5802 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5804 (__backtrace): Don't use BOUNDED_1.
5805 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5806 (__backtrace): Don't use BOUNDED_1.
5807 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5808 (shmat): Don't use BOUNDED_N.
5810 2013-01-31 Joseph Myers <joseph@codesourcery.com>
5813 * sysdeps/generic/bp-start.h: Remove file.
5814 * csu/libc-start.c: Don't include <bp-start.h>.
5815 (LIBC_START_MAIN): Set up __environ directly instead of using
5816 INIT_ARGV_and_ENVIRON.
5817 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5821 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5823 (CHECK_FCNTL): Likewise.
5824 (CHECK_N_PAGES): Likewise.
5827 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5829 (CHECK_SIGSET_NULL_OK): Likewise.
5830 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5832 (sigpending): Don't use CHECK_SIGSET.
5833 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5835 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5836 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5838 (do_sigsuspend): Don't use CHECK_SIGSET.
5839 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5841 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5842 (do_sigwait): Don't use CHECK_SIGSET.
5843 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5846 include <bp-checks.h>.
5847 (sigpending): Don't use CHECK_SIGSET.
5848 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5849 include <bp-checks.h>.
5850 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5851 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5853 (sigpending): Don't use CHECK_SIGSET.
5854 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5856 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5859 * sysdeps/generic/bp-semctl.h: Remove file.
5860 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5861 <bp-checks.h> and <bp-semctl.h>.
5862 (__old_semctl): Don't use CHECK_SEMCTL.
5863 (__new_semctl): Likewise.
5864 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5866 (__old_semctl): Don't use CHECK_SEMCTL.
5867 (__new_semctl): Likewise.
5868 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5869 <bp-checks.h> and <bp-semctl.h>.
5870 (__old_semctl): Don't use CHECK_SEMCTL.
5871 (__new_semctl): Likewise.
5872 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5873 <bp-checks.h> and <bp-semctl.h>.
5874 (semctl): Don't use CHECK_SEMCTL.
5877 * Makerules (elide-bp-thunks): Remove variable.
5878 (elide-routines.oS): Don't use $(elide-bp-thunks).
5879 (elide-routines.os): Likewise.
5880 (elide-routines.o): Likewise.
5881 (elide-routines.op): Likewise.
5882 (elide-routines.og): Likewise.
5883 (objects): Don't use $(bp-thunks).
5884 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5886 (common-generated): Do not add s-proto-bp.d.
5887 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5890 Do not generate makefile rules for bounded-pointer thunks.
5891 * sysdeps/generic/bp-thunks.h: Remove file.
5892 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5893 * sysdeps/unix/s-proto-bp.S: Likewise.
5896 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5897 parts of result separately when argument is not close to line from
5898 -i to i and one part of argument is small.
5899 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5900 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5901 * math/libm-test.inc (cacos_test): Add more tests.
5902 (casin_test): Likewise.
5903 (casinh_test): Likewise.
5904 * sysdeps/i386/fpu/libm-test-ulps: Update.
5905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5907 2013-01-31 David S. Miller <davem@davemloft.net>
5909 * po/de.po: Update from translation team.
5911 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5913 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5915 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5917 * configure.in (_AC_PROG_CC_C89): New definition.
5918 * configure: Regenerate.
5920 * configure.in (AC_PROG_CPP): New definition.
5921 * configure: Regenerate.
5923 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5925 * debug/tst-backtrace.h: New file.
5926 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5927 (ret): Remove variable.
5929 (FAIL): Remove macro.
5930 (NO_INLINE): Likewise.
5931 (fn1): Use match function instead of strstr.
5932 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5933 (ret): Remove variable.
5935 (FAIL): Remove macro.
5936 (NO_INLINE): Likewise.
5937 (fn): Use match function instead of strstr.
5938 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5939 (ret): Remove variable.
5941 (FAIL): Remove macro.
5942 (NO_INLINE): Likewise.
5943 (handle_signal): Use match function instead of strstr.
5944 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5945 (ret): Remove variable.
5947 (FAIL): Remove macro.
5948 (NO_INLINE): Likewise.
5949 (handle_signal): Use match function instead of strstr.
5951 2013-01-23 Roland McGrath <roland@hack.frob.com>
5953 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5955 2013-01-23 David S. Miller <davem@davemloft.net>
5957 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5958 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5959 argument of CAS if possible.
5960 * sysdeps/sparc/sparc64/bits/atomic.h
5961 (__arch_compare_and_exchange_val_32_acq): Likewise.
5962 (__arch_compare_and_exchange_val_64_acq): Likewise.
5964 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5966 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5967 * sysdeps/posix/ulimit.c: ... this.
5969 * sysdeps/unix/bsd/ulimit.c: Remove file.
5971 2013-01-23 Adam Conrad <adconrad@0c3.net>
5973 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5974 (LDFLAGS-tst-array5): Likewise.
5976 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5979 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5980 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5981 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5982 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5984 2013-01-21 David S. Miller <davem@davemloft.net>
5986 * sysdeps/sparc/backtrace.c: New file.
5987 * sysdeps/sparc/sparc32/backtrace.h: New file.
5988 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5989 * sysdeps/sparc/sparc64/backtrace.h: New file.
5990 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5991 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5994 2013-01-21 Andreas Schwab <schwab@suse.de>
5997 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6000 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6006 2013-01-18 Joseph Myers <joseph@codesourcery.com>
6007 Mark Mitchell <mark@codesourcery.com>
6008 Tom de Vries <tom@codesourcery.com>
6009 Paul Pluzhnikov <ppluzhnikov@google.com>
6011 * debug/tst-backtrace2.c: New file.
6012 * debug/tst-backtrace3.c: Likewise.
6013 * debug/tst-backtrace4.c: Likewise.
6014 * debug/tst-backtrace5.c: Likewise.
6015 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6016 (CFLAGS-tst-backtrace3.c): Likewise.
6017 (CFLAGS-tst-backtrace4.c): Likewise.
6018 (CFLAGS-tst-backtrace5.c): Likewise.
6019 (LDFLAGS-tst-backtrace2): Likewise.
6020 (LDFLAGS-tst-backtrace3): Likewise.
6021 (LDFLAGS-tst-backtrace4): Likewise.
6022 (LDFLAGS-tst-backtrace5): Likewise.
6023 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6024 tst-backtrace4 and tst-backtrace5.
6026 2013-01-18 Anton Blanchard <anton@samba.org>
6027 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6029 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6030 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6031 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6032 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6034 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6035 "+r" and remove output regs list as redundant. Add explicit inline
6036 asm to specify register of return val to work around compiler codegen
6037 bug. Remove (int) cast on return value. Add return type parameter to
6038 use in macro so that this macro does not truncate return value for
6040 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6041 pass to INTERNAL_VSYSCALL_NCS.
6042 (INLINE_VSYSCALL): Add 'long int' as return type to
6043 INTERNAL_VSYSCALL_NCS macro invocation.
6044 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6045 INTERNAL_VSYSCALL_NCS macro invocation.
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6048 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6051 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6052 Fix application of SIMD FP exception mask.
6054 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6055 mp_no from a power of two.
6056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6057 __mpexp_twomm1. Use __pow_mp.
6059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6062 2013-01-17 David S. Miller <davem@davemloft.net>
6064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6066 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6069 * include/complex.h: Condition contents on [!_COMPLEX_H].
6070 (__kernel_casinhf): New prototype.
6071 (__kernel_casinh): Likewise.
6072 (__kernel_casinhl): Likewise.
6073 * math/Makefile (libm_calls): Add k_casinh.
6074 * math/k_casinh.c: New file.
6075 * math/k_casinhf.c: Likewise.
6076 * math/k_casinhl.c: Likewise.
6077 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6078 finite nonzero arguments.
6079 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6080 finite nonzero arguments.
6081 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6082 finite nonzero arguments.
6083 * math/s_casinh.c: Do not include <float.h>.
6084 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6085 * math/s_casinhf.c: Do not include <float.h>.
6086 (__casinhf): Move code for finite nonzero arguments to
6088 * math/s_casinhl.c: Do not include <float.h>.
6089 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6091 (__casinhl): Move code for finite nonzero arguments to
6093 * math/libm-test.inc (cacos_test): Add more tests.
6094 * sysdeps/i386/fpu/libm-test-ulps: Update.
6095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6097 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6099 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6100 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6101 [!HAVE_MREMAP]: Remove [defined linux] case.
6102 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6104 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6106 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6108 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
6110 * elf/elf.h (R_386_SIZE32): New relocation.
6111 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6113 (elf_machine_rela): Likewise.
6114 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6115 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6117 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6119 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6120 (FP_FAST_FMA): Do not define.
6121 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6122 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6123 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6124 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6125 !_SOFT_FLOAT]: Likewise.
6126 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6127 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6129 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6130 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6131 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6132 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6133 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6134 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6137 2013-01-16 Andreas Schwab <schwab@suse.de>
6140 * include/stdlib.h (__mktemp): Add declaration.
6141 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6142 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6144 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6146 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6148 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6149 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6150 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6152 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6153 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6155 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6157 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6158 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6159 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6161 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6162 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6164 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6166 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6168 2013-01-15 David S. Miller <davem@davemloft.net>
6170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6171 trunc{,f} to libm-sysdep_routes.
6172 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6182 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6183 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6184 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6185 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6186 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6187 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6190 nearbyint{,f} to libm-sysdep_routes.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6202 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6204 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6205 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6207 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6208 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6209 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6211 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6212 libc_feholdexcept and libc_fesetenv.
6214 2013-01-15 Mike Frysinger <vapier@gentoo.org>
6216 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6218 2013-01-14 David S. Miller <davem@davemloft.net>
6220 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6221 (SPARC_ASM_VIS2_IFUNC): Likewise.
6222 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6224 use of 'siam' instruction.
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6258 routines to libm-sysdep_routines.
6259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6262 fdim/fdimf to libm-sysdep_routines.
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6271 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6272 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6273 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6274 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6276 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6278 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6281 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6286 local variable MPTWO.
6287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6290 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6292 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6295 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6297 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6299 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6301 * manual/pattern.texi (glob_t): Document gl_flags.
6302 (glob64_t): Likewise.
6304 2013-01-11 David S. Miller <davem@davemloft.net>
6306 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6307 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6308 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
6309 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6310 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6311 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6312 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6313 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6314 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6315 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6316 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6317 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6318 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6320 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6321 sparc V9 rather than using V8 code.
6322 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6323 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6325 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6327 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6330 2013-01-11 Roland McGrath <roland@hack.frob.com>
6332 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6333 not in the main loop.
6334 * configure: Regenerated.
6336 2013-01-11 Joseph Myers <joseph@codesourcery.com>
6338 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6339 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6341 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6342 [!__GLIBC_HAVE_LONG_LONG] case.
6343 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6344 condition to just #else.
6345 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6346 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6347 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6348 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6350 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6351 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6352 #elif condition to just #else.
6353 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6354 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6355 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6356 #elif condition to just #else.
6358 2013-01-11 Steve Ellcey <sellcey@mips.com>
6360 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6361 (EF_MIPS_ARCH_64): Fix value.
6362 (EF_MIPS_ARCH_32R2): New.
6363 (EF_MIPS_ARCH_64R2): New.
6365 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6367 * Makeconfig (+link-pie-before-libc): New.
6368 (+link-pie-after-libc): Likewise.
6369 (+link-pie-tests): Likewise.
6370 (+link-pie): Rewritten.
6371 (link-before-libc): Remove $(config-LDFLAGS).
6372 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6373 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6374 (config-LDFLAGS): Renamed to ...
6375 (rtld-LDFLAGS): This.
6376 (rtld-tests-LDFLAGS): New macro.
6377 (link-libc-rpath-link): Likewise.
6378 (link-libc-tests-rpath-link): Likewise.
6379 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6380 (link-libc): Prepand $(link-libc-rpath-link).
6381 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6382 (test-program-prefix): New macro.
6383 (test-via-rtld-prefix): Likewise.
6384 (test-program-cmd): Likewise.
6385 (host-test-program-cmd): Likewise.
6386 * Makefile ($(common-objpfx)testrun.sh): Replace
6387 $(run-program-prefix) with $(test-program-prefix).
6388 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6390 ($(common-objpfx)shlib.lds): Likewise.
6391 (build-module-helper): Likewise.
6392 ($(common-objpfx)format.lds): Likewise.
6393 * Rules (binaries-pie-tests): New.
6394 (binaries-pie-notests): Likewise.
6395 (binaries-pie): Rewritten.
6396 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6397 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6398 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6399 (make-test-out): Replace $(host-built-program-cmd) with
6400 $(host-test-program-cmd).
6401 * config.make.in (build-hardcoded-path-in-tests): New variable.
6402 * configure.in (--enable-hardcoded-path-in-tests): New configure
6404 (hardcoded_path_in_tests): New AC_SUBST.
6405 * configure: Regenerated.
6406 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6407 $(built-program-cmd) with $(test-program-cmd).
6408 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6409 (test_program_cmd): This.
6410 * elf/Makefile ($(objpfx)order.out): Run test with
6411 $(test-program-prefix).
6412 ($(objpfx)order2.out): Likewise.
6413 ($(objpfx)tst-initorder.out): Likewise.
6414 ($(objpfx)tst-initorder2.out): Likewise.
6415 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6416 $(test-program-cmd).
6417 ($(objpfx)tst-array1-static.out): Likewise.
6418 ($(objpfx)tst-array2.out): Likewise.
6419 ($(objpfx)tst-array3.out): Likewise.
6420 ($(objpfx)tst-array4.out): Likewise.
6421 ($(objpfx)tst-array5.out): Likewise.
6422 ($(objpfx)tst-array5-static.out): Likewise.
6423 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6424 $(test-program-cmd).
6425 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6426 $(run-program-prefix) with $(test-program-prefix).
6427 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6428 (test_program_prefix): This.
6429 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6430 $(run-program-prefix) with $(test-program-prefix).
6431 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6432 (test_program_prefix): This.
6433 * iconvdata/tst-tables.sh: Likewise.
6434 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6435 $(run-program-prefix) with $(test-program-prefix).
6436 ($(objpfx)tst-translit.out): Likewise.
6437 ($(objpfx)tst-gettext2.out): Likewise.
6438 ($(objpfx)tst-gettext4.out): Likewise.
6439 ($(objpfx)tst-gettext6.out): Likewise.
6440 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6441 (test_program_prefix): This.
6442 * intl/tst-gettext2.sh: Likewise.
6443 * intl/tst-gettext4.sh Likewise.
6444 * intl/tst-gettext6.sh: Likewise.
6445 * intl/tst-translit.sh: Likewise.
6446 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6447 with $(test-program-cmd).
6448 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6449 $(run-program-prefix) with $(test-program-prefix).
6450 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6451 (test_program_prefix): This.
6452 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6453 $(run-program-prefix) with $(test-program-prefix).
6454 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6455 (test_program_prefix): This.
6456 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6457 * posix/Makefile ($(objpfx)globtest.out): Replace
6458 $(run-via-rtld-prefix) and $(test-wrapper) with
6459 $(test-program-prefix) and $(test-via-rtld-prefix).
6460 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6461 $(test-program-prefix).
6462 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6463 $(host-test-program-cmd).
6464 (tst-spawn-ARGS): Likewise.
6465 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6466 $(test-program-prefix).
6467 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6468 (test_via_rtld_prefix): This.
6469 (test_wrapper): Renamed to ...
6470 (test_program_prefix): This.
6471 (run_program_prefix): Replaced by test_program_prefix.
6472 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6473 (test_program_prefix): This.
6474 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6475 with $(host-test-program-cmd).
6476 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6477 $(run-program-prefix) with $(test-program-prefix).
6478 ($(objpfx)tst-printf.out): Likewise.
6479 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6480 $(test-program-cmd).
6481 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6482 (test_program_prefix): This.
6483 * stdio-common/tst-unbputc.sh: Likewise.
6484 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6485 $(run-program-prefix) with $(test-program-prefix).
6486 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6487 (test_program_prefix): This.
6488 * string/Makefile ($(objpfx)tst-svc.out): Replace
6489 $(built-program-cmd) with $(test-program-cmd).
6491 2013-01-11 Andreas Jaeger <aj@suse.de>
6494 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6495 value. Sync with Linux 3.7.
6497 2013-01-10 David S. Miller <davem@davemloft.net>
6499 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6500 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6501 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6503 2013-01-10 Roland McGrath <roland@hack.frob.com>
6505 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6507 * configure: Regenerated.
6509 2013-01-10 David S. Miller <davem@davemloft.net>
6511 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6512 sparc V9 rather than using V8 code.
6513 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6514 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6516 2013-01-10 Roland McGrath <roland@hack.frob.com>
6518 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6519 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6520 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6521 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6522 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6523 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6524 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6525 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6526 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6527 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6528 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6529 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6530 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6531 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6532 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6533 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6534 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6535 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6536 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6537 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6538 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6539 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6540 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6541 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6542 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6543 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6544 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6546 2013-01-10 David S. Miller <davem@davemloft.net>
6548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6550 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6552 * posix/Makefile (tests-static): New variable.
6553 (tests): Add $(tests-static).
6554 (tst-exec-static-ARGS): New variable.
6555 (tst-spawn-static-ARGS): Likewise.
6556 * posix/tst-exec-static.c: New file.
6557 * posix/tst-spawn-static.c: Likewise.
6558 * posix/tst-exec.c: Support run directly.
6559 * posix/tst-spawn.c: Likewise.
6561 2013-01-10 Joseph Myers <joseph@codesourcery.com>
6563 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6565 * math/bits/mathcalls.h (llrint): Likewise.
6566 (llround): Likewise.
6567 * stdlib/stdlib.h (struct drand48_data): Likewise.
6568 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6569 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6570 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6572 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6574 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6575 (elf_greg_t): Likewise.
6576 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6577 (__jmp_buf): Likewise.
6578 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6580 (llrint): Likewise, for all definitions.
6581 (llrintl): Likewise.
6583 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6584 Remove [__GNUC__] condition.
6585 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6586 condition to just [__USE_ISOC99].
6587 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6589 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6592 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6593 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6595 (_POSIX_V6_ILP32_OFF32): Likewise.
6596 (_XBS5_ILP32_OFF32): Likewise.
6597 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6598 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6600 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6602 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6605 doubles __mpexp_twomm1. Adjust usage.
6606 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6609 2013-01-10 Andreas Schwab <schwab@suse.de>
6612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6613 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6615 2013-01-09 David S. Miller <davem@davemloft.net>
6618 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6619 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6620 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6621 TCP_FASTOPEN): Define.
6622 (tcp_repair_opt): New structure.
6623 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6625 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6626 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6627 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6628 (tcp_cookie_transactions): New structure.
6630 2013-01-09 Anton Blanchard <anton@samba.org>
6632 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6633 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6634 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6635 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6637 2013-01-09 Joseph Myers <joseph@codesourcery.com>
6639 * include/features.h (__USE_ANSI): Remove.
6641 2013-01-09 Roland McGrath <roland@hack.frob.com>
6643 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6645 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6647 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6649 * sysdeps/s390/fpu/libm-test-ulps: Update.
6651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6653 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6658 (__mp_dbl): Likewise.
6659 (__dbl_mp): Likewise.
6660 (add_magnitudes): Likewise.
6661 (sub_magnitudes): Likewise.
6667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6672 (__mp_dbl): Likewise.
6673 (__dbl_mp): Likewise.
6674 (add_magnitudes): Likewise.
6675 (sub_magnitudes): Likewise.
6681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6686 (__mp_dbl): Likewise.
6687 (__dbl_mp): Likewise.
6688 (add_magnitudes): Likewise.
6689 (sub_magnitudes): Likewise.
6696 2013-01-08 Joseph Myers <joseph@codesourcery.com>
6698 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6699 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6700 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6701 2 && __USE_EXTERN_INLINES]: Likewise.
6703 2013-01-08 Andreas Jaeger <aj@suse.de>
6706 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6708 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6709 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6711 2013-01-07 Anton Blanchard <anton@samba.org>
6713 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6714 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6715 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6716 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6717 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6718 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6719 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6720 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6722 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6723 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6724 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6725 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6726 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6727 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6728 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6729 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6730 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6731 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6732 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6733 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6734 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6735 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6736 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6737 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6738 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6739 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6740 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6742 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6743 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6745 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6746 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6747 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6748 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6749 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6750 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6751 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6752 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6753 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6754 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6755 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6757 2013-01-07 Joseph Myers <joseph@codesourcery.com>
6759 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6760 (__MALLOC_PMT): Likewise.
6761 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6762 [__GNUC__], only on [_LIBC].
6763 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6764 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6765 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6766 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6767 forward declaration.
6768 (realloc_hook_ini): Likewise.
6769 (memalign_hook_ini): Likewise.
6770 (__libc_memalign): Do not use __MALLOC_PMT in variable
6772 (__libc_valloc): Likewise.
6773 (__libc_pvalloc): Likewise.
6774 (__libc_calloc): Likewise.
6775 (__posix_memalign): Likewise.
6778 * math/s_casinh.c: Include <float.h>.
6779 (__casinh): Do not do computation with squaring and square root
6780 for large arguments.
6781 * math/s_casinhf.c: Include <float.h>.
6782 (__casinhf): Do not do computation with squaring and square root
6783 for large arguments.
6784 * math/s_casinhl.c: Include <float.h>.
6785 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6786 (__casinhl): Do not do computation with squaring and square root
6787 for large arguments.
6788 * math/libm-test.inc (casin_test): Add more tests.
6789 (casinh_test): Likewise.
6790 * sysdeps/i386/fpu/libm-test-ulps: Update.
6791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6793 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6795 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6796 (__x86_64_raw_data_cache_size): Likewise.
6797 (__x86_64_data_cache_size_half): Likewise.
6798 (__x86_64_raw_data_cache_size_half): Likewise.
6799 (__x86_64_shared_cache_size): Likewise.
6800 (__x86_64_raw_shared_cache_size): Likewise.
6801 (__x86_64_shared_cache_size_half): Likewise.
6802 (__x86_64_raw_shared_cache_size_half): Likewise.
6803 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6805 (__x86_data_cache_size): This.
6806 (__x86_64_raw_data_cache_size): Renamed to ...
6807 (__x86_raw_data_cache_size): This.
6808 (__x86_64_data_cache_size_half): Renamed to ...
6809 (__x86_data_cache_size_half): This.
6810 (__x86_64_raw_data_cache_size_half): Renamed to ...
6811 (__x86_raw_data_cache_size_half): This.
6812 (__x86_64_shared_cache_size): Renamed to ...
6813 (__x86_shared_cache_size): This.
6814 (__x86_64_raw_shared_cache_size): Renamed to ...
6815 (__x86_raw_shared_cache_size): This.
6816 (__x86_64_shared_cache_size_half): Renamed to ...
6817 (__x86_shared_cache_size_half): This.
6818 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6819 (__x86_raw_shared_cache_size_half): This.
6820 * sysdeps/x86_64/memcpy.S: Updated.
6821 * sysdeps/x86_64/memset.S: Likewise.
6822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6824 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6826 2013-01-04 David S. Miller <davem@davemloft.net>
6828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6830 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6832 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6833 1 to avoid redefinition warning.
6834 (__USE_GNU): Don't define.
6835 (init_signaling_nan): Protoize.
6837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6839 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6841 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6843 (__cpymn): Likewise.
6844 (norm): Remove commented code.
6846 (__mp_dbl): Likewise.
6848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6849 (__cpymn): Likewise.
6850 (norm): Remove commented code.
6852 (__mp_dbl): Likewise.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6856 mp_no value for 1.0 and 2.0.
6857 (norm): Use RADIXI instead of radixi.d.
6859 (__mul): Use 0.0 instead of zero.d.
6860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6861 mp_no value for 1.0 and 2.0.
6862 (norm): Use RADIXI instead of radixi.d.
6864 (__mul): Use 0.0 instead of zero.d.
6866 2013-01-04 Joseph Myers <joseph@codesourcery.com>
6869 * math/s_casinh.c (__casinh): Reduce finite argument to first
6870 quadrant then set signs of results at the end.
6871 * math/s_casinhf.c (__casinhf): Likewise.
6872 * math/s_casinhl.c (__casinhl): Likewise.
6873 * math/libm-test.inc (casin_test): Add more tests.
6874 (casinh_test): Likewise.
6875 * sysdeps/i386/fpu/libm-test-ulps: Update.
6876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6878 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6880 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6882 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6884 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6887 (__mp_dbl): Likewise.
6890 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6891 and adjust the header comment.
6893 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6894 variable name from declaration.
6896 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6899 Initialize COMMON_CPUID_INDEX_7 element.
6900 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6901 (CPUID_RTM): Likewise.
6902 (HAS_RTM): Likewise.
6903 (COMMON_CPUID_INDEX_7): New enum.
6905 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6908 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6909 size is zero, record memory as freed.
6911 2013-01-03 Andreas Jaeger <aj@suse.de>
6913 * po/ia.po: Add new Interlingua translation.
6915 2012-01-03 Allan McRae <allan@archlinux.org>
6917 * locale/programs/localedef.c: Fix description of '--posix' flag.
6919 2013-01-02 Joseph Myers <joseph@codesourcery.com>
6921 * NEWS: Update dates in second copyright notice.
6922 * README: Update copyright dates in example.
6923 * manual/libc.texinfo: Update copyright dates.
6924 * scripts/test-installation.pl: Update copyright date in --version
6927 * hurd/ctty-input.c: Fix copyright notice formatting.
6928 * hurd/ctty-output.c: Likewise.
6929 * hurd/dtable.c: Likewise.
6930 * hurd/hurd-raise.c: Likewise.
6931 * hurd/hurdprio.c: Likewise.
6932 * hurd/msgportdemux.c: Likewise.
6933 * misc/sys/file.h: Likewise.
6934 * misc/sys/ioctl.h: Likewise.
6935 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6936 * sysdeps/mach/hurd/chdir.c: Likewise.
6937 * sysdeps/mach/hurd/fchdir.c: Likewise.
6938 * sysdeps/mach/hurd/rename.c: Likewise.
6939 * sysdeps/mach/hurd/rmdir.c: Likewise.
6940 * sysdeps/mach/hurd/seekdir.c: Likewise.
6941 * sysdeps/mach/hurd/setsid.c: Likewise.
6942 * sysdeps/posix/wait3.c: Likewise.
6944 * All files with FSF copyright notices: Update copyright dates
6945 using scripts/update-copyrights.
6946 * intl/plural.c: Regenerated.
6947 * locale/programs/charmap-kw.h: Likewise.
6948 * locale/programs/locfile-kw.h: Likewise.
6950 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6952 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6955 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6956 calculation loop and add branch prediction.
6958 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6959 check access beyond bounds of m1np.
6961 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6963 (__inv): Remove local variable MPTWO to use the global
6965 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6966 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6968 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6969 MP3HALFS static const.
6971 2013-01-01 David S. Miller <davem@davemloft.net>
6973 * po/ca.po: Update from translation team.
6975 2013-01-01 Joseph Myers <joseph@codesourcery.com>
6977 * scripts/update-copyrights: New file.
6978 * Makeconfig: Reformat copyright notice.
6979 * ctype/ctype.h: Likewise.
6980 * debug/swprintf_chk.c: Likewise.
6981 * elf/dl-cache.c: Likewise.
6982 * elf/dl-debug.c: Likewise.
6983 * elf/dl-object.c: Likewise.
6984 * grp/initgroups.c: Likewise.
6985 * hurd/Makefile: Likewise.
6986 * hurd/hurd/signal.h: Likewise.
6987 * hurd/hurdfault.c: Likewise.
6988 * hurd/hurdioctl.c: Likewise.
6989 * hurd/hurdlookup.c: Likewise.
6990 * hurd/intr-msg.c: Likewise.
6991 * iconv/gconv_open.c: Likewise.
6992 * libio/swprintf.c: Likewise.
6993 * locale/lc-ctype.c: Likewise.
6994 * locale/nl_langinfo.c: Likewise.
6995 * mach/Machrules: Likewise.
6996 * mach/Makefile: Likewise.
6997 * malloc/obstack.h: Likewise.
6998 * manual/Makefile: Likewise.
6999 * manual/tsort.awk: Likewise.
7000 * misc/bits/stab.def: Likewise.
7001 * nis/nis_print_group_entry.c: Likewise.
7002 * nis/nis_table.c: Likewise.
7003 * nis/nss_compat/compat-pwd.c: Likewise.
7004 * nis/nss_compat/compat-spwd.c: Likewise.
7005 * po/Makefile: Likewise.
7006 * posix/fnmatch.c: Likewise.
7007 * posix/regex.h: Likewise.
7008 * resolv/Makefile: Likewise.
7009 * resolv/nss_dns/dns-network.c: Likewise.
7010 * resolv/res_hconf.c: Likewise.
7011 * scripts/gen-sorted.awk: Likewise.
7012 * soft-fp/soft-fp.h: Likewise.
7013 * stdio-common/printf.h: Likewise.
7014 * stdlib/monetary.h: Likewise.
7015 * stdlib/random.c: Likewise.
7016 * stdlib/random_r.c: Likewise.
7017 * sysdeps/generic/Makefile: Likewise.
7018 * sysdeps/gnu/Makefile: Likewise.
7019 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7042 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7043 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7044 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7046 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7047 * sysdeps/mach/hurd/errnos.awk: Likewise.
7048 * sysdeps/mach/hurd/fork.c: Likewise.
7049 * sysdeps/mach/hurd/getcwd.c: Likewise.
7050 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7051 * sysdeps/mach/hurd/mmap.c: Likewise.
7052 * sysdeps/mach/hurd/utimes.c: Likewise.
7053 * sysdeps/mach/hurd/xmknod.c: Likewise.
7054 * sysdeps/posix/profil.c: Likewise.
7055 * sysdeps/posix/readdir_r.c: Likewise.
7056 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7057 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7058 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7059 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7061 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7062 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7063 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7065 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7066 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7067 * sysdeps/pthread/lio_listio.c: Likewise.
7068 * sysdeps/sparc/dl-procinfo.h: Likewise.
7069 * sysdeps/unix/i386/sysdep.S: Likewise.
7070 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7071 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7072 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7073 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7075 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7076 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7077 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7078 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7079 * sysdeps/wordsize-32/divdi3.c: Likewise.
7080 * time/sys/time.h: Likewise.
7081 * wcsmbs/Makefile: Likewise.
7083 2013-01-01 David S. Miller <davem@davemloft.net>
7085 * po/fr.po: Update from translation team.
7087 * catgets/gencat.c: Update copyright year.
7088 * csu/version.c: Likewise.
7089 * debug/catchsegv.sh: Likewise.
7090 * debug/pcprofiledump.c: Likewise.
7091 * debug/xtrace.sh: Likewise.
7092 * elf/ldconfig.c: Likewise.
7093 * elf/ldd.bash.in: Likewise.
7094 * elf/pldd.c: Likewise.
7095 * elf/sotruss.ksh: Likewise.
7096 * elf/sprof.c: Likewise.
7097 * iconv/iconv_prog.c: Likewise.
7098 * iconv/iconvconfig.c: Likewise.
7099 * locale/programs/locale.c: Likewise.
7100 * locale/programs/localedef.c: Likewise.
7101 * login/programs/pt_chown.c: Likewise.
7102 * malloc/memusage.sh: Likewise.
7103 * malloc/memusagestat.c: Likewise.
7104 * malloc/mtrace.pl: Likewise.
7105 * nscd/nscd.c: Likewise.
7106 * nss/getent.c: Likewise.
7107 * nss/makedb.c: Likewise.
7108 * posix/getconf.c: Likewise.
7110 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7112 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7115 2012-12-30 Mike Frysinger <vapier@gentoo.org>
7117 * math/bits/mathcalls.h (modf): Use __nonnull.
7119 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7121 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7122 (split): Use macro CN instead of the bare value.
7123 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7125 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7126 instead of the bare value.
7129 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7131 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7133 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7135 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7137 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7138 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7139 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7140 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7142 2012-12-28 Andreas Jaeger <aj@suse.de>
7144 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7145 values are from Linux 3.7.
7147 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7148 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7150 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7152 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7155 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7157 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7158 variables with preprocessor constants.
7159 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7160 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7161 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7163 2012-12-27 Bruno Haible <bruno@clisp.org>
7166 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7169 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7172 and use variable directly.
7173 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7175 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7177 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7178 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7180 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7182 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7183 include directive. Remove local variable MPONE.
7184 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7185 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7186 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7188 2012-12-25 David S. Miller <davem@davemloft.net>
7190 * version.h (RELEASE): Set to "development".
7191 (VERSION): Set to "2.17.90".
7192 * NEWS: Add 2.18 section.
7194 2012-12-21 David S. Miller <davem@davemloft.net>
7196 * po/hr.po: Update from translation team.
7198 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7200 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7202 2012-12-19 Steve Ellcey <sellcey@mips.com>
7204 * NEWS: Mention new memcpy for MIPS.
7206 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7208 * manual/contrib.texi (Contributors): Spelling correction.
7210 2012-12-15 David S. Miller <davem@davemloft.net>
7212 * po/ru.po: Update from translation team.
7214 2012-12-13 David S. Miller <davem@davemloft.net>
7216 * NEWS: Mention IFUNC testsuite enhancements.
7218 * po/pl.po: Update from translation team.
7219 * po/bg.po: Likewise.
7221 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7222 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7224 2012-12-11 David S. Miller <davem@davemloft.net>
7226 * po/sv.po: Update from translation team.
7228 * po/vi.po: Update from translation team.
7230 * po/cs.po: Update from translation team.
7232 * po/de.po: Update from translation team.
7233 * po/eo.po: Likewise.
7234 * po/nl.po: Likewise.
7236 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7239 * manual/argp.texi (Argp Helper Functions): Move node to follow
7243 * manual/conf.texi (Limits on File System Capacity): Mention if
7244 terminating null is included in the max size.
7246 2012-12-10 Andreas Jaeger <aj@suse.de>
7248 * po/cs.po: Update from translation team.
7250 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7252 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7253 void pointer and cast to uintptr_t.
7254 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7256 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7257 * sysdeps/s390/s390-64/memset.S: Likewise.
7259 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
7262 * menual/message.texi (Message Translation): Fix typos.
7263 (Helper programs for gettext): Likewise.
7265 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7268 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7271 2012-12-07 David S. Miller <davem@davemloft.net>
7273 * po/libc.pot: Update.
7275 2012-12-07 Richard Henderson <rth@redhat.com>
7278 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7279 normal/normal case to before the switch.
7280 (_FP_DIV): Likewise.
7282 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7283 Mike Frysinger <vapier@gentoo.org>
7285 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7286 check for __NR_fadvise64_64.
7288 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7290 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7291 0, not just to plain "0" as a statement.
7292 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7295 2012-12-06 Joseph Myers <joseph@codesourcery.com>
7297 * NEWS: Use sourceware.org in Bugzilla URL.
7299 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7302 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7304 * stdio-common/tst-put-error.c (do_test): Add newline to the
7305 padded test to ensure flush.
7307 2012-12-05 Jeff Law <law@redhat.com>
7309 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7311 2012-12-05 Joseph Myers <joseph@codesourcery.com>
7313 * README: Don't refer to ports add-on as distributed separately.
7314 Mention AArch64 in list of systems supported in the ports add-on.
7316 * LICENSES: Add more non-FSF copyright and license notices.
7318 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7321 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7323 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7324 10000 as width of padded output.
7326 2012-12-04 Joseph Myers <joseph@codesourcery.com>
7328 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7330 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7331 variable LX with __attribute__ ((unused)).
7332 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7334 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7335 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7336 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7337 with __attribute__ ((unused)).
7339 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
7341 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7343 2012-12-04 Joseph Myers <joseph@codesourcery.com>
7345 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7346 (CFLAGS-nldbl-acos.c): New variable.
7347 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7348 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7349 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7350 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7351 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7352 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7353 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7354 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7355 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7356 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7357 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7358 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7359 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7360 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7361 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7362 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7363 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7364 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7365 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7366 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7367 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7368 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7369 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7370 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7371 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7372 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7373 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7374 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7375 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7376 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7377 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7378 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7379 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7380 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7381 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7382 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7383 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7384 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7385 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7386 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7387 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7388 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7389 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7390 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7391 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7392 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7393 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7394 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7395 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7396 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7397 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7398 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7399 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7400 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7401 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7402 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7403 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7404 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7405 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7406 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7407 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7408 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7409 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7410 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7411 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7412 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7413 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7414 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7415 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7416 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7417 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7418 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7419 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7420 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7421 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7422 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7423 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7424 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7425 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7426 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7427 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7428 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7429 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7430 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7431 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7432 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7433 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7434 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7435 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7436 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7437 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7438 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7439 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7440 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7441 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7442 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7443 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7446 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7450 whole low double instead of just low 47 bits when splitting values
7453 2012-12-03 Allan McRae <allan@archlinux.org>
7455 * manual/stdio.texi (Predefined Printf Handlers): Remove
7456 @hsep and @vsep usage.
7458 2012-12-03 Mike Frysinger <vapier@gentoo.org>
7460 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7461 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7463 2012-12-03 Jeff Law <law@redhat.com>
7465 * time/sys/time.h (settimeofday): Do not mark TV argument
7468 2012-12-01 Mike Frysinger <vapier@gentoo.org>
7470 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7471 when currently writing and seek to current position when not.
7472 * libio/Makefile (tests): Remove bug-fclose1.
7473 * libio/bug-fclose1.c: Delete.
7475 2012-12-01 Joseph Myers <joseph@codesourcery.com>
7477 * manual/arith.texi (feenableexcept): Fix typo.
7478 (fedisableexcept): Likewise.
7480 2012-11-30 Roland McGrath <roland@hack.frob.com>
7482 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7483 second, differently-typed declaration, rather than a cast.
7485 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7487 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7488 * include/rpc/svc.h: ... here.
7490 2012-11-30 Aurelien Jarno <aurel32@debian.org>
7493 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7494 depending n and resplen2 to catch cases where answer
7497 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7499 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7500 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7502 2012-11-29 Mike Frysinger <vapier@gentoo.org>
7504 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7506 2012-11-29 Roland McGrath <roland@hack.frob.com>
7508 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7510 2012-11-28 Jeff Law <law@redhat.com>
7513 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7514 dataset_temporary. Track alloca usage into alloca_used.
7515 If dataset is large allocate and release it via malloc/free.
7517 2012-06-04 Florian Weimer <fweimer@redhat.com>
7520 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7522 2012-11-28 David S. Miller <davem@davemloft.net>
7524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7526 2012-11-28 Joseph Myers <joseph@codesourcery.com>
7529 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7530 of pi/2 rounded to nearest to 64 bits.
7531 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7533 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7536 2012-11-28 Jeff Law <law@redhat.com>
7537 Martin Osvald <mosvald@redhat.com>
7540 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7541 * sunrpc/svc.c: Include time.h.
7542 (__svc_accept_failed): New function.
7543 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7544 any reason other than EINTR, call __svc_accept_failed.
7545 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7546 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7548 2012-11-28 Andreas Schwab <schwab@suse.de>
7550 * scripts/abilist.awk: Also handle indirect functions in .opd
7553 2012-11-28 Joseph Myers <joseph@codesourcery.com>
7556 * sysdeps/x86/fpu/powl_helper.c: New file.
7557 * sysdeps/x86/fpu/Makefile: Likewise.
7558 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7560 (__ieee754_powl): Use __powl_helper for finite arguments except
7561 integer exponents below 8.
7562 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7564 (__ieee754_powl): Use __powl_helper for finite arguments except
7565 integer exponents below 8.
7566 * math/libm-test.inc (pow_test): Add more tests and enable some
7567 previously disabled tests.
7568 * sysdeps/i386/fpu/libm-test-ulps: Update.
7569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7571 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7572 Carlos O'Donell <carlos_odonell@mentor.com>
7574 * nss/makedb.c (is_prime): Assert that input is odd and greater
7575 than 4. Note that fact in a comment too.
7576 (next_prime): Add 4 to input.
7578 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7581 * libio/Makefile (tests): Add test case tst-fwrite-error.
7582 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7583 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7584 * libio/tst-fwrite-error.c: New test case.
7586 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7588 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7589 before casting to void *.
7590 * include/libc-internal.h (__pointer_type): New macro.
7591 (__integer_if_pointer_type_sub): Likewise.
7592 (__integer_if_pointer_type): Likewise.
7593 (cast_to_integer): Likewise.
7594 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7595 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7596 before casting to atomic64_t.
7597 (atomic_exchange_acq): Likewise.
7598 (__arch_exchange_and_add_body): Likewise.
7599 (__arch_add_body): Likewise.
7600 (atomic_add_negative): Likewise.
7601 (atomic_add_zero): Likewise.
7603 2012-11-26 Joseph Myers <joseph@codesourcery.com>
7605 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7606 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7607 (add_fdes): Likewise.
7608 (linear_search_fdes): Likewise.
7609 (binary_search_unencoded_fdes): Likewise.
7611 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7613 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7615 2012-11-24 Adam Conrad <adconrad@0c3.net>
7617 * configure.in: Autodetect C++ header directories.
7618 * configure: Regenerated.
7620 2012-11-23 Mike Frysinger <vapier@gentoo.org>
7622 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7624 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7628 2012-11-22 Joseph Myers <joseph@codesourcery.com>
7630 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7631 LDBL_MANT_DIG == 106]: Disable some tests.
7632 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7634 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7639 input for small inputs. Return +/- pi/2 for large inputs.
7640 * math/libm-test.inc (atan_test): Add more tests.
7642 * sysdeps/generic/unwind-dw2-fde-glibc.c
7643 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7644 __attribute__ ((unused)).
7647 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7648 x * y if x and y are nonzero and z is zero.
7651 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7652 nonzero exponents with absolute value below 0x1p-117 to +/-
7656 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7657 up arguments below 2**-450, not just those below 2**-500.
7658 * math/libm-test.inc (hypot_test): Add another test.
7661 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7662 Return a+b for ratio over 2**120, not 2**60.
7663 * math/libm-test.inc (hypot_test): Add another test.
7665 * math/libm-test.inc (clog_test): Use
7666 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7667 (clog10_test): Likewise.
7670 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7672 2012-11-22 Andreas Schwab <schwab@suse.de>
7674 * sysdeps/i386/fpu/libm-test-ulps: Update.
7676 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7678 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7679 printf output with newline.
7681 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7684 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7685 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7686 -z nodlopen, -z initfirst and -z execstack support.
7687 * configure: Regenerated.
7689 * elf/elf.h (DF_1_NODIRECT): New macro.
7690 (DF_1_IGNMULDEF): Likewise.
7691 (DF_1_NOKSYMS): Likewise.
7692 (DF_1_NOHDR): Likewise.
7693 (DF_1_EDITED): Likewise.
7694 (DF_1_NORELOC): Likewise.
7695 (DF_1_SYMINTPOSE): Likewise.
7696 (DF_1_GLOBAUDIT): Likewise.
7697 (DF_1_SINGLETON): Likewise.
7698 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7699 DT_1_SUPPORTED_MASK bits.
7700 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7702 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7704 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7706 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7708 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7711 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7712 (sendmmsg): Move declarations...
7713 * socket/sys/socket.h: ... here.
7714 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7715 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7717 * socket/recvmmsg.c: ... this new file.
7718 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7719 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7720 definition of __sendmmsg hidden.
7721 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7722 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7723 Move ENOSYS stub into and include it from...
7724 * socket/sendmmsg.c: ... this new file.
7725 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7726 (sysdep_routines): Move recvmmsg and sendmmsg...
7727 * socket/Makefile (routines): ... here.
7728 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7729 (GLIBC_PRIVATE): Add __sendmmsg.
7730 * include/sys/socket.h (__sendmmsg): Add declarations.
7731 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7734 2012-11-20 Joseph Myers <joseph@codesourcery.com>
7736 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7737 variable I1 with __attribute__ ((unused)).
7738 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7740 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7742 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7743 DUMMY variables with __attribute__ ((unused)).
7745 * bits/byteswap.h: Include <bits/types.h>.
7746 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7748 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7750 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7751 string_t. Do not manually set errno.
7752 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7753 length with __strnlen. Make sure to both set errno and return it on
7756 2012-11-19 David S. Miller <davem@davemloft.net>
7758 With help from Joseph Myers.
7759 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7760 very large arguments properly.
7761 * math/libm-test.inc (atan_test): New tests.
7762 (atan2_test): New tests.
7763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7766 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7769 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7772 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7773 [POSIX] (EADDRNOTAVAIL): Likewise.
7774 [POSIX] (EAFNOSUPPORT): Likewise.
7775 [POSIX] (EALREADY): Likewise.
7776 [POSIX] (ECONNABORTED): Likewise.
7777 [POSIX] (ECONNREFUSED): Likewise.
7778 [POSIX] (ECONNRESET): Likewise.
7779 [POSIX] (EDESTADDRREQ): Likewise.
7780 [POSIX] (EDQUOT): Likewise.
7781 [POSIX] (EHOSTUNREACH): Likewise.
7782 [POSIX] (EIDRM): Likewise.
7783 [POSIX] (EISCONN): Likewise.
7784 [POSIX] (ELOOP): Likewise.
7785 [POSIX] (EMULTIHOP): Likewise.
7786 [POSIX] (ENETDOWN): Likewise.
7787 [POSIX] (ENETUNREACH): Likewise.
7788 [POSIX] (ENOBUFS): Likewise.
7789 [POSIX] (ENODATA): Likewise.
7790 [POSIX] (ENOLINK): Likewise.
7791 [POSIX] (ENOMSG): Likewise.
7792 [POSIX] (ENOPROTOOPT): Likewise.
7793 [POSIX] (ENOSR): Likewise.
7794 [POSIX] (ENOSTR): Likewise.
7795 [POSIX] (ENOTCONN): Likewise.
7796 [POSIX] (ENOTSOCK): Likewise.
7797 [POSIX] (EOPNOTSUPP): Likewise.
7798 [POSIX] (EOVERFLOW): Likewise.
7799 [POSIX] (EPROTO): Likewise.
7800 [POSIX] (EPROTONOSUPPORT): Likewise.
7801 [POSIX] (EPROTOTYPE): Likewise.
7802 [POSIX] (ESTALE): Likewise.
7803 [POSIX] (ETIME): Likewise.
7804 [POSIX] (ETXTBSY): Likewise.
7805 [POSIX] (EWOULDBLOCK): Likewise.
7806 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7807 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7808 [POSIX] (SEEK_CUR): Likewise.
7809 [POSIX] (SEEK_END): Likewise.
7810 [POSIX || UNIX98] (mode_t): Do not require.
7811 [POSIX] (off_t): Likewise.
7812 [POSIX] (pid_t): Likewise.
7813 [POSIX] (sys/stat.h): Do not allow header.
7814 [POSIX] (unistd.h): Likewise.
7815 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7816 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7817 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7818 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7820 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7821 sigevent): Specify elements.
7822 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7824 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7825 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7827 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7828 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7829 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7830 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7831 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7832 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7833 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7834 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7835 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7836 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7837 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7838 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7839 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7840 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7842 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7844 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7846 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7848 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7849 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7850 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7851 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7852 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7853 Specify lower bound on value.
7854 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7855 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7856 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7857 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7858 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7859 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7860 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7861 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7863 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7865 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7866 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7867 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7868 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7869 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7870 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7871 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7872 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7873 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7874 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7875 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7876 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7877 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7878 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7879 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7880 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7882 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7884 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7885 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7886 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7887 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7888 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7889 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7891 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7892 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7893 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7894 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7895 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7896 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7897 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7899 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7900 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7901 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7902 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7903 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7904 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7905 specify as optional.
7906 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7907 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7908 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7909 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7910 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7911 [XPG3] (NL_LANGMAX): Likewise.
7912 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7913 [POSIX || XPG3] (NL_NMAX): Likewise.
7914 [POSIX || XPG3] (NL_SETMAX): Likewise.
7915 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7916 [XPG3] (NZERO): Likewise.
7917 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7918 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7919 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7920 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7921 (REG_ERANGE): Expect.
7922 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7924 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7925 Use (void) in prototype.
7926 [POSIX] (*_t): Allow.
7927 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7928 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7929 (WRDE_BADVAL): Expect.
7931 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7933 [XPG3 || XPG4] (O_RSYNC): Likewise.
7934 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7936 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7937 [XPG3 || XPG4] (sigqueue): Likewise.
7938 [XPG3 || XPG4] (sigtimedwait): Likewise.
7939 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7940 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7941 [XPG3 || XPG4] (vsnprintf): Likewise.
7942 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7944 [XPG3 || XPG4] (blksize_t): Likewise.
7945 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7947 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7948 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7949 [XPG3 || XPG4] (struct itimerspec): Likewise.
7950 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7951 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7952 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7953 [XPG3 || XPG4] (clockid_t): Likewise.
7954 [XPG3 || XPG4] (timer_t): Likewise.
7955 [XPG3 || XPG4] (clock_getres): Likewise.
7956 [XPG3 || XPG4] (clock_gettime): Likewise.
7957 [XPG3 || XPG4] (clock_settime): Likewise.
7958 [XPG3 || XPG4] (nanosleep): Likewise.
7959 [XPG3 || XPG4] (timer_create): Likewise.
7960 [XPG3 || XPG4] (timer_delete): Likewise.
7961 [XPG3 || XPG4] (timer_gettime): Likewise.
7962 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7963 [XPG3 || XPG4] (timer_settime): Likewise.
7964 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7965 [XPG3 || XPG4] (getlogin_r): Likewise.
7966 [XPG3 || XPG4] (pread): Likewise.
7967 [XPG3 || XPG4] (pthread_atfork): Likewise.
7968 [XPG3 || XPG4] (pwrite): Likewise.
7971 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7974 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7976 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7977 finalizing MALLSTREAM.
7979 * sysdeps/mach/hurd/syncfs.c: New file.
7981 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7984 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7985 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7986 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7987 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7988 (_nss_dns_gethostbyname4_r): Likewise.
7989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7990 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7992 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7995 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7997 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7999 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8000 * elf/cache.c (print_entry): Print ",AArch64" for
8003 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8004 * elf/cache.c (print_entry): Print ",hard-float" for
8007 2012-11-18 David S. Miller <davem@davemloft.net>
8009 With help from Joseph Myers.
8010 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8012 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8014 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8015 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8017 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8018 * math/libm-test.inc (y0_test): New tests.
8019 (y1_test): New tests.
8020 * sysdeps/i386/fpu/libm-test-ulps: Update.
8021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8024 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8026 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8028 * configure: Regenerated.
8030 2012-11-17 David S. Miller <davem@davemloft.net>
8033 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8034 nonzero exponents with absolute value below 0x1p-128 to +/-
8037 2012-11-17 Joseph Myers <joseph@codesourcery.com>
8039 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8041 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8043 * posix/getconf-speclist.c: New file.
8044 * posix/posix-envs.def: Likewise.
8045 * posix/confstr.c (START_ENV_GROUP): New macro.
8046 (END_ENV_GROUP): Likewise.
8047 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8048 (KNOWN_PRESENT_ENV_STRING): Likewise.
8049 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8050 (UNKNOWN_ENVIRONMENT): Likewise.
8051 (confstr): Include posix-envs.def instead of handling
8052 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8053 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8054 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8055 (END_ENV_GROUP): Likewise.
8056 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8057 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8058 (UNKNOWN_ENVIRONMENT): Likewise.
8059 (__sysconf): Include posix-envs.def instead of handling associated
8060 cases directly here.
8061 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8062 preprocessing getconf-speclist.c rather than running getconf or
8063 generating empty file.
8065 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8067 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8069 2012-11-16 Andrej Lajovic <natrij@gmail.com>
8072 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8074 2012-11-16 David S. Miller <davem@davemloft.net>
8076 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8077 smaller than LDBL_EPSILON/2.0L, just return xm1.
8079 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8081 * elf/tst-array1.c (init): Set constructor priority to 1000.
8082 (fini): Set destructor priority to 1000.
8083 * elf/tst-array2dep.c: Likewise.
8085 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8088 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8089 (_IO_new_file_xsputn): Also return EOF if none of the input
8090 data was written when overflow failed.
8091 * libio/iopadn.c (_IO_padn): Likewise.
8092 * libio/iowpadn.c (_IO_wpadn): Likewise.
8093 * stdio-common/tst-put-error.c: Add copyright notice.
8094 (do_test): Add case for printing padded string.
8095 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8096 _IO_padn returned error.
8097 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8098 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8101 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8103 * libio/libioP.h: Add comment note that the references to C++
8104 bits are now obsolete.
8106 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8108 * math/libm-test.inc (check_complex): Use asprintf.
8110 2012-11-14 Joseph Myers <joseph@codesourcery.com>
8112 * debug/pcprofiledump.c (print_version): Update copyright year.
8113 * malloc/memusagestat.c (print_version): Likewise.
8115 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8118 * elf/Makefile (tests): Add tst-audit8.
8119 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8120 ($(objpfx)tst-audit8.out): New target.
8121 (tst-audit8-ENV): New variable.
8122 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8123 audit if l_reloc_result is NULL.
8124 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8125 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8126 * elf/tst-audit8.c: New file.
8128 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8130 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8131 * misc/Makefile (CFLAGS-select.c): Define.
8132 * posix/Makefile (CFLAGS-pause.c): Define.
8134 2012-11-13 David S. Miller <davem@davemloft.net>
8136 * crypt/Makefile: Move test targets after toplevel Rules
8137 inclusion. Grab any necessary sysdep routines when linking.
8138 * crypt/md5.c (md5_process_block): Remove define, we will always
8139 name it __md5_process_block.
8140 (md5_finish_ctx): Update md5_process_block call.
8141 (md5_stream): Likewise.
8142 (md5_process_bytes): Likewise.
8143 (md5_process_block): Rename to __md5_process_block and move to ...
8144 * crypt/md5-block.c: ... here.
8145 * crypt/sha256.c (sha256_process_block): Move to ...
8146 * crypt/sha256-block.c: ... here.
8147 * crypt/sha512.c (sha512_process_block): Move to ...
8148 * crypt/sha512-block.c: ... here.
8149 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8151 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8152 * sysdeps/sparc/sparc64/multiarch/Makefile
8153 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8155 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8156 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8158 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8159 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8160 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8161 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8162 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8163 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8164 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8165 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8166 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8168 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8169 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8171 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8173 2012-11-13 Joseph Myers <joseph@codesourcery.com>
8175 * timezone/tzselect.ksh: Update from tzcode git revision
8176 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8177 * timezone/zdump.c: Likewise.
8178 * timezone/zic.c: Likewise.
8179 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8180 in TZVERSION setting, not $(PKGVERSION).
8181 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8182 REPORT_BUGS_TO settings.
8185 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8188 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8190 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8191 detection to immediately after _FP_ROUND().
8192 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8195 2012-11-11 David S. Miller <davem@davemloft.net>
8197 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8199 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8200 __close rather than their public counterparts.
8202 2012-11-10 Joseph Myers <joseph@codesourcery.com>
8204 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8206 [UNIX98] (sem_timedwait): Do not expect.
8207 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8208 [XPG4 || UNIX98] (sockatmark): Do not expect.
8209 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8210 (clock_getcpuclockid): Do not expect.
8211 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8212 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8214 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8215 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8216 [UNIX98] (vwscanf): Likewise.
8217 [UNIX98] (vswscanf): Likewise.
8219 2012-11-09 Joseph Myers <joseph@codesourcery.com>
8221 * timezone/version.h: Remove file.
8222 * timezone/README: Do not refer to version.h.
8223 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8225 ($(objpfx)zdump.o): Likewise.
8226 ($(objpfx)version.h): New target.
8228 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8230 * timezone/README: Don't mention modification to tzselect.ksh.
8231 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8232 work on unmodified tzselect.ksh. Substitute version numbers in
8235 * Makefile (format-me): Remove.
8236 (INSTALL): Adjust indentation. Use commands directly instead of
8239 * aclocal.m4 (ACX_PKGVERSION): New macro.
8240 (ACX_BUGURL): Likewise.
8241 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8242 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8243 (REPORT_BUGS_TO): Likewise.
8244 * configure: Regenerated.
8245 * config.h.in (PKGVERSION): New macro.
8246 (REPORT_BUGS_TO): Likewise.
8247 * config.make.in (PKGVERSION): New variable.
8248 (PKGVERSION_TEXI): Likewise.
8249 (REPORT_BUGS_TO): Likewise.
8250 (REPORT_BUGS_TEXI): Likewise.
8251 * Makefile (format-me): Use -I$(common-objpfx)manual.
8252 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8253 ($(common-objpfx)manual/%): New target.
8254 (manual/%): Remove target.
8255 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8256 (print_version): Use PKGVERSION.
8257 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8258 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8260 ($(objpfx)xtrace): Likewise.
8261 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8262 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8263 (print_version): Use PKGVERSION.
8264 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8265 (do_version): Use PKGVERSION.
8266 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8268 (common-ldd-rewrite): Likewise.
8269 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8270 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8271 (print_version): Use PKGVERSION.
8272 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8273 * elf/pldd.c (argp_program_bug_address): Remove variable.
8274 (more_help): New function.
8275 (argp): Use more_help.
8276 (print_version): Use PKGVERSION.
8277 * elf/sln.c (main): Use PKGVERSION.
8278 (usage): Use REPORT_BUGS_TO.
8279 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8280 (top level): Use PKGVERSION.
8281 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8282 (print_version): Use PKGVERSION.
8283 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8284 (print_version): Use PKGVERSION.
8285 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8286 (print_version): Use PKGVERSION.
8287 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8288 (print_version): Use PKGVERSION.
8289 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8290 (print_version): Use PKGVERSION.
8291 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8292 (print_version): Use PKGVERSION.
8293 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8295 ($(objpfx)memusage): Likewise.
8296 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8297 (do_version): Use PKGVERSION.
8298 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8299 (print_version): Use PKGVERSION.
8300 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8301 ($PKGVERSION): New variable.
8302 ($REPORT_BUGS_TO): Likewise.
8303 (usage): Use $REPORT_BUGS_TO.
8304 (top level): Use $PKGVERSION.
8305 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8306 ($(objpfx)pkgvers.texi): New rule.
8307 ($(objpfx)stamp-pkgvers): Likewise.
8308 * manual/install.texi: Include pkgvers.texi.
8309 (--with-pkgversion): Document new configure option.
8310 (--with-bugurl): Likewise.
8311 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8312 than necessarily for this particular distribution. Use
8313 REPORT_BUGS_TO for where to report bugs.
8314 * INSTALL: Regenerated.
8315 * manual/libc.texinfo: Include pkgvers.texi.
8316 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8317 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8318 (print_version): Use PKGVERSION.
8319 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8320 (print_version): Use PKGVERSION.
8321 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8322 (print_version): Use PKGVERSION.
8323 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8324 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8326 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8327 (print_version): Use PKGVERSION.
8328 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8329 (print_version): Use PKGVERSION.
8330 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8333 * timezone/checktab.awk: Update from tzcode 2012i.
8334 * timezone/ialloc.c: Likewise.
8335 * timezone/private.h: Likewise.
8336 * timezone/scheck.c: Likewise.
8337 * timezone/tzfile.h: Likewise.
8338 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8339 (TZVERSION): Hardcode tzcode version number.
8340 * timezone/zdump.c: Update from tzcode 2012i.
8341 * timezone/zic.c: Likewise.
8342 * timezone/version.h: New file.
8343 * timezone/README: Describe version.h. Update upstream location.
8346 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8347 (mktemp): Enable declaration.
8348 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8365 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8366 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8367 for copies of such integer values.
8368 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8369 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8371 2012-11-09 Andreas Jaeger <aj@suse.de>
8373 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8374 definitions and declarations that are provided by
8375 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8377 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8379 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
8380 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8381 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8384 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8386 * elf/elf.h: Update comment before AArch64 relocations.
8388 2012-11-07 David S. Miller <davem@davemloft.net>
8390 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8391 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8392 (__start_context): Declare.
8393 (__makecontext_ret): Delete.
8394 (__makecontext): Hook up __start_context instead of
8396 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8397 (sysdep_routines): Add __start_context when in stdlib.
8399 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8401 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8402 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8403 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8405 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8406 (READELF): New variable. Use it instead of hardcoded "readelf".
8408 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8410 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8411 * sysdeps/x86/Makefile: Here.
8412 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8413 * sysdeps/x86/tst-xmmymm.sh: This.
8415 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8417 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8419 [UNIX98] (pthread_barrier_t): Do not expect.
8420 [UNIX98] (pthread_barrierattr_t): Likewise.
8421 [UNIX98] (pthread_spinlock_t): Likewise.
8422 [UNIX98] (pthread_barrier_destroy): Likewise.
8423 [UNIX98] (pthread_barrier_init): Likewise.
8424 [UNIX98] (pthread_barrier_wait): Likewise.
8425 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8426 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8427 [UNIX98] (pthread_barrierattr_init): Likewise.
8428 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8429 [UNIX98] (pthread_getcpuclockid): Likewise.
8430 [UNIX98] (pthread_mutex_timedlock): Likewise.
8431 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8432 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8433 [UNIX98] (pthread_sigmask): Likewise.
8434 [UNIX98] (pthread_spin_destroy): Likewise.
8435 [UNIX98] (pthread_spin_init): Likewise.
8436 [UNIX98] (pthread_spin_lock): Likewise.
8437 [UNIX98] (pthread_spin_trylock): Likewise.
8438 [UNIX98] (pthread_spin_unlock): Likewise.
8439 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8441 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8442 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8443 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8444 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8445 [XPG3 || XPG4] (pthread_key_t): Likewise.
8446 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8447 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8448 [XPG3 || XPG4] (pthread_once_t): Likewise.
8449 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8450 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8451 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8452 [XPG3 || XPG4] (pthread_t): Likewise.
8454 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8456 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8458 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8459 Change function return type to int.
8461 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8462 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8463 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8464 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8465 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8466 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8467 [!POSIX] (posix_madvise): Likewise.
8468 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8470 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8471 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8473 (posix_mem_offset): Likewise.
8474 (posix_typed_mem_get_info): Likewise.
8475 (posix_typed_mem_open): Likewise.
8477 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8478 Change condition to [XOPEN2K8].
8480 * conform/conformtest.pl: Preprocess allow-header data with -x c
8481 instead of from stdin.
8482 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8483 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8484 [C99-based standards] (cerfc): Likewise.
8485 [C99-based standards] (cexp2): Likewise.
8486 [C99-based standards] (cexpm1): Likewise.
8487 [C99-based standards] (clog10): Likewise.
8488 [C99-based standards] (clog1p): Likewise.
8489 [C99-based standards] (clog2): Likewise.
8490 [C99-based standards] (clgamma): Likewise.
8491 [C99-based standards] (ctgamma): Likewise.
8492 [C99-based standards] (cerff): Likewise.
8493 [C99-based standards] (cerfcf): Likewise.
8494 [C99-based standards] (cexp2f): Likewise.
8495 [C99-based standards] (cexpm1f): Likewise.
8496 [C99-based standards] (clog10f): Likewise.
8497 [C99-based standards] (clog1pf): Likewise.
8498 [C99-based standards] (clog2f): Likewise.
8499 [C99-based standards] (clgammaf): Likewise.
8500 [C99-based standards] (ctgammaf): Likewise.
8501 [C99-based standards] (cerfl): Likewise.
8502 [C99-based standards] (cerfcl): Likewise.
8503 [C99-based standards] (cexp2l): Likewise.
8504 [C99-based standards] (cexpm1l): Likewise.
8505 [C99-based standards] (clog10l): Likewise.
8506 [C99-based standards] (clog1pl): Likewise.
8507 [C99-based standards] (clog2l): Likewise.
8508 [C99-based standards] (clgammal): Likewise.
8509 [C99-based standards] (ctgammal): Likewise.
8510 * conform/data/inttypes.h-data [C99-based standards]: Include
8511 stdint.h-data. Remove all expectations for stdint.h contents.
8512 [C99-based standards] (PRI*): Do not allow.
8513 [C99-based standards] (SCN*): Likewise.
8514 [C99-based standards] (*_t): Likewise.
8515 [C99-based-standards] (PRId8): Expect macro.
8516 [C99-based-standards] (PRIi8): Likewise.
8517 [C99-based-standards] (PRIo8): Likewise.
8518 [C99-based-standards] (PRIu8): Likewise.
8519 [C99-based-standards] (PRIx8): Likewise.
8520 [C99-based-standards] (PRIX8): Likewise.
8521 [C99-based-standards] (SCNd8): Likewise.
8522 [C99-based-standards] (SCNi8): Likewise.
8523 [C99-based-standards] (SCNo8): Likewise.
8524 [C99-based-standards] (SCNu8): Likewise.
8525 [C99-based-standards] (SCNx8): Likewise.
8526 [C99-based-standards] (PRIdLEAST8): Likewise.
8527 [C99-based-standards] (PRIiLEAST8): Likewise.
8528 [C99-based-standards] (PRIoLEAST8): Likewise.
8529 [C99-based-standards] (PRIuLEAST8): Likewise.
8530 [C99-based-standards] (PRIxLEAST8): Likewise.
8531 [C99-based-standards] (PRIXLEAST8): Likewise.
8532 [C99-based-standards] (SCNdLEAST8): Likewise.
8533 [C99-based-standards] (SCNiLEAST8): Likewise.
8534 [C99-based-standards] (SCNoLEAST8): Likewise.
8535 [C99-based-standards] (SCNuLEAST8): Likewise.
8536 [C99-based-standards] (SCNxLEAST8): Likewise.
8537 [C99-based-standards] (PRIdFAST8): Likewise.
8538 [C99-based-standards] (PRIiFAST8): Likewise.
8539 [C99-based-standards] (PRIoFAST8): Likewise.
8540 [C99-based-standards] (PRIuFAST8): Likewise.
8541 [C99-based-standards] (PRIxFAST8): Likewise.
8542 [C99-based-standards] (PRIXFAST8): Likewise.
8543 [C99-based-standards] (SCNdFAST8): Likewise.
8544 [C99-based-standards] (SCNiFAST8): Likewise.
8545 [C99-based-standards] (SCNoFAST8): Likewise.
8546 [C99-based-standards] (SCNuFAST8): Likewise.
8547 [C99-based-standards] (SCNxFAST8): Likewise.
8548 [C99-based-standards] (PRId16): Likewise.
8549 [C99-based-standards] (PRIi16): Likewise.
8550 [C99-based-standards] (PRIo16): Likewise.
8551 [C99-based-standards] (PRIu16): Likewise.
8552 [C99-based-standards] (PRIx16): Likewise.
8553 [C99-based-standards] (PRIX16): Likewise.
8554 [C99-based-standards] (SCNd16): Likewise.
8555 [C99-based-standards] (SCNi16): Likewise.
8556 [C99-based-standards] (SCNo16): Likewise.
8557 [C99-based-standards] (SCNu16): Likewise.
8558 [C99-based-standards] (SCNx16): Likewise.
8559 [C99-based-standards] (PRIdLEAST16): Likewise.
8560 [C99-based-standards] (PRIiLEAST16): Likewise.
8561 [C99-based-standards] (PRIoLEAST16): Likewise.
8562 [C99-based-standards] (PRIuLEAST16): Likewise.
8563 [C99-based-standards] (PRIxLEAST16): Likewise.
8564 [C99-based-standards] (PRIXLEAST16): Likewise.
8565 [C99-based-standards] (SCNdLEAST16): Likewise.
8566 [C99-based-standards] (SCNiLEAST16): Likewise.
8567 [C99-based-standards] (SCNoLEAST16): Likewise.
8568 [C99-based-standards] (SCNuLEAST16): Likewise.
8569 [C99-based-standards] (SCNxLEAST16): Likewise.
8570 [C99-based-standards] (PRIdFAST16): Likewise.
8571 [C99-based-standards] (PRIiFAST16): Likewise.
8572 [C99-based-standards] (PRIoFAST16): Likewise.
8573 [C99-based-standards] (PRIuFAST16): Likewise.
8574 [C99-based-standards] (PRIxFAST16): Likewise.
8575 [C99-based-standards] (PRIXFAST16): Likewise.
8576 [C99-based-standards] (SCNdFAST16): Likewise.
8577 [C99-based-standards] (SCNiFAST16): Likewise.
8578 [C99-based-standards] (SCNoFAST16): Likewise.
8579 [C99-based-standards] (SCNuFAST16): Likewise.
8580 [C99-based-standards] (SCNxFAST16): Likewise.
8581 [C99-based-standards] (PRId32): Likewise.
8582 [C99-based-standards] (PRIi32): Likewise.
8583 [C99-based-standards] (PRIo32): Likewise.
8584 [C99-based-standards] (PRIu32): Likewise.
8585 [C99-based-standards] (PRIx32): Likewise.
8586 [C99-based-standards] (PRIX32): Likewise.
8587 [C99-based-standards] (SCNd32): Likewise.
8588 [C99-based-standards] (SCNi32): Likewise.
8589 [C99-based-standards] (SCNo32): Likewise.
8590 [C99-based-standards] (SCNu32): Likewise.
8591 [C99-based-standards] (SCNx32): Likewise.
8592 [C99-based-standards] (PRIdLEAST32): Likewise.
8593 [C99-based-standards] (PRIiLEAST32): Likewise.
8594 [C99-based-standards] (PRIoLEAST32): Likewise.
8595 [C99-based-standards] (PRIuLEAST32): Likewise.
8596 [C99-based-standards] (PRIxLEAST32): Likewise.
8597 [C99-based-standards] (PRIXLEAST32): Likewise.
8598 [C99-based-standards] (SCNdLEAST32): Likewise.
8599 [C99-based-standards] (SCNiLEAST32): Likewise.
8600 [C99-based-standards] (SCNoLEAST32): Likewise.
8601 [C99-based-standards] (SCNuLEAST32): Likewise.
8602 [C99-based-standards] (SCNxLEAST32): Likewise.
8603 [C99-based-standards] (PRIdFAST32): Likewise.
8604 [C99-based-standards] (PRIiFAST32): Likewise.
8605 [C99-based-standards] (PRIoFAST32): Likewise.
8606 [C99-based-standards] (PRIuFAST32): Likewise.
8607 [C99-based-standards] (PRIxFAST32): Likewise.
8608 [C99-based-standards] (PRIXFAST32): Likewise.
8609 [C99-based-standards] (SCNdFAST32): Likewise.
8610 [C99-based-standards] (SCNiFAST32): Likewise.
8611 [C99-based-standards] (SCNoFAST32): Likewise.
8612 [C99-based-standards] (SCNuFAST32): Likewise.
8613 [C99-based-standards] (SCNxFAST32): Likewise.
8614 [C99-based-standards] (PRId64): Likewise.
8615 [C99-based-standards] (PRIi64): Likewise.
8616 [C99-based-standards] (PRIo64): Likewise.
8617 [C99-based-standards] (PRIu64): Likewise.
8618 [C99-based-standards] (PRIx64): Likewise.
8619 [C99-based-standards] (PRIX64): Likewise.
8620 [C99-based-standards] (SCNd64): Likewise.
8621 [C99-based-standards] (SCNi64): Likewise.
8622 [C99-based-standards] (SCNo64): Likewise.
8623 [C99-based-standards] (SCNu64): Likewise.
8624 [C99-based-standards] (SCNx64): Likewise.
8625 [C99-based-standards] (PRIdLEAST64): Likewise.
8626 [C99-based-standards] (PRIiLEAST64): Likewise.
8627 [C99-based-standards] (PRIoLEAST64): Likewise.
8628 [C99-based-standards] (PRIuLEAST64): Likewise.
8629 [C99-based-standards] (PRIxLEAST64): Likewise.
8630 [C99-based-standards] (PRIXLEAST64): Likewise.
8631 [C99-based-standards] (SCNdLEAST64): Likewise.
8632 [C99-based-standards] (SCNiLEAST64): Likewise.
8633 [C99-based-standards] (SCNoLEAST64): Likewise.
8634 [C99-based-standards] (SCNuLEAST64): Likewise.
8635 [C99-based-standards] (SCNxLEAST64): Likewise.
8636 [C99-based-standards] (PRIdFAST64): Likewise.
8637 [C99-based-standards] (PRIiFAST64): Likewise.
8638 [C99-based-standards] (PRIoFAST64): Likewise.
8639 [C99-based-standards] (PRIuFAST64): Likewise.
8640 [C99-based-standards] (PRIxFAST64): Likewise.
8641 [C99-based-standards] (PRIXFAST64): Likewise.
8642 [C99-based-standards] (SCNdFAST64): Likewise.
8643 [C99-based-standards] (SCNiFAST64): Likewise.
8644 [C99-based-standards] (SCNoFAST64): Likewise.
8645 [C99-based-standards] (SCNuFAST64): Likewise.
8646 [C99-based-standards] (SCNxFAST64): Likewise.
8647 [C99-based-standards] (PRIdMAX): Likewise.
8648 [C99-based-standards] (PRIiMAX): Likewise.
8649 [C99-based-standards] (PRIoMAX): Likewise.
8650 [C99-based-standards] (PRIuMAX): Likewise.
8651 [C99-based-standards] (PRIxMAX): Likewise.
8652 [C99-based-standards] (PRIXMAX): Likewise.
8653 [C99-based-standards] (SCNdMAX): Likewise.
8654 [C99-based-standards] (SCNiMAX): Likewise.
8655 [C99-based-standards] (SCNoMAX): Likewise.
8656 [C99-based-standards] (SCNuMAX): Likewise.
8657 [C99-based-standards] (SCNxMAX): Likewise.
8658 [C99-based-standards] (PRIdPTR): Likewise.
8659 [C99-based-standards] (PRIiPTR): Likewise.
8660 [C99-based-standards] (PRIoPTR): Likewise.
8661 [C99-based-standards] (PRIuPTR): Likewise.
8662 [C99-based-standards] (PRIxPTR): Likewise.
8663 [C99-based-standards] (PRIXPTR): Likewise.
8664 [C99-based-standards] (SCNdPTR): Likewise.
8665 [C99-based-standards] (SCNiPTR): Likewise.
8666 [C99-based-standards] (SCNoPTR): Likewise.
8667 [C99-based-standards] (SCNuPTR): Likewise.
8668 [C99-based-standards] (SCNxPTR): Likewise.
8669 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8671 * conform/data/stdint.h-data: Update comments to clarify
8673 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8675 [C99-based standards] (INT8_MAX): Likewise.
8676 [C99-based standards] (INT16_MIN): Likewise.
8677 [C99-based standards] (INT16_MAX): Likewise.
8678 [C99-based standards] (INT32_MIN): Likewise.
8679 [C99-based standards] (INT32_MAX): Likewise.
8680 [C99-based standards] (INT64_MIN): Likewise.
8681 [C99-based standards] (INT64_MAX): Likewise.
8682 [C99-based standards] (UINT8_MAX): Likewise.
8683 [C99-based standards] (UINT16_MAX): Likewise.
8684 [C99-based standards] (UINT32_MAX): Likewise.
8685 [C99-based standards] (UINT64_MAX): Likewise.
8686 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8687 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8688 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8689 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8690 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8691 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8692 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8693 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8694 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8695 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8696 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8697 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8698 [C99-based standards] (INT_FAST8_MIN): Likewise.
8699 [C99-based standards] (INT_FAST8_MAX): Likewise.
8700 [C99-based standards] (INT_FAST16_MIN): Likewise.
8701 [C99-based standards] (INT_FAST16_MAX): Likewise.
8702 [C99-based standards] (INT_FAST32_MIN): Likewise.
8703 [C99-based standards] (INT_FAST32_MAX): Likewise.
8704 [C99-based standards] (INT_FAST64_MIN): Likewise.
8705 [C99-based standards] (INT_FAST64_MAX): Likewise.
8706 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8707 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8708 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8709 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8710 [C99-based standards] (INTPTR_MIN): Likewise.
8711 [C99-based standards] (INTPTR_MAX): Likewise.
8712 [C99-based standards] (UINTPTR_MAX): Likewise.
8713 [C99-based standards] (INTMAX_MIN): Likewise.
8714 [C99-based standards] (INTMAX_MAX): Likewise.
8715 [C99-based standards] (UINTMAX_MAX): Likewise.
8716 [C99-based standards] (PTRDIFF_MIN): Likewise.
8717 [C99-based standards] (PTRDIFF_MAX): Likewise.
8718 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8719 [C99-based standards] (SIZE_MAX): Likewise.
8720 [C99-based standards] (WCHAR_MAX): Likewise.
8721 [C99-based standards] (WINT_MAX): Likewise.
8722 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8723 constraint on value.
8724 [C99-based standards] (WCHAR_MIN): Likewise.
8725 [C99-based standards] (WINT_MIN): Likewise.
8726 [C99-based standards] (*_t): Allow.
8727 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8728 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8729 Include math.h-data and complex.h-data. Remove all expectations
8730 of math.h and complex.h contents.
8731 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8733 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8734 (struct tm): Expect tag.
8735 [C99-based-standards] (wcstof): Expect function.
8736 [C99-based-standards] (wcstold): Likewise.
8737 [C99-based-standards] (wcstoll): Likewise.
8738 [C99-based-standards] (wcstoull): Likewise.
8739 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8740 macro-int-constant. Specify type.
8741 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8742 constraint on value.
8743 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8745 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8747 [ISO C standards]: Do not allow headers.
8748 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8749 wcs[abcdefghijklmnopqrstuvwxyz]*.
8750 [ISO C standards] (*_t): Do not allow.
8751 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8753 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8754 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8756 [ISO C standards]: Do not allow headers.
8757 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8758 is[abcdefghijklmnopqrstuvwxyz]*.
8759 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8760 to[abcdefghijklmnopqrstuvwxyz]*.
8761 [ISO C standards] (*_t): Do not allow.
8762 * conform/data/stdalign.h-data: New file.
8763 * conform/data/stdbool.h-data: Likewise.
8764 * conform/data/stdnoreturn.h-data: Likewise.
8766 2012-11-07 Roland McGrath <roland@hack.frob.com>
8769 * manual/filesys.texi (Directory Entries): Typo fix.
8770 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8772 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8774 * elf/elf.h (EM_AARCH64): New macro.
8775 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8776 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8777 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8778 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8779 (R_AARCH64_TLSDESC): Likewise.
8780 (NT_ARM_TLS): Likewise.
8781 (NT_ARM_HW_BREAK): Likewise.
8782 (NT_ARM_HW_WATCH): Likewise.
8784 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8787 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8788 (__ieee754_powl): Saturate nonzero exponents with absolute value
8789 below 0x1p-79 to +/- 0x1p-79.
8790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8791 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8792 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8793 nonzero exponents with absolute value below 0x1p-32 to +/-
8795 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8796 (__ieee754_powl): Saturate nonzero exponents with absolute value
8797 below 0x1p-79 to +/- 0x1p-79.
8798 * math/libm-test.inc (pow_test): Add more tests.
8800 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8802 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8803 _dl_s390_cap_flags with kernel. Increase string length.
8804 (_dl_s390_platforms): Add z196 and zEC12.
8806 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8808 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8809 Change XOPEN21K to XOPEN2K.
8811 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8813 * string/memmove.c: Use memcpy when possible.
8815 2012-11-06 Andreas Jaeger <aj@suse.de>
8817 * po/eo.po: Update from translation team.
8819 2012-11-06 Joseph Myers <joseph@codesourcery.com>
8822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8823 exponent and small x and y exponents, scale x or y up. Increase
8824 by 2 the exponent used in scaling up.
8825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8827 * math/libm-test.inc (fma_test): Add more tests.
8828 (fma_test_towardzero): Likewise.
8829 (fma_test_downward): Likewise.
8830 (fma_test_upward): Likewise.
8832 2012-11-05 Joseph Myers <joseph@codesourcery.com>
8835 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8839 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8840 namespace for names of struct fields.
8841 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8843 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8844 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8846 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8849 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8851 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8853 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8857 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8860 2012-11-04 Joseph Myers <joseph@codesourcery.com>
8863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8864 definitely overflow as x * y not x * y + z.
8865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8867 * math/libm-test.inc (fma_test): Add more tests.
8868 (fma_test_towardzero): Likewise.
8869 (fma_test_downward): Likewise.
8870 (fma_test_upward): Likewise.
8872 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8876 * include/stub-tag.h: Remove file.
8877 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8879 * manual/maint.texi (Porting): Don't reference it.
8880 * Makerules ($(objpfx)stubs): Likewise.
8881 * dirent/closedir.c: Don't include <stub-tag.h>.
8882 * dirent/dirfd.c: Likewise.
8883 * dirent/fdopendir.c: Likewise.
8884 * dirent/getdents.c: Likewise.
8885 * dirent/getdents64.c: Likewise.
8886 * dirent/opendir.c: Likewise.
8887 * dirent/readdir.c: Likewise.
8888 * dirent/readdir64.c: Likewise.
8889 * dirent/readdir64_r.c: Likewise.
8890 * dirent/readdir_r.c: Likewise.
8891 * dirent/rewinddir.c: Likewise.
8892 * dirent/seekdir.c: Likewise.
8893 * dirent/telldir.c: Likewise.
8894 * gmon/profil.c: Likewise.
8895 * grp/setgroups.c: Likewise.
8896 * inet/if_index.c: Likewise.
8897 * io/access.c: Likewise.
8898 * io/chdir.c: Likewise.
8899 * io/chmod.c: Likewise.
8900 * io/chown.c: Likewise.
8901 * io/close.c: Likewise.
8902 * io/dup.c: Likewise.
8903 * io/dup2.c: Likewise.
8904 * io/dup3.c: Likewise.
8905 * io/euidaccess.c: Likewise.
8906 * io/faccessat.c: Likewise.
8907 * io/fchdir.c: Likewise.
8908 * io/fchmod.c: Likewise.
8909 * io/fchmodat.c: Likewise.
8910 * io/fchown.c: Likewise.
8911 * io/fchownat.c: Likewise.
8912 * io/fcntl.c: Likewise.
8913 * io/flock.c: Likewise.
8914 * io/fstatfs.c: Likewise.
8915 * io/fstatfs64.c: Likewise.
8916 * io/fstatvfs.c: Likewise.
8917 * io/fstatvfs64.c: Likewise.
8918 * io/futimens.c: Likewise.
8919 * io/fxstat.c: Likewise.
8920 * io/fxstat64.c: Likewise.
8921 * io/fxstatat.c: Likewise.
8922 * io/fxstatat64.c: Likewise.
8923 * io/getcwd.c: Likewise.
8924 * io/isatty.c: Likewise.
8925 * io/lchmod.c: Likewise.
8926 * io/lchown.c: Likewise.
8927 * io/link.c: Likewise.
8928 * io/linkat.c: Likewise.
8929 * io/lseek.c: Likewise.
8930 * io/lseek64.c: Likewise.
8931 * io/lxstat64.c: Likewise.
8932 * io/mkdir.c: Likewise.
8933 * io/mkdirat.c: Likewise.
8934 * io/mkfifo.c: Likewise.
8935 * io/mkfifoat.c: Likewise.
8936 * io/open.c: Likewise.
8937 * io/open64.c: Likewise.
8938 * io/openat.c: Likewise.
8939 * io/openat64.c: Likewise.
8940 * io/pipe.c: Likewise.
8941 * io/pipe2.c: Likewise.
8942 * io/poll.c: Likewise.
8943 * io/posix_fadvise.c: Likewise.
8944 * io/posix_fadvise64.c: Likewise.
8945 * io/posix_fallocate.c: Likewise.
8946 * io/posix_fallocate64.c: Likewise.
8947 * io/read.c: Likewise.
8948 * io/readlink.c: Likewise.
8949 * io/readlinkat.c: Likewise.
8950 * io/rmdir.c: Likewise.
8951 * io/sendfile.c: Likewise.
8952 * io/sendfile64.c: Likewise.
8953 * io/statfs.c: Likewise.
8954 * io/statfs64.c: Likewise.
8955 * io/statvfs.c: Likewise.
8956 * io/statvfs64.c: Likewise.
8957 * io/symlink.c: Likewise.
8958 * io/symlinkat.c: Likewise.
8959 * io/ttyname.c: Likewise.
8960 * io/ttyname_r.c: Likewise.
8961 * io/umask.c: Likewise.
8962 * io/unlink.c: Likewise.
8963 * io/unlinkat.c: Likewise.
8964 * io/utime.c: Likewise.
8965 * io/utimensat.c: Likewise.
8966 * io/write.c: Likewise.
8967 * io/xmknod.c: Likewise.
8968 * io/xmknodat.c: Likewise.
8969 * io/xstat.c: Likewise.
8970 * io/xstat64.c: Likewise.
8971 * login/getpt.c: Likewise.
8972 * login/grantpt.c: Likewise.
8973 * login/unlockpt.c: Likewise.
8974 * math/e_acoshl.c: Likewise.
8975 * math/e_acosl.c: Likewise.
8976 * math/e_asinl.c: Likewise.
8977 * math/e_atan2l.c: Likewise.
8978 * math/e_atanhl.c: Likewise.
8979 * math/e_coshl.c: Likewise.
8980 * math/e_expl.c: Likewise.
8981 * math/e_fmodl.c: Likewise.
8982 * math/e_gammal_r.c: Likewise.
8983 * math/e_hypotl.c: Likewise.
8984 * math/e_j0l.c: Likewise.
8985 * math/e_j1l.c: Likewise.
8986 * math/e_jnl.c: Likewise.
8987 * math/e_lgammal_r.c: Likewise.
8988 * math/e_log10l.c: Likewise.
8989 * math/e_log2l.c: Likewise.
8990 * math/e_logl.c: Likewise.
8991 * math/e_powl.c: Likewise.
8992 * math/e_rem_pio2l.c: Likewise.
8993 * math/e_sinhl.c: Likewise.
8994 * math/e_sqrtl.c: Likewise.
8995 * math/fclrexcpt.c: Likewise.
8996 * math/fedisblxcpt.c: Likewise.
8997 * math/feenablxcpt.c: Likewise.
8998 * math/fegetenv.c: Likewise.
8999 * math/fegetexcept.c: Likewise.
9000 * math/fegetround.c: Likewise.
9001 * math/feholdexcpt.c: Likewise.
9002 * math/fesetenv.c: Likewise.
9003 * math/fesetround.c: Likewise.
9004 * math/feupdateenv.c: Likewise.
9005 * math/fgetexcptflg.c: Likewise.
9006 * math/fraiseexcpt.c: Likewise.
9007 * math/fsetexcptflg.c: Likewise.
9008 * math/ftestexcept.c: Likewise.
9009 * math/k_cosl.c: Likewise.
9010 * math/k_rem_pio2l.c: Likewise.
9011 * math/k_sinl.c: Likewise.
9012 * math/k_tanl.c: Likewise.
9013 * math/s_asinhl.c: Likewise.
9014 * math/s_atanl.c: Likewise.
9015 * math/s_cbrtl.c: Likewise.
9016 * math/s_erfl.c: Likewise.
9017 * math/s_expm1l.c: Likewise.
9018 * math/s_log1pl.c: Likewise.
9019 * math/s_tanhl.c: Likewise.
9020 * misc/acct.c: Likewise.
9021 * misc/brk.c: Likewise.
9022 * misc/chflags.c: Likewise.
9023 * misc/chroot.c: Likewise.
9024 * misc/fchflags.c: Likewise.
9025 * misc/fgetxattr.c: Likewise.
9026 * misc/flistxattr.c: Likewise.
9027 * misc/fremovexattr.c: Likewise.
9028 * misc/fsetxattr.c: Likewise.
9029 * misc/fsync.c: Likewise.
9030 * misc/ftruncate.c: Likewise.
9031 * misc/futimes.c: Likewise.
9032 * misc/futimesat.c: Likewise.
9033 * misc/getdomain.c: Likewise.
9034 * misc/getdtsz.c: Likewise.
9035 * misc/gethostid.c: Likewise.
9036 * misc/gethostname.c: Likewise.
9037 * misc/getloadavg.c: Likewise.
9038 * misc/getpagesize.c: Likewise.
9039 * misc/getsysstats.c: Likewise.
9040 * misc/getxattr.c: Likewise.
9041 * misc/gtty.c: Likewise.
9042 * misc/ioctl.c: Likewise.
9043 * misc/lgetxattr.c: Likewise.
9044 * misc/listxattr.c: Likewise.
9045 * misc/llistxattr.c: Likewise.
9046 * misc/lremovexattr.c: Likewise.
9047 * misc/lsetxattr.c: Likewise.
9048 * misc/lutimes.c: Likewise.
9049 * misc/madvise.c: Likewise.
9050 * misc/mincore.c: Likewise.
9051 * misc/mlock.c: Likewise.
9052 * misc/mlockall.c: Likewise.
9053 * misc/mmap.c: Likewise.
9054 * misc/mprotect.c: Likewise.
9055 * misc/msync.c: Likewise.
9056 * misc/munlock.c: Likewise.
9057 * misc/munlockall.c: Likewise.
9058 * misc/munmap.c: Likewise.
9059 * misc/preadv.c: Likewise.
9060 * misc/preadv64.c: Likewise.
9061 * misc/ptrace.c: Likewise.
9062 * misc/pwritev.c: Likewise.
9063 * misc/pwritev64.c: Likewise.
9064 * misc/readv.c: Likewise.
9065 * misc/reboot.c: Likewise.
9066 * misc/remap_file_pages.c: Likewise.
9067 * misc/removexattr.c: Likewise.
9068 * misc/revoke.c: Likewise.
9069 * misc/select.c: Likewise.
9070 * misc/setdomain.c: Likewise.
9071 * misc/setegid.c: Likewise.
9072 * misc/seteuid.c: Likewise.
9073 * misc/sethostid.c: Likewise.
9074 * misc/sethostname.c: Likewise.
9075 * misc/setregid.c: Likewise.
9076 * misc/setreuid.c: Likewise.
9077 * misc/setxattr.c: Likewise.
9078 * misc/sstk.c: Likewise.
9079 * misc/stty.c: Likewise.
9080 * misc/swapoff.c: Likewise.
9081 * misc/swapon.c: Likewise.
9082 * misc/sync.c: Likewise.
9083 * misc/syncfs.c: Likewise.
9084 * misc/syscall.c: Likewise.
9085 * misc/truncate.c: Likewise.
9086 * misc/ualarm.c: Likewise.
9087 * misc/usleep.c: Likewise.
9088 * misc/ustat.c: Likewise.
9089 * misc/utimes.c: Likewise.
9090 * misc/vhangup.c: Likewise.
9091 * misc/writev.c: Likewise.
9092 * posix/_exit.c: Likewise.
9093 * posix/alarm.c: Likewise.
9094 * posix/execve.c: Likewise.
9095 * posix/fexecve.c: Likewise.
9096 * posix/fork.c: Likewise.
9097 * posix/fpathconf.c: Likewise.
9098 * posix/getaddrinfo.c: Likewise.
9099 * posix/getegid.c: Likewise.
9100 * posix/geteuid.c: Likewise.
9101 * posix/getgid.c: Likewise.
9102 * posix/getgroups.c: Likewise.
9103 * posix/getlogin.c: Likewise.
9104 * posix/getlogin_r.c: Likewise.
9105 * posix/getpgid.c: Likewise.
9106 * posix/getpid.c: Likewise.
9107 * posix/getppid.c: Likewise.
9108 * posix/getresgid.c: Likewise.
9109 * posix/getresuid.c: Likewise.
9110 * posix/getsid.c: Likewise.
9111 * posix/getuid.c: Likewise.
9112 * posix/glob64.c: Likewise.
9113 * posix/nanosleep.c: Likewise.
9114 * posix/pathconf.c: Likewise.
9115 * posix/pause.c: Likewise.
9116 * posix/posix_madvise.c: Likewise.
9117 * posix/pread.c: Likewise.
9118 * posix/pread64.c: Likewise.
9119 * posix/pwrite.c: Likewise.
9120 * posix/pwrite64.c: Likewise.
9121 * posix/sched_getaffinity.c: Likewise.
9122 * posix/sched_getp.c: Likewise.
9123 * posix/sched_gets.c: Likewise.
9124 * posix/sched_primax.c: Likewise.
9125 * posix/sched_primin.c: Likewise.
9126 * posix/sched_rr_gi.c: Likewise.
9127 * posix/sched_setaffinity.c: Likewise.
9128 * posix/sched_setp.c: Likewise.
9129 * posix/sched_sets.c: Likewise.
9130 * posix/sched_yield.c: Likewise.
9131 * posix/setgid.c: Likewise.
9132 * posix/setlogin.c: Likewise.
9133 * posix/setpgid.c: Likewise.
9134 * posix/setresgid.c: Likewise.
9135 * posix/setresuid.c: Likewise.
9136 * posix/setsid.c: Likewise.
9137 * posix/setuid.c: Likewise.
9138 * posix/sleep.c: Likewise.
9139 * posix/spawni.c: Likewise.
9140 * posix/sysconf.c: Likewise.
9141 * posix/times.c: Likewise.
9142 * posix/wait.c: Likewise.
9143 * posix/wait3.c: Likewise.
9144 * posix/wait4.c: Likewise.
9145 * posix/waitpid.c: Likewise.
9146 * resolv/gai_sigqueue.c: Likewise.
9147 * resource/getpriority.c: Likewise.
9148 * resource/getrlimit.c: Likewise.
9149 * resource/getrusage.c: Likewise.
9150 * resource/nice.c: Likewise.
9151 * resource/setpriority.c: Likewise.
9152 * resource/setrlimit.c: Likewise.
9153 * resource/ulimit.c: Likewise.
9154 * rt/aio_cancel.c: Likewise.
9155 * rt/aio_fsync.c: Likewise.
9156 * rt/aio_read.c: Likewise.
9157 * rt/aio_sigqueue.c: Likewise.
9158 * rt/aio_suspend.c: Likewise.
9159 * rt/aio_write.c: Likewise.
9160 * rt/clock_getres.c: Likewise.
9161 * rt/clock_gettime.c: Likewise.
9162 * rt/clock_nanosleep.c: Likewise.
9163 * rt/clock_settime.c: Likewise.
9164 * rt/lio_listio.c: Likewise.
9165 * rt/mq_close.c: Likewise.
9166 * rt/mq_getattr.c: Likewise.
9167 * rt/mq_notify.c: Likewise.
9168 * rt/mq_open.c: Likewise.
9169 * rt/mq_receive.c: Likewise.
9170 * rt/mq_send.c: Likewise.
9171 * rt/mq_setattr.c: Likewise.
9172 * rt/mq_timedreceive.c: Likewise.
9173 * rt/mq_timedsend.c: Likewise.
9174 * rt/mq_unlink.c: Likewise.
9175 * rt/shm_open.c: Likewise.
9176 * rt/shm_unlink.c: Likewise.
9177 * rt/timer_create.c: Likewise.
9178 * rt/timer_delete.c: Likewise.
9179 * rt/timer_getoverr.c: Likewise.
9180 * rt/timer_gettime.c: Likewise.
9181 * rt/timer_settime.c: Likewise.
9182 * setjmp/__longjmp.c: Likewise.
9183 * setjmp/setjmp.c: Likewise.
9184 * signal/kill.c: Likewise.
9185 * signal/killpg.c: Likewise.
9186 * signal/raise.c: Likewise.
9187 * signal/sigaction.c: Likewise.
9188 * signal/sigaltstack.c: Likewise.
9189 * signal/sigblock.c: Likewise.
9190 * signal/sigignore.c: Likewise.
9191 * signal/sigintr.c: Likewise.
9192 * signal/signal.c: Likewise.
9193 * signal/sigpause.c: Likewise.
9194 * signal/sigpending.c: Likewise.
9195 * signal/sigqueue.c: Likewise.
9196 * signal/sigreturn.c: Likewise.
9197 * signal/sigset.c: Likewise.
9198 * signal/sigsetmask.c: Likewise.
9199 * signal/sigstack.c: Likewise.
9200 * signal/sigsuspend.c: Likewise.
9201 * signal/sigtimedwait.c: Likewise.
9202 * signal/sigvec.c: Likewise.
9203 * signal/sigwait.c: Likewise.
9204 * signal/sigwaitinfo.c: Likewise.
9205 * signal/sysv_signal.c: Likewise.
9206 * socket/accept.c: Likewise.
9207 * socket/accept4.c: Likewise.
9208 * socket/bind.c: Likewise.
9209 * socket/connect.c: Likewise.
9210 * socket/getpeername.c: Likewise.
9211 * socket/getsockname.c: Likewise.
9212 * socket/getsockopt.c: Likewise.
9213 * socket/isfdtype.c: Likewise.
9214 * socket/listen.c: Likewise.
9215 * socket/recv.c: Likewise.
9216 * socket/recvfrom.c: Likewise.
9217 * socket/recvmsg.c: Likewise.
9218 * socket/send.c: Likewise.
9219 * socket/sendmsg.c: Likewise.
9220 * socket/sendto.c: Likewise.
9221 * socket/setsockopt.c: Likewise.
9222 * socket/shutdown.c: Likewise.
9223 * socket/sockatmark.c: Likewise.
9224 * socket/socket.c: Likewise.
9225 * socket/socketpair.c: Likewise.
9226 * stdio-common/ctermid.c: Likewise.
9227 * stdio-common/cuserid.c: Likewise.
9228 * stdio-common/remove.c: Likewise.
9229 * stdio-common/rename.c: Likewise.
9230 * stdio-common/renameat.c: Likewise.
9231 * stdio-common/tempname.c: Likewise.
9232 * stdlib/getcontext.c: Likewise.
9233 * stdlib/makecontext.c: Likewise.
9234 * stdlib/setcontext.c: Likewise.
9235 * stdlib/swapcontext.c: Likewise.
9236 * stdlib/system.c: Likewise.
9237 * streams/fattach.c: Likewise.
9238 * streams/fdetach.c: Likewise.
9239 * streams/getmsg.c: Likewise.
9240 * streams/getpmsg.c: Likewise.
9241 * streams/putmsg.c: Likewise.
9242 * streams/putpmsg.c: Likewise.
9243 * sysdeps/unix/bsd/getpt.c: Likewise.
9244 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9245 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9246 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9249 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9250 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9251 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9252 * sysvipc/msgctl.c: Likewise.
9253 * sysvipc/msgget.c: Likewise.
9254 * sysvipc/msgrcv.c: Likewise.
9255 * sysvipc/msgsnd.c: Likewise.
9256 * sysvipc/semctl.c: Likewise.
9257 * sysvipc/semget.c: Likewise.
9258 * sysvipc/semop.c: Likewise.
9259 * sysvipc/semtimedop.c: Likewise.
9260 * sysvipc/shmat.c: Likewise.
9261 * sysvipc/shmctl.c: Likewise.
9262 * sysvipc/shmdt.c: Likewise.
9263 * sysvipc/shmget.c: Likewise.
9264 * termios/tcdrain.c: Likewise.
9265 * termios/tcflow.c: Likewise.
9266 * termios/tcflush.c: Likewise.
9267 * termios/tcgetattr.c: Likewise.
9268 * termios/tcgetpgrp.c: Likewise.
9269 * termios/tcsendbrk.c: Likewise.
9270 * termios/tcsetattr.c: Likewise.
9271 * termios/tcsetpgrp.c: Likewise.
9272 * time/adjtime.c: Likewise.
9273 * time/clock.c: Likewise.
9274 * time/getitimer.c: Likewise.
9275 * time/gettimeofday.c: Likewise.
9276 * time/setitimer.c: Likewise.
9277 * time/settimeofday.c: Likewise.
9278 * time/stime.c: Likewise.
9279 * time/time.c: Likewise.
9281 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
9283 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9286 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9288 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9290 2012-11-03 Joseph Myers <joseph@codesourcery.com>
9293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9294 FE_TONEAREST before applying Dekker multiplication and Knuth
9295 addition. Clear inexact exceptions and check for exact zero
9297 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9298 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9299 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9300 * math/libm-test.inc (fma_test): Add more tests.
9301 (fma_test_towardzero): Likewise.
9302 (fma_test_downward): Likewise.
9303 (fma_test_upward): Likewise.
9304 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9306 (libc_fesetround): New macro.
9307 (libc_fesetroundf): Likewise.
9308 (libc_fesetroundl): Likewise.
9309 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9311 (libc_fesetround_387): Likewise.
9312 (libc_fesetroundf): New macro.
9313 (libc_fesetround): Likewise.
9314 (libc_fesetroundl): Likewise.
9315 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9317 (libc_fesetroundf): New macro.
9318 (libc_fesetround): Likewise.
9319 (libc_fesetroundl): Likewise.
9320 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9321 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9322 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9324 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9325 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9327 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9328 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9330 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9334 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9335 integer constant usable in #if and use that to give value to enum
9337 (FE_DIVBYZERO): Likewise.
9338 (FE_UNDERFLOW): Likewise.
9339 (FE_OVERFLOW): Likewise.
9340 (FE_INVALID): Likewise.
9341 (FE_INVALID_SNAN): Likewise.
9342 (FE_INVALID_ISI): Likewise.
9343 (FE_INVALID_IDI): Likewise.
9344 (FE_INVALID_ZDZ): Likewise.
9345 (FE_INVALID_IMZ): Likewise.
9346 (FE_INVALID_COMPARE): Likewise.
9347 (FE_INVALID_SOFTWARE): Likewise.
9348 (FE_INVALID_SQRT): Likewise.
9349 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9350 (FE_TONEAREST): Likewise.
9351 (FE_TOWARDZERO): Likewise.
9352 (FE_UPWARD): Likewise.
9353 (FE_DOWNWARD): Likewise.
9354 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9355 (FE_DIVBYZERO): Likewise.
9356 (FE_OVERFLOW): Likewise.
9357 (FE_UNDERFLOW): Likewise.
9358 (FE_INEXACT): Likewise.
9359 (FE_TONEAREST): Likewise.
9360 (FE_DOWNWARD): Likewise.
9361 (FE_UPWARD): Likewise.
9362 (FE_TOWARDZERO): Likewise.
9363 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9364 (FE_UNDERFLOW): Likewise.
9365 (FE_OVERFLOW): Likewise.
9366 (FE_DIVBYZERO): Likewise.
9367 (FE_INVALID): Likewise.
9368 (FE_TONEAREST): Likewise.
9369 (FE_TOWARDZERO): Likewise.
9370 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9371 (FE_OVERFLOW): Likewise.
9372 (FE_UNDERFLOW): Likewise.
9373 (FE_DIVBYZERO): Likewise.
9374 (FE_INEXACT): Likewise.
9375 (FE_TONEAREST): Likewise.
9376 (FE_TOWARDZERO): Likewise.
9377 (FE_UPWARD): Likewise.
9378 (FE_DOWNWARD): Likewise.
9379 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9380 (FE_DIVBYZERO): Likewise.
9381 (FE_OVERFLOW): Likewise.
9382 (FE_UNDERFLOW): Likewise.
9383 (FE_INEXACT): Likewise.
9384 (FE_TONEAREST): Likewise.
9385 (FE_DOWNWARD): Likewise.
9386 (FE_UPWARD): Likewise.
9387 (FE_TOWARDZERO): Likewise.
9389 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9391 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9393 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9395 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9396 commands. Quote $PWD.
9397 (blacklist_exports): Don't use remove_newlines. Replace "declare
9399 (remove_newlines): Remove.
9401 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9403 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9404 * stdlib/stdlib.h (atof): Moved to ...
9405 * include/bits/stdlib-float.h: Here. New file.
9406 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9407 * stdlib/bits/stdlib-float.h: New file.
9408 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9410 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9413 2012-11-02 Joseph Myers <joseph@codesourcery.com>
9415 * conform/conformtest.pl (@headers): Add fenv.h.
9416 * conform/data/fenv.h-data: New file.
9417 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9418 include of <math/fenv.h>.
9420 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9421 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9422 && !UNIX98]. Enables tests for XOPEN2K8.
9423 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9424 POSIX2008]: Likewise.
9426 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9427 (struct rusage): Do not expect type or its members.
9430 * math/math.h (FP_NAN): Define macro to integer constant usable in
9431 #if and use that to give value to enum constant.
9432 (FP_INFINITE): Likewise.
9433 (FP_ZERO): Likewise.
9434 (FP_SUBNORMAL): Likewise.
9435 (FP_NORMAL): Likewise.
9437 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9439 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9440 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9443 2012-11-02 Roland McGrath <roland@hack.frob.com>
9445 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9446 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9447 autoconf-time if not.
9448 * configure.in: Remove AC_PREREQ.
9450 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9452 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9453 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9454 of the internal implementation.
9456 2012-11-02 Joseph Myers <joseph@codesourcery.com>
9458 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9459 except include of <misc/sys/syslog.h>.
9461 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9464 function returns with a NULL context exit with zero.
9466 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9468 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9470 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9472 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9473 (run_program_cmd): This.
9474 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9475 (tst_langinfo): New variable. Use it.
9477 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9479 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9480 floating point opcodes.
9482 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9484 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9487 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9489 * sysdeps/mach/hurd/powerpc: Remove directory.
9490 * sysdeps/mach/powerpc: Likewise.
9492 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9494 * scripts/check-local-headers.sh: Ignore c++ headers.
9496 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9498 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9499 __libc_cleanup_region_start argument.
9501 2012-11-01 Joseph Myers <joseph@codesourcery.com>
9505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9506 x * y using scaling, not as x * y + z.
9507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9509 * math/libm-test.inc (fma_test): Add more tests.
9510 (fma_test_towardzero): Likewise.
9511 (fma_test_downward): Likewise.
9512 (fma_test_upward): Likewise.
9514 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9516 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9518 2012-10-31 Joseph Myers <joseph@codesourcery.com>
9520 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9523 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9525 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9527 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9534 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9537 Fix the order of the list for glibc 2.17.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9541 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9545 2012-10-31 Joseph Myers <joseph@codesourcery.com>
9548 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9549 for low part of x being zero before using __atanl (y).
9550 * math/libm-test.inc (atan2_test): Add another test.
9552 * manual/install.texi (Configuring and compiling): Document
9553 general use of test-wrapper and test-wrapper-env.
9554 * INSTALL: Regenerated.
9556 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9557 (__fma): Do not extract and scale down low bits on after-rounding
9558 systems when result rounded to normal precision would have normal
9560 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9561 (__fmal): Do not extract and scale down low bits on after-rounding
9562 systems when result rounded to normal precision would have normal
9564 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9565 (__fmal): Do not extract and scale down low bits on after-rounding
9566 systems when result rounded to normal precision would have normal
9568 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9570 (fma_test): Add more tests.
9571 (fma_test_towardzero): Likewise.
9572 (fma_test_downward): Likewise.
9573 (fma_test_upward): Likewise.
9575 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9577 * sysdeps/i386/tininess.h: Renamed to ...
9578 * sysdeps/x86/tininess.h: This.
9579 * sysdeps/x86_64/tininess.h: Removed.
9581 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9583 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9584 input. Use $(build-program-cmd).
9585 ($(objpfx)tst-array1-static.out): Likewise.
9586 ($(objpfx)tst-array2.out): Likewise.
9587 ($(objpfx)tst-array3.out): Likewise.
9588 ($(objpfx)tst-array4.out): Likewise.
9589 ($(objpfx)tst-array5.out): Likewise.
9590 ($(objpfx)tst-array5-static.out): Likewise.
9592 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9594 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9597 * nss/nsswitch.h (nss_interface_function): Provide new
9598 macro for use with NSS functions.
9599 * grp/initgroups.c: Use new macro.
9600 * nss/getXXbyYY.c: Likewise.
9601 * nss/getXXbyYY_r.c: Likewise.
9602 * nss/getXXent.c: Likewise.
9603 * nss/getXXent_r.c: Likewise.
9604 * sysdeps/posix/getaddrinfo.c: Likewise.
9606 2012-10-30 Andreas Jaeger <aj@suse.de>
9608 * po/ru.po: Update Russion translation from translation project.
9610 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9615 result and shift together with sticky bit instead of replicating
9616 round-to-nearest rounding.
9617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9618 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9619 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9620 missing underflow exceptions.
9621 (fma_test_towardzero): Add more tests.
9622 (fma_test_downward): Likewise.
9623 (fma_test_upward): Likewise.
9626 * sysdeps/generic/tininess.h: New file.
9627 * sysdeps/i386/tininess.h: Likewise.
9628 * sysdeps/sh/tininess.h: Likewise.
9629 * sysdeps/x86_64/tininess.h: Likewise.
9630 * stdlib/tst-strtod-underflow.c: Likewise.
9631 * stdlib/tst-tininess.c: Likewise.
9632 * stdlib/strtod_l.c: Include <tininess.h>.
9633 (round_and_return): Do not set errno for exact underflow cases.
9634 Force an underflow exception when setting errno for underflow.
9635 Determine underflow based on rounding to normal precision if
9636 TININESS_AFTER_ROUNDING.
9637 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9638 ERANGE for exact underflow cases.
9639 * stdlib/Makefile (tests): Add tst-tininess and
9640 tst-strtod-underflow.
9641 ($(objpfx)tst-tininess): Use $(link-libm).
9642 ($(objpfx)tst-strtod-underflow): Likewise.
9644 2012-10-30 Andreas Jaeger <aj@suse.de>
9647 * elf/Makefile (tests): Remove conditional for have-initfini-array
9648 since this is now always required and the variable does not exist
9650 (tests-static): Likewise.
9651 (modules-names): Likewise.
9653 * po/eo.po: Add Esperanto translation from translation project.
9655 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9656 merged with constructor/destructor.
9657 (init_array): Likewise.
9658 * elf/tst-array2dep.c (fini_array): Likewise.
9659 (init_array): Likewise.
9661 2012-10-29 Mike Frysinger <vapier@gentoo.org>
9663 * manual/message.texi: Delete @cartouche tags.
9665 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9667 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9669 * sysdeps/mach/hurd/fsync.c: Likewise.
9671 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9672 [_POSIX_REALTIME_SIGNALS]: Change condition to
9673 [_POSIX_REALTIME_SIGNALS > 0].
9675 2012-10-27 Andreas Jaeger <aj@suse.de>
9677 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9678 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9679 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9680 [__WORDSIZE != 64]: Likewise.
9682 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9684 * iconvdata/tst-table.sh: Remove ${SHELL}.
9685 * iconvdata/tst-tables.sh: Likewise.
9687 2012-10-25 David S. Miller <davem@davemloft.net>
9689 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9690 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9695 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9696 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9697 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9700 2012-10-25 Roland McGrath <roland@hack.frob.com>
9702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9703 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9706 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9707 Jim Blandy <jimb@codesourcery.com>
9709 * scripts/cross-test-ssh.sh: New file.
9710 * manual/install.texi (Configuring and compiling): Document use of
9712 * INSTALL: Regenerated.
9714 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9716 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9719 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9721 * Makeconfig (run-program-prefix): Fix comment.
9723 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9724 Jim Blandy <jimb@codesourcery.com>
9726 * Makeconfig (test-wrapper): New variable,
9727 (test-wrapper-env): Likewise.
9728 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9729 (run-built-tests): Define to yes.
9730 (run-program-prefix): Use $(test-wrapper).
9731 (built-program-cmd): Likewise.
9732 * Rules (make-test-out): Use $(test-wrapper-env) and
9733 $(host-built-program-cmd).
9734 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9735 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9737 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9738 $(test-wrapper-env) to tst-rtld-load-self.sh.
9739 ($(objpfx)order2.out): Use $(test-wrapper).
9740 ($(objpfx)tst-initorder.out): Likewise.
9741 ($(objpfx)tst-initorder2.out): Likewise.
9742 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9743 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9744 (test_wrapper_env): New variable. Use it to run ld.so.
9745 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9746 Use it to run ld.so.
9747 (test_wrapper_env): Likewise.
9748 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9749 $(test-wrapper) to run-iconv-test.sh.
9750 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9751 (ICONV): Use $test_wrapper.
9752 * posix/Makefile ($(objpfx)globtest.out): Pass
9753 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9754 globtest.sh, not $(run-program-prefix).
9755 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9756 (test_wrapper): Likewise.
9757 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9758 set together with run_via_rtld_prefix.
9759 (run_program_prefix): Define in terms of test_wrapper and
9760 run_via_rtld_prefix.
9762 2012-10-24 Roland McGrath <roland@hack.frob.com>
9764 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9765 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9769 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9770 Declare __clock_getres, __clock_gettime, __clock_settime,
9771 __clock_nanosleep, and __clock_getcpuclockid.
9772 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9773 Remove librt_hidden_def (clock_gettime).
9774 * sysdeps/unix/clock_gettime.c: Likewise.
9775 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9776 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9777 * rt/clock_getres.c: Define __clock_getres as an alias.
9778 * sysdeps/posix/clock_getres.c: Likewise.
9779 * rt/clock_settime.c: Define __clock_settime as an alias.
9780 * sysdeps/unix/clock_settime.c: Likewise.
9781 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9782 * sysdeps/unix/clock_nanosleep.c: Likewise.
9783 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9784 * rt/clock-compat.c: New file.
9785 * rt/Makefile (librt-routines): Add clock-compat and move
9786 $(clock-routines) to ...
9787 (routines): ... here, new variable.
9788 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9789 Don't add get_clockfreq here.
9790 * rt/Versions (libc: GLIBC_2.17): New version set.
9791 Add clock_* symbols here.
9792 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9793 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9794 (GLIBC_2.17): Add clock_* symbols.
9795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9806 * NEWS: Mention the move.
9808 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9809 Use __open, __read, __close rather than their public counterparts.
9810 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9811 (__get_clockfreq_via_cpuinfo): Likewise.
9812 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9813 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9815 * config.h.in (HAVE_IFUNC): New #undef.
9816 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9818 * configure: Regenerated.
9820 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9822 * configure.in: Move READELF check to start of file.
9823 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9824 libc_cv_asm_gnu_indirect_function in the process.
9825 * configure: Regenerated.
9827 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9829 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9830 send the output to /dev/null.
9831 (libc_cv_cc_with_libunwind): Likewise.
9832 (libc_cv_as_noexecstack): Likewise.
9833 * configure: Regenerate.
9835 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9837 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9839 * posix/globtest.sh (TMPDIR): Do not set.
9840 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9841 (testout): Likewise.
9843 2012-10-24 Andreas Jaeger <aj@suse.de>
9845 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9846 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9847 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9848 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9849 posix_fadvise64, posix_fallocate64.
9851 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9852 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9853 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9855 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9857 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9860 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9861 <bits/fcntl-linux.h>.
9862 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9864 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9865 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9866 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9867 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9868 [__WORDSIZE != 64]: Likewise.
9870 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9872 * Makeconfig (run-built-tests): New variable.
9873 * Rules [$(cross-compiling) = yes]: Change condition to
9874 [$(run-built-tests) = no].
9875 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9876 to [$(run-built-tests) = yes].
9877 * elf/Makefile [$(cross-compiling) = no]: Likewise
9878 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9879 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9880 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9881 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9882 * io/Makefile [$(cross-compiling) = no]: Likewise.
9883 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9884 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9885 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9886 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9887 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9888 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9889 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9890 * string/Makefile [$(cross-compiling) = no]: Likewise.
9892 * posix/Makefile ($(objpfx)globtest.out): Pass
9893 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9894 $(rtld-installed-name).
9895 * posix/globtest.sh (elf_objpfx): Remove variable.
9896 (rtld_installed_name): Likewise.
9897 (library_path): Likewise.
9898 (run_program_prefix): New variable. Use for running globtest
9901 2012-10-23 Jim Blandy <jimb@codesourcery.com>
9902 Joseph Myers <joseph@codesourcery.com>
9904 * Makeconfig (host-built-program-cmd): New variable.
9905 * elf/Makefile (tst-stackguard1-ARGS): Use
9906 $(host-built-program-cmd).
9907 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9908 (tst-spawn-ARGS): Likewise.
9909 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9911 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9912 Jim Blandy <jimb@codesourcery.com>
9914 * Makeconfig (run-via-rtld-prefix): New variable.
9915 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9916 (built-program-cmd): Likewise.
9918 2012-10-22 Andreas Jaeger <aj@suse.de>
9920 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9921 __O_RSYNC if it exists, otherwise to O_SYNC.
9923 2012-10-22 Jim Blandy <jimb@codesourcery.com>
9924 Joseph Myers <joseph@codesourcery.com>
9926 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9928 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9930 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9933 2012-10-22 Andreas Jaeger <aj@suse.de>
9935 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9937 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9942 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9943 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9950 2012-10-21 Jim Blandy <jimb@codesourcery.com>
9951 Joseph Myers <joseph@codesourcery.com>
9953 * config.make.in (NM): New variable.
9955 2012-10-21 Andreas Jaeger <aj@suse.de>
9957 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9958 definitions and declarations that are provided by
9959 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9961 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9964 * elf/Makefile (tests-static): Add tst-leaks1-static.
9965 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9966 ($(objpfx)tst-leaks1-static): New rule.
9967 ($(objpfx)tst-leaks1-static-mem): Likewise.
9968 (tst-leaks1-static-ENV): New macro.
9969 * elf/dl-open.c (dl_open_worker): Check the main application
9970 only if SHARED is defined.
9971 * elf/tst-leaks1-static.c: New file.
9973 2012-10-20 Andreas Jaeger <aj@suse.de>
9975 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9976 generic values for Linux.
9977 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9978 and declarations that are provided by <bits/fcntl-linux.h> and
9979 include <bits/fcntl-linux.h>.
9980 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9983 2012-10-20 Roland McGrath <roland@hack.frob.com>
9985 * io/fcntl.h: Move include of <bits/types.h> to the top and
9986 include it unconditionally.
9988 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9990 * wcsmbs/Makefile (tests-ifunc): New variable.
9991 (tests): Add $(tests-ifunc).
9992 * wcsmbs/test-wcschr-ifunc.c: New file.
9993 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9994 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9995 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9996 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9997 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9999 * string/Makefile (tests-ifunc): New variable.
10000 (tests): Add $(tests-ifunc).
10001 * string/test-memccpy.c (TEST_NAME): New macro.
10002 * string/test-memchr.c (TEST_NAME): Likewise.
10003 * string/test-memcmp.c (TEST_NAME): Likewise.
10004 * string/test-memcpy.c (TEST_NAME): Likewise.
10005 * string/test-memmem.c (TEST_NAME): Likewise.
10006 * string/test-memmove.c (TEST_NAME): Likewise.
10007 * string/test-memset.c (TEST_NAME): Likewise.
10008 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10009 * string/test-stpcpy.c (TEST_NAME): Likewise.
10010 * string/test-stpncpy.c (TEST_NAME): Likewise.
10011 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10012 * string/test-strcasestr.c (TEST_NAME): Likewise.
10013 * string/test-strcat.c (TEST_NAME): Likewise.
10014 * string/test-strchr.c (TEST_NAME): Likewise.
10015 * string/test-strcmp.c(TEST_NAME): Likewise.
10016 * string/test-strcpy.c (TEST_NAME): Likewise.
10017 * string/test-strcspn.c (TEST_NAME): Likewise.
10018 * string/test-strlen.c (TEST_NAME): Likewise.
10019 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10020 * string/test-strncmp.c (TEST_NAME): Likewise.
10021 * string/test-strncpy.c (TEST_NAME): Likewise.
10022 * string/test-strnlen.c (TEST_NAME): Likewise.
10023 * string/test-strpbrk.c (TEST_NAME): Likewise.
10024 * string/test-strrchr.c (TEST_NAME): Likewise.
10025 * string/test-strspn.c (TEST_NAME): Likewise.
10026 * string/test-strstr.c (TEST_NAME): Likewise.
10027 * string/test-bcopy-ifunc.c: New file.
10028 * string/test-bzero-ifunc.c: Likewise.
10029 * string/test-memccpy-ifunc.c: Likewise.
10030 * string/test-memchr-ifunc.c: Likewise.
10031 * string/test-memcmp-ifunc.c: Likewise.
10032 * string/test-memcpy-ifunc.c: Likewise.
10033 * string/test-memmem-ifunc.c: Likewise.
10034 * string/test-memmove-ifunc.c: Likewise.
10035 * string/test-mempcpy-ifunc.c: Likewise.
10036 * string/test-memset-ifunc.c: Likewise.
10037 * string/test-rawmemchr-ifunc.c: Likewise.
10038 * string/test-stpcpy-ifunc.c: Likewise.
10039 * string/test-stpncpy-ifunc.c: Likewise.
10040 * string/test-strcasecmp-ifunc.c: Likewise.
10041 * string/test-strcasestr-ifunc.c: Likewise.
10042 * string/test-strcat-ifunc.c: Likewise.
10043 * string/test-strchr-ifunc.c: Likewise.
10044 * string/test-strchrnul-ifunc.c: Likewise.
10045 * string/test-strcmp-ifunc.c: Likewise.
10046 * string/test-strcpy-ifunc.c: Likewise.
10047 * string/test-strcspn-ifunc.c: Likewise.
10048 * string/test-strlen-ifunc.c: Likewise.
10049 * string/test-strncasecmp-ifunc.c: Likewise.
10050 * string/test-strncat-ifunc.c: Likewise.
10051 * string/test-strncmp-ifunc.c: Likewise.
10052 * string/test-strncpy-ifunc.c: Likewise.
10053 * string/test-strnlen-ifunc.c: Likewise.
10054 * string/test-strpbrk-ifunc.c: Likewise.
10055 * string/test-strrchr-ifunc.c: Likewise.
10056 * string/test-strspn-ifunc.c: Likewise.
10057 * string/test-strstr-ifunc.c: Likewise.
10059 * debug/Makefile (tests-ifunc): New variable.
10060 (tests): Add $(tests-ifunc).
10061 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10062 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10063 * debug/test-stpcpy_chk-ifunc.c: New file.
10064 * debug/test-strcpy_chk-ifunc.c: Likewise.
10066 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10069 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10070 header is not read in.
10072 2012-10-19 Joseph Myers <joseph@codesourcery.com>
10074 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10075 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10076 directly. Pass built executable to script as
10077 $(built-program-cmd).
10078 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10079 $testprogram without using LD_LIBRARY_PATH and $ldso.
10081 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10082 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10083 $(rtld-installed-name).
10084 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10085 (rtld_installed_name): Likewise.
10086 (library_path): Likewise.
10087 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10088 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10089 $(run-program-prefix) to tst-tables.sh.
10090 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10091 it to run tst-table-from and tst-table-to.
10092 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10093 Pass it to tst-table.sh.
10094 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10095 $(run-program-prefix) to tst-gettext.sh.
10096 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10098 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10100 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10101 to run tst-gettext.
10102 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10103 to run tst-gettext2.
10104 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10105 to run tst-translit.
10106 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10107 $(run-program-prefix) to tst-mtrace.sh.
10108 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10110 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10111 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10112 $(rtld-installed-name).
10113 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10114 (rtld_installed_name): Likewise.
10115 (run_program_prefix): New variable. Use it to run wordexp-test.
10117 * Makeconfig (ARCH): Remove all definitions.
10118 (machine): Likewise.
10119 [ARCH]: Remove conditional code.
10120 [!objdir]: Give error.
10121 [!objdir] (objpfx): Remove.
10122 [!objdir] (common-objpfx): Likewise.
10123 [!objdir] (common-objdir): Likewise.
10124 * configure.in (config_makefile): Remove. Hardcode Makefile in
10125 AC_CONFIG_FILES call.
10126 * configure: Regenerated.
10129 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10131 (testout): Likewise.
10133 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10134 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10135 $(rtld-installed-name).
10136 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10137 (rtld_installed_name): Likwise.
10138 (runit): Remove function.
10139 (run_getconf): New variable, Use it for running getconf binary.
10141 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10144 * string/test-memmem.c (check_result): New function.
10145 (do_one_test): Use it.
10146 (check1): New function.
10147 (test_main): Use it.
10149 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10151 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10153 2012-10-18 Joseph Myers <joseph@codesourcery.com>
10155 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10156 (_G_LSEEK64): Likewise.
10157 (_G_MMAP64): Likewise.
10158 (_G_FSTAT64): Likewise.
10159 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10160 (_G_LSEEK64): Likewise.
10161 (_G_MMAP64): Likewise.
10162 (_G_FSTAT64): Likewise.
10163 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10164 unconditional. Call __mmap64 directly.
10165 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10166 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10167 __lseek64 directly.
10168 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10169 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10171 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10172 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10173 __lseek64 directly.
10174 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10175 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10176 __lseek64 directly.
10177 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10178 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10179 __lseek64 directly.
10180 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10181 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10182 __fxstat64 directly.
10183 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10184 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10186 (freopen64) [!_G_OPEN64]: Remove conditional code.
10187 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10189 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10190 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10192 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10193 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10195 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10196 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10198 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10199 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10201 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10202 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10204 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10205 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10207 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10209 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10212 * manual/memory.texi (Malloc Tunable Parameters): Add note
10213 about free list pointers overwriting some perturb bytes.
10214 Wording suggested by Roland McGrath.
10216 2012-10-17 Joseph Myers <joseph@codesourcery.com>
10218 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10219 (lgamma_test): Likewise.
10220 (tgamma_test): Likewise.
10222 2012-10-16 Florian Weimer <fweimer@redhat.com>
10225 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10226 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10228 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10230 * NEWS: Mention BZ #14716.
10231 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10232 when removing AVAILABLE1_USES_J macro.
10234 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10236 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10237 (__bswap_64): __uint64_t for unsigned 64-bit int.
10239 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10241 * include/string.h (memmem): Declare libc hidden alias.
10242 * string/memmem.c (memmem): Define libc hidden alias.
10243 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10244 __read, __close instead of open, read, close.
10246 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10249 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10251 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10252 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10253 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10255 (__rawmemchr_sse2): Likewise.
10256 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10257 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10258 (__strchr_sse2): Likewise.
10259 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10260 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10261 (__strcasecmp_sse2): Likewise.
10262 (__strncasecmp_sse2): Likewise.
10263 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10264 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10265 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10266 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10267 (__strrchr_sse2): Likewise.
10268 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10270 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10271 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10272 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10273 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10274 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10275 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10276 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10277 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10278 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10279 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10280 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10281 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10282 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10283 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10284 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10285 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10286 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10287 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10288 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10289 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10290 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10291 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10292 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10293 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10294 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10295 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10296 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10297 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10298 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10299 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10301 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10303 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10304 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10305 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10306 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10308 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10310 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10311 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10312 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10313 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10315 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10316 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10317 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10318 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10319 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10320 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10321 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10322 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10323 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10324 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10325 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10326 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10327 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10328 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10329 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10330 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10331 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10332 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10333 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10334 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10335 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10336 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10337 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10338 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10339 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10340 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10341 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10342 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10343 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10344 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10345 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10346 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10347 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10348 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10349 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10350 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10351 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10352 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10353 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10354 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10355 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10357 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10358 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10359 * include/ifunc-impl-list.h: New file.
10360 * misc/ifunc-impl-list.c: Likewise.
10361 * misc/Makefile (routines): Add ifunc-impl-list.
10362 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10363 * string/test-string.h: Include <ifunc-impl-list.h>.
10364 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10365 impl_array): New variables.
10366 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10368 (test_init): Call __libc_ifunc_impl_list to initialize
10369 func_list if TEST_IFUNC and TEST_NAME are defined.
10371 * string/Makefile (strop-tests): Add bcopy and bzero.
10372 * string/test-bcopy.c: New file.
10373 * string/test-bzero.c: Likewise.
10374 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10376 * string/test-memset.c: Support bzero test if TEST_BZERO is
10378 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10380 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10382 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10385 2012-10-10 Joseph Myers <joseph@codesourcery.com>
10387 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10388 * configure: Regenerated.
10390 * Makeconfig (+link-static-before-libc): Don't include
10391 $(link-static-libc).
10393 * libio/libio.h (_IO_pos_t): Remove.
10395 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10397 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10400 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10402 * crypt/crypt-entry.c: Include fips-private.h.
10403 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10404 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10405 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10406 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10408 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10410 * crypt/crypt-private.h: Include stdbool.h.
10411 (_ufc_setup_salt_r): Return bool.
10412 * crypt/crypt-entry.c: Include errno.h.
10413 (__crypt_r): Return NULL with EINVAL for bad salt.
10414 * crypt/crypt_util.c (bad_for_salt): New.
10415 (_ufc_setup_salt_r): Check that salt is long enough and within
10416 the specified alphabet.
10417 * crypt/badsalttest.c: New file.
10418 * crypt/Makefile (tests): Add it.
10419 ($(objpfx)badsalttest): New.
10421 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10423 * NEWS: Add entry for BZ #14602.
10425 2012-10-09 Joseph Myers <joseph@codesourcery.com>
10427 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10429 * math/libm-test.inc: Update comment listing what functions and
10431 (isgreater_test): New function.
10432 (isgreaterequal_test): Likewise.
10433 (isless_test): Likewise.
10434 (islessequal_test): Likewise.
10435 (islessgreater_test): Likewise.
10436 (isunordered_test): Likewise.
10437 (main): Call the new functions.
10439 2012-10-09 Roland McGrath <roland@hack.frob.com>
10441 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10442 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10443 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10444 * sysdeps/i386/configure: Regenerated.
10445 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10446 * sysdeps/mach/configure: Regenerated.
10447 * sysdeps/mach/hurd/configure: Regenerated.
10448 * sysdeps/powerpc/configure: Regenerated.
10449 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10450 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10451 * sysdeps/s390/s390-32/configure: Regenerated.
10452 * sysdeps/s390/s390-64/configure: Regenerated.
10453 * sysdeps/sh/configure: Regenerated.
10454 * sysdeps/sparc/configure: Regenerated.
10455 * sysdeps/unix/sysv/linux/configure: Regenerated.
10456 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10457 * sysdeps/x86_64/configure: Regenerated.
10459 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10460 defined. Don't check if MAP is NULL.
10462 2012-10-09 Joseph Myers <joseph@codesourcery.com>
10464 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10465 (_G_stat64): Likewise.
10466 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10467 (_G_stat64): Likewise.
10468 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10469 instead of struct _G_stat64.
10470 * libio/fileops.c (mmap_remap_check): Likewise.
10471 (decide_maybe_mmap): Likewise.
10472 (_IO_new_file_seekoff): Likewise.
10473 (_IO_file_stat): Likewise.
10474 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10476 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10477 instead of struct _G_stat64.
10478 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10480 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10483 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10485 (CHECK_EOL): New macro.
10486 (two_way_short_needle): Check beginning of haystack for EOL. Use
10488 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10489 Replace with CHECK_EOL.
10490 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10491 Replace with CHECK_EOL.
10493 2012-10-08 Joseph Myers <joseph@codesourcery.com>
10495 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10497 * math/libm-test.inc: Update comment listing what functions and
10499 (finite_test): New function.
10500 (isinf_test): Likewise.
10501 (isnan_test): Likewise.
10502 (fpclassify_test): Test subnormal input.
10503 (isfinite_test): Likewise.
10504 (isnormal_test): Likewise.
10505 (main): Call the new functions.
10507 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10510 * Makerules (%.dynsym): Force C locale when running
10511 $(OBJDUMP) --dynamic-syms.
10513 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10515 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10518 2012-10-06 David S. Miller <davem@davemloft.net>
10520 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10521 upper 32-bits of the length value in %o2 since we use branch-on-register
10522 tests which consider the entire 64-bit register.
10524 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10526 * string/test-strstr.c (check2): Add a test for page boundary.
10528 2012-10-05 David S. Miller <davem@davemloft.net>
10530 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10531 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10533 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10535 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10536 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10537 and bzero when HWCAP_SPARC_CRYPTO is present.
10539 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10542 * string/test-strstr.c (check2): New function.
10543 (test_main): Call check2.
10545 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10547 * string/bug-strcasestr1.c (do_test): Moved to ...
10548 * string/test-strcasestr.c (check1): Here. New function.
10549 (do_one_test): Break out result checking code into ...
10550 (check_result): This. New function.
10551 (do_one_test): Call check_result.
10552 (test_main): Call check1.
10553 * string/bug-strchr1.c (do_test): Moved to ...
10554 * string/test-strchr.c (check1): Here. New function.
10555 (do_one_test): Break out result checking code into ...
10556 (check_result): This. New function.
10557 (do_one_test): Call check_result.
10558 (test_main): Call check1.
10559 * string/bug-strstr1.c (main): Moved to ...
10560 * string/test-strstr.c (check1): Here. New function.
10561 (do_one_test): Break out result checking code into ...
10562 (check_result): This. New function.
10563 (do_one_test): Call check_result.
10564 (test_main): Call check1.
10565 * string/bug-strcasestr1.c: Removed.
10566 * string/bug-strchr1.c: Likewise.
10567 * string/bug-strstr1.c: Likewise.
10569 * elf/Makefile (dl-routines): Add hwcaps.
10570 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10571 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10572 (_dl_important_hwcaps): Moved to ...
10573 * elf/dl-hwcaps.c: Here. New file.
10574 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10577 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10578 if IS_IN_rtld isn't defined.
10580 * elf/dl-support.c (_dl_sysinfo_map): New.
10581 Include "get-dynamic-info.h" and "setup-vdso.h".
10582 (_dl_non_dynamic_init): Call setup_vdso.
10583 * elf/dynamic-link.h: Don't include <assert.h>.
10584 (elf_get_dynamic_info): Moved to ...
10585 * elf/get-dynamic-info.h: Here. New file.
10586 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10587 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10588 * elf/setup-vdso.h: Here. New file.
10589 * elf/rtld.c: Include "setup-vdso.h".
10590 (dl_main): Call setup_vdso.
10592 2012-10-05 Joseph Myers <joseph@codesourcery.com>
10594 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10595 creal in comment listing functions tested. List finite, isinf,
10596 isnan, isless, islessequal, isgreater, isgreaterequal,
10597 islessgreater, isunordered, lgamma_r and pow10 as functions and
10598 macros not tested. Mention which functions not tested are aliases
10599 for other functions. Fix typo. Note that signs of NaNs are not
10602 * scripts/config.guess: Update from config.git.
10603 * scripts/config.sub: Likewise.
10605 2012-10-04 Roland McGrath <roland@hack.frob.com>
10607 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10608 * misc/madvise.c (madvise): Renamed to __madvise.
10609 Make madvise a weak alias.
10610 * include/sys/mman.h: Declare __madvise.
10611 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10612 * sysdeps/unix/syscalls.list
10613 (madvise): Make __madvise the strong name, and madvise a weak alias.
10614 * sysdeps/unix/sysv/linux/syscalls.list
10615 (madvise, mmap): Remove redundant entries.
10616 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10617 * malloc/malloc.c (mtrim): Likewise.
10618 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10620 2012-10-03 Roland McGrath <roland@hack.frob.com>
10622 * sysdeps/mach/hurd/dl-cache.c: File removed.
10623 * config.h.in (USE_LDCONFIG): New #undef.
10624 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10625 * configure: Regenerated.
10626 * elf/Makefile (dl-routines): Add dl-cache only under
10627 [$(use-ldconfig) = yes].
10628 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10629 cache on [USE_LDCONFIG].
10630 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10632 * elf/rtld.c (dl_main): Likewise.
10634 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10636 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10637 _SC_LEVEL4_CACHE_LINESIZE.
10639 2012-10-03 Roland McGrath <roland@hack.frob.com>
10641 * sysdeps/unix/bsd/confstr.h: File removed.
10643 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
10645 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10648 2012-10-02 Roland McGrath <roland@hack.frob.com>
10650 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10651 Make 'mapoff' field ElfW(Off) rather than off_t.
10653 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10655 * nscd/Makefile: Remove nscd-cflags and all its users.
10656 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10657 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10660 * malloc.c (malloc_printerr): Clarify error message.
10662 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10666 Set bit_FMA_Usable if FMA is supported.
10667 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10669 (bit_FMA4_Usable): Updated.
10670 (index_FMA_Usable): New macro.
10671 (CPUID_FMA): Likewise
10672 (HAS_FMA): Defined with bit_FMA_Usable.
10674 2012-10-01 Roland McGrath <roland@hack.frob.com>
10676 * bits/types.h (__swblk_t): Type removed.
10677 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10678 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10679 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10680 (__SWBLK_T_TYPE): Likewise.
10681 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10682 (__SWBLK_T_TYPE): Likewise.
10683 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10684 (__SWBLK_T_TYPE): Likewise.
10685 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10686 (__SWBLK_T_TYPE): Likewise.
10688 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
10689 Honza Horak <hhorak@redhat.com>
10691 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10692 (xdr_mapname): Use YPMAXMAP as maxsize.
10693 (xdr_peername): Use YPMAXPEER as maxsize.
10694 (xdr_keydat): Use YPAXRECORD as maxsize.
10695 (xdr_valdat): Use YPMAXRECORD as maxsize.
10697 2012-10-01 Roland McGrath <roland@hack.frob.com>
10699 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10701 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10702 * csu/init-first.c: ... here.
10703 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10704 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10705 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10706 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10707 * sysdeps/i386/init-first.c: File removed.
10708 * sysdeps/sh/init-first.c: File removed.
10710 2012-10-01 Joseph Myers <joseph@codesourcery.com>
10713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10714 if x * y might underflow to zero and z is zero.
10715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10717 * math/libm-test.inc (min_subnorm_value): New variable.
10718 (fma_test): Add more tests.
10719 (fma_test_towardzero): Likewise.
10720 (fma_test_downward): Likewise
10721 (fma_test_upward): Likewise.
10722 (initialize): Set min_subnorm_value.
10724 2012-09-29 Joseph Myers <joseph@codesourcery.com>
10727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10729 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10730 mode for addition resulting in exact zero.
10731 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10732 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10734 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10735 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10736 * math/libm-test.inc (fma_test): Add more tests.
10737 (fma_test_towardzero): New function.
10738 (fma_test_downward): Likewise.
10739 (fma_test_upward): Likewise.
10740 (main): Call the new functions.
10742 2012-09-28 David S. Miller <davem@davemloft.net>
10744 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10746 2012-09-28 Roland McGrath <roland@hack.frob.com>
10748 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10749 instead of SIGALRM.
10751 * sysdeps/gnu/_G_config.h: Moved to ...
10752 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10753 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10754 * sysdeps/generic/_G_config.h: ... here.
10756 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10758 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10760 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10761 Conditionalize target on [libnss_test1.so-version].
10763 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10765 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10766 (elfobjdir): Move out of conditionals.
10768 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10769 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10770 (__nss_lookup_function): Conditionalize label remove_from_tree on
10771 [!DO_STATIC_NSS || SHARED], matching its only use.
10773 2012-09-28 David S. Miller <davem@davemloft.net>
10775 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10776 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10778 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10780 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10782 when HWCAP_SPARC_CRYPTO is present.
10784 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10786 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10788 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10791 * stdio-common/vfprintf.c (process_string_arg): Revert
10794 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10796 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10798 * stdio-common/tst-sprintf.c: Include <locale.h>
10799 (main): Test sprintf's handling of incomplete multibyte
10802 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10804 * elf/dl-runtime.c (VERSYMIDX): Removed.
10805 * elf/dl-version.c (VERSYMIDX): Likewise.
10806 * elf/do-rel.h (VERSYMIDX): Likewise.
10807 (VALIDX): Likewise.
10808 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10809 * elf/rtld.c (VALIDX): Likewise.
10810 (ADDRIDX): Likewise.
10811 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10812 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10813 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
10814 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10815 (VALIDX): Likewise.
10816 (ADDRIDX): Likewise.
10818 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10820 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10822 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10825 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10827 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10828 addresses are in the same scope as 192.0.2/24.
10829 * posix/gai.conf: Document new scope table defaults.
10831 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10834 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10835 for ftell. Compute offsets from write pointers instead.
10836 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10838 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10841 * libio/Makefile (tests): New test case tst-fseek.
10842 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10843 combination works in wide mode.
10844 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10845 state when the external buffer state changes.
10847 2012-09-27 David S. Miller <davem@davemloft.net>
10850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10851 pass reloc->r_addend in as the 'high' argument to
10852 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10856 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10858 * rt/tst-aio2.c: Include <pthread.h>.
10859 * rt/tst-aio3.c: Likewise.
10861 2012-09-27 Steve Ellcey <sellcey@mips.com>
10863 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10865 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10867 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10868 contents on [SHARED].
10870 2012-09-26 Marek Polacek <polacek@redhat.com>
10874 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10875 for C++ and GCC <4.3 as well as for non GCC compilers.
10877 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10881 2012-09-25 Roland McGrath <roland@hack.frob.com>
10883 * Makefile.in (all, install): Declare with .PHONY.
10884 Reported by Michael Hope <michael.hope@linaro.org>.
10886 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10888 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10889 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10891 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10893 (sydep_routines): Add the new and the internal functions.
10894 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10895 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10897 (GLIBC_2.17): Add the new function.
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10899 (GLIBC_2.17): Likewise.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10901 (GLIBC_2.17): Likewise.
10902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10903 (GLIBC_2.17): Likewise.
10904 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10906 2012-09-25 Alan Modra <amodra@gmail.com>
10908 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10909 Add release barrier before setting once_control to say
10910 initialisation is done. Add hints on lwarx. Use macro in
10912 (clear_once_control): Add release barrier.
10914 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10917 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10919 * math/s_clog10.c (__clog10): Likewise.
10920 * math/s_clog10f.c (__clog10f): Likewise.
10921 * math/s_clog10l.c (__clog10l): Likewise.
10922 * math/s_clogf.c (__clogf): Likewise.
10923 * math/s_clogl.c (__clogl): Likewise.
10924 * math/Makefile (libm-calls): Add x2y2m1.
10925 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10926 (__x2y2m1): Likewise.
10927 (__x2y2m1l): Likewise.
10928 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10929 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10930 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10932 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10933 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10934 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10935 * sysdeps/i386/fpu/libm-test-ulps: Update.
10936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10939 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10940 int as type of variable DEPTH.
10941 (glob): Use size_t instead of int as type of variables NEWCOUNT
10944 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10946 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10947 Add s_sincosf-sse2.
10948 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10949 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10950 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10951 macros for using routine as __sincosf_ia32.
10952 Use macro for function declaration and weak_alias.
10953 * sysdeps/i386/fpu/libm-test-ulps: Update.
10955 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10958 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
10959 subnormal argument.
10960 * math/s_cexpf.c (__cexpf): Likewise.
10961 * math/s_csinf.c (__csinf): Likewise.
10962 * math/s_csinhf.c (__csinhf): Likewise.
10963 * math/s_ctanf.c (__ctanf): Likewise.
10964 * math/s_ctanhf.c (__ctanhf): Likewise.
10965 * math/s_ccosh.c (__ccoshf): Likewise.
10966 * math/s_cexp.c (__cexpl): Likewise.
10967 * math/s_csin.c (__csin): Likewise.
10968 * math/s_csinh.c (__csinh): Likewise.
10969 * math/s_ctan.c (__ctan): Likewise.
10970 * math/s_ctanh.c (ctanh): Likewise.
10971 * math/s_ccoshl.c (__ccoshl): Likewise.
10972 * math/s_cexpl.c (__cexpl): Likewise.
10973 * math/s_csinl.c (__csinl): Likewise.
10974 * math/s_csinhl.c (__csinhl): Likewise.
10975 * math/s_ctanl.c (__ctanl): Likewise.
10976 * math/s_ctanhl.c (__ctanhl): Likewise.
10978 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10980 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10981 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10982 (_IO_off_t): Define to __off_t, not _G_off_t.
10983 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10984 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10985 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10986 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10987 type of __dummy and __dummy2 fields.
10988 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10989 (_G_ssize_t): Likewise.
10990 (_G_off_t): Likewise.
10991 (_G_pid_t): Likewise.
10992 (_G_uid_t): Likewise.
10993 (_G_wchar_t): Likewise.
10994 (_G_wint_t): Likewise.
10995 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10996 (_G_ssize_t): Likewise.
10997 (_G_off_t): Likewise.
10998 (_G_pid_t): Likewise.
10999 (_G_uid_t): Likewise.
11000 (_G_wchar_t): Likewise.
11001 (_G_wint_t): Likewise.
11002 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11003 (_G_ssize_t): Likewise.
11004 (_G_off_t): Likewise.
11005 (_G_pid_t): Likewise.
11006 (_G_uid_t): Likewise.
11007 (_G_wchar_t): Likewise.
11008 (_G_wint_t): Likewise.
11010 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11012 * malloc/arena.c: Include malloc-sysdep.h.
11013 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11014 is sufficient to shrink the heap or an unmap is needed.
11015 * sysdeps/generic/malloc-sysdep.h: New file. Define
11016 new function check_may_shrink_heap.
11017 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11018 new function check_may_shrink_heap.
11020 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11022 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11025 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11027 * catgets/test-gencat.sh: Add "set -e".
11028 * elf/tst-pathopt.sh: Likewise.
11029 * grp/tst_fgetgrent.sh: Likewise.
11030 * iconvdata/run-iconv-test.sh: Likewise.
11031 * intl/tst-gettext.sh: Likewise.
11032 * intl/tst-gettext2.sh: Likewise.
11033 * intl/tst-gettext4.sh: Likewise.
11034 * intl/tst-gettext6.sh: Likewise.
11035 * intl/tst-translit.sh: Likewise.
11036 * io/ftwtest-sh: Likewise.
11037 * libio/test-freopen.sh: Likewise.
11038 * malloc/tst-mtrace.sh: Likewise.
11039 * posix/globtest.sh: Likewise.
11040 * posix/tst-getconf.sh: Likewise.
11041 * posix/wordexp-tst.sh: Likewise.
11042 * stdio-common/tst-printf.sh: Likewise.
11043 * stdio-common/tst-unbputc.sh: Likewise.
11044 * stdlib/tst-fmtmsg.sh: Likewise.
11045 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11046 * catgets/Makefile: Do not specify -e option when running
11047 testsuite shell scripts.
11048 * elf/Makefile: Likewise.
11049 * grp/Makefile: Likewise.
11050 * iconvdata/Makefile: Likewise.
11051 * intl/Makefile: Likewise.
11052 * io/Makefile: Likewise.
11053 * libio/Makefile: Likewise.
11054 * malloc/Makefile: Likewise.
11055 * posix/Makefile: Likewise.
11056 * stdio-common/Makefile: Likewise.
11057 * stdlib/Makefile: Likewise.
11058 * sysdeps/x86_64/Makefile: Likewise.
11060 * io/ftwtest-sh: Add copyright header.
11061 * posix/globtest.sh: Likewise.
11062 * posix/tst-getconf.sh: Likewise.
11063 * posix/wordexp-tst.sh: Likewise.
11064 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11066 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11069 * Makeconfig (+link): Defined as $(+link-static) if
11070 $(build-shared) isn't yes.
11071 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11073 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11075 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11078 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11079 new chunk size with MALLOC_ALIGN_MASK.
11081 2012-09-24 Joseph Myers <joseph@codesourcery.com>
11084 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11086 (__printf_fphex): Determine rounding using get_rounding_mode and
11088 * stdio-common/tst-printf-round.c (struct hex_test): New
11090 (hex_tests): New variable.
11091 (test_hex_in_one_mode): New function.
11092 (do_test): Also run tests for hex float output.
11094 2012-09-21 Joseph Myers <joseph@codesourcery.com>
11096 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11097 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11098 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11099 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11100 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11101 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11102 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11103 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11105 2012-09-20 Joseph Myers <joseph@codesourcery.com>
11107 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11108 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11109 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11110 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11112 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11115 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11117 * elf/tst-rtld-load-self.sh: New test.
11118 * elf/Makefile: Run it.
11120 2012-09-18 Joseph Myers <joseph@codesourcery.com>
11122 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11123 (tst-writev-ENV): Remove.
11124 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11126 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11128 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11130 2012-09-17 Joseph Myers <joseph@codesourcery.com>
11132 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11134 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11136 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11137 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11138 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11141 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11144 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11145 * config.make.in (have-cpp-asm-debuginfo): Removed.
11146 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11147 * configure: Regenerated.
11149 2012-09-14 Joseph Myers <joseph@codesourcery.com>
11152 * stdio-common/printf_fp.c: Include <stdbool.h> and
11154 (___printf_fp): Determine rounding using get_rounding_mode and
11156 * stdio-common/tst-printf-round.c: New file.
11157 * stdio-common/Makefile (tests): Add tst-printf-round.
11158 (link-libm): New variable.
11159 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11161 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11164 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11165 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11167 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11170 2012-09-13 Joseph Myers <joseph@codesourcery.com>
11172 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11173 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11174 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11175 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11177 2012-09-12 Joseph Myers <joseph@codesourcery.com>
11180 * include/rounding-mode.h: New file.
11181 * sysdeps/generic/get-rounding-mode.h: Likewise.
11182 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11183 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11184 (MAX_VALUE): New macro.
11185 (MIN_VALUE): Likewise.
11186 (overflow_value): New function.
11187 (underflow_value): Likewise.
11188 (round_and_return): Use overflow_value and underflow_value to
11189 determine return values in overflow and underflow cases. Use
11190 round_away to determine rounding depending on rounding mode.
11191 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11192 determine return values in overflow and underflow cases.
11193 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11194 (struct test_results): New structure.
11195 (struct test): Use struct test_results to store expected results
11196 for all rounding modes.
11197 (TEST): Include expected results for all rounding modes.
11198 (test_in_one_mode): New function.
11199 (do_test): Use test_in_one_mode to compute and check results.
11200 Check results for all rounding modes.
11201 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11204 2012-12-09 Allan McRae <allan@archlinux.org>
11206 * sysdeps/i386/fpu/libm-test-ulps: Update
11208 2012-09-11 Joseph Myers <joseph@codesourcery.com>
11210 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11211 (_G_int32_t): Likewise.
11212 (_G_uint16_t): Likewise.
11213 (_G_uint32_t): Likewise.
11214 (_G_HAVE_BOOL): Likewise.
11215 (_G_HAVE_ATEXIT): Likewise.
11216 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11217 (_G_HAVE_IO_FILE_OPEN): Likewise.
11218 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11219 (_G_int32_t): Likewise.
11220 (_G_uint16_t): Likewise.
11221 (_G_uint32_t): Likewise.
11222 (_G_HAVE_BOOL): Likewise.
11223 (_G_HAVE_ATEXIT): Likewise.
11224 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11225 (_G_HAVE_IO_FILE_OPEN): Likewise.
11226 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11227 (_G_int32_t): Likewise.
11228 (_G_uint16_t): Likewise.
11229 (_G_uint32_t): Likewise.
11230 (_G_HAVE_BOOL): Likewise.
11231 (_G_HAVE_ATEXIT): Likewise.
11232 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11233 (_G_HAVE_IO_FILE_OPEN): Likewise.
11235 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11237 * csu/libc-tls.c: Update copyright years.
11239 2012-09-10 Joseph Myers <joseph@codesourcery.com>
11241 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11242 [!_G_USING_THUNKS]: Remove conditional code.
11243 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11244 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11246 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11247 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11248 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11249 (_G_VTABLE_LABEL_PREFIX): Likewise.
11250 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11251 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11252 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11253 (_G_VTABLE_LABEL_PREFIX): Likewise.
11254 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11255 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11256 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11257 (_G_VTABLE_LABEL_PREFIX): Likewise.
11258 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11260 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11262 * libio/Makefile: Include ../Makeconfig before tests.
11263 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11264 only if $(build-shared) is yes.
11266 * iconv/gconv_db.c: Update copyright years.
11268 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11270 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11271 unwind info if defined PIC. Fix special cases description.
11272 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11274 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11276 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11278 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11280 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11282 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11285 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11286 (LDLIBS-tst-chk4): This.
11287 (LDFLAGS-tst-chk5): Renamed to ...
11288 (LDLIBS-tst-chk5): This.
11289 (LDFLAGS-tst-chk6): Renamed to ...
11290 (LDLIBS-tst-chk6): This.
11291 (LDFLAGS-tst-lfschk4): Renamed to ...
11292 (LDLIBS-tst-lfschk4): This.
11293 (LDFLAGS-tst-lfschk5): Renamed to ...
11294 (LDLIBS-tst-lfschk5): This.
11295 (LDFLAGS-tst-lfschk6): Renamed to ...
11296 (LDLIBS-tst-lfschk6): This.
11298 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11299 on $(common-objpfx)soversions.mk.
11301 2012-09-07 Joseph Myers <joseph@codesourcery.com>
11304 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11307 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11309 * malloc/arena.c (arena_get_retry): New function that gets
11310 another arena for the caller to try its request on.
11311 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11312 current arena cannot fulfill the request.
11313 (__libc_memalign): Likewise.
11314 (__libc_memalign): Likewise.
11315 (__libc_pvalloc): Likewise.
11316 (__libc_calloc): Likewise.
11318 2012-09-05 John Tobey <john.tobey@gmail.com>
11321 * manual/arith.texi (Operations on Complex): Fix description
11322 of carg branch cut.
11324 2012-09-06 Joseph Myers <joseph@codesourcery.com>
11327 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11331 * manual/memory.texi (Memory): Make order of menu items match
11334 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11336 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11337 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11338 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11340 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11342 * csu/libc-tls.c (static_dtv): Renamed to ...
11343 (_dl_static_dtv): This. Make it global.
11344 (_dl_initial_dtv): Removed.
11345 (__libc_setup_tls): Updated.
11346 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11347 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11350 2012-09-06 Petr Machata <pmachata@redhat.com>
11352 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11353 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11354 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11355 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11357 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11360 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11361 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11364 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11367 * Makeconfig (link-static-before-libc): Replace $(+prector)
11369 (link-static-after-libc): Replace $(+postctor) with
11371 (link-bounded): Replace $(+prector)/$(+postctor) with
11372 $(+prectorT)/$(+postctorT).
11373 (+prectorT): New macro.
11374 (+postctorT): Likewise.
11376 2012-09-06 Joseph Myers <joseph@codesourcery.com>
11378 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11379 (round_str): Handle values above the maximum for IBM long double
11381 * stdlib/tst-strtod-round.c (tests): Regenerated.
11383 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11385 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11387 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11388 zarch_nohighgprs around the zarch optimized routines.
11389 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11390 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11391 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11394 2012-09-05 David S. Miller <davem@davemloft.net>
11396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11398 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11399 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11400 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11401 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11404 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11406 * malloc/arena.c: Fold copyright years.
11407 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11409 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11411 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11413 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11415 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11417 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11419 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11420 change internal state upon failure.
11422 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11424 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11425 * malloc/memusage.c (mmap): Likewise.
11426 (mmap64, mremap): Likewise. Adjust name in comment.
11428 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11430 * libio/fileops.c: Fix typos in comments.
11431 * libio/oldfileops.c: Likewise.
11432 * libio/wfileops.c: Likewise.
11434 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11437 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11438 (tst-malloc-usable-ENV): Set environment for test case.
11439 * malloc/hooks.c (malloc_check_get_size): New function to get
11441 * malloc/malloc.c (musable): Use malloc_check_get_size.
11442 * malloc/tst-malloc-usable.c: New test case.
11444 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11446 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11448 2012-09-05 Allan McRae <allan@archlinux.org>
11451 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11452 determine header location.
11453 * configure: Regenerated.
11455 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11457 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11459 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
11460 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11462 (test): Regenerate.
11464 2012-09-04 David S. Miller <davem@davemloft.net>
11466 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11467 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11468 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11470 2012-09-04 Florian Weimer <fweimer@redhat.com>
11472 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11475 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11477 2012-09-04 Joseph Myers <joseph@codesourcery.com>
11480 * libio/iogetdelim.c: Include <limits.h>.
11481 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11482 + len + 1 would overflow.
11484 2012-09-03 Andreas Jaeger <aj@suse.de>
11486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11487 * sysdeps/i386/fpu/libm-test-ulps: Update.
11489 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11491 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11492 Add s_sinf-sse2, s_conf-sse2.
11494 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11495 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11496 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11497 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11499 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11500 for using routine as __sinf_ia32.
11501 Use macro for function declaration and weak_alias.
11502 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11503 for using routine as __cosf_ia32.
11504 Use macro for function declaration and weak_alias.
11506 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11507 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11509 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11510 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11513 * math/libm-test.inc (cos_test): Add more test cases.
11514 (sin_test): Likewise.
11515 (sincos_test): Likewise.
11517 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11519 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11520 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11522 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11524 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11527 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11528 first element of the GOT.
11529 (elf_machine_load_address): Return the difference between
11530 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11532 2012-09-01 Allan McRae <allan@archlinux.org>
11535 * configure.in (AWK): Require gawk version 3.0 or later.
11536 * configure: Regenerated.
11538 2012-09-01 Joseph Myers <joseph@codesourcery.com>
11540 * sysdeps/unix/sysv/linux/kernel-features.h
11541 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11542 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11543 [__NR_clock_getres]: Make code unconditional.
11544 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11545 (clock_getcpuclockid): Remove code left unreachable by removal of
11547 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11548 code unconditional.
11549 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11550 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11551 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11552 Make code unconditional.
11553 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11554 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11555 * sysdeps/unix/sysv/linux/clock_settime.c
11556 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11558 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11559 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11561 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11564 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11565 scripts/test-installation.pl.
11567 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11568 and $ld_so_version if it is set.
11570 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11573 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11574 failure if reading from procfs failed.
11575 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11577 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11579 * sysdeps/unix/sysv/linux/kernel-features.h
11580 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11581 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11582 Remove conditional code.
11583 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11584 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11585 Remove conditional code.
11586 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11587 * sysdeps/unix/sysv/linux/i386/fxstat.c
11588 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11589 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11590 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11591 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11592 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11593 * sysdeps/unix/sysv/linux/i386/lxstat.c
11594 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11595 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11596 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11597 Remove conditional code.
11598 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11599 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11600 Remove conditional code.
11601 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11602 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11603 <kernel-features.h>.
11604 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11606 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11607 Remove conditional code.
11608 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11609 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11610 Remove conditional.
11612 2012-08-27 Mike Frysinger <vapier@gentoo.org>
11615 * NEWS: Add fixed bug number.
11617 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11620 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11621 underflowing exponent in case of negative sign.
11622 * stdlib/tst-strtod-round-data: Add more tests.
11623 * stdlib/tst-strtod-round.c (tests): Regenerated.
11626 * stdlib/strtod_l.c (NDIG): Remove.
11627 (HEXNDIG): Likewise.
11628 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11629 smallest representable value.
11630 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11631 lie within an exact representation of 1/2 ulp of the result.
11632 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11634 (TENS_P9_IDX): Define unconditionally.
11635 (TENS_P9_SIZE): Likewise.
11636 (TENS_P10_IDX): Likewise.
11637 (TENS_P10_SIZE): Likewise.
11638 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11639 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11640 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11641 entries for 10^2^13 and 10^2^14.
11642 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11643 (TENS_P13_IDX): Define.
11644 (TENS_P13_SIZE): Likewise.
11645 (TENS_P14_IDX): Likewise.
11646 (TENS_P14_SIZE): Likewise.
11647 (_fpioconst_pow10): Change array size to
11648 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11650 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11651 1024]: Add entries for 10^2^13 and 10^2^14.
11652 [LAST_POW10 > _LAST_POW10]: Remove #error.
11653 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11654 (_fpioconst_pow10): Change array size to
11655 FPIOCONST_POW10_ARRAY_SIZE.
11656 * stdlib/gen-fpioconst.c: New file.
11657 * stdlib/gen-tst-strtod-round.c: Likewise.
11658 * stdlib/tst-strtod-round-data: Likewise.
11659 * stdlib/tst-strtod-round.c: Likewise.
11660 * stdlib/Makefile (tests): Add tst-strtod-round.
11663 * stdlib/strtod_l.c: Include <stdint.h>.
11664 (NDEBUG): Do not define.
11665 (round_and_return): Change EXPONENT parameter to type intmax_t.
11666 Rearrange calculations to avoid internal overflow possibilities.
11667 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11668 Rearrange calculations to avoid internal overflow possibilities.
11669 Assert that number fits inside MPNSIZE limbs.
11670 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11671 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11672 calculations and add assertions to avoid internal overflow
11673 possibilities. Add casts to avoid signed/unsigned operations.
11674 * stdlib/tst-strtod-overflow.c: New file.
11675 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11677 2012-08-25 Marek Polacek <polacek@redhat.com>
11679 * time/time.h: Fix some typos in comments.
11681 2012-08-23 Roland McGrath <roland@hack.frob.com>
11683 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11684 * posix/tst-rfc3484-2.c: Likewise.
11685 * posix/tst-rfc3484-3.c: Likewise.
11687 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11689 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11690 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11692 2012-08-23 Joseph Myers <joseph@codesourcery.com>
11694 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11695 #include of fxstatat64.c.
11697 2012-08-22 Roland McGrath <roland@hack.frob.com>
11699 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11700 * shadow/getspent_r.c: Likewise.
11701 * shadow/getspnam.c: Likewise.
11702 * shadow/getspnam_r.c: Likewise.
11703 * gshadow/getsgent.c: Likewise.
11704 * gshadow/getsgent_r.c: Likewise.
11705 * gshadow/getsgnam.c: Likewise.
11706 * gshadow/getsgnam_r.c: Likewise.
11707 * inet/getnetbyad.c: Likewise.
11708 * inet/getnetbyad_r.c: Likewise.
11709 * inet/getnetbynm.c: Likewise.
11710 * inet/getnetbynm_r.c: Likewise.
11711 * inet/getnetent.c: Likewise.
11712 * inet/getnetent_r.c: Likewise.
11713 * inet/getproto.c: Likewise.
11714 * inet/getproto_r.c: Likewise.
11715 * inet/getprtent.c: Likewise.
11716 * inet/getprtent_r.c: Likewise.
11717 * inet/getprtname.c: Likewise.
11718 * inet/getprtname_r.c: Likewise.
11719 * inet/getrpcbyname.c: Likewise.
11720 * inet/getrpcbyname_r.c: Likewise.
11721 * inet/getrpcbynumber.c: Likewise.
11722 * inet/getrpcbynumber_r.c: Likewise.
11723 * inet/getrpcent.c: Likewise.
11724 * inet/getrpcent_r.c: Likewise.
11725 * inet/getaliasent.c: Likewise.
11726 * inet/getaliasent_r.c: Likewise.
11727 * inet/getaliasname.c: Likewise.
11728 * inet/getaliasname_r.c: Likewise.
11729 * nscd/getgrgid_r.c: Likewise.
11730 * nscd/getgrnam_r.c: Likewise.
11731 * nscd/gethstbyad_r.c: Likewise.
11732 * nscd/gethstbynm3_r.c: Likewise.
11733 * nscd/getpwnam_r.c: Likewise.
11734 * nscd/getpwuid_r.c: Likewise.
11735 * nscd/getsrvbynm_r.c: Likewise.
11736 * nscd/getsrvbypt_r.c: Likewise.
11737 * nscd/gai.c: Likewise.
11739 * configure.in (build_nscd): New substituted variable, set
11740 by --disable-build-nscd and defaults to $use_nscd.
11741 * configure: Regenerated.
11742 * config.make.in (build-nscd): New substituted variable.
11743 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11744 Change conditional to require [$(build-nscd) = yes] as well.
11745 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11748 * configure.in (use_nscd): New substituted variable, set by
11749 --disable-nscd. If enabled, define USE_NSCD.
11750 * configure: Regenerated.
11751 * config.h.in: Add USE_NSCD.
11752 * config.make.in (use-nscd): New substituted variable.
11753 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11754 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11755 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11756 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11757 (CFLAGS-getgrnam_r.c): Likewise.
11758 (CFLAGS-initgroups.c): Likewise.
11759 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11760 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11762 * inet/getnetgrent_r.c
11763 (nscd_setnetgrent): New function, broken out of ...
11764 (setnetgrent): ... here. Call it.
11765 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11766 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11767 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11768 * nscd/Makefile (routines, aux): Move definitions after include of
11769 Makeconfig. Conditionalize on [$(use-nscd) != no].
11770 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11771 Conditionalize on [USE_NSCD].
11772 (is_nscd, nscd_init_cb): Likewise.
11773 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11774 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11775 * nss/nss_db/db-init.c: Likewise.
11776 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11778 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11779 (make_request): Use it.
11780 (cache_valid_p): New function.
11781 (__check_pf): Use it.
11782 * NEWS: Add item for --disable-nscd.
11784 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11786 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11787 to support sed >= 4.2.1-20-ga9bf076.
11788 * configure: Regenerated.
11790 2012-08-22 Roland McGrath <roland@hack.frob.com>
11792 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11793 Conditionalize whole body on [IREL].
11795 2012-08-22 Jeff Law <law@redhat.com>
11798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11799 if the family is PF_UNSPEC.
11801 2012-08-22 Mike Frysinger <vapier@gentoo.org>
11803 * Makerules (lib-version): Rename from V.
11804 (install-lib-nosubdir): Change V to lib-version.
11806 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11809 * powerpc32/power6/wcschr.c: New file.
11810 * powerpc32/power6/wcscpy.c: New file.
11811 * powerpc32/power6/wcsrchr.c: New file.
11812 * powerpc64/power6/wcschr.c: New file.
11813 * powerpc64/power6/wcscpy.c: New file.
11814 * powerpc64/power6/wcsrchr.c: New file.
11816 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11818 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11819 (two_way_short_needle): Use it.
11820 * string/strstr.c (AVAILABLE1_USES_J): Define.
11821 * string/strcasestr.c: Likewise.
11823 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11825 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11828 * NEWS: Add an entry.
11829 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11830 define their defaults.
11831 (two_way_short_needle): Detect end-of-string on-the-fly.
11832 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11833 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11834 * string/bug-strcasestr1.c: New test.
11835 * string/Makefile: Run it.
11837 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11840 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11841 the first character.
11843 2012-08-21 Roland McGrath <roland@hack.frob.com>
11845 * csu/elf-init.c (__libc_csu_irel): Function removed.
11846 * csu/libc-start.c (apply_irel): New function.
11847 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11849 2012-08-21 Joseph Myers <joseph@codesourcery.com>
11851 * sysdeps/unix/sysv/linux/kernel-features.h
11852 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11853 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11854 <kernel-features.h>.
11855 [__NR_fadvise64_64]: Make code unconditional.
11856 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11857 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11858 !__NR_fadvise64_64)]: Likewise.
11859 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11860 !__NR_fadvise64_64))]: Likewise.
11861 [__NR_fadvise64]: Make code unconditional.
11862 [!__NR_fadvise64]: Remove conditional code.
11863 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11864 <kernel-features.h>.
11865 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11867 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11870 not include <kernel-features.h>.
11871 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11873 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11875 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11876 include <kernel-features.h>.
11877 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11879 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11882 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11884 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11885 slight instruction rearrangements per scrollpipe analysis.
11886 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11888 2012-08-20 Roland McGrath <roland@hack.frob.com>
11890 * manual/syslog.texi (syslog; vsyslog, closelog):
11891 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11892 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11894 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11895 DSOCAPS to match condition on defining it.
11897 2012-08-20 Joseph Myers <joseph@codesourcery.com>
11899 * sysdeps/unix/sysv/linux/kernel-features.h
11900 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11902 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11903 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11905 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11906 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11908 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11909 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11911 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11912 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11914 * sysdeps/unix/sysv/linux/kernel-features.h
11915 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11916 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11918 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11919 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11920 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11921 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11922 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11923 Make code unconditional.
11924 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11925 (__mmap64) [!__NR_mmap2]: Likewise.
11926 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11927 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11928 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11929 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11930 [__NR_mmap2]: Make code unconditional.
11931 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11932 (__mmap64) [!__NR_mmap2]: Likewise.
11934 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11936 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11938 2012-08-18 Andreas Jaeger <aj@suse.de>
11940 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11942 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11944 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11945 * include/unistd.h (__have_sock_cloexec): Likewise.
11946 (__have_pipe2): Likewise.
11947 (__have_dup3): Likewise.
11949 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11952 * include/unistd.h (__have_pipe2): Change define into an extern int.
11953 (__have_dup3): Likewise.
11954 * socket/have_sock_cloexec.c: Include fcntl.h.
11955 (__have_pipe2): New variable.
11956 (__have_dup3): Likewise.
11958 2012-08-17 Mike Frysinger <vapier@gentoo.org>
11960 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11962 2012-08-17 Marek Polacek <polacek@redhat.com>
11964 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11965 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11967 2012-08-17 Roland McGrath <roland@hack.frob.com>
11969 * configure.in: Add AC_SUBST for sysheaders.
11970 * configure: Regenerated.
11971 * config.make.in (sysheaders): New substituted variable.
11973 * sysdeps/unix/mkfifo.c: Moved ...
11974 * sysdeps/posix/mkfifo.c: ... here.
11975 * sysdeps/unix/mkfifoat.c: Moved ...
11976 * sysdeps/posix/mkfifoat.c: ... here.
11978 * sysdeps/unix/utime.c: Moved ...
11979 * sysdeps/posix/utime.c: ... here.
11981 * sysdeps/unix/time.c: Moved ...
11982 * sysdeps/posix/time.c: ... here.
11983 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11984 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
11986 * sysdeps/unix/nice.c: Moved ...
11987 * sysdeps/posix/nice.c: ... here.
11989 * sysdeps/unix/alarm.c: Moved ...
11990 * sysdeps/posix/alarm.c: ... here.
11992 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11994 2012-08-17 Jeff Law <law@redhat.com>
11996 * intl/Makefile (codeset_mo): New variable.
11997 ($(codeset_mo)): New target.
11998 (tst-codeset.out): Depend on that. Remove explicit rule.
11999 (tst-gettext3.out, tst-gettext5.out): Likewise.
12000 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12001 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12002 * intl/tst-codeset.sh: Remove.
12003 * intl/tst-gettext3.sh: Likewise.
12004 * intl/tst-gettext5.sh: Likewise.
12006 2012-08-17 Roland McGrath <roland@hack.frob.com>
12008 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12009 * sysdeps/unix/syscalls.list: ... here.
12011 * sysdeps/posix/getaddrinfo.c
12012 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12013 (gaiconf_init, gaiconf_reload): Use them.
12014 [!_STATBUF_ST_NSEC]
12015 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12016 Define using time_t rather than struct timespec.
12018 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12019 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12021 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12023 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12024 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12027 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12028 __libc_cleanup_push argument.
12030 * bits/param.h: New file.
12031 * misc/sys/param.h: New file.
12032 * include/sys/param.h: New file.
12033 * misc/Makefile (headers): Add bits/param.h.
12034 * sysdeps/generic/sys/param.h: File removed.
12035 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12036 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12037 * sysdeps/mach/hurd/bits/param.h: New file.
12038 * sysdeps/mach/hurd/sys/param.h: File removed.
12040 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12043 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12045 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12046 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12049 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12050 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12051 rather than -D_IO_MTSAFE_IO conditionally.
12052 * stdio-common/Makefile (CPPFLAGS): Likewise.
12053 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12054 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12055 Use $(libio-mtsafe).
12056 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12057 of -D_IO_MTSAFE_IO.
12058 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12059 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12060 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12061 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12062 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12063 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12064 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12065 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12066 (CFLAGS-fread_u_chk.c): Likewise.
12067 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12068 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12069 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12070 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12071 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12072 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12073 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12074 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12075 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12077 * libio/Makefile: Test [$(libc-reentrant) = yes]
12078 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12081 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12082 * sysdeps/pthread/configure: File removed.
12083 * sysdeps/pthread/Makeconfig: New file.
12084 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12085 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12087 2012-08-16 Gary Benson <gbenson@redhat.com>
12089 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12090 unmapping the first object in a namespace.
12092 2012-08-16 Roland McGrath <roland@hack.frob.com>
12094 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12095 (__internal_setnetgrent): ... this. Add internal_function to
12096 definition. Add libc_hidden_def.
12097 (setnetgrent): Update caller.
12098 (internal_endnetgrent): Renamed to ...
12099 (__internal_endnetgrent): ... this. Add internal_function to
12100 definition. Add libc_hidden_def.
12101 (endnetgrent): Update caller.
12102 (internal_getnetgrent_r): Renamed to ...
12103 (__internal_getnetgrent_r): ... this. Add internal_function to
12104 definition. Add libc_hidden_def.
12105 (__getnetgrent_r): Update caller.
12106 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12108 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12110 * stdlib/longlong.h: Update from GCC.
12112 2012-08-16 Roland McGrath <roland@hack.frob.com>
12114 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12115 on _QL, which is set by umul_ppmm but never used.
12116 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12117 variables, which are set by GMP macros but never used.
12118 * stdio-common/_itowa.c (_itowa): Likewise.
12119 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12120 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12122 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12124 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12125 struct La_sh_regs is not constant.
12126 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12127 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12128 and struct La_sparc64_regs are not constant.
12130 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12132 * sysdeps/unix/sysv/linux/kernel-features.h
12133 (__ASSUME_POSIX_TIMERS): Remove.
12134 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12135 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12136 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12137 Make code unconditional.
12138 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12139 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12140 Make code unconditional.
12141 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12142 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12143 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12144 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12145 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12146 Make code unconditional.
12147 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12148 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12149 (__libc_missing_posix_timers): Remove.
12151 2012-08-15 Roland McGrath <roland@hack.frob.com>
12153 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12154 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12156 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12158 * elf/dl-sym.c: Include <stdlib.h>.
12160 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12161 constants, which avoids warnings in 32-bit builds.
12163 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12164 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12166 * misc/lseek.c: File moved to ...
12167 * io/lseek.c: ... here.
12169 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12171 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12172 shifting LEN more than 31 bits at once.
12174 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12177 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12178 segmentation fault for a case of two empty input strings.
12179 * string/test-strncasecmp.c (check1): Renamed to...
12180 (bz12205): ...this.
12181 (bz14195): Add new testcase for two empty input strings and N > 0.
12182 (test_main): Call new testcase, adapt for renamed function.
12184 2012-08-15 Andreas Jaeger <aj@suse.de>
12187 * crypt/md5test2.c: New test, based on test supplied by Serge
12188 Belyshev <belyshev@depni.sinp.msu.ru>.
12189 * crypt/Makefile (xtests): Add md5test-giant..
12190 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12192 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12195 * crypt/md5.c (md5_process_block): Don't assume the buffer
12196 length is less than 2**32.
12197 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12198 length is less than 2**64.
12200 2012-08-15 Roland McGrath <roland@hack.frob.com>
12202 * string/str-two-way.h: Include <sys/param.h>.
12203 (MAX): Macro removed.
12205 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12206 Move #define and #undef of memmove to just before and after
12207 including <string.h>.
12209 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12210 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12211 and after including <string.h>. Move declarations of
12212 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12213 to before #include "string/memmove.c".
12215 * include/dirent.h: Declare __getdirentries.
12217 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12218 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12220 2012-08-14 Mike Frysinger <vapier@gentoo.org>
12222 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12223 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12224 * sysdeps/i386/configure: Regenerated.
12225 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12226 STABS_CURRENT_FILE, and STABS_FUN.
12227 (END): Remove call to STABS_FUN_END.
12228 (STABS_CURRENT_FILE1): Delete.
12229 (STABS_CURRENT_FILE): Likewise.
12230 (STABS_FUN): Likewise.
12231 (STABS_FUN_END): Likewise.
12232 (STABS_FUN2): Likewise.
12233 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12234 * sysdeps/x86_64/configure: Regenerated.
12236 2012-08-14 Roland McGrath <roland@hack.frob.com>
12238 * elf/dl-open.c: Include <atomic.h>.
12239 * elf/dl-lookup.c: Likewise.
12241 2012-08-14 Joseph Myers <joseph@codesourcery.com>
12243 * sysdeps/unix/sysv/linux/kernel-features.h
12244 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12245 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12247 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12249 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12250 condition on __ASSUME_CLONE_THREAD_FLAGS.
12252 2012-08-14 Andreas Jaeger <aj@suse.de>
12254 * sysdeps/i386/fpu/libm-test-ulps: Update.
12256 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12258 * include/atomic.h (atomic_exchange_and_add): Split into ...
12259 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12262 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12266 2012-08-13 Jeff Law <law@redhat.com>
12268 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12269 null byte in the output string.
12271 2012-08-10 Joseph Myers <joseph@codesourcery.com>
12273 * sysdeps/unix/sysv/linux/kernel-features.h
12274 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12275 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12276 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12277 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12278 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12279 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12280 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12282 2012-08-09 Jeff Law <law@redhat.com>
12285 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12286 When avoid_arena is set, don't retry in the that arena. Pick the
12287 next one, whatever it might be.
12288 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12289 (arena_lock): Pass in new parameter to arena_get2.
12290 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12292 (__libc_malloc): Unify retrying after main arena failure with
12293 __libc_memalign version.
12294 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12296 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12299 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12300 to __redirect_strstr.
12301 (__strstr_sse42): Use typeof __redirect_strstr.
12302 (__strstr_ia32): Likewise.
12303 (__libc_strstr): New prototype.
12304 (strstr): Renamed to ...
12305 (__libc_strstr): This.
12306 (strstr): New strong alias of __libc_strstr.
12307 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12308 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12311 (__libc_time): New prototype.
12312 (time_ifunc): Replace time with __libc_time.
12313 (time): New strong alias and hidden definition of __libc_time.
12314 (__GI_time): Remove strong alias.
12315 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12316 Include <stddef.h>.
12317 (memmove): Redefined to __redirect_memmove.
12318 (__memmove_sse2): Use typeof __redirect_memmove.
12319 (__memmove_ssse3): Likewise.
12320 (__memmove_ssse3_back): Likewise.
12321 (__libc_memmove): New prototype.
12322 (memmove): Renamed to ...
12323 (__libc_memmove): This.
12324 (memmove): New strong alias of __libc_memmove.
12326 2012-08-08 Mark Salter <msalter@redhat.com>
12329 (R_MN10300_TLS_GD): Define.
12330 (R_MN10300_TLS_LD): Likewise.
12331 (R_MN10300_TLS_LDO): Likewise.
12332 (R_MN10300_TLS_GOTIE): Likewise.
12333 (R_MN10300_TLS_IE): Likewise.
12334 (R_MN10300_TLS_LE): Likewise.
12335 (R_MN10300_TLS_DTPMOD): Likewise.
12336 (R_MN10300_TLS_DTPOFF): Likewise.
12337 (R_MN10300_TLS_TPOFF): Likewise.
12338 (R_MN10300_SYM_DIFF): Likewise.
12339 (R_MN10300_ALIGN): Likewise.
12340 (R_MN10300_NUM): Update.
12342 2012-08-08 Joseph Myers <joseph@codesourcery.com>
12344 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12347 2012-08-08 Roland McGrath <roland@hack.frob.com>
12349 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12351 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12352 sysdeps/unix -> sysdeps/posix move.
12353 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12355 2012-08-07 Allan McRae <allan@archlinux.org>
12358 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12359 (SUNOS_CPP): Likewise.
12360 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12362 (open_input): Call CPP using execvp.
12364 2012-08-07 Joseph Myers <joseph@codesourcery.com>
12366 * sysdeps/unix/sysv/linux/kernel-features.h
12367 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12368 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12369 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12370 (__ASSUME_WAITID_SYSCALL): Likewise.
12371 * sysdeps/unix/sysv/linux/dl-execstack.c
12372 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12373 code unconditional.
12374 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12376 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12377 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12378 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12380 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12382 [__ASSUME_WAITID_SYSCALL]: Likewise.
12383 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12385 2012-08-07 Roland McGrath <roland@hack.frob.com>
12387 * sysdeps/unix/closedir.c: Renamed to ...
12388 * sysdeps/posix/closedir.c: ... here.
12389 * sysdeps/unix/dirfd.c: Renamed to ...
12390 * sysdeps/posix/dirfd.c: ... here.
12391 * sysdeps/unix/dirstream.h: Renamed to ...
12392 * sysdeps/posix/dirstream.h: ... here.
12393 * sysdeps/unix/fdopendir.c: Renamed to ...
12394 * sysdeps/posix/fdopendir.c: ... here.
12395 * sysdeps/unix/opendir.c: Renamed to ...
12396 * sysdeps/posix/opendir.c: ... here.
12397 * sysdeps/unix/readdir.c: Renamed to ...
12398 * sysdeps/posix/readdir.c: ... here.
12399 * sysdeps/unix/readdir_r.c: Renamed to ...
12400 * sysdeps/posix/readdir_r.c: ... here.
12401 * sysdeps/unix/rewinddir.c: Renamed to ...
12402 * sysdeps/posix/rewinddir.c: ... here.
12403 * sysdeps/unix/seekdir.c: Renamed to ...
12404 * sysdeps/posix/seekdir.c: ... here.
12405 * sysdeps/unix/telldir.c: Renamed to ...
12406 * sysdeps/posix/telldir.c: ... here.
12407 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12408 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12409 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12410 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12412 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12413 * bits/fcntl.h: ... here.
12415 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12417 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12418 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12419 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12420 (struct flock): Move l_start, l_len to the beginning.
12421 Use __pid_t for l_pid.
12422 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12423 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12424 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12425 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12426 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12427 [__USE_LARGEFILE64] (struct flock64): New type.
12428 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12430 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12431 * bits/dirent.h: ... here.
12433 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12434 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12436 2012-08-07 Joseph Myers <joseph@codesourcery.com>
12438 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12439 Change from 2.6.0 to 2.6.16.
12440 * sysdeps/unix/sysv/linux/configure: Regenerated.
12441 * sysdeps/unix/sysv/linux/kernel-features.h
12442 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12443 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12445 (__ASSUME_UTIMES): Likewise.
12446 (__ASSUME_CLONE_STOPPED): Remove.
12447 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12448 architectures, not kernel version.
12449 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12450 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12451 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12452 (__ASSUME_WAITID_SYSCALL): Likewise.
12453 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12454 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12455 * README: State 2.6.16 as minimum Linux kernel version. Do not
12456 refer to older versions.
12458 2012-08-06 Roland McGrath <roland@hack.frob.com>
12460 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12461 Define alphasort64 as an alias.
12462 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12463 Define versionsort64 as an alias.
12464 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12465 Define scandir64 as an alias.
12466 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12467 Define scandirat64 as an alias.
12468 * dirent/alphasort64.c (alphasort64):
12469 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12470 * dirent/versionsort64.c: Likewise.
12471 * dirent/scandir64.c: Likewise.
12472 * dirent/scandirat64.c: Likewise.
12473 * sysdeps/wordsize-64/alphasort.c: File removed.
12474 * sysdeps/wordsize-64/alphasort64.c: File removed.
12475 * sysdeps/wordsize-64/scandir.c: File removed.
12476 * sysdeps/wordsize-64/scandir64.c: File removed.
12477 * sysdeps/wordsize-64/scandirat.c: File removed.
12478 * sysdeps/wordsize-64/scandirat64.c: File removed.
12479 * sysdeps/wordsize-64/versionsort.c: File removed.
12480 * sysdeps/wordsize-64/versionsort64.c: File removed.
12481 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12482 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12483 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12484 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12485 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12486 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12487 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12488 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12490 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12492 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12493 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12494 [defined __arch64__ || defined __sparcv9]
12495 (__INO_T_MATCHES_INO64_T): New macro.
12496 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12497 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12498 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12499 * sysdeps/unix/sysv/linux/bits/dirent.h
12500 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12501 (_DIRENT_MATCHES_DIRENT64): New macro.
12503 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12504 Define lockf64 as an alias.
12505 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12506 Define fseeko64 as an alias.
12507 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12508 Define ftello64 as an alias.
12509 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12510 Define _IO_fgetpos64 and fgetpos64 as aliases.
12511 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12512 Define _IO_fsetpos64 and fsetpos64 as aliases.
12513 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12514 Conditionalize body on this.
12515 * libio/fseeko64.c: Likewise.
12516 * libio/ftello64.c: Likewise.
12517 * libio/iofgetpos64.c: Likewise.
12518 * libio/iofsetpos64.c: Likewise.
12519 * sysdeps/wordsize-64/lockf.c: File removed.
12520 * sysdeps/wordsize-64/lockf64.c: File removed.
12521 * sysdeps/wordsize-64/fseeko.c: File removed.
12522 * sysdeps/wordsize-64/fseeko64.c: File removed.
12523 * sysdeps/wordsize-64/ftello.c: File removed.
12524 * sysdeps/wordsize-64/ftello64.c: File removed.
12525 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12526 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12527 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12528 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12529 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12530 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12531 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12532 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12533 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12534 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12535 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12536 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12537 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12538 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12540 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12542 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12543 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12544 [defined __arch64__ || defined __sparcv9]
12545 (__OFF_T_MATCHES_OFF64_T): New macro.
12546 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12547 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12548 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12549 (__OFF_T_MATCHES_OFF64_T): New macro.
12551 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12553 * stdlib/secure-getenv.c (__secure_getenv): Replace
12554 GLIBC_2_16 with GLIBC_2_17.
12556 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12558 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12559 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12561 2012-08-03 David S. Miller <davem@davemloft.net>
12563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12565 2012-08-03 Joseph Myers <joseph@codesourcery.com>
12567 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12569 (__ASSUME_CORRECT_SI_PID): Likewise.
12570 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12571 (__ASSUME_TMPFS_NAME): Likewise.
12572 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12573 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12574 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12575 (HAVE_AUX_SECURE): Make definition unconditional.
12576 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12577 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12579 2012-08-03 Roland McGrath <roland@hack.frob.com>
12581 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12582 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12583 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12584 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12585 __eloop_threshold instead of SYMLOOP_MAX.
12587 * sysdeps/generic/eloop-threshold.h: New file.
12588 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12590 * elf/chroot_canon.c (chroot_canon): Likewise.
12592 2012-08-03 Joseph Myers <joseph@codesourcery.com>
12595 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12596 Change to 2.6.0 everywhere.
12597 * sysdeps/unix/sysv/linux/configure: Regenerated.
12598 * sysdeps/unix/sysv/linux/kernel-features.h
12599 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12600 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12602 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12603 (__ASSUME_FUTEX_REQUEUE): Remove.
12604 (__ASSUME_STATFS64): Define unconditionally.
12605 (__ASSUME_AT_SECURE): Likewise.
12606 (__ASSUME_CORRECT_SI_PID): Likewise.
12607 (__ASSUME_TGKILL): Define without depending on kernel version for
12609 (__ASSUME_UTIMES): Likewise.
12610 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12612 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12613 (__ASSUME_TMPFS_NAME): Likewise.
12614 * README: Update reference to Linux kernel versions.
12616 2012-08-02 Marek Polacek <polacek@redhat.com>
12619 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12620 libc_cv_asm_type_prefix with %.
12621 * configure: Regenerated.
12622 * include/libc-symbols.h: Remove comment about
12623 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12624 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12625 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12626 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12627 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12628 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12629 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12630 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12631 * elf/tst-unique2mod1.c: Likewise.
12632 * elf/tst-unique1mod2.c: Likewise.
12633 * elf/tst-unique1mod1.c: Likewise.
12634 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12635 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12636 Replace ASM_TYPE_DIRECTIVE with .type.
12637 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12638 * sysdeps/i386/sysdep.h: Likewise.
12639 * sysdeps/x86_64/sysdep.h: Likewise.
12640 * sysdeps/sh/sysdep.h: Likewise.
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12642 Do not define ASM_TYPE_DIRECTIVE.
12643 * sysdeps/powerpc/sysdep.h: Likewise.
12644 * sysdeps/powerpc/powerpc32/sysdep.h:
12645 Replace ASM_TYPE_DIRECTIVE with .type.
12646 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12647 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12648 * sysdeps/i386/fpu/e_powf.S: Likewise.
12649 * sysdeps/i386/fpu/e_expl.S: Likewise.
12650 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12651 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12652 * sysdeps/i386/fpu/e_pow.S: Likewise.
12653 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12654 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12655 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12656 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12657 * sysdeps/i386/fpu/e_log2.S: Likewise.
12658 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12659 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12660 * sysdeps/i386/fpu/e_powl.S: Likewise.
12661 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12662 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12663 * sysdeps/i386/fpu/e_logl.S: Likewise.
12664 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12665 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12666 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12667 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12668 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12669 * sysdeps/i386/fpu/e_log.S: Likewise.
12670 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12671 * sysdeps/i386/fpu/e_logf.S: Likewise.
12672 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12673 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12674 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12675 * sysdeps/i386/fpu/e_log10.S: Likewise.
12676 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12677 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12678 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12679 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12680 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12681 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12682 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12683 * sysdeps/i386/i686/strtok.S: Likewise.
12684 * sysdeps/i386/i386-mcount.S: Likewise.
12685 * sysdeps/i386/strtok.S: Likewise.
12686 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12687 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12688 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12689 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12690 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12691 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12692 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12693 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12694 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12695 * sysdeps/x86_64/_mcount.S: Likewise.
12696 * sysdeps/x86_64/strtok.S: Likewise.
12697 * sysdeps/sh/_mcount.S: Likewise.
12699 2012-08-01 Roland McGrath <roland@hack.frob.com>
12701 * libio/iofopen.c: Include <fcntl.h>.
12702 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12703 (_IO_fopen64, fopen64): Define as aliases.
12704 * libio/iofopen64.c: Include <fcntl.h>.
12705 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12706 Conditionalize body on this.
12707 * sysdeps/wordsize-64/iofopen.c: File removed.
12708 * sysdeps/wordsize-64/iofopen64.c: File removed.
12710 2012-08-01 Marek Polacek <polacek@redhat.com>
12712 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12713 Use dlfcn directly instead of a variable.
12714 (binfmt-subdir): Do not define.
12717 2012-08-01 Joseph Myers <joseph@codesourcery.com>
12719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12720 Remove all definitions.
12721 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12722 <kernel-features.h>.
12723 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12724 (miss_F_GETOWN_EX): Remove all definitions.
12725 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12727 [!__ASSUME_FCNTL64]: Remove conditional code.
12728 [__ASSUME_FCNTL64]: Make code unconditional.
12729 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12730 <kernel-features.h>.
12731 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12732 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12733 (lockf64) [__NR_fcntl64]: Make code unconditional.
12734 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12736 * sysdeps/unix/sysv/linux/kernel-features.h
12737 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12738 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12739 Make code unconditional.
12740 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12741 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12743 [__NR_vfork]: Make code unconditional.
12744 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12745 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12747 [__NR_vfork]: Make code unconditional.
12748 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12749 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12751 2012-08-01 Roland McGrath <roland@hack.frob.com>
12753 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12754 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12756 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12757 Define mkstemp64 as an alias.
12758 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12759 Define mkstemps64 as an alias.
12760 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12761 Define mkostemp64 as an alias.
12762 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12763 Define mkostemps64 as an alias.
12764 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12765 Conditionalize body on this.
12766 * misc/mkostemp64.c: Likewise.
12767 * misc/mkostemps64.c: Likewise.
12768 * misc/mkstemps64.c: Likewise.
12769 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12770 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12771 * sysdeps/wordsize-64/mkostemp.c: File removed.
12772 * sysdeps/wordsize-64/mkstemp.c: File removed.
12773 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12774 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12775 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12776 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12779 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12780 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12781 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12782 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12784 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12785 compat_symbol macros from <shlib-compat.h> rather than the underlying
12786 default_symbol_version and symbol_version macros, so that DEFAULT
12787 lines in shlib-versions are respected.
12788 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12790 2012-08-01 Florian Weimer <fweimer@redhat.com>
12792 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12793 Declare with warn_unused_result.
12794 (setgid, setregid, setegid, setresgid): Likewise.
12795 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12797 * WUR-REPORT: Remove set*id functions.
12799 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12801 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12803 2012-07-31 Roland McGrath <roland@hack.frob.com>
12806 * include/sys/socket.h (__libc_accept, __libc_accept4):
12807 Add attribute_hidden.
12808 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12810 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12812 * inet/getnetgrent_r.c (setup): Likewise.
12814 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12816 2012-07-31 David S. Miller <davem@davemloft.net>
12818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12820 2012-07-31 Joseph Myers <joseph@codesourcery.com>
12823 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12824 value between 1.0 and 2.0 and smaller part has absolute value less
12826 * math/s_clog10.c (__clog10): Likewise.
12827 * math/s_clog10f.c (__clog10f): Likewise.
12828 * math/s_clog10l.c (__clog10l): Likewise.
12829 * math/s_clogf.c (__clogf): Likewise.
12830 * math/s_clogl.c (__clogl): Likewise.
12831 * math/libm-test.inc (clog_test): Add more tests.
12832 (clog10_test): Likewise.
12833 * sysdeps/i386/fpu/libm-test-ulps: Update.
12834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12836 2012-07-31 Florian Weimer <fweimer@redhat.com>
12838 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12839 Exit with zero in case no suitable GID is found, and write a
12840 message to standard error.
12842 2012-07-30 Roland McGrath <roland@hack.frob.com>
12844 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12846 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12847 (MAXPATHLEN): Removed.
12848 (NOGROUP, NODEV): New macros.
12849 (setbit, clrbit, isset, isclr): New macros.
12850 (howmany, roundup, powerof2): New macros.
12851 (DEV_BSIZE): New macro.
12853 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12854 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12856 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12857 definition on [!__NO_LONG_DOUBLE_MATH].
12859 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12860 PTR_MANGLE and PTR_DEMANGLE.
12862 * socket/accept4.c (accept4): Rename to __libc_accept4.
12863 Define accept4 as a weak alias.
12865 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12866 on [_DIRENT_HAVE_D_TYPE].
12867 * io/ftw.c (ftw_dir): Likewise.
12869 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12871 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12873 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12874 Use the BSD numbers rather than the arbitrary ones we had.
12875 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12876 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12877 (SIGXCPU, SIGXFSZ): New macros.
12880 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12881 initializer on [_LIBC_REENTRANT].
12883 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12884 definitions inside [_POSIX_MAPPED_FILES].
12886 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12888 * dirent/opendir.c: Include <fcntl.h>.
12890 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12891 (__libc_getspecific): Likewise.
12892 (__libc_key_create): Likewise.
12894 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12895 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12896 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12897 (tmpfile64): Define as alias.
12898 * sysdeps/wordsize-64/tmpfile.c: File removed.
12899 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12900 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12901 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12903 * stdio-common/vfscanf.c: Include <stdbool.h>.
12904 * nss/makedb.c: Likewise.
12905 * stdio-common/_i18n_number.h: Likewise.
12906 * argp/argp-help.c: Likewise.
12907 * posix/wordexp.c: Likewise.
12908 * sysdeps/posix/spawni.c: Likewise.
12909 * nss/nss_files/files-initgroups.c: Likewise.
12910 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12911 * nss/nss_files/files-initgroups.c: Likewise.
12912 * nss/nss_db/db-netgrp.c: Likewise.
12913 * nss/nss_db/db-initgroups.c: Likewise.
12914 * io/fchmodat.c: Include <sys/stat.h>.
12916 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12917 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12919 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12922 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12923 Add multiple inclusion protection.
12925 2012-07-27 David S. Miller <davem@davemloft.net>
12927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12929 2012-07-27 Gary Benson <gbenson@redhat.com>
12932 * elf/rtld.c: Include <stap-probe.h>.
12933 (dl_main): Added static probes "init_start" and "init_complete".
12934 * elf/dl-load.c: Include <stap-probe.h>.
12935 (lose): Take new parameter "nsid".
12936 Added static probe "map_failed".
12937 (_dl_map_object_from_fd): Pass namespace id to lose.
12938 Added static probe "map_start".
12939 (open_verify): Pass namespace id to lose.
12940 * elf/dl-open.c: Include <stap-probe.h>.
12941 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12942 and "reloc_complete".
12943 * elf/dl-close.c: Include <stap-probe.h>.
12944 (_dl_close_worker): Added static probes "unmap_start" and
12946 * elf/rtld-debugger-interface.txt: New file documenting the above.
12948 2012-07-26 Roland McGrath <roland@hack.frob.com>
12950 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12951 rather than a string variable.
12952 * sunrpc/rpc_main.c (h_output): Likewise.
12953 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12955 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12957 * inet/check_native.c: New file.
12959 2012-07-26 Joseph Myers <joseph@codesourcery.com>
12962 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12963 if larger part has absolute value 1.0.
12964 * math/s_clog10.c (__clog10): Likewise.
12965 * math/s_clog10f.c (__clog10f): Likewise.
12966 * math/s_clog10l.c (__clog10l): Likewise.
12967 * math/s_clogf.c (__clogf): Likewise.
12968 * math/s_clogl.c (__clogl): Likewise.
12969 * math/libm-test.inc (clog_test): Add more tests.
12970 (clog10_test): Likewise.
12971 * sysdeps/i386/fpu/libm-test-ulps: Update.
12972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12974 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12975 (pltexit): Likewise.
12976 (La_regs): Likewise.
12977 (La_retval): Likewise.
12978 (int_retval): Likewise.
12979 Update #error for removed macros to refer only to definitions in
12981 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12983 (pltexit): Likewise.
12984 (La_regs): Likewise.
12985 (La_retval): Likewise.
12986 (int_retval): Likewise.
12987 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12989 (pltexit): Likewise.
12990 (La_regs): Likewise.
12991 (La_retval): Likewise.
12992 (int_retval): Likewise.
12993 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12995 (pltexit): Likewise.
12996 (La_regs): Likewise.
12997 (La_retval): Likewise.
12998 (int_retval): Likewise.
12999 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13001 (pltexit): Likewise.
13002 (La_regs): Likewise.
13003 (La_retval): Likewise.
13004 (int_retval): Likewise.
13005 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13007 (pltexit): Likewise.
13008 (La_regs): Likewise.
13009 (La_retval): Likewise.
13010 (int_retval): Likewise.
13011 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13013 (pltexit): Likewise.
13014 (La_regs): Likewise.
13015 (La_retval): Likewise.
13016 (int_retval): Likewise.
13017 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13018 macro definitions in tst-audit.h.
13019 * sysdeps/i386/tst-audit.h: New file.
13020 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13021 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13022 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13023 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13024 * sysdeps/sh/tst-audit.h: Likewise.
13025 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13026 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13027 * sysdeps/x86_64/tst-audit.h: Likewise.
13029 2012-07-26 Andreas Jaeger <aj@suse.de>
13031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13034 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13035 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13036 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13038 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13039 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13040 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13042 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13045 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13047 (si_call_addr, si_syscall, si_arch): Define new macro.
13048 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13050 (si_call_addr, si_syscall, si_arch): Define new marcro.
13051 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13053 (si_call_addr, si_syscall, si_arch): Define new macro.
13054 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13056 (si_call_addr, si_syscall, si_arch): Define new macro.
13058 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13061 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13062 Change to 2.4.21 where previously 2.4.1.
13063 * sysdeps/unix/sysv/linux/configure: Regenerated.
13064 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13065 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13066 Linux kernel version.
13067 (__ASSUME_STD_AUXV): Remove.
13068 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13070 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13071 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13072 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13073 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13074 (__ASSUME_NETLINK_SUPPORT): Likewise.
13075 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13076 (__no_netlink_support): Remove conditional definition.
13077 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13079 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13080 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13081 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13082 (if_nameindex_ioctl): Remove.
13083 (if_nameindex_netlink): Do not handle __no_netlink_support.
13084 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13086 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13087 Remove conditional code.
13088 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13090 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13092 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13093 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13094 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13096 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13097 [!__ASSUME_STD_AUXV]: Remove conditional code.
13098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13099 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13100 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13102 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13103 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13105 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13107 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13108 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13110 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13112 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13115 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13118 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13119 code unconditional.
13120 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13122 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13124 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13127 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13129 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13132 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13133 code unconditional.
13134 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13136 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13138 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13141 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13142 code unconditional.
13143 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13145 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13147 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13150 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13152 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13153 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13154 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13155 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13156 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13157 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13158 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13159 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13160 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13161 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13162 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13163 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13164 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13165 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13166 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13167 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13168 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13169 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13170 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13172 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13173 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13174 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13176 2012-07-25 Florian Weimer <fweimer@redhat.com>
13178 * Versions.def: Add GLIBC_2.17.
13179 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13180 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13181 Introduce __libc_secure_getenv.
13182 * stdlib/Versions (2.17): Add secure_getenv
13183 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13184 * stdlib/secure-getenv.c: Rename __secure_getenv to
13185 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13186 symbol __secure_getenv for GLIBC_2.0.
13187 * stdlib/tst-secure-getenv.c: New.
13188 * stdlib/Makefile (tests): Add testcase.
13189 * manual/startup.texi (Environment Access): Document
13191 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13192 __libc_secure_getenv.
13193 * inet/ruserpass.c (ruserpass): Likewise.
13194 * malloc/mtrace.c (mtrace): Likewise.
13195 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13196 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13197 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13198 * sysdeps/posix/tempname.c: Likewise. Evaluate
13199 HAVE_SECURE_GETENV.
13200 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13201 __secure_getenv to __libc_secure_getenv.
13202 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13209 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13215 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13217 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13218 (struct La_i86_retval): Likewise.
13219 (struct La_x86_64_regs): Likewise.
13220 (struct La_x86_64_retval): Likewise.
13221 (struct La_x32_regs): Likewise.
13222 (struct La_x32_retval): Likewise.
13223 (struct La_ppc32_regs): Likewise.
13224 (struct La_ppc32_retval): Likewise.
13225 (struct La_ppc64_regs): Likewise.
13226 (struct La_ppc64_retval): Likewise.
13227 (struct La_sh_regs): Likewise.
13228 (struct La_sh_retval): Likewise.
13229 (struct La_s390_32_regs): Likewise.
13230 (struct La_s390_32_retval): Likewise.
13231 (struct La_s390_64_regs): Likewise.
13232 (struct La_s390_64_retval): Likewise.
13233 (struct La_sparc32_regs): Likewise.
13234 (struct La_sparc32_retval): Likewise.
13235 (struct La_sparc64_regs): Likewise.
13236 (struct La_sparc64_retval): Likewise.
13237 (struct audit_ifaces): Remove architecture-specific pltenter and
13239 * sysdeps/i386/ldsodefs.h: New file.
13240 * sysdeps/powerpc/ldsodefs.h: Likewise.
13241 * sysdeps/s390/ldsodefs.h: Likewise.
13242 * sysdeps/sh/ldsodefs.h: Likewise.
13243 * sysdeps/sparc/ldsodefs.h: Likewise.
13244 * sysdeps/x86_64/ldsodefs.h: Likewise.
13246 2012-07-25 Marek Polacek <polacek@redhat.com>
13249 * math/libm-test.inc (yn_test): Add another test.
13250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13251 to ERANGE when the result is +-Inf.
13252 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13253 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13254 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13255 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13257 2012-07-24 Joseph Myers <joseph@codesourcery.com>
13259 * conform/data/time.h-data (NULL): Use macro-constant. Require
13261 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13263 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13265 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13267 * configure.in <sysdeps resolving>: Correct printing
13269 * configure: Regenerate.
13271 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13273 * math/w_ilogb.c: Include <limits.h>.
13274 * math/w_ilogbl.c: Likewise.
13276 2012-07-20 Joseph Myers <joseph@codesourcery.com>
13278 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13279 va_copy. Document allowing for unavailable va_copy only as
13280 pre-C99 compatibility.
13281 * manual/string.texi (Copying and Concatenation): Use va_copy
13282 instead of __va_copy in concat example.
13284 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13286 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13287 (__sendto): Use create_address_port. Initialize APORT and deallocate
13290 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13291 with O_NOLINK passed to __file_name_lookup.
13293 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13294 with O_NOLINK passed to __file_name_lookup.
13296 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13297 negative N or less than NGIDS.
13299 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13300 type to string_t. Set ERANGE as errno and return it if NAME is not big
13301 enough. Use memcpy instead of strncpy.
13303 2012-07-20 Joseph Myers <joseph@codesourcery.com>
13305 * elf/Makefile (check-data): Remove.
13306 (localplt.data): New vpath directive.
13307 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13308 instead of $(check-data).
13309 * scripts/data/localplt-generic.data: Move to ...
13310 * sysdeps/generic/localplt.data: ... here.
13311 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13312 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13313 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13316 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13319 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13322 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13325 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13328 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13332 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13334 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13335 PPC32 and PPC64 files.
13336 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13337 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13339 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13341 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13342 __makecontext_ret to ...
13343 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13344 ... here and call exit if uc_link is NULL. New file.
13345 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13346 __makecontext_ret.S.
13347 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13348 __makecontext_ret to ...
13349 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13350 ... here and call exit if uc_link is NULL. New file.
13351 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13352 __makecontext_ret.S.
13354 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13356 * elf/elf.h (R_390_IRELATIVE): New definition.
13357 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13358 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13359 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13360 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13361 (elf_machine_lazy_rel): Likewise.
13362 * sysdeps/s390/dl-irel.h: New file.
13363 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13364 * sysdeps/s390/s390-64/memset.S: New asm code.
13365 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13366 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13367 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13368 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13369 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13370 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13371 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13372 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13373 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13374 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13375 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13376 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13377 * sysdeps/s390/s390-32/memset.S: New asm code.
13378 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13380 2012-07-17 Marek Polacek <polacek@redhat.com>
13383 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13384 * sysdeps/s390/s390-64/configure.in: Likewise.
13385 * sysdeps/sparc/configure.in: Likewise.
13386 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13387 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13388 * sysdeps/i386/configure.in: Likewise.
13389 * sysdeps/x86_64/configure.in: Likewise.
13390 * sysdeps/sh/configure.in: Likewise.
13391 * sysdeps/s390/s390-32/configure: Regenerated.
13392 * sysdeps/s390/s390-64/configure: Likewise.
13393 * sysdeps/x86_64/configure: Likewise.
13394 * sysdeps/sh/configure: Likewise.
13395 * sysdeps/powerpc/powerpc64/configure: Likewise.
13396 * sysdeps/powerpc/powerpc32/configure: Likewise.
13397 * sysdeps/sparc/configure: Likwise.
13398 * sysdeps/i386/configure: Likewise.
13400 * elf/dl-open.c: Comment fixes.
13402 2012-07-17 Joseph Myers <joseph@codesourcery.com>
13404 * Makefile [CXX] (check-data): Remove.
13405 [CXX] (c++-types.data): New vpath directive.
13406 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13407 vpath. Do not allow for C++ type data being missing.
13408 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13409 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13410 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13411 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13412 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13413 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13414 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13417 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13420 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13423 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13426 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13429 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13432 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13435 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13438 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13439 definitions to architecture-specific files.
13440 (TLS_IE): Likewise.
13441 (TLS_LD): Likewise.
13442 (TLS_GD): Likewise.
13443 * sysdeps/i386/tls-macros.h: New file.
13444 * sysdeps/powerpc/tls-macros.h: Likewise.
13445 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13446 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13447 * sysdeps/sh/tls-macros.h: Likewise.
13448 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13449 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13450 * sysdeps/x86_64/tls-macros.h: Likewise.
13452 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13454 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13455 zero value for regular exit case.
13457 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13458 (__start_context): Preserve zero value for regular exit case.
13460 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13461 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13463 * manual/setjmp.texi (setcontext): Clarify normal process
13464 termination when uc_link is the null pointer.
13465 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13468 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13470 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13471 preprocessor. Test for each exception mask separately.
13473 2012-07-16 Andreas Jaeger <aj@suse.de>
13475 * po/ru.po: Update from translation team.
13477 2012-07-15 Joseph Myers <joseph@codesourcery.com>
13479 * conform/data/string.h-data (NULL): Use macro-constant. Require
13481 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13482 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13483 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13484 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13487 2012-07-13 Andreas Jaeger <aj@suse.de>
13489 * po/fr.po: Update from translation team.
13491 2012-07-12 Marek Polacek <polacek@redhat.com>
13494 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13495 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13498 2012-07-12 Joseph Myers <joseph@codesourcery.com>
13501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13502 Change to 2.4.1 where previously 2.4.0.
13503 * sysdeps/unix/sysv/linux/configure: Regenerated.
13504 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13505 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13507 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13508 (__ASSUME_AT_CLKTCK): Remove.
13509 (__ASSUME_AT_PAGESIZE): Likewise.
13510 (__ASSUME_AT_XID): Likewise.
13511 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13512 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13513 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13515 (HAVE_AUX_PAGESIZE): Likewise.
13516 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13517 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13518 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13520 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13524 the temporary buffer used to invoke __gethostbyname2_r,
13525 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13526 host_data / struct gaih_addrtuple.
13527 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13528 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13529 header file nss/nsswitch.h.
13530 * nss/nsswitch.h (global scope): Add definition of implementation
13531 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13532 resolv/nss_dns/dns-host.c).
13534 2012-07-11 Andreas Jaeger <aj@suse.de>
13536 * po/fr.po: Update from translation team.
13538 * po/sv.po: Update from translation team
13539 * po/fr.po: Another update from translation team.
13541 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13543 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13544 for subnormals or multiply small sinh result by itself.
13545 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13548 2012-07-11 David S. Miller <davem@davemloft.net>
13550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13552 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13555 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13556 (INTERNAL_MARK): Shift it here.
13558 2012-07-10 Marek Polacek <polacek@redhat.com>
13561 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13562 libc_cv_asm_global_directive with .globl.
13563 * configure: Regenerated.
13564 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13566 * sysdeps/i386/configure: Regenerated.
13567 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13569 * sysdeps/x86_64/configure: Regenerated.
13570 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13571 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13572 * elf/tst-unique2mod2.c: Likewise.
13573 * elf/tst-unique2mod1.c: Likewise.
13574 * elf/tst-unique1mod2.c: Likewise.
13575 * elf/tst-unique1mod1.c: Likewise.
13576 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13577 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13578 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13579 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13580 * sysdeps/mach/sysdep.h: Likewise.
13581 * sysdeps/i386/sysdep.h: Likewise.
13582 * sysdeps/i386/i386-mcount.S: Likewise.
13583 * sysdeps/x86_64/_mcount.S: Likewise.
13584 * sysdeps/x86_64/sysdep.h: Likewise.
13585 * sysdeps/sh/_mcount.S: Likewise.
13586 * sysdeps/sh/sysdep.h: Likewise.
13587 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13588 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13589 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13590 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13591 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13592 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13593 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13594 * locale/localeinfo.h: Likewise.
13595 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13596 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13598 2012-07-09 Roland McGrath <roland@hack.frob.com>
13601 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13603 * manual/message.texi (The Uniforum approach): Likewise.
13604 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13605 (glibc iconv Implementation): Likewise.
13607 2012-07-09 Joseph Myers <joseph@codesourcery.com>
13610 * math/s_clog.c (__clog): Avoid scaling a value down where that
13611 could result in underflow.
13612 * math/s_clog10.c (__clog10): Likewise.
13613 * math/s_clog10f.c (__clog10f): Likewise.
13614 * math/s_clog10l.c (__clog10l): Likewise.
13615 * math/s_clogf.c (__clogf): Likewise.
13616 * math/s_clogl.c (__clogl): Likewise.
13617 * math/libm-test.inc (clog_test): Add more tests.
13618 (clog10_test): Likewise.
13619 * sysdeps/i386/fpu/libm-test-ulps: Update.
13620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13622 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13625 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13626 by 7 not 8 to examine high bit of fractional part.
13629 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13630 for call to __mcount_internal.
13631 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13632 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13633 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13635 2012-07-06 Joseph Myers <joseph@codesourcery.com>
13638 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13639 approximation for values within 0x1p-13f of an odd multiple of
13641 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13642 exception. Add more tests.
13643 * sysdeps/i386/fpu/libm-test-ulps: Update.
13646 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13647 inputs and return -1 for them. Do not check for +Inf in case not
13648 reachable for +Inf.
13649 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13650 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13651 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13652 and return -1 for them. Do not check for +Inf in case not
13653 reachable for +Inf.
13654 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13656 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13657 and return -1 for them. Do not check for +Inf in case not
13658 reachable for +Inf.
13659 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13660 spurious underflow.
13661 * sysdeps/i386/fpu/libm-test-ulps: Update.
13662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13664 2012-07-06 Mike Frysinger <vapier@gentoo.org>
13666 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13668 2012-07-05 Joseph Myers <joseph@codesourcery.com>
13672 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13673 could result in spurious underflow. Scale down values above
13674 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13675 * math/s_csqrtf.c (__csqrtf): Likewise.
13676 * math/s_csqrtl.c (__csqrtl): Likewise.
13677 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13678 spurious underflow.
13679 * sysdeps/i386/fpu/libm-test-ulps: Update.
13680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13682 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13684 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13686 * catgets/xopen-msg.awk: New file.
13687 * catgets/xopen-msg.sed: Removed.
13689 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13691 * intl/po2test.awk: New file.
13692 * intl/po2test.sed: Removed.
13694 2012-07-04 Joseph Myers <joseph@codesourcery.com>
13697 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13698 or multiply small sinh result by itself.
13699 * math/s_ctanf.c (__ctanf): Likewise.
13700 * math/s_ctanh.c (__ctanh): Likewise.
13701 * math/s_ctanhf.c (__ctanhf): Likewise.
13702 * math/s_ctanhl.c (__ctanhl): Likewise.
13703 * math/s_ctanl.c (__ctanl): Likewise.
13704 * math/libm-test.inc (ctan_test_tonearest): New function.
13705 (ctan_test_towardzero): Likewise.
13706 (ctan_test_downward): Likewise.
13707 (ctan_test_upward): Likewise.
13708 (ctanh_test_tonearest): Likewise.
13709 (ctanh_test_towardzero): Likewise.
13710 (ctanh_test_downward): Likewise.
13711 (ctanh_test_upward): Likewise.
13712 (main): Call these new functions.
13713 * sysdeps/i386/fpu/libm-test-ulps: Update.
13714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13716 2012-07-03 Mike Frysinger <vapier@gentoo.org>
13718 * .gitignore: Delete /ports entry.
13720 2012-07-03 Andreas Jaeger <aj@suse.de>
13722 * po/bg.po: Update from translation team.
13723 * po/cs.po: Likewise.
13724 * po/de.po: Likewise.
13725 * po/hr.po: Likewise.
13726 * po/nl.pl: Likewise.
13727 * po/pl.po: Likewise.
13728 * po/vi.po: Likewise.
13730 2012-07-03 Joseph Myers <joseph@codesourcery.com>
13732 * Makeconfig [!+link] (+link-before-libc): New variable.
13733 [!+link] (+link-after-libc): Likewise.
13734 [!+link] (+link-tests): Likewise.
13735 [!+link] (+link): Define in terms of $(+link-before-libc) and
13736 $(+link-after-libc).
13737 [!+link-static] (+link-static-before-libc): New variable.
13738 [!+link-static] (+link-static-after-libc): Likewise.
13739 [!+link-static] (+link-static-tests): Likewise.
13740 [!+link-static] (+link-static): Define in terms of
13741 $(+link-static-before-libc) and $(+link-static-after-libc).
13742 [build-shared] (link-libc-before-gnulib): New variable.
13743 [build-shared] (link-libc-tests): Likewise.
13744 [build-shared] (link-libc): Define in terms of
13745 $(link-libc-before-gnulib).
13746 [!build-shared] (link-libc-tests): New variable.
13747 (link-libc-static-tests): New variable.
13748 [!gnulib] (gnulib-arch): New variable.
13749 [!gnulib] (gnulib-tests): Likewise.
13750 [!gnulib] (static-gnulib-arch): Likewise.
13751 [!gnulib] (static-gnulib-tests): Likewise.
13752 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13753 Define with "=" instead of ":=".
13754 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13755 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13756 * Rules (binaries-all-notests): New variable.
13757 (binaries-all-tests): Likewise.
13758 (binaries-static-notests): Likewise.
13759 (binaries-static-tests): Likewise.
13760 (binaries-all): Define using $(binaries-all-notests) and
13761 $(binaries-all-tests).
13762 (binaries-static): Define using $(binaries-static-notests) and
13763 $(binaries-static-tests).
13764 (binaries-shared-tests): New variable.
13765 (binaries-shared-notests): Likewise.
13766 (binaries-shared): Remove variable.
13767 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13768 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13769 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13770 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13771 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13772 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13773 * elf/Makefile (sln-modules): New variable.
13774 (extra-objs): Add $(sln-modules:=.o).
13775 (ldconfig-modules): Add static-stubs.
13776 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13777 * elf/static-stubs.c: New file.
13780 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13781 by 7 not 8 to examine high bit of fractional part. Use volatile
13782 variables when splitting into final array of floats if
13783 __FLT_EVAL_METHOD__ != 0.
13784 * math/libm-test.inc (cos_test): Add another test.
13785 (sin_test): Likewise.
13786 * sysdeps/i386/fpu/libm-test-ulps: Update.
13789 * math/libm-test.inc (cosh_test): Add more tests.
13791 * version.h (RELEASE): Set to "development".
13792 (VERSION): Set to "2.16.90".
13794 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13796 * NEWS: Update copyright. Remove last-updated date.
13797 Mention math library bug fixes and timezone data changes.
13798 * README: Mention GNU/Hurd, x32, and HPPA support status.
13800 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13802 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13804 2012-06-27 Andreas Jaeger <aj@suse.de>
13806 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13808 2012-06-25 Andreas Jaeger <aj@suse.de>
13810 * sysdeps/s390/fpu/libm-test-ulps: Update.
13812 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13813 Thomas Schwinge <thomas@codesourcery.com>
13815 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13816 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13820 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13822 * sysdeps/mach/start.c: Remove file.
13823 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13824 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13825 * sysdeps/sh/init-first.c: Likewise.
13827 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13828 registers for frame unwinding purposes, add CFI directives.
13829 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13830 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13831 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13834 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13835 __fortify_fail returning.
13836 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13838 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13839 sysdeps/sh/____longjmp_chk.S.
13840 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13841 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13842 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13843 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13845 * sysdeps/sh/abort-instr.h: New file.
13846 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13847 process in case exit returns.
13849 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13850 initialize the GOT register before use.
13852 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13853 calculation of ARGC > 4.
13855 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13856 meaningful names to some local labels.
13858 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13859 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13861 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13862 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13863 (__arch_compare_and_exchange_val_16_acq): Likewise.
13864 (__arch_compare_and_exchange_val_32_acq): Likewise.
13865 (atomic_exchange_and_add): Fix gUSA sequence.
13866 (atomic_add): Likewise.
13867 (atomic_add_negative): Likewise.
13868 (atomic_add_zero): Likewise.
13869 (atomic_bit_test_set): Likewise.
13871 2012-06-22 Andreas Schwab <schwab@redhat.com>
13874 * include/link.h (struct link_map): Add l_free_initfini.
13875 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13877 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13878 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13879 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13882 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13884 * configure.in: Use AC_LANG_SOURCE.
13885 * configure: Regenerate.
13887 2012-06-22 Roland McGrath <roland@hack.frob.com>
13889 * configure.in (libc_cv_localstatedir): New substituted variable.
13890 * configure: Regenerated.
13891 * config.make.in (localstatedir): New variable, substituted from
13892 libc_cv_localstatedir.
13893 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13894 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13895 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13896 * sysdeps/gnu/configure: Regenerated.
13898 2012-06-21 Jeff Law <law@redhat.com>
13901 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13902 free. Simplify list management for _LIBC case.
13904 2012-06-21 Joseph Myers <joseph@codesourcery.com>
13907 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13908 Clear sign bit of 64-bit integer value before comparing against
13911 * sysdeps/mach/configure: Regenerated.
13913 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13916 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13918 2012-06-21 Jeff Law <law@redhat.com>
13921 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13922 uint16_t for elements in the "seen" array to avoid char overflows.
13923 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13924 * elf/dl-open.c (dl_open_worker): Likewise.
13926 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13928 * scripts/list-sources.sh: Scan PORTS for translations.
13929 * po/libc.pot: Regenerated.
13931 2012-06-21 Andreas Jaeger <aj@suse.de>
13934 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13936 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13937 * bits/byteswap-16.h (__bswap_16): Likewise.
13938 * bits/byteswap.h (__bswap_constant_16): Likewise.
13940 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13943 * sysdeps/i386/fpu_control.h: Removed.
13944 * sysdeps/x86_64/fpu_control.h: Moved to ...
13945 * sysdeps/x86/fpu_control.h: Here.
13947 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13948 (_FPU_SETCW): Likewise.
13950 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13953 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13954 * sysdeps/x86/fpu/bits/mathinline.h: This.
13955 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13959 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13960 functions if __x86_64__ is defined.
13962 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13964 * string/endian.h: Add !__ASSEMBLER__ condition for including
13965 conversion interfaces.
13967 2012-06-15 Joseph Myers <joseph@codesourcery.com>
13970 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13971 of ABS(x) in calculating zero to negative powers other than odd
13973 * math/libm-test.inc (pow_test): Add more tests.
13975 2012-06-15 Andreas Jaeger <aj@suse.de>
13977 * manual/contrib.texi (Contributors): Update entry of Liubov
13978 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13981 2012-06-15 Cyril Hrubis <metan@ucw.cz>
13983 * string/string.h: Add __wur to GNU version of strerror_r.
13985 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13988 * string/Makefile (tests): Add tst-strtok_r.
13989 * string/tst-strtok_r.c: New file.
13990 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13991 RAX_LP/RDX_LP on SAVE_PTR.
13993 2012-06-14 Roland McGrath <roland@hack.frob.com>
13995 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13997 2012-06-14 Joseph Myers <joseph@codesourcery.com>
13999 * libm_test.inc (csqrt_test): Allow more spurious underflow
14001 (j0_test): Likewise.
14002 (j1_test): Likewise.
14003 (y0_test): Likewise.
14004 (y1_test): Likewise.
14006 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14008 * po/Makefile (libc.pot): Use UTF-8 charset.
14010 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14013 Suppress sign-conversion warning from FD_SET.
14014 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14015 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14016 not unsigned long int.
14017 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14019 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14023 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14024 __extern_always_inline instead of __extern_inline.
14025 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14026 (__signbit): Likewise.
14027 (__signbitl): Support C++ namespace.
14028 (lrintf): New inline function.
14030 (llrintf): Likewise.
14031 (llrint): Likewise.
14041 (floorf): Likewise.
14042 (nearbyint): Likewise.
14043 (nearbyintf): Likewise.
14045 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14047 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14048 non-default versions.
14050 2012-06-11 Roland McGrath <roland@hack.frob.com>
14053 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14055 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14057 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14058 (FE_UPWARD, FE_DOWNWARD): Don't define.
14059 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14060 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14062 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14064 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14065 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14067 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14069 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14071 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14072 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14074 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14077 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14078 * sysdeps/i386/fpu/Implies: New file.
14079 * sysdeps/x86_64/fpu/Implies: Likewise.
14080 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14081 * sysdeps/x86/fpu/bits/fenv.h: This.
14083 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14086 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14089 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14090 character 0xffff that matches the last element of the
14093 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14095 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14098 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14101 values higher than 25.6283.
14103 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14105 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14106 subnormal exponent extraction and add some __builtin_expect.
14107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14108 Fix for subnormal mantissa calculation.
14110 2012-06-04 Mike Frysinger <vapier@gentoo.org>
14112 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14113 cpu2 is -1 and errno is not ENOSYS.
14115 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14118 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14119 * sysdeps/x86/bits/string.h: This.
14120 * sysdeps/x86_64/bits/string.h: Removed.
14122 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14123 if not compiling for x86-64, but compiling for >= i486.
14125 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14126 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14128 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14129 New macro from Linux kernel 3.4.0.
14130 (FP_XSTATE_MAGIC2): Likewise.
14131 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14132 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14133 (struct _fpx_sw_bytes): New struct.
14134 (struct _xsave_hdr): Likewise.
14135 (struct _ymmh_state): Likewise.
14136 (struct _xstate): Likewise.
14138 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14139 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14140 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14141 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14142 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14143 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14145 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14146 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14147 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14148 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14149 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14150 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14152 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14155 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14156 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14157 (sysdep_headers): Include sys/platform/ppc.h.
14158 * sysdeps/powerpc/test-gettimebase.c: Test for
14159 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14160 * manual/Makefile (appendices): Include platform.texi.
14161 * manual/contrib.texi (Contributors): Update @node pointers.
14162 * manual/maint.texi (Maintenance): Likewise.
14163 (Platform): New node.
14164 * manual/platform.texi: New file. Document the new features.
14166 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14167 Jakub Jelinek <jakub@redhat.com>
14170 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14171 where __builtin_expect is unavailable.
14173 2012-06-03 David S. Miller <davem@davemloft.net>
14175 * stdlib/longlong.h: Updated from GCC.
14177 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14180 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14181 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14184 (GLIBC_2.16): Likewise.
14186 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14188 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14190 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14193 (default-abi): New variable.
14194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14195 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14197 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14199 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14201 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14204 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14205 definition. Document in comment.
14207 2012-06-01 David S. Miller <davem@davemloft.net>
14209 * stdlib/longlong.h: Updated from GCC.
14211 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14214 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14215 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14216 sys/debugreg.h sys/io.h here.
14217 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14218 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14220 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14221 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14222 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14223 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14224 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14225 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14227 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14228 Define only if __x86_64__ is defined.
14230 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14233 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14234 Use int64_t for variable i.
14235 * math/libm-test.inc (fmod_test): Add more tests.
14237 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14238 z computation is not scheduled after fetestexcept.
14239 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14240 Use math_force_eval instead of asm to ensure calculation scheduled
14241 before exception test.
14242 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14243 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14245 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14248 computation is not scheduled after fetestexcept.
14250 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14253 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14254 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14256 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14258 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14259 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14261 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14264 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14266 (__WCHAR_MIN): Support __WORDSIZE == 64.
14267 (__WCHAR_MAX): Likewise.
14269 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14270 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14273 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14274 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14277 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14278 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14280 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14281 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14283 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14284 Defined to 1 if __x86_64__ isn't defined.
14285 (_STAT_VER_LINUX_OLD): New.
14286 (st_atime): Remove duplicate.
14287 (st_mtime): Likewise.
14288 (st_ctime): Likewise.
14290 2012-05-31 David S. Miller <davem@davemloft.net>
14292 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14295 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14297 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14301 * elf/dl-reloc.c: Include <_itoa.h>.
14302 (_dl_reloc_bad_type): Remove use of INTUSE.
14303 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14304 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14305 * stdio-common/psiginfo.c (psiginfo): Likewise.
14306 * stdio-common/psignal.c (psignal): Likewise.
14307 * string/strsignal.c (strsignal): Likewise.
14308 * include/signal.h (_sys_siglist): Declare hidden proto.
14309 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14310 INTVARDEF with libc_hidden_data_def.
14311 * stdio-common/itoa-udigits.c: Likewise.
14312 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14313 (_itoa_lower_digits_internal): Remove declaration.
14314 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14315 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14316 (_sys_sigabbrev_internal): Remove aliases.
14317 (_sys_siglist): Define hidden alias.
14319 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14324 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14327 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14328 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14330 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14331 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14332 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14333 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14334 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14335 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14337 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14338 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14339 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14341 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14349 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14350 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14351 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14353 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14354 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14355 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14356 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14357 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14358 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14360 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14361 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14363 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14364 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14368 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14370 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14371 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14373 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14375 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14376 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14377 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14379 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14381 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14383 2012-05-31 Joseph Myers <joseph@codesourcery.com>
14385 * math/math.h (M_El): Use two more decimal places.
14386 (M_LOG2El): Likewise.
14387 (M_LOG10El): Likewise.
14388 (M_LN2l): Likewise.
14389 (M_LN10l): Likewise.
14391 (M_PI_2l): Likewise.
14392 (M_PI_4l): Likewise.
14393 (M_1_PIl): Likewise.
14394 (M_2_PIl): Likewise.
14395 (M_2_SQRTPIl): Likewise.
14396 (M_SQRT2l): Likewise.
14397 (M_SQRT1_2l): Likewise.
14399 2012-05-31 David S. Miller <davem@davemloft.net>
14401 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14402 values between float registers.
14403 * sysdeps/sparc/sparc64/memset.S: Likewise.
14404 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14406 2012-05-31 Mike Frysinger <vapier@gentoo.org>
14408 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14409 -D_FORTIFY_SOURCE=1.
14410 (CPPFLAGS-tst-longjmp_chk.c): Define.
14411 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14412 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14413 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14414 CFLAGS-tst-wchar-h.c.
14416 2012-05-31 Marek Polacek <polacek@redhat.com>
14419 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14420 __endmntent_internal): Remove declaration.
14421 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14422 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14423 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14425 2012-05-30 David S. Miller <davem@davemloft.net>
14427 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14428 (___Q_simulate_exceptions): Use real FP ops rather than writing
14430 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14433 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14436 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14437 * sysdeps/x86/bits/xtitypes.h: This.
14439 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14440 * sysdeps/x86/bits/wordsize.h: This.
14442 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14443 * sysdeps/x86/bits/huge_vall.h: This.
14445 * sysdeps/i386/bits/select.h: Removed.
14446 * sysdeps/x86_64/bits/select.h: Renamed to ...
14447 * sysdeps/x86/bits/select.h: This.
14449 * sysdeps/i386/bits/setjmp.h: Removed.
14450 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14451 * sysdeps/x86/bits/setjmp.h: This.
14453 * sysdeps/i386/bits/mathdef.h: Removed.
14454 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14455 * sysdeps/x86/bits/mathdef.h: This.
14457 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14460 * include/sys/socket.h (__connect_internal)
14461 (__libc_sa_len_internal): Remove declaration.
14462 (__connect, __libc_sa_len): Declare hidden_proto.
14463 (SA_LEN): Remove use of INTUSE.
14464 * socket/connect.c: Add libc_hidden_def.
14465 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14466 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14467 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14469 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14470 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14471 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14472 of adding _internal alias.
14474 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14477 * sysdeps/i386/bits/link.h: Removed.
14478 * sysdeps/i386/bits/linkmap.h: Likewise.
14479 * sysdeps/x86_64/bits/link.h: Renamed to ...
14480 * sysdeps/x86/bits/link.h: This.
14481 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14482 * sysdeps/x86/bits/linkmap.h: This.
14484 * sysdeps/i386/bits/endian.h: Removed.
14485 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14486 * sysdeps/x86/bits/endian.h: This.
14488 * sysdeps/i386/bits/byteswap.h: Removed.
14489 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14490 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14491 * sysdeps/x86/bits/byteswap.h: This.
14492 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14493 * sysdeps/x86/bits/byteswap-16.h: This.
14494 * sysdeps/i386/Implies: Add x86.
14495 * sysdeps/x86_64/Implies: Likewise.
14497 2012-05-30 David S. Miller <davem@davemloft.net>
14499 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14500 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14501 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14502 (FP_TRAPPING_EXCEPTIONS): Define.
14503 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14504 (FP_TRAPPING_EXCEPTIONS): Define.
14505 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14506 subnormals only when inexact has been signalled or underflow
14507 exceptions are enabled.
14508 (_FP_PACK_CANONICAL): Likewise.
14510 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14513 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14514 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14516 2012-05-30 Richard Henderson <rth@twiddle.net>
14518 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14519 with #ifndef NOT_IN_libc.
14521 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14522 marked to avoid plt entry.
14524 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14527 * Makeconfig (default-abi): New macro.
14528 (abi-includes): Likewise.
14529 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14530 $(abi-$(default-abi)-lib-soname) for soname if defined.
14531 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14533 * Makefile (installed-stubs): Likewise.
14534 * include/stubs-biarch.h: Removed.
14535 * scripts/lib-names.awk: Only handle one library at a time.
14536 * scripts/soversions.awk: Remove WORDSIZE support.
14537 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14539 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14541 (syscall-list-default-condition): Likewise.
14542 (syscall-list-default-condition): Likewise.
14543 (syscall-list-includes): Likewise.
14544 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14545 syscall-list-* with abi-*. Handle undefined abi-variants.
14546 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14547 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14548 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14549 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14550 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14551 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14553 (syscall-list-32-options): Likewise.
14554 (syscall-list-32-condition): Likewise.
14555 (syscall-list-64-options): Likewise.
14556 (syscall-list-64-condition): Likewise.
14557 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14559 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14562 (abi-64-ld-soname): New macro.
14563 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14564 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14567 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14568 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14570 2012-05-30 Joseph Myers <joseph@codesourcery.com>
14572 * sysdeps/unix/sysv/linux/kernel-features.h
14573 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14574 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14575 include <kernel-features.h>.
14576 [!__NR_ftruncate64]: Remove conditional code.
14577 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14578 [__NR_ftruncate64]: Make code unconditional.
14579 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14580 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14581 include <kernel-features.h>.
14582 [!__NR_ftruncate64]: Remove conditional code.
14583 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14584 [__NR_ftruncate64]: Make code unconditional.
14585 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14587 include <kernel-features.h>.
14588 [!__NR_ftruncate64]: Remove conditional code.
14589 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14590 [__NR_ftruncate64]: Make code unconditional.
14591 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14593 include <kernel-features.h>.
14594 [!__NR_ftruncate64]: Remove conditional code.
14595 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14596 [__NR_ftruncate64]: Make code unconditional.
14597 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14599 * configure.in (libc_cv_fpie): Weaken to a compile test using
14600 LIBC_TRY_CC_OPTION.
14601 * configure: Regenerated.
14603 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14618 2012-05-27 David S. Miller <davem@davemloft.net>
14620 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14622 (__Q_simulate_exceptions): Return void. Change to simulate
14623 exceptions by writing into the %fsr.
14624 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14625 (__Qp_handle_exceptions): Likewise.
14627 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14628 __Qp_handle_exceptions.
14629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14630 __Qp_handle_exceptions.
14631 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14632 as unused and give dummy FP_RND_NEAREST initializer.
14633 (FP_INHIBIT_RESULTS): Define.
14634 (___Q_simulate_exceptions): Update declaration.
14635 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14637 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14638 as unused and give dummy FP_RND_NEAREST initializer.
14639 (__Qp_handle_exceptions): Update declaration.
14640 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14643 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14645 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14646 the temporary FPU control word.
14647 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14648 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14649 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14650 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14651 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14652 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14653 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14654 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14655 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14656 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14657 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14659 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14661 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14664 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14666 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14667 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14668 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14669 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14671 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14672 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14675 2012-05-27 Ulrich Drepper <drepper@gmail.com>
14677 * po/h.po: Update from translation team.
14679 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14681 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14683 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14684 handling of denormals.
14685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14686 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14687 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14688 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14694 2012-05-26 Marek Polacek <polacek@redhat.com>
14697 * math/libm-test.inc (fma_test): Don't always expect underflow
14700 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14703 * elf/tst-execstack.c: Include stackinfo.h.
14704 (do_test): Adjust test case to ensure that pthread_getattr_np
14705 behaviour remains the same after marking stack executable.
14707 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14709 * sysdeps/unix/sysv/linux/kernel-features.h
14710 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14711 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14713 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14714 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14715 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14717 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14718 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14720 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14722 * configure.in: Define the default includes to being none.
14723 * configure: Regenerated.
14725 2012-05-25 Roland McGrath <roland@hack.frob.com>
14727 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14728 * sysdeps/x86_64/setjmp.S: Likewise.
14729 * sysdeps/i386/bsd-setjmp.S: Likewise.
14730 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14731 * sysdeps/i386/setjmp.S: Likewise.
14732 * sysdeps/i386/__longjmp.S: Likewise.
14733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14734 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14736 * include/stap-probe.h: New file.
14737 * configure.in: Handle --enable-systemtap.
14738 * configure: Regenerated.
14739 * config.h.in (USE_STAP_PROBE): New #undef.
14740 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14741 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14742 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14744 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14748 to 2.4.0 where earlier.
14749 * sysdeps/unix/sysv/linux/configure: Regenerated.
14750 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
14759 [__ASSUME_32BITUIDS]: Make code unconditional.
14760 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14761 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14762 <kernel-features.h>.
14763 [__ASSUME_32BITUIDS]: Make code unconditional.
14764 [!__ASSUME_32BITUIDS]: Remove conditional code.
14765 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14766 <kernel-features.h>.
14767 [__ASSUME_32BITUIDS]: Make code unconditional.
14768 [!__ASSUME_32BITUIDS]: Remove conditional code.
14769 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14770 <kernel-features.h>.
14771 [__ASSUME_32BITUIDS]: Make code unconditional.
14772 [!__ASSUME_32BITUIDS]: Remove conditional code.
14773 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14774 <kernel-features.h>.
14775 [__ASSUME_32BITUIDS]: Make code unconditional.
14776 [!__ASSUME_32BITUIDS]: Remove conditional code.
14777 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14778 <kernel-features.h>.
14779 [__ASSUME_32BITUIDS]: Make code unconditional.
14780 [!__ASSUME_32BITUIDS]: Remove conditional code.
14781 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14782 <kernel-features.h>.
14783 [__ASSUME_32BITUIDS]: Make code unconditional.
14784 [!__ASSUME_32BITUIDS]: Remove conditional code.
14785 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14786 <kernel-features.h>.
14787 [__ASSUME_32BITUIDS]: Make code unconditional.
14788 [!__ASSUME_32BITUIDS]: Remove conditional code.
14789 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14790 <kernel-features.h>.
14791 [__ASSUME_32BITUIDS]: Make code unconditional.
14792 [!__ASSUME_32BITUIDS]: Remove conditional code.
14793 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14794 <kernel-features.h>.
14795 [__ASSUME_32BITUIDS]: Make code unconditional.
14796 [!__ASSUME_32BITUIDS]: Remove conditional code.
14797 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14798 <kernel-features.h>.
14799 [__ASSUME_32BITUIDS]: Make code unconditional.
14800 [!__ASSUME_32BITUIDS]: Remove conditional code.
14801 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14802 <kernel-features.h>.
14803 [__NR_setresgid] (__setresgid): Do not declare.
14804 [__ASSUME_32BITUIDS]: Make code unconditional.
14805 [!__ASSUME_32BITUIDS]: Remove conditional code.
14806 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14807 <kernel-features.h>.
14808 [__NR_setresuid] (__setresuid): Do not declare.
14809 [__ASSUME_32BITUIDS]: Make code unconditional.
14810 [!__ASSUME_32BITUIDS]: Remove conditional code.
14811 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14812 <kernel-features.h>.
14813 [__ASSUME_32BITUIDS]: Make code unconditional.
14814 [!__ASSUME_32BITUIDS]: Remove conditional code.
14815 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14816 <kernel-features.h>.
14817 [__ASSUME_32BITUIDS]: Make code unconditional.
14818 [!__ASSUME_32BITUIDS]: Remove conditional code.
14819 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14820 <kernel-features.h>.
14821 [__ASSUME_32BITUIDS]: Make code unconditional.
14822 [!__ASSUME_32BITUIDS]: Remove conditional code.
14823 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14824 <kernel-features.h>.
14825 [__ASSUME_32BITUIDS]: Make code unconditional.
14826 [!__ASSUME_32BITUIDS]: Remove conditional code.
14827 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14828 <kernel-features.h>.
14829 [__ASSUME_32BITUIDS]: Make code unconditional.
14830 [!__ASSUME_32BITUIDS]: Remove conditional code.
14831 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14832 <kernel-features.h>.
14833 [__ASSUME_32BITUIDS]: Make code unconditional.
14834 [!__ASSUME_32BITUIDS]: Remove conditional code.
14835 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14836 <kernel-features.h>.
14837 [__ASSUME_32BITUIDS]: Make code unconditional.
14838 [!__ASSUME_32BITUIDS]: Remove conditional code.
14839 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14840 <kernel-features.h>.
14841 [__ASSUME_32BITUIDS]: Make code unconditional.
14842 [!__ASSUME_32BITUIDS]: Remove conditional code.
14843 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14844 <kernel-features.h>.
14845 [__ASSUME_32BITUIDS]: Make code unconditional.
14846 [!__ASSUME_32BITUIDS]: Remove conditional code.
14847 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14848 <kernel-features.h>.
14849 [__ASSUME_32BITUIDS]: Make code unconditional.
14850 [!__ASSUME_32BITUIDS]: Remove conditional code.
14851 * sysdeps/unix/sysv/linux/kernel-features.h
14852 (__ASSUME_SETRESUID_SYSCALL): Remove.
14853 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14854 (__ASSUME_32BITUIDS): Likewise.
14855 (__ASSUME_LDT_WORKS): Likewise.
14856 (__ASSUME_O_DIRECTORY): Likewise.
14857 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14858 architecture but not kernel version.
14859 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14860 (__ASSUME_MMAP2_SYSCALL): Likewise.
14861 (__ASSUME_STAT64_SYSCALL): Likewise.
14862 (__ASSUME_IPC64): Likewise.
14863 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14864 <kernel-features.h>.
14865 [__ASSUME_32BITUIDS]: Make code unconditional.
14866 [!__ASSUME_32BITUIDS]: Remove conditional code.
14867 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14868 <kernel-features.h>.
14869 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14870 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14871 132096]: Remove conditional code.
14872 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14873 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14874 <kernel-features.h>.
14875 [__ASSUME_32BITUIDS]: Make code unconditional.
14876 [!__ASSUME_32BITUIDS]: Remove conditional code.
14877 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14878 <kernel-features.h>.
14879 [__ASSUME_32BITUIDS]: Make code unconditional.
14880 [!__ASSUME_32BITUIDS]: Remove conditional code.
14881 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14882 <kernel-features.h>.
14883 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14885 (__setresgid): Do not declare.
14886 [__ASSUME_32BITUIDS]: Make code unconditional.
14887 [!__ASSUME_32BITUIDS]: Remove conditional code.
14888 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14889 <kernel-features.h>.
14890 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14892 (__setresuid): Do not declare.
14893 [__ASSUME_32BITUIDS]: Make code unconditional.
14894 [!__ASSUME_32BITUIDS]: Remove conditional code.
14895 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14896 <kernel-features.h>.
14897 [__ASSUME_32BITUIDS]: Make code unconditional.
14898 [!__ASSUME_32BITUIDS]: Remove conditional code.
14899 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14900 <kernel-features.h>.
14901 [__ASSUME_32BITUIDS]: Make code unconditional.
14902 [!__ASSUME_32BITUIDS]: Remove conditional code.
14904 2012-05-25 Richard Henderson <rth@twiddle.net>
14906 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14907 dl_hwcap to ifunc resolver.
14908 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14910 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14911 dl_hwcap to ifunc resolver.
14912 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14914 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14917 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14918 for |x| <= 2**-26, not 2**-57.
14919 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14922 2012-05-24 Jeff Law <law@redhat.com>
14924 * stdio-common/Makefile (tests): Add bug25.
14925 * stdio-common/bug25.c: New test.
14927 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14930 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14931 multiple of MALLOC_ALIGNMENT in size.
14932 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14934 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14936 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14938 (FILENAME_MAX): Use macro-int-constant.
14939 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14940 (_IOFBF): Use macro-int-constant.
14941 (_IOLBF): Likewise.
14942 (_IONBF): Likewise.
14943 (SEEK_CUR): Likewise.
14944 (SEEK_END): Likewise.
14945 (SEEK_SET): Likewise.
14946 (TMP_MAX): Likewise.
14947 (EOF): Use macro-int-constant. Require < 0.
14948 (NULL): Use macro-constant. Require == 0.
14949 (stdin): Require type to be FILE *.
14950 (stdout): Likewise.
14951 (stderr): Likewise.
14952 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14953 macro-int-constant.
14954 (EXIT_SUCCESS): Likewise.
14955 (NULL): Use macro-constant. Require == 0.
14956 (RAND_MAX): Use macro-int-constant.
14957 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14958 [C99-based standards] (strtof): Require function.
14959 [C99-based standards] (strtold): Likewise.
14960 [C99-based standards] (strtoll): Likewise.
14961 [C99-based standards] (strtoull): Likewise.
14962 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14963 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14964 [ISO || ISO99 || ISO11] (math.h): Likewise.
14965 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14966 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14969 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14972 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14973 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14974 * intl/dgettext.c (DCGETTEXT): Likewise.
14975 * intl/gettext.c (DCGETTEXT): Likewise.
14976 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14977 * posix/regex_internal.h (gettext): Likewise.
14978 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14979 Remove declaration.
14980 * include/argz.h (__argz_count_internal)
14981 (__argz_stringify_internal): Remove declaration.
14982 (__argz_count, __argz_stringify): Declare hidden proto.
14983 * intl/dcgettext.c: Remove use of INTDEF.
14984 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14985 * string/argz-stringify.c: Likewise.
14986 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14987 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14988 Declare hidden proto.
14989 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14990 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14991 Declare hidden proto.
14992 * include/stdio.h (__asprintf_internal): Don't declare.
14993 (__asprintf): Don't define as macro. Declare hidden proto.
14994 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14995 (__fsetlocking): Declare hidden proto.
14996 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14997 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14999 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15000 (_IO_setlinebuf): Remove use of INTUSE.
15001 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15002 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15003 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15004 Remove declaration.
15005 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15006 (_IO_do_flush): Remove use of INTUSE.
15007 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15008 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15009 (_IO_adjust_column, _IO_least_wmarker)
15010 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15011 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15012 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15013 (_IO_default_doallocate, _IO_wdefault_doallocate)
15014 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15015 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15016 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15017 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15018 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15019 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15020 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15021 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15022 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15023 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15024 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15025 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15026 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15028 (_IO_flush_all_internal, _IO_adjust_column_internal)
15029 (_IO_default_uflow_internal, _IO_default_finish_internal)
15030 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15031 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15032 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15033 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15034 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15035 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15036 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15037 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15038 (_IO_file_close_internal, _IO_file_close_it_internal)
15039 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15040 (_IO_file_init_internal, _IO_file_attach_internal)
15041 (_IO_file_fopen_internal, _IO_file_read_internal)
15042 (_IO_file_sync_internal, _IO_file_seek_internal)
15043 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15044 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15045 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15046 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15047 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15048 (_IO_list_all_internal, _IO_link_in_internal)
15049 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15050 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15051 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15052 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15053 (_IO_do_write_internal, _IO_padn_internal)
15054 (_IO_getline_info_internal, _IO_getline_internal)
15055 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15056 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15057 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15058 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15059 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15060 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15061 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15062 with libc_hidden_ver, remove use of INTUSE.
15063 * libio/genops.c: Likewise.
15064 * libio/freopen.c: Likewise.
15065 * libio/freopen64.c: Likewise.
15066 * libio/iofclose.c: Likewise.
15067 * libio/iofdopen.c: Likewise.
15068 * libio/iofflush.c: Likewise.
15069 * libio/iofflush_u.c: Likewise.
15070 * libio/iofgets.c: Likewise.
15071 * libio/iofgets_u.c: Likewise.
15072 * libio/iofopen.c: Likewise.
15073 * libio/iofopncook.c: Likewise.
15074 * libio/iofread.c: Likewise.
15075 * libio/iofread_u.c: Likewise.
15076 * libio/ioftell.c: Likewise.
15077 * libio/iofwrite.c: Likewise.
15078 * libio/iogetline.c: Likewise.
15079 * libio/iogets.c: Likewise.
15080 * libio/iogetwline.c: Likewise.
15081 * libio/iopadn.c: Likewise.
15082 * libio/iopopen.c: Likewise.
15083 * libio/ioseekoff.c: Likewise.
15084 * libio/ioseekpos.c: Likewise.
15085 * libio/iosetbuffer.c: Likewise.
15086 * libio/iosetvbuf.c: Likewise.
15087 * libio/ioungetc.c: Likewise.
15088 * libio/ioungetwc.c: Likewise.
15089 * libio/iovdprintf.c: Likewise.
15090 * libio/iovsprintf.c: Likewise.
15091 * libio/iovsscanf.c: Likewise.
15092 * libio/memstream.c: Likewise.
15093 * libio/obprintf.c: Likewise.
15094 * libio/oldfileops.c: Likewise.
15095 * libio/oldiofclose.c: Likewise.
15096 * libio/oldiofdopen.c: Likewise.
15097 * libio/oldiofopen.c: Likewise.
15098 * libio/oldiopopen.c: Likewise.
15099 * libio/oldstdfiles.c: Likewise.
15100 * libio/putc.c: Likewise.
15101 * libio/setbuf.c: Likewise.
15102 * libio/setlinebuf.c: Likewise.
15103 * libio/stdfiles.c: Likewise.
15104 * libio/strops.c: Likewise.
15105 * libio/vasprintf.c: Likewise.
15106 * libio/vscanf.c: Likewise.
15107 * libio/vsnprintf.c: Likewise.
15108 * libio/vswprintf.c: Likewise.
15109 * libio/wfiledoalloc.c: Likewise.
15110 * libio/wfileops.c: Likewise.
15111 * libio/wgenops.c: Likewise.
15112 * libio/wmemstream.c: Likewise.
15113 * libio/wstrops.c: Likewise.
15114 * libio/__fpurge.c: Likewise.
15115 * libio/__fsetlocking.c: Likewise.
15116 * assert/assert.c: Likewise.
15117 * debug/fgets_chk.c: Likewise.
15118 * debug/fgets_u_chk.c: Likewise.
15119 * debug/fread_chk.c: Likewise.
15120 * debug/fread_u_chk.c: Likewise.
15121 * debug/gets_chk.c: Likewise.
15122 * debug/obprintf_chk.c: Likewise.
15123 * debug/vasprintf_chk.c: Likewise.
15124 * debug/vdprintf_chk.c: Likewise.
15125 * debug/vsnprintf_chk.c: Likewise.
15126 * debug/vsprintf_chk.c: Likewise.
15127 * malloc/mtrace.c: Likewise.
15128 * misc/error.c: Likewise.
15129 * misc/syslog.c: Likewise.
15130 * stdio-common/asprintf.c: Likewise.
15131 * stdio-common/fxprintf.c: Likewise.
15132 * stdio-common/getw.c: Likewise.
15133 * stdio-common/isoc99_fscanf.c: Likewise.
15134 * stdio-common/isoc99_scanf.c: Likewise.
15135 * stdio-common/isoc99_vfscanf.c: Likewise.
15136 * stdio-common/isoc99_vscanf.c: Likewise.
15137 * stdio-common/isoc99_vsscanf.c: Likewise.
15138 * stdio-common/printf-prs.c: Likewise.
15139 * stdio-common/printf_fp.c: Likewise.
15140 * stdio-common/printf_fphex.c: Likewise.
15141 * stdio-common/printf_size.c: Likewise.
15142 * stdio-common/putw.c: Likewise.
15143 * stdio-common/scanf.c: Likewise.
15144 * stdio-common/sprintf.c: Likewise.
15145 * stdio-common/tmpfile.c: Likewise.
15146 * stdio-common/vfprintf.c: Likewise.
15147 * stdio-common/vfscanf.c: Likewise.
15148 * stdlib/strfmon_l.c: Likewise.
15149 * sunrpc/openchild.c: Likewise.
15150 * sunrpc/xdr_stdio.c: Likewise.
15151 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15152 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15154 2012-05-24 Roland McGrath <roland@hack.frob.com>
15156 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15158 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15159 in the third column, to generate for the shared library an IFUNC
15160 that uses _dl_vdso_vsym.
15161 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15162 * Makeconfig (object-suffixes-noshared): New variable.
15164 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15165 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15166 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15167 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15170 * include/sys/time.h (__gettimeofday): Remove macro.
15171 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15172 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15174 (__gettimeofday): Add libc_hidden_def.
15175 (gettimeofday): Add libc_hidden_weak.
15176 * sysdeps/mach/gettimeofday.c: Likewise.
15177 * sysdeps/posix/gettimeofday.c: Likewise.
15178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15179 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15181 (__gettimeofday_internal): Remove strong_alias.
15182 (__gettimeofday): Add libc_hidden_def.
15183 (gettimeofday): Add libc_hidden_weak.
15184 * sysdeps/unix/syscalls.list (gettimeofday):
15185 Remove __gettimeofday_internal alias.
15187 2012-05-24 Daniel Jacobowitz <drow@false.org>
15188 H.J. Lu <hongjiu.lu@intel.com>
15191 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15192 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15193 (largebin_index_32_big): New.
15194 (largebin_index): Use it for 16-byte alignment.
15195 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15196 correction with front_misalign.
15198 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15226 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15227 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15229 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15233 * math/libm-test.inc (exp_test): Add test from bug 14036.
15234 (pow_test): Add test from bug 10846.
15236 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15238 (special_function): Do not include flags in test name.
15239 (parse_args): Likewise.
15240 * sysdeps/i386/fpu/libm-test-ulps: Update.
15241 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15242 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15243 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15246 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15248 * math/libm-test.inc ("Philosophy"): Update comment about
15250 (UNDERFLOW_EXCEPTION): New macro.
15251 (UNDERFLOW_EXCEPTION_OK): Likewise.
15252 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15253 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15254 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15255 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15256 (INVALID_EXCEPTION_OK): Update value.
15257 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15258 (OVERFLOW_EXCEPTION_OK): Likewise.
15259 (IGNORE_ZERO_INF_SIGN): Likewise.
15260 (test_exceptions): Handle underflow exceptions.
15261 (acos_test): Update for underflow exception expectations.
15262 (cexp_test): Likewise.
15263 (clog_test): Likewise.
15264 (clog10_test): Likewise.
15265 (csqrt_test): Likewise.
15266 (ctan_test): Likewise.
15267 (ctanh_test): Likewise.
15268 (exp_test): Likewise.
15269 (exp10_test): Likewise.
15270 (exp2_test): Likewise.
15271 (expm1_test): Likewise.
15272 (fma_test): Likewise.
15273 (j0_test): Likewise.
15274 (jn_test): Likewise.
15275 (nexttoward_test): Likewise.
15276 (pow_test): Likewise.
15277 (scalbn_test): Likewise.
15278 (scalbln_test): Likewise.
15279 (tan_test): Likewise.
15280 (y1_test): Likewise.
15281 * sysdeps/i386/fpu/libm-test-ulps: Update.
15282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15284 2012-05-23 David S. Miller <davem@davemloft.net>
15286 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15287 (__libc_sigaction): Remove unused local variables.
15289 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15291 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15293 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15295 mktime: avoid signed integer overflow
15296 * time/mktime.c (__mktime_internal): Do not mishandle the case
15297 where diff == INT_MIN.
15299 mktime: simplify computation of average
15300 * time/mktime.c (ranged_convert): Use new time_t_avg function
15301 instead of rolling our own (probably-slower) code.
15303 mktime: do not assume signed right shift propagates sign bit
15304 * time/mktime.c (isdst_differ): New static function.
15305 (__mktime_internal): No need to normalize tm_isdst now.
15306 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15309 mktime: merge another wrapv change from gnulib
15310 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15311 from some compilers.
15313 mktime: remove incorrect attempt at unusual arithmetics
15314 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15315 The code didn't really work on such machines anyway.
15316 (TYPE_MINIMUM): Assume two's complement.
15317 (twos_complement_arithmetic): Verify that long_int and time_t
15318 are two's complement (or unsigned, in the latter case).
15320 mktime: check signed shifts on long_int and time_t, too
15321 * time/mktime.c (SHR): Check that shifts work as desired
15322 on the types long_int and time_t too, as SHR is used on
15325 mktime: do not assume 'long' is wide enough
15326 * time/mktime.c (verify): Move decl up.
15327 (long_int): New type.
15328 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15329 to remove assumption in the code that 'long' is wide enough to
15330 store year values. This assumption is not true on x32 and on
15331 some non-glibc platforms.
15333 mktime: merge wrapv change from gnulib
15334 * time/mktime.c (WRAPV): New macro.
15335 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15336 (guess_time_tm, __mktime_internal): Do not assume that signed
15337 integer overflow wraps around; modern compilers generate code
15338 where this assumption is no longer valid.
15340 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15342 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15343 Replace "jmp L(pseudo_end)" with "ret".
15344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15347 2012-05-23 Andreas Jaeger <aj@suse.de>
15349 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15350 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15352 2012-05-23 Andreas Jaeger <aj@suse.de>
15353 Maximilian Attems <max@stro.at>
15355 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15358 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15360 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15361 code so that pseudo_end is just ret and the stack pointer is
15362 correct also for static library in error case.
15364 2012-05-23 Joseph Myers <joseph@codesourcery.com>
15366 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15367 move to syscalls.list.
15368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15373 * manual/install.texi (Running make install): Do not mention Linux
15374 kernel version for which pt_chown is not needed.
15375 (Linux): Do not mention problems with nscd with 2.0 kernels.
15376 * INSTALL: Regenerated.
15378 2012-05-23 Andreas Jaeger <aj@suse.de>
15380 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15381 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15383 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15384 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15385 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15386 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15387 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15388 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15389 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15390 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15391 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15392 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15393 * sysdeps/unix/sysv/linux/bits/in.h
15394 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15396 2012-05-22 Roland McGrath <roland@hack.frob.com>
15398 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15399 (PREPARE_VERSION): Just use assert instead, it will be elided
15400 under [NDEBUG] anyway.
15402 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15404 * sysdeps/unix/sysv/linux/Makefile: Include
15405 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
15406 (sysdep_routines): Remove sysctl.
15407 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15408 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15409 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15410 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15411 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15413 2012-05-22 Andreas Jaeger <aj@suse.de>
15415 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15416 that pseudo_end is just ret and the stack pointer is correct also
15417 for static library in error case.
15419 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15422 * nss/nsswitch.c (defconfig_entries): New variable.
15423 (__nss_database_lookup): Don't leak defconfig entries.
15424 (nss_parse_service_list): Don't leak on error paths.
15425 (free_database_entries): New function.
15426 (free_defconfig): New function.
15427 (free_mem): Move common code to free_database_entries.
15429 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15431 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15433 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15435 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15436 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15439 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15440 (INTERNAL_SYSCALL_TYPES): Likewise.
15441 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15442 (LOAD_REGS_TYPES_[1-6]): Likewise.
15443 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15444 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15446 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15448 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15449 copysignl for GLIBC_2_0.
15450 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15451 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15453 logbl for GLIBC_2_0.
15454 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15455 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15457 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15460 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15462 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15465 * time/mktime.c: Update copyright years.
15467 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15469 mktime: merge comment-quoting-style change from gnulib
15470 * time/mktime.c: Quote 'like this' in comments.
15471 The GNU coding standards suggest that we no longer quote `like this',
15472 as "`" and "'" are typically rendered asymmetrically nowadays.
15473 The typical gnulib style is to quote 'like this' when quoting
15474 code, and "like this" when quoting English.
15476 * time/mktime.c (compile-command): Add "-I.".
15478 mktime: merge mktime-internal.h change from gnulib
15479 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15481 mktime: merge time_r change from gnulib
15482 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15484 mktime: merge DEBUG change from gnulib
15485 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15486 case system <time.h> has a #define.
15488 mktime: merge <sys/types.h> change from gnulib
15489 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15490 since <time.t> is now guaranteed to define time_t.
15492 mktime: merge HAVE_CONFIG_H change from gnulib
15493 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15495 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15500 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15502 (struct rusage): Use anonymous union to pad each field to
15505 2012-05-21 David S. Miller <davem@davemloft.net>
15507 * Makefules (o-iterator): Remove .s cases.
15508 (compile-command.s): Delete.
15509 (COMPILE.s): Delete.
15510 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15512 2012-05-21 Joseph Myers <joseph@codesourcery.com>
15514 * configure.in (libc_cv_predef_stack_protector): Only consider
15515 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15516 * configure: Regenerated.
15518 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15521 New macro. Use R*LP on int and pointer.
15522 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
15523 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15524 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
15525 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15527 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15528 [__WORDSIZE_TIME64_COMPAT32] instead of
15529 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15530 (struct utmp): Likewise.
15531 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15532 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15534 (__WORDSIZE_TIME64_COMPAT32): This.
15535 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15536 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15537 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15538 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15539 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15540 (__WORDSIZE_TIME64_COMPAT32): New macro.
15542 2012-05-21 Andreas Jaeger <aj@suse.de>
15544 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15545 only if [SHARED]. Add prototype for __wcschr_ia32.
15547 2012-05-21 Roland McGrath <roland@hack.frob.com>
15549 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15550 of %rbp unmolested in the jmp_buf while mangling the low bits.
15551 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15552 unmolested high bits of %rbp while demangling the low bits.
15553 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15555 2012-05-21 Andreas Jaeger <aj@suse.de>
15557 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15558 * sunrpc/svc_simple.c: Use it for registerrpc.
15559 * sunrpc/xcrypt.c: Use it for passwd2des.
15561 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15563 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15565 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15566 Don't define if [__SYSCALL_WORDSIZE != 32].
15567 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15570 2012-05-21 Bruno Haible <bruno@clisp.org>
15571 Andreas Jaeger <aj@suse.de>
15573 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15574 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15575 inptr and inend for must_buffer_ch.
15576 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15577 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15578 * stdio-common/Makefile (tests): Remove bug15.
15579 (bug15-ENV): Remove macro.
15580 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15583 2012-05-19 Andreas Jaeger <aj@suse.de>
15584 Roland McGrath <roland@hack.frob.com>
15586 * manual/contrib.texi: Completely rewritten. It contains now an
15587 alphabetical list of contributors and their contributions.
15589 2012-05-21 Richard Henderson <rth@twiddle.net>
15591 * misc/getauxval.c (__getauxval): Use unsigned long int.
15592 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15593 (getauxval): Use unsigned long int.
15595 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15597 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15599 2012-05-21 Roland McGrath <roland@hack.frob.com>
15601 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15602 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15603 __alignof__ (long double).
15605 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15609 2012-05-20 Richard Henderson <rth@twiddle.net>
15611 * misc/getauxval.c: New file.
15612 * misc/sys/auxv.h: New file.
15613 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15614 (routines): Add getauxval.
15615 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15616 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15617 * elf/dl-sysdep.c (_dl_auxv): Remove.
15618 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15619 * elf/dl-support.c (_dl_auxv): New variable.
15620 (_dl_aux_init): Initialize it.
15621 * manual/startup.texi (Auxiliary Vector): New node.
15622 * sysdeps/generic/bits/hwcap.h: New file.
15623 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15624 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15625 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15626 * sysdeps/sparc/sysdep.h: ... here. Include it.
15627 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15628 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15634 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15640 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15644 2012-05-19 David S. Miller <davem@davemloft.net>
15646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15648 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15651 * math/s_ccosh.c: Include <float.h>
15652 (__ccosh): Avoid internal overflow calculating sinh and cosh
15653 values before multiplying by sin and cos values.
15654 * math/s_ccoshf.c: Likewise.
15655 * math/s_ccoshl.c: Likewise.
15656 * math/s_csin.c: Likewise.
15657 * math/s_csinf.c: Likewise.
15658 * math/s_csinl.c: Likewise.
15659 * math/s_csinh.c: Likewise.
15660 * math/s_csinhf.c: Likewise.
15661 * math/s_csinhl.c: Likewise.
15662 * math/libm-test.inc (ccos_test): Add more tests.
15663 (ccosh_test): Likewise.
15664 (csin_test): Likewise.
15665 (csinh_test): Likewise.
15666 * sysdeps/i386/fpu/libm-test-ulps: Update.
15667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15669 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15671 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15672 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15674 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15676 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15678 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15679 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15680 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15681 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15682 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15683 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15684 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15685 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15686 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15687 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15688 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15689 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15690 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15691 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15692 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15693 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15694 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15695 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15696 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15697 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15698 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15699 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15700 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15701 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15702 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15703 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15704 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15705 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15706 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15707 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15708 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15710 2012-05-18 Andreas Jaeger <aj@suse.de>
15712 * csu/.gitignore: Delete.
15714 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15716 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15717 (timex): Use __syscall_slong_t.
15719 2012-05-18 Andreas Jaeger <aj@suse.de>
15720 Carlos O'Donell <carlos_odonell@mentor.com>
15722 * manual/install.texi (Configuring and compiling): Update
15723 description about files modified in the source directory.
15724 * INSTALL: Regenerated.
15726 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15728 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15729 value. Use "or" to set return value to -1.
15730 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15731 negate return value.
15733 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15735 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15736 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15737 failure if the compiler has Graphite support disabled.
15738 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15740 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15741 CFLAGS-memmove.c): Likewise.
15742 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15745 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15747 * sysdeps/x86_64/x32/_itoa.h: New file.
15749 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15750 getdents system call only if kernel and user dirents have the
15751 same d_ino and d_off.
15753 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15754 LLONG_MAX != LONG_MAX.
15755 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15756 (_fitoa_word): Likewise.
15758 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15760 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15761 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15762 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15764 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15765 include <bits/wordsize.h>. Check __x86_64__ instead of
15767 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15768 if __x86_64__ is defined. Use anonymous union on fpstate.
15770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15773 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15775 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15776 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15777 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15778 Refer to _rtld_local_ro instead of _rtld_global_ro.
15779 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15781 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15783 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15785 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15786 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15787 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15789 * sysdeps/powerpc/powerpc32/dl-machine.c
15790 (__elf_machine_runtime_setup) [PROF]: Don't reference
15793 2012-05-18 Andreas Jaeger <aj@suse.de>
15795 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15796 function only available for GCCs before 3.4 since GCC 3.4
15797 introduced a builtin.
15799 (llrintf): Likewise.
15800 (llrint): Likewise.
15807 (nearbyint): Likewise.
15808 (nearbyintf): Likewise.
15812 (floorf): Likewise.
15814 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15816 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15817 on both fields and cast pointer to __syscall_ulong_t.
15819 * bits/types.h (__fsword_t): New type.
15820 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15821 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15823 (__FSWORD_T_TYPE): Likewise.
15824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15825 (__FSWORD_T_TYPE): Likewise.
15826 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15827 (__FSWORD_T_TYPE): Likewise.
15828 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15829 (__FSWORD_T_TYPE): Likewise.
15830 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15831 __SWORD_TYPE with __fsword_t.
15832 (statfs64): Likewise.
15834 2012-05-17 David S. Miller <davem@davemloft.net>
15836 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15838 2012-05-17 Andreas Jaeger <aj@suse.de>
15840 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15843 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15845 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15847 2012-05-17 Andreas Jaeger <aj@suse.de>
15849 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15852 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15854 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15856 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15858 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15859 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15861 2012-05-17 Andreas Jaeger <aj@suse.de>
15862 Carlos O'Donell <carlos_odonell@mentor.com>
15865 * sysdeps/x86_64/multiarch/init-arch.h
15866 (bit_YMM_Usable): Rename to...
15867 (bit_AVX_Usable): ... this.
15868 (bit_FMA4_Usable): New macro.
15869 (bit_XMM_state): New macro.
15870 (bit_YMM_state): New macro.
15871 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15872 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15873 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15874 (CPUID_OSXSAVE): New macro.
15875 (CPUID_AVX): New macro.
15876 (CPUID_FMA4): New macro.
15877 (index_YMM_Usable): Rename to...
15878 (index_AVX_Usable): ... this.
15879 (HAS_AVX): Use HAS_ARCH_FEATURE.
15880 (HAS_FMA4): Likewise.
15881 (HAS_YMM_USABLE): Remove.
15882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15883 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15885 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15886 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15887 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15888 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15889 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15891 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15893 * math/libm-test.c: Support platforms without multiple rounding modes.
15894 * math/bug-nextafter.c: Support platforms without FP exceptions.
15895 * math/bug-nexttoward.c: Likewise.
15896 * math/test-fenv.c: Likewise.
15897 * math/test-misc.c: Likewise.
15898 * stdlib/bug-getcontext.c: Likewise.
15900 2012-05-17 Andreas Jaeger <aj@suse.de>
15902 * manual/examples/search.c (critter_cmp): Change signature to
15904 * manual/string.texi (Collation Functions): Likewise.
15906 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15908 * bits/types.h: Fold copyright years.
15909 * bits/typesizes.h: Likewise.
15910 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15911 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15912 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15913 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15914 * time/time.h: Likewise.
15916 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15919 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15920 in instead of returning them. Return void.
15921 (__libc_mallinfo): Accumulate over all arenas.
15922 (__malloc_stats): Adjust for change in int_mallinfo interface.
15924 2012-05-16 Roland McGrath <roland@hack.frob.com>
15927 * configure.in (NM): Add AC_CHECK_TOOL for it.
15928 (libc_extra_cflags): New substituted variable.
15929 Check for -fstack-protector being used implicitly.
15930 * configure: Regenerated.
15931 * config.make.in (config-extra-cflags): New variable,
15932 gets @libc_extra_cflags@.
15933 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15936 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15937 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15938 * configure: Regenerated.
15939 * config.make.in (CPPUNDEFS): New substituted variable.
15940 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15941 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15942 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15944 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15946 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15947 (mq_attr): Use __syscall_slong_t.
15949 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15951 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15952 Check __x86_64__ instead of __WORDSIZE.
15953 (_STAT_VER_LINUX): Likewise.
15954 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15955 __syscall_ulong_t and __syscall_slong_t.
15956 (stat64): Likewise.
15958 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15960 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15962 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15964 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15966 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15968 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15971 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15972 include <bits/wordsize.h>. Check __x86_64__ instead of
15974 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15976 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15979 include <bits/wordsize.h>. Check __x86_64__ instead of
15981 (user_regs_struct): Use "__extension__ unsigned long long"
15982 instead of "unsigned long" if __x86_64__ is defined.
15983 (user): Likewise. Pad after pointer field if __ILP32__ is
15986 2012-05-16 Joseph Myers <joseph@codesourcery.com>
15988 * configure.in (makeinfo): Require version 4.5 or later. Allow
15990 * configure: Regenerated.
15991 * manual/install.texi (texinfo): Increase version requirement to
15993 * INSTALL: Regenerated.
15995 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15997 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15999 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16001 * sysdeps/x86_64/x32/ffs.c: New file.
16003 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16005 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16006 defined. Use __syscall_ulong_t.
16007 (shminfo): Use __syscall_ulong_t.
16008 (shm_info): Likewise.
16010 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16013 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16015 (msgqnum_t): Use __syscall_ulong_t.
16016 (msglen_t): Likewise.
16017 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16020 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16021 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16023 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16025 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16026 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16028 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16031 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16032 include <bits/wordsize.h>. Check __x86_64__ instead of
16035 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16036 "unsigned long long int" if __x86_64__ is defined.
16037 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16039 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16040 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16041 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16043 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16045 (GET_PC): Cast to uintptr_t first.
16046 (GET_FRAME): Likewise.
16047 (GET_STACK): Likewise.
16049 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16050 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16051 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16053 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16055 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16057 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16058 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16059 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16060 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16061 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16062 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16063 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16064 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16065 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16066 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16067 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16068 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16069 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16070 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16071 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16072 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16073 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16074 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16076 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16079 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16081 * Makerules (+depfiles): Also collect depfiles from .oS in
16083 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16084 .oS, $(libnldbl-routines)).
16086 * Makerules (native-compile-mkdep-flags): Define.
16087 * sunrpc/Makefile (extra-objs): Add $(addprefix
16088 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16089 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16090 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16091 calling $(make-target-directory).
16093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16095 * bits/types.h (__snseconds_t): Removed.
16096 * time/time.h (struct timespec): Replace __snseconds_t with
16098 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16099 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16101 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16102 (__SNSECONDS_T_TYPE): Likewise.
16103 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16104 (__SNSECONDS_T_TYPE): Likewise.
16105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16106 (__SNSECONDS_T_TYPE): Likewise.
16108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16110 * sysdeps/mach/hurd/bits/typesizes.h
16111 (__SYSCALL_SLONG_TYPE): New macro.
16112 (__SYSCALL_ULONG_TYPE): Likewise.
16114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16116 * bits/types.h (__syscall_slong_t): New type.
16117 (__syscall_ulong_t): Likewise.
16119 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16120 (__SYSCALL_ULONG_TYPE): Likewise.
16121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16122 (__SYSCALL_SLONG_TYPE): Likewise.
16123 (__SYSCALL_ULONG_TYPE): Likewise.
16124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16125 (__SYSCALL_SLONG_TYPE): Likewise.
16126 (__SYSCALL_ULONG_TYPE): Likewise.
16127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16128 (__SYSCALL_SLONG_TYPE): Likewise.
16129 (__SYSCALL_ULONG_TYPE): Likewise.
16131 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16133 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16134 Add sigaltstack-offsets.sym.
16135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16136 <sigaltstack-offsets.h>.
16137 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16138 longjmp_msg pointer.
16139 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16140 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16142 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16144 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16146 * elf/stackguard-macros.h: Remove file.
16147 * sysdeps/generic/stackguard-macros.h: New file.
16148 * sysdeps/i386/stackguard-macros.h: Likewise.
16149 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16150 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16151 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16152 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16153 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16154 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16155 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16156 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16157 <elf/stackguard-macros.h>.
16160 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16161 __aligned__ in attribute.
16162 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16163 (gregset_t): Likewise.
16165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16167 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16168 * sysdeps/x86_64/64/Implies-after: Here. New file.
16169 * sysdeps/x86_64/x32/Implies-after: New file.
16171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16173 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16174 and access return value for _dl_profile_fixup. Use R10_LP to
16177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16179 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16183 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16184 * sysdeps/x86_64/x32/sysdep.h: New file.
16186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16188 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16189 * sysdeps/x86_64/setjmp.S: Likewise.
16191 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16193 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16194 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16195 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16196 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16197 remove unused global constant.
16199 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16201 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16202 include of <not-cancel.h>.
16204 2012-05-15 Roland McGrath <roland@hack.frob.com>
16206 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16208 2012-05-15 Jeff Law <law@redhat.com>
16209 Andreas Jaeger <aj@suse.de>
16212 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16214 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16215 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16216 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16217 code changing __hst_map_handle.map.
16219 2012-05-15 Roland McGrath <roland@hack.frob.com>
16221 * configure.in (sysnames): Look for Implies-before and Implies-after
16223 * configure: Regenerated.
16225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16227 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16228 8-byte data alignment with LP_SIZE alignment.
16230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16232 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16237 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16239 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16241 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16242 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16243 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16245 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16249 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16250 (stackinfo_sub_sp): Likewise.
16252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16254 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16259 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16264 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16269 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16273 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16274 into R11_LP and load __x86_64_shared_cache_size_half into
16277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16279 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16282 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16284 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16288 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16290 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16291 powerpc32/power7/fpu/s_logb.c via #include.
16292 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16293 powerpc32/power7/fpu/s_logbf.c via #include.
16294 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16295 powerpc32/power7/fpu/s_logbl.c via #include.
16297 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16299 * README.libm: Remove file.
16301 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16303 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16304 count for x32. Use R*_LP and omit operand-size suffix.
16306 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16308 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16309 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16310 * sysdeps/x86_64/x32/shlib-versions: New file.
16312 2012-05-14 Roland McGrath <roland@hack.frob.com>
16314 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16315 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16316 Use _dl_fatal_printf instead.
16318 2012-05-14 Joseph Myers <joseph@codesourcery.com>
16320 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16321 set if not set by the user. Do not allow for being unset.
16322 * sysdeps/unix/sysv/linux/configure: Regenerated.
16324 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16326 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16327 the `q' suffix from lea and replace .quad with ASM_ADDR.
16329 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16332 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16334 (PTR_DEMANGLE): Likewise.
16336 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16338 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16340 (ASM_ADDR): Likewise.
16341 (RAX_LP): Likewise.
16342 (RBP_LP): Likewise.
16343 (RBX_LP): Likewise.
16344 (RCX_LP): Likewise.
16345 (RDI_LP): Likewise.
16346 (RSI_LP): Likewise.
16347 (RSP_LP): Likewise.
16350 (R10_LP): Likewise.
16351 (R10_LP): Likewise.
16352 (R11_LP): Likewise.
16353 (R12_LP): Likewise.
16354 (R13_LP): Likewise.
16355 (R14_LP): Likewise.
16356 (R15_LP): Likewise.
16358 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16360 * sysdeps/x86_64/x32/dl-machine.h: New file.
16362 2012-05-14 Andreas Jaeger <aj@suse.de>
16364 * manual/Makefile (subdir): Remove export of subdir.
16365 (all): Remove target.
16366 (.PHONY): Remove all from list.
16367 (mkinstalldirs): Remove.
16368 (.PHONY): Remove installdirs from list.
16369 ($(inst_infodir)/libc.info): Use make-target-directory.
16370 (installdirs): Remove.
16371 (subdir_%): Remove.
16372 (glibc-targets): Remove.
16375 ($(objpfx)stubs ../po/manual.pot): Remove.
16376 ($(objpfx)stamp%): Remove.
16377 (make-target-directory): Remove.
16378 (subdir_install): Remove.
16379 (routines): Remove.
16386 * manual/.gitignore: Remove, it's not needed anymore.
16387 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16389 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16391 (texis): Renamed to $(objpfx)texis.
16392 (texis-path): New, contains path to generated files.
16393 (chapters.%): Use texis-path for complete path, add extra argument
16395 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16396 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16397 (summary,texi, stamp-summary): Use complete path of
16398 files. Generate files in build dir.
16399 (dir-add.texi): Build in build dir.
16400 (libm-err.texi,stamp-libm-err): Likewise.
16401 (version.texi, stamp-version): Likewise.
16402 (.%c.texi): Likewise.
16403 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16404 (mostlyclean): Remove target.
16405 (realclean): Remove target.
16406 (generated): Add new variable with contents from mostlyclean and
16407 realclean, remove entries duplicated in common-mostlyclean, add
16408 stamp-libm-err and stamp-version.
16409 (generated-dirs): Add libc directory.
16410 ($(inst_infodir)/libc.info): Install files from build dir.
16412 * manual/install.texi (Configuring and compiling): Adjust since
16413 the info files are not part of the tar ball anymore.
16415 2012-05-14 Andreas Jaeger <aj@suse.de>
16417 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16420 2012-05-14 Joseph Myers <joseph@codesourcery.com>
16423 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16424 to 2.2.0 where earlier.
16425 * sysdeps/unix/sysv/linux/configure: Regenerated.
16426 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16427 Remove conditional code.
16428 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16429 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16430 Remove conditional code.
16431 [!__NR_lchown]: Likewise.
16432 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16433 [__NR_lchown]: Likewise.
16434 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16435 comment referencing __ASSUME_LCHOWN_SYSCALL.
16436 * sysdeps/unix/sysv/linux/i386/sigaction.c
16437 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16438 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16439 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16440 Remove conditional code.
16441 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16442 (__protocol_available): Remove #if 0 code.
16443 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16445 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16446 * sysdeps/unix/sysv/linux/kernel-features.h
16447 (__ASSUME_GETCWD_SYSCALL): Don't define.
16448 (__ASSUME_REALTIME_SIGNALS): Likewise.
16449 (__ASSUME_PREAD_SYSCALL): Likewise.
16450 (__ASSUME_PWRITE_SYSCALL): Likewise.
16451 (__ASSUME_POLL_SYSCALL): Likewise.
16452 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16453 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16455 (__ASSUME_SIOCGIFNAME): Don't define.
16456 (__ASSUME_MSG_NOSIGNAL): Likewise.
16457 (__ASSUME_SENDFILE): Define unconditionally.
16458 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16459 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16461 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16462 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16463 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16464 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16465 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16466 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16467 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16469 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16470 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16472 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16475 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16478 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16481 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16482 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16484 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16487 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16490 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16492 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16493 Remove conditional code.
16494 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16495 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16496 Remove conditional code.
16497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16498 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16499 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16500 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16501 Remove conditional code.
16502 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16503 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16504 Remove conditional code.
16505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16506 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16507 Remove conditional code.
16508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16509 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16510 Remove conditional code.
16511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16512 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16513 Remove conditional code.
16514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16515 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16518 * sysdeps/unix/sysv/linux/sigaction.c
16519 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16520 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16521 * sysdeps/unix/sysv/linux/sigpending.c
16522 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16523 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16524 * sysdeps/unix/sysv/linux/sigprocmask.c
16525 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16526 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16527 * sysdeps/unix/sysv/linux/sigsuspend.c
16528 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16529 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16530 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16531 (__libc_missing_rt_sigs): Remove.
16532 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16533 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16534 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16535 Remove conditional code.
16536 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16537 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16539 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16540 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16541 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16542 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16544 2012-05-14 Andreas Jaeger <aj@suse.de>
16546 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16547 it's not used in glibc.
16548 (__coshm1): Likewise.
16549 (__acosh1p): Likewise.
16552 * manual/string.texi (Copying and Concatenation): Add missing
16553 variable in concat example.
16554 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16556 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16559 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16560 __builtin_clzl with __builtin_clzll.
16562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16565 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16568 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16570 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16571 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16572 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16573 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16575 2012-05-14 Mike Frysinger <vapier@gentoo.org>
16577 * NEWS: Update ia64 info.
16579 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16581 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16584 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16586 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16587 * sysdeps/unix/syscalls.list (dup3): Likewise.
16588 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16589 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16591 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16593 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16594 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16596 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16598 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16600 (TLS_IE): Use mov/add instead of movq/addq to load thread
16602 (TLS_GD_PREFIX): New.
16605 2012-05-11 David S. Miller <davem@davemloft.net>
16607 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16608 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16609 (_FPU_SETCW): Likewise.
16611 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16613 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16614 is 32-byte aligned.
16616 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16619 * iconvdata/gb18030.c: Update tables.
16620 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16621 characters specially.
16622 (BODY for TO_LOOP): Add encoding of missing ranges.
16624 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16627 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16628 * sysdeps/mach/hurd/dup3.c: Likewise.
16629 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16630 * sysdeps/powerpc/memmove.c:: Likewise.
16632 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16635 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16637 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16639 * elf/elf.h (R_X86_64_RELATIVE64): New.
16640 (R_X86_64_NUM): Updated.
16641 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16642 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16643 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16644 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16645 tst-quad1pie tst-quad2pie
16646 (modules-names): Add tst-quadmod1 tst-quadmod2.
16647 ($(objpfx)tst-quad1): New dependency.
16648 ($(objpfx)tst-quad2): Likewise.
16649 ($(objpfx)tst-quad1pie): Likewise.
16650 ($(objpfx)tst-quad2pie): Likewise.
16651 * sysdeps/x86_64/tst-quad1.c: New file.
16652 * sysdeps/x86_64/tst-quad1pie.c: New file.
16653 * sysdeps/x86_64/tst-quad2.c: Likewise.
16654 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16655 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16656 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16657 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16658 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16660 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16662 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16663 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16664 * streams/stropts.h (t_scalar_t): Define type.
16666 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16667 (_PATH_PRESERVE): Set to "/var/lib".
16668 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16670 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16673 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16674 if __dir_mkfile succeeded.
16676 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16677 checking for _hurd_dtablesize. Unlock it right after having
16678 finished _hurd_dtable allocation.
16680 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16682 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16683 * sysdeps/mach/hurd/configure: Regenerated.
16684 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16685 special-casing to...
16686 * sysdeps/gnu/configure.in: ... this new file.
16687 * sysdeps/unix/sysv/linux/configure: Regenerated.
16688 * sysdeps/gnu/configure: New generated file.
16690 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16691 for Linux: use nsec instead of usec, as well as:
16692 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16693 members of type struct timespec.
16694 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16696 (struct stat64): Likewise.
16697 (_STATBUF_ST_NSEC): New macro.
16698 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16700 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16701 __strtoul_internal rather than strtoul.
16703 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16705 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16708 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16710 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16711 which preserves existing values.
16712 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16714 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16716 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16717 TIMEOUT values. Return EINVAL for NFDS values either negative or
16718 greater than FD_SETSIZE.
16720 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16722 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16723 allocated, call __vm_protect to finish enabling the existing space, and
16724 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16725 allocate the remainder.
16727 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16729 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16730 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16732 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16734 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16735 sysdeps/mach/hurd/readlink.c.
16737 * posix/tst-sysconf.c (posix_options): Only use
16738 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16739 _POSIX_SYNCHRONIZED_IO when they are defined
16740 * sysdeps/mach/hurd/bits/posix_opt.h:
16741 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16742 (_XOPEN_REALTIME): Undefine macro.
16743 (_XOPEN_REALTIME_THREADS): Undefine macro.
16744 (_XOPEN_SHM): Undefine macro.
16745 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16747 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16749 (_POSIX_ASYNC_IO): Undefine macro.
16750 (_POSIX_PRIORITIZED_IO): Undefine macro.
16751 (_POSIX_SPIN_LOCKS): Define macro to -1.
16753 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16754 SA_NODEFER, SA_RESETHAND.
16755 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16756 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16759 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16761 * elf/Makefile (pldd-modules): Define unconditionally.
16763 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16765 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16767 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16769 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16770 Return ENOENT when name is empty.
16771 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16773 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16775 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16777 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16779 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16781 Fix mlock in all cases except non-readable pages.
16782 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16783 instead of VM_PROT_ALL as parameter to __vm_wire function.
16785 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16786 (__mkdir): When path is `/', just fail with EEXIST.
16787 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16789 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16791 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16792 <sys/uio.h> (for writev).
16793 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16794 and <sys/param.h> (for MIN).
16796 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16798 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16799 REQUESTED_TIME. Properly set the remaining time and return EINTR
16802 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16804 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16805 Depend on against $(link-rpcuserlibs).
16807 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16809 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16810 (__libc_stack_end): Do not use attribute_relro.
16811 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16812 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
16813 to libthread-provided value.
16814 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16817 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16820 * bits/libc-lock.h (__libc_once_get): New macro.
16821 * sysdeps/mach/bits/libc-lock.h: Likewise.
16822 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16823 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16824 instead of using implementation details.
16826 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16827 * libio/freopen.c: Likewise.
16828 * libio/freopen64.c: Likewise.
16829 * misc/syslog.c: Likewise.
16830 * nscd/connections.c: Likewise.
16831 * nscd/netgroupcache.c: Likewise.
16832 * sysdeps/posix/getcwd.c: Likewise.
16834 2012-05-10 Roland McGrath <roland@hack.frob.com>
16836 * math/w_ilogbf.c: Add #include <limits.h>.
16838 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16840 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
16841 path instead of returning without unlocking.
16843 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16844 immediate-write ioctls.
16845 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16847 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16849 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16850 __builtin_frame_address instead of making assumptions about the
16851 location of the return address relative to DATA. Force early load of
16852 the return address.
16853 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16854 __builtin_frame_address.
16857 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16858 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16859 implement dup3 and do some further code clean-ups.
16860 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16861 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16863 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16865 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16867 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16868 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16869 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16870 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16871 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16874 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16875 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16876 when handler == SIG_ERR, not when handler != SIG_ERR.
16878 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16880 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16881 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16884 accept4 for GNU Hurd.
16885 * include/sys/socket.h (__libc_accept4): New prototype.
16886 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16887 to implement __libc_accept4.
16888 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16890 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16892 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16893 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16894 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16895 signal-defines.sym.
16897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16899 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
16901 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16903 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16904 assertion on O_CLOEXEC flag.
16905 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16906 * hurd/intern-fd.c: Likewise.
16907 * hurd/port2fd.c: Likewise.
16909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16912 * bits/in.h (IPV6_PKTINFO): Define new macro.
16913 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16915 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16920 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16921 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16922 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16923 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16924 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16925 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16926 * math/libm-test.inc (logb_test) : Additional logb tests.
16928 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16929 Andreas Jaeger <aj@suse.de>
16931 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16932 * configure: Regenerated.
16933 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16934 * config.make.in (link-obsolete-rpc): New substituted variable.
16935 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16936 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16937 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16938 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16939 so that libc.a contains the symbols.
16940 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16941 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16942 * sunrpc/auth_none.c: Likewise.
16943 * sunrpc/auth_unix.c: Likewise.
16944 * sunrpc/authdes_prot.c: Likewise.
16945 * sunrpc/authuxprot.c: Likewise.
16946 * sunrpc/clnt_gen.c: Likewise.
16947 * sunrpc/clnt_perr.c: Likewise.
16948 * sunrpc/clnt_raw.c: Likewise.
16949 * sunrpc/clnt_simp.c: Likewise.
16950 * sunrpc/clnt_tcp.c: Likewise.
16951 * sunrpc/clnt_udp.c: Likewise.
16952 * sunrpc/clnt_unix.c: Likewise.
16953 * sunrpc/des_crypt.c: Likewise.
16954 * sunrpc/des_soft.c: Likewise.
16955 * sunrpc/get_myaddr.c: Likewise.
16956 * sunrpc/key_call.c: Likewise.
16957 * sunrpc/key_prot.c: Likewise.
16958 * sunrpc/netname.c: Likewise.
16959 * sunrpc/pm_getmaps.c: Likewise.
16960 * sunrpc/pm_getport.c: Likewise.
16961 * sunrpc/pmap_clnt.c: Likewise.
16962 * sunrpc/pmap_prot.c: Likewise.
16963 * sunrpc/pmap_prot2.c: Likewise.
16964 * sunrpc/pmap_rmt.c: Likewise.
16965 * sunrpc/publickey.c: Likewise.
16966 * sunrpc/rpc_cmsg.c: Likewise.
16967 * sunrpc/rpc_common.c: Likewise.
16968 * sunrpc/rpc_dtable.c: Likewise.
16969 * sunrpc/rpc_prot.c: Likewise.
16970 * sunrpc/rpc_thread.c: Likewise.
16971 * sunrpc/rtime.c: Likewise.
16972 * sunrpc/svc.c: Likewise.
16973 * sunrpc/svc_auth.c: Likewise.
16974 * sunrpc/svc_raw.c: Likewise.
16975 * sunrpc/svc_run.c: Likewise.
16976 * sunrpc/svc_tcp.c: Likewise.
16977 * sunrpc/svc_udp.c: Likewise.
16978 * sunrpc/svc_unix.c: Likewise.
16979 * sunrpc/svcauth_des.c: Likewise.
16980 * sunrpc/xcrypt.c: Likewise.
16981 * sunrpc/xdr.c: Likewise.
16982 * sunrpc/xdr_array.c: Likewise.
16983 * sunrpc/xdr_float.c: Likewise.
16984 * sunrpc/xdr_intXX_t.c: Likewise.
16985 * sunrpc/xdr_mem.c: Likewise.
16986 * sunrpc/xdr_rec.c: Likewise.
16987 * sunrpc/xdr_ref.c: Likewise.
16988 * sunrpc/xdr_sizeof.c: Likewise.
16989 * sunrpc/xdr_stdio.c: Likewise.
16991 2012-05-10 Roland McGrath <roland@hack.frob.com>
16993 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16994 change. Update copyright years.
16996 2012-05-10 Joseph Myers <joseph@codesourcery.com>
16998 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17000 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17001 Joseph Myers <joseph@codesourcery.com>
17002 Paul Pluzhnikov <ppluzhnikov@google.com>
17005 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17007 [cross-compiling] (extra-libs): Likewise.
17008 [cross-compiling] (extra-libs-others): Likewise.
17009 [cross-compiling] (librpcsvc-routines): Likewise.
17010 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17011 [cross-compiling] (omit-deps): Likewise.
17012 (sunrpc-CPPFLAGS): New variable.
17013 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17014 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17015 (cross-rpcgen-objs): New variable.
17016 (extra-objs): Append $(cross-rpcgen-objs).
17017 ($(cross-rpcgen-objs)): New rule.
17018 ($(objpfx)cross-rpcgen): Likewise.
17019 (rpcgen-cmd): Define to use $(built-program-file). Expand
17021 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17022 ($(objpfx)x%.stmp): Likewise.
17023 * sunrpc/proto.h [IS_IN_build] (_): Define.
17024 [IS_IN_build] (_libc_intl_domainname): Likewise.
17026 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17028 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17029 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17030 and R_X86_64_TPOFF64.
17032 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17034 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17035 sysdeps/unix/sysv/syscalls.list.
17038 * sysdeps/unix/sysv/syscalls.list: Remove file.
17040 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17043 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17044 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17045 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17046 (__LC_IDENTIFICATION): Make these macros useful in #if
17047 expressions, as required by C99.
17049 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17051 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17052 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17055 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17057 * stdlib/longlong.h: Updated from GCC.
17059 2012-05-09 Andreas Jaeger <aj@suse.de>
17061 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17062 default is first entry.
17063 (run_mode): Set type.
17064 (main): Remove informal message about syslog.
17065 (options): Fix typo.
17068 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17071 (llrintf): Likewise.
17072 (llrint): Likewise.
17075 (nearbyint): Likewise.
17076 (nearbyintf): Likewise.
17078 2012-05-09 Andreas Jaeger <aj@suse.de>
17079 Pedro Alves <palves@redhat.com>
17081 * nscd/nscd.c (run_mode): Use enum.
17082 (main): Cleanup coding style issue.
17084 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
17085 Andreas Jaeger <aj@suse.de>
17087 * nscd/nscd.c (go_background): Replaced with...
17088 (run_mode): ... this.
17089 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17090 (options): Add -F --foreground.
17091 (main): Implement it.
17092 (parse_opt): Parse it.
17094 2012-05-09 Andreas Jaeger <aj@suse.de>
17097 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17098 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17099 -Wconversion warning.
17100 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17103 2012-05-09 Joseph Myers <joseph@codesourcery.com>
17105 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17107 (LC_ALL): Use macro-int-constant.
17108 (LC_COLLATE): Likewise.
17109 (LC_CTYPE): Likewise.
17110 (LC_MESSAGES): Likewise.
17111 (LC_MONETARY): Likewise.
17112 (LC_NUMERIC): Likewise.
17113 (LC_TIME): Likewise.
17114 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17115 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17116 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17117 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17119 [C99-based standards] (float_t): Expect type.
17120 [C99-based standards] (double_t): Expect type.
17121 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17123 [C99-based standards] (HUGE_VALL): Likewise.
17124 [C99-based standards] (INFINITY): Likewise.
17125 [C99-based standards] (NAN): Likewise.
17126 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17127 [C99-based standards] (FP_NAN): Likewise.
17128 [C99-based standards] (FP_NORMAL): Likewise.
17129 [C99-based standards] (FP_SUBNORMAL): Likewise.
17130 [C99-based standards] (FP_ZERO): Likewise.
17131 [C99-based standards] (FP_FAST_FMA): Use
17132 optional-macro-int-constant. Specify type. Require == 1.
17133 [C99-based standards] (FP_FAST_FMAF): Likewise.
17134 [C99-based standards] (FP_FAST_FMAL): Likewise.
17135 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17136 [C99-based standards] (FP_ILOGBNAN): Likewise.
17137 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17139 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17140 [C99-based standards] (math_errhandling): Specify type.
17141 [ISO99 || ISO11] (signgam): Do not allow.
17142 [non-C99-based standards] (copysignf): Do not allow.
17143 [non-C99-based standards] (exp2f): Likewise.
17144 [non-C99-based standards] (log2f): Likewise.
17145 [non-C99-based standards] (modff): Allow.
17146 [non-C99-based standards] (erff): Do not allow.
17147 [non-C99-based standards] (erfcf): Likewise.
17148 [non-C99-based standards] (gammaf): Likewise.
17149 [non-C99-based standards] (hypotf): Likewise.
17150 [non-C99-based standards] (j0f): Likewise.
17151 [non-C99-based standards] (j1f): Likewise.
17152 [non-C99-based standards] (jnf): Likewise.
17153 [non-C99-based standards] (lgammaf): Likewise.
17154 [non-C99-based standards] (tgammaf): Likewise.
17155 [non-C99-based standards] (y0f): Likewise.
17156 [non-C99-based standards] (y1f): Likewise.
17157 [non-C99-based standards] (ynf): Likewise.
17158 [non-C99-based standards] (isnanf): Likewise.
17159 [non-C99-based standards] (acoshf): Likewise.
17160 [non-C99-based standards] (asinhf): Likewise.
17161 [non-C99-based standards] (atanhf): Likewise.
17162 [non-C99-based standards] (cbrtf): Likewise.
17163 [non-C99-based standards] (expm1f): Likewise.
17164 [non-C99-based standards] (ilogbf): Likewise.
17165 [non-C99-based standards] (log1pf): Likewise.
17166 [non-C99-based standards] (logbf): Likewise.
17167 [non-C99-based standards] (nextafterf): Likewise.
17168 [non-C99-based standards] (remainderf): Likewise.
17169 [non-C99-based standards] (rintf): Likewise.
17170 [non-C99-based standards] (scalbf): Likewise.
17171 [non-C99-based standards] (copysignl): Likewise.
17172 [non-C99-based standards] (exp2l): Likewise.
17173 [non-C99-based standards] (log2l): Likewise.
17174 [non-C99-based standards] (modfl): Allow.
17175 [non-C99-based standards] (erfl): Do not allow.
17176 [non-C99-based standards] (erfcl): Likewise.
17177 [non-C99-based standards] (gammal): Likewise.
17178 [non-C99-based standards] (hypotl): Likewise.
17179 [non-C99-based standards] (j0l): Likewise.
17180 [non-C99-based standards] (j1l): Likewise.
17181 [non-C99-based standards] (jnl): Likewise.
17182 [non-C99-based standards] (lgammal): Likewise.
17183 [non-C99-based standards] (tgammal): Likewise.
17184 [non-C99-based standards] (y0l): Likewise.
17185 [non-C99-based standards] (y1l): Likewise.
17186 [non-C99-based standards] (ynl): Likewise.
17187 [non-C99-based standards] (isnanl): Likewise.
17188 [non-C99-based standards] (acoshl): Likewise.
17189 [non-C99-based standards] (asinhl): Likewise.
17190 [non-C99-based standards] (atanhl): Likewise.
17191 [non-C99-based standards] (cbrtl): Likewise.
17192 [non-C99-based standards] (expm1l): Likewise.
17193 [non-C99-based standards] (ilogbl): Likewise.
17194 [non-C99-based standards] (log1pl): Likewise.
17195 [non-C99-based standards] (logbl): Likewise.
17196 [non-C99-based standards] (nextafterl): Likewise.
17197 [non-C99-based standards] (remainderl): Likewise.
17198 [non-C99-based standards] (rintl): Likewise.
17199 [non-C99-based standards] (scalbl): Likewise.
17200 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17201 [non-C99-based standards] (FP_*): Do not allow.
17202 [C99-based standards] (FP_*): Change to
17203 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17204 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17206 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17207 (SIG_ERR): Likewise.
17208 [X/Open-based standards] (SIG_HOLD): Likewise.
17209 (SIG_IGN): Likewise.
17210 (SIGABRT): Use macro-int-constant. Specify type. Require
17212 (SIGFPE): Likewise.
17213 (SIGILL): Likewise.
17214 (SIGINT): Likewise.
17215 (SIGSEGV): Likewise.
17216 (SIGTER): Likewise.
17217 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17218 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17219 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17220 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17221 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17222 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17223 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17224 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17225 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17226 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17227 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17228 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17229 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17230 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17231 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17232 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17233 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17234 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17235 [X/Open-based standards] (SIGTRAP): Likewise.
17236 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17237 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17238 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17239 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17240 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17243 2012-05-08 Ian Wienand <ianw@vmware.com>
17246 * time/tzset.c (__tzset_parse_tz): Update default rules for
17247 daylight time changes in the Energy Policy Act of 2005.
17249 2012-05-09 Andreas Jaeger <aj@suse.de>
17252 * elf/ldconfig.c (parse_conf): Change string to make clear that
17253 ldconfig only issued a warning if ld.so.conf does not exist.
17255 2012-05-08 David S. Miller <davem@davemloft.net>
17257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17258 movxtod instead of popping the value on the stack.
17260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17262 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17264 * config.h.in: Add HAVE_ARM_PCS_VFP.
17266 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
17269 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17270 checking but the checks are disabled for any reason.
17272 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17274 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17275 and ELF64_R_TYPE with ELFW(R_TYPE).
17277 2012-05-08 Joseph Myers <joseph@codesourcery.com>
17279 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17280 (ulimit): Likewise.
17282 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17283 (settimeofday): Likewise.
17285 2012-05-08 Mike Frysinger <vapier@gentoo.org>
17287 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17288 a struct th_u2 inside the union, and move tu_block/tu_code into
17289 a new th_u3 union of tu_block/tu_code inside of that. Move
17290 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17291 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17292 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17293 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17294 (th_stuff): Change to th_u1.tu_stuff.
17296 (th_msg): Change to th_u1.th_u2.tu_data.
17298 2012-05-07 David S. Miller <davem@davemloft.net>
17300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17303 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17304 (SETUP_PIC_REG): Use it.
17305 (SETUP_PIC_REG_LEAF): Use it.
17307 2012-05-07 Joseph Myers <joseph@codesourcery.com>
17311 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17313 (EXPL_FINITE): Likewise.
17314 (FLDLOG): Likewise.
17315 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17316 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17318 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17320 (EXPL_FINITE): Likewise.
17321 (FLDLOG): Likewise.
17322 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17323 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17325 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17326 test of -max_value argument for long double.
17327 * sysdeps/i386/fpu/libm-test-ulps: Update.
17328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17330 2012-05-06 David S. Miller <davem@davemloft.net>
17332 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17333 quad soft-float symbols whose references which are compiler
17335 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17337 2012-05-06 Joseph Myers <joseph@codesourcery.com>
17341 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17343 (EXPL_FINITE): Likewise.
17344 (FLDLOG): Likewise.
17347 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17348 Adjust comments for base varying.
17349 (__expl_finite): Change alias to EXPL_FINITE.
17350 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17352 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17353 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17355 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17356 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17358 (EXPL_FINITE): Likewise.
17359 (FLDLOG): Likewise.
17362 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17363 Adjust comments for base varying.
17364 (__expl_finite): Change alias to EXPL_FINITE.
17365 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17370 * math/libm-test.inc (check_float_internal): Correct ulp
17371 calculation for subnormal expected results.
17373 2012-05-06 Andreas Jaeger <aj@suse.de>
17375 * Makeconfig (+math-flags): New, set to -frounding-math.
17376 (+cflags): Add +math-flags so that all of glibc gets compiled with
17379 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17381 2012-05-05 Joseph Myers <joseph@codesourcery.com>
17383 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17389 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17390 (__ieee754_expl): Allow for and saturate large arguments.
17391 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17392 (u_threshold): Likewise.
17393 (__exp): Call __ieee754_exp before checking for overflow and
17395 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17396 (u_threshold): Likewise.
17397 (__expf): Call __ieee754_expf before checking for overflow and
17399 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17400 (u_threshold): Likewise.
17401 (__expl): Call __ieee754_expl before checking for overflow and
17403 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17404 (__ieee754_expl): Allow for and saturate large arguments.
17405 * math/libm-test.inc (exp_test): Add another test. Do not allow
17406 missing overflow exception on overflow.
17407 (expm1_test): Do not allow missing overflow exception on overflow.
17409 * sysdeps/i386/fpu/e_expl.c: Move to ...
17410 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17411 rather than using inline asm.
17412 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17413 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17414 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17416 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17419 (signal): Likewise.
17423 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17425 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17426 sysdeps/unix/common/syscalls.list.
17427 (fchmod): Likewise.
17428 (fchown): Likewise.
17429 (ftruncate): Likewise.
17430 (getrusage): Likewise.
17431 (gettimeofday): Likewise.
17432 (setpgid): Likewise.
17433 (setregid): Likewise.
17434 (setreuid): Likewise.
17435 (sigaction): Likewise.
17436 (truncate): Likewise.
17437 (vhangup): Likewise.
17438 * sysdeps/unix/common/syscalls.list: Remove file.
17439 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17440 * sysdeps/unix/sysv/linux/Implies: Likewise.
17442 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17444 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17446 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17450 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17453 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17456 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17459 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17462 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17465 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17468 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17472 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17476 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17479 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17483 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17487 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17489 * sysdeps/unix/common/bits/dirent.h: Remove file.
17490 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17492 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17493 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17494 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17495 * sysdeps/unix/bsd/isatty.c: Likewise.
17496 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17497 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17498 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17500 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17503 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17504 long double comparison inaccuracies.
17505 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17508 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17510 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17511 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17513 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17516 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17517 nonzero digits before rounding a hex value.
17518 * stdlib/tst-strtod.c (tests): Add another test.
17520 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17522 * sysdeps/s390/fpu/libm-test-ulps: Update.
17524 2012-05-03 Andreas Jaeger <aj@suse.de>
17526 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17527 does not get optimized out.
17528 (malloc_opt_barrier): New.
17530 2012-05-03 Andreas Jaeger <aj@suse.de>
17531 Roland McGrath <roland@hack.frob.com>
17533 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
17534 intermediate file deletion.
17535 (generated): Add .symlist files.
17537 2012-05-03 Joseph Myers <joseph@codesourcery.com>
17540 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17541 Redirect under this condition.
17542 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17543 [__USE_GNU] (__dprintf_chk): Not under this condition.
17544 [__USE_GNU] (__vdprintf_chk): Likewise.
17545 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17546 under this condition.
17547 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17548 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17549 [__USE_XOPEN2K8] (vdprintf): Likewise.
17550 [__USE_GNU] (__dprintf_chk): Not under this condition.
17551 [__USE_GNU] (__vdprintf_chk): Likewise.
17552 [__USE_GNU] (dprintf): Likewise.
17553 [__USE_GNU] (vdprintf): Likewise.
17555 2012-05-03 Roland McGrath <roland@hack.frob.com>
17557 * elf/Makefile (common-generated): Set this instead of generated for
17558 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17559 $(all-built-dso)-derived lists.
17561 2012-05-03 Andreas Jaeger <aj@suse.de>
17563 * sysdeps/i386/fpu/libm-test-ulps: Update.
17566 * FAQ.in: Likewise.
17567 * scripts/gen-FAQ.pl: Likewise.
17568 * manual/install.texi (Installation): Point to online location of
17570 * Makefile (files-for-dist): Remove FAQ.
17573 2012-05-02 Allan McRae <allan@archlinux.org>
17575 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17576 (LDFLAGS-reldepmod5.so): Likewise.
17577 (LDFLAGS-reldep6mod1.so): Likewise.
17578 (LDFLAGS-reldep6mod4.so): Likewise.
17579 (LDFLAGS-reldep8mod3.so): Likewise.
17580 (LDFLAGS-unload4mod1.so): Likewise.
17581 (LDFLAGS-unload4mod2.so): Likewise.
17582 (LDFLAGS-tst-initorder): Likewise.
17583 (LDFLAGS-tst-initordera2.so): Likewise.
17584 (LDFLAGS-tst-initordera3.so): Likewise.
17585 (LDFLAGS-tst-initordera4.so): Likewise.
17586 (LDFLAGS-tst-initorderb2.so): Likewise.
17587 (LDFLAGS-noload): Likewise.
17588 (LDFLAGS-next): Likewise.
17589 (LDFLAGS-order2mod1.so): Likewise.
17590 (LDFLAGS-order2mod2.so): Likewise.
17591 (LDFLAGS-tst-initorder2): Likewise.
17592 (LDFLAGS-tst-initorder2a.so): Likewise.
17593 (LDFLAGS-tst-initorder2b.so): Likewise.
17594 (LDFLAGS-tst-initorder2c.so): Likewise.
17595 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17597 2012-05-02 David S. Miller <davem@davemloft.net>
17599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17601 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17604 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17606 2012-05-02 Andreas Jaeger <aj@suse.de>
17608 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17609 since we manipulate rounding mode.
17610 (CPPFLAGS-test-idouble.c): Likewise.
17611 (CPPFLAGS-test-ifloat.c): Likewise.
17612 (CFLAGS-test-ldouble.c): Likewise.
17613 (CFLAGS-test-double.c): Likewise.
17614 (CFLAGS-test-float.c): Likewise.
17615 (CFLAGS-test-misc.c): Likewise.
17616 (CFLAGS-test-test-fenv.c): Likewise.
17618 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17622 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17623 comparisons to determine direction to adjust input.
17625 2012-05-01 Roland McGrath <roland@hack.frob.com>
17627 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17628 output to the target.
17630 * scripts/localplt.awk: New file.
17631 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17632 (check-localplt-CFLAGS): Variable removed.
17633 ($(all-built-dso:=.jmprel)): New static pattern rule.
17634 (generated): Add those targets.
17635 (localplt-built-dso): New variable.
17636 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17638 * elf/check-localplt.c: File removed.
17640 * scripts/check-execstack.awk: New file.
17641 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17642 (check-execstack-CFLAGS): Variable removed.
17643 ($(objpfx)check-execstack.h): Target removed.
17644 ($(objpfx)execstack-default): New target.
17645 (generated): Add that instead of check-execstack.h.
17646 ($(all-built-dso:=.phdr)): New static pattern rule.
17647 (generated): Add those targets.
17648 * elf/check-execstack.c: File removed.
17650 * scripts/check-textrel.awk: New file.
17651 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17652 (check-textrel-CFLAGS): Variable removed.
17653 (all-built-dso): Use := to define.o
17654 ($(all-built-dso:=.dyn)): New static pattern rule.
17655 (generated): Add those targets.
17656 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17657 * config.make.in (READELF): New substituted variable.
17658 * elf/check-textrel.c: File removed.
17660 2012-05-01 Joseph Myers <joseph@codesourcery.com>
17662 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17664 * conform/data/ctype.h-data [C99-based standards] (isblank):
17666 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17667 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17669 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17670 Specify type. Require positive value.
17671 (EILSEQ): Likewise.
17672 (ERANGE): Likewise.
17673 [ISO || POSIX] (EILSEQ): Do not expect.
17674 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17675 Specify type. Require positive value.
17676 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17677 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17678 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17679 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17680 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17681 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17682 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17683 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17684 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17685 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17686 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17687 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17688 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17689 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17690 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17691 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17692 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17693 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17694 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17695 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17696 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17697 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17698 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17699 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17700 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17701 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17702 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17703 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17704 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17705 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17706 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17707 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17708 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17709 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17710 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17711 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17712 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17713 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17714 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17715 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17716 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17717 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17718 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17719 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17720 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17721 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17722 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17723 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17724 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17725 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17726 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17727 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17728 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17729 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17730 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17731 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17732 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17733 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17734 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17735 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17736 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17737 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17738 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17739 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17740 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17741 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17742 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17743 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17744 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17745 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17746 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17747 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17748 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17749 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17750 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17751 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17752 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17754 (FLT_ROUNDS): Expect as macro, not constant.
17755 (FLT_MANT_DIG): Use macro-int-constant.
17756 (DBL_MANT_DIG): Likewise.
17757 (LDBL_MANT_DIG): Likewise.
17758 (FLT_DIG): Likewise.
17759 (DBL_DIG): Likewise.
17760 (LDBL_DIG): Likewise.
17761 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17762 (DBL_MIN_EXP): Likewise.
17763 (LDBL_MIN_EXP): Likewise.
17764 (FLT_MAX_EXP): Use macro-int-constant.
17765 (DBL_MAX_EXP): Likewise.
17766 (LDBL_MAX_EXP): Likewise.
17767 (FLT_MAX_10_EXP): Likewise.
17768 (DBL_MAX_10_EXP): Likewise.
17769 (LDBL_MAX_10_EXP): Likewise.
17770 (FLT_MAX): Use macro-constant.
17771 (DBL_MAX): Likewise.
17772 (LDBL_MAX): Likewise.
17773 (FLT_EPSILON): Use macro-constant. Give upper bound.
17774 (DBL_EPSILON): Likewise.
17775 (LDBL_EPSILON): Likewise.
17776 (FLT_MIN): Likewise.
17777 (DBL_MIN): Likewise.
17778 (LDBL_MIN): Likewise.
17779 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17780 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17781 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17782 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17783 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17784 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17785 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17786 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17787 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17788 [ISO11] (FLT_TRUE_MIN): Likewise.
17789 [ISO11] (LDBL_TRUE_MIN): Likewise.
17790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17791 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17792 (SCHAR_MIN): Use macro-int-constant. Specify type.
17793 (SCHAR_MAX): Likewise.
17794 (UCHAR_MAX): Likewise.
17795 (CHAR_MIN): Likewise.
17796 (CHAR_MAX): Likewise.
17797 (MB_LEN_MAX): Use macro-int-constant.
17798 (SHRT_MIN): Use macro-int-constant. Specify type.
17799 (SHRT_MAX): Likewise.
17800 (USHRT_MAX): Likewise.
17801 (INT_MAX): Likewise.
17802 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17804 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17806 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17808 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17809 bound negative. Suffix upper bound with "L".
17810 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17812 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17814 [C99-based standards] (LLONG_MAX): Likewise.
17815 [C99-based standards] (ULLONG_MAX): Likewise.
17816 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17818 [ISO11] (max_align_t): Require type.
17819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17821 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17822 from $CFLAGS, without defining away __attribute__ calls.
17823 (checknamespace): Use $CFLAGS_namespace.
17825 * conform/conformtest.pl (@keywords): Only include C99 keywords
17826 for standards based on C99 or C11.
17828 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17830 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17833 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17834 usability of symbols in #if.
17836 * conform/conformtest.pl: If macro or constant types start
17837 "promoted:", expect the symbol to be of the following type
17838 promoted by the integer promotions.
17840 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17841 in one place. Also handle "macro-constant".
17843 * conform/conformtest.pl: Only accept expected macro values with
17844 "==". Parse all "macro" lines in one place.
17845 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17847 * conform/conformtest.pl: Handle braced types on "constant" lines
17848 instead of handling "typed-constant".
17849 * conform/data/signal.h-data: Use "constant" instead of
17852 * conform/conformtest.pl: Handle "optional-" at start of lines in
17853 one place rather than duplicating several cases. Handle each
17854 format of "macro" line with initial "optional-".
17856 * conform/conformtest.pl: Only accept expected constant or
17857 optional-constant values with "==". Parse all "constant" lines in
17858 one place. Parse all "optional-constant" lines in one place.
17859 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17860 * conform/data/fmtmsg.h-data: Likewise.
17861 * conform/data/netinet/in.h-data: Likewise.
17862 * conform/data/tar.h-data: Likewise.
17863 * conform/data/limits.h-data: Use "==" form on "constant" and
17864 "optional-constant" lines.
17866 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17867 Use -std=c99 for XOPEN2K.
17868 (@knownproblems): Remove.
17869 (newtoken): Don't check %isknown.
17871 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17872 Do not expect macro.
17873 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17874 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17875 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17876 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17877 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17878 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17879 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17880 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17881 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17882 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17883 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17884 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17885 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17886 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17887 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17888 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17889 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17890 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17891 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17892 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17893 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17894 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17895 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17896 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17897 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17898 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17899 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17900 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17901 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17902 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17903 [XPG3] (acosh): Likewise.
17904 [XPG3] (asinh): Likewise.
17905 [XPG3] (atanh): Likewise.
17906 [XPG3] (cbrt): Likewise.
17907 [XPG3] (expm1): Likewise.
17908 [XPG3] (ilogb): Likewise.
17909 [XPG3] (log1p): Likewise.
17910 [XPG3] (logb): Likewise.
17911 [XPG3] (nextafter): Likewise.
17912 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17913 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17914 [XPG3] (remainder): Likewise.
17915 [XPG3] (rint): Likewise.
17916 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17917 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17918 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17919 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17920 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17921 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17922 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17923 [UNIX98 || XOPEN2K] (scalb): Expect.
17924 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17925 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17926 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17927 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17928 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17929 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17930 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17931 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17932 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17933 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17934 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17935 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17936 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17937 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17938 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17939 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17940 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17941 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17942 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17943 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17944 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17945 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17946 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17947 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17948 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17949 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17950 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17951 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17952 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17953 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17954 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17955 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17956 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17957 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17958 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17959 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17960 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17961 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17962 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17963 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17964 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17965 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17966 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17967 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17968 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17969 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17970 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17971 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17972 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17973 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17974 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17975 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17976 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17977 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17978 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17979 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17980 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17981 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17982 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17983 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17984 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17986 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17987 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17988 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17989 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17990 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17991 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17992 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17993 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17994 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17995 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17996 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17997 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17998 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17999 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18000 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18001 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18002 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18003 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18004 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18005 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18006 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18007 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18008 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18009 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18010 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18011 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18012 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18013 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18014 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18015 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18016 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18017 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18018 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18019 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18020 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18021 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18022 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18023 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18024 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18025 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18026 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18027 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18028 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18029 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18030 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18031 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18032 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18033 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18034 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18035 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18036 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18037 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18038 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18039 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18040 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18041 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18042 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18043 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18044 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18045 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18046 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18047 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18048 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18049 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18050 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18051 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18052 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18053 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18054 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18055 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18056 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18057 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18058 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18059 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18060 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18062 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18063 _XOPEN_SOURCE_EXTENDED for XPG4.
18065 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18067 * Makeconfig (localtime): Remove variable.
18068 (inst_localtime-file): Likewise.
18070 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18091 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18095 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18096 comparisons to determine direction to adjust input.
18097 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18098 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18099 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18101 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18103 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18105 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18106 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18108 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18110 * math/libm-test.inc (nexttoward_test): Add more tests.
18112 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18115 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18116 in version GLIBC_2.1, not GLIBC_2.0.
18117 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18120 2012-04-30 Joseph Myers <joseph@codesourcery.com>
18123 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18125 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18126 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18127 * math/libm-test.inc (acos_test): Add more tests.
18128 (asin_test): Likewise.
18129 * sysdeps/i386/fpu/libm-test-ulps: Update.
18130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18133 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18135 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18136 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18137 * math/libm-test.inc (acos_test_tonearest): New function.
18138 (acos_test_towardzero): Likewise.
18139 (acos_test_downward): Likewise.
18140 (acos_test_upward): Likewise.
18141 (asin_test_tonearest): Likewise.
18142 (asin_test_towardzero): Likewise.
18143 (asin_test_downward): Likewise.
18144 (asin_test_upward): Likewise.
18145 (main): Call the new functions.
18146 * sysdeps/i386/fpu/libm-test-ulps: Update.
18147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18151 * math/e_exp10.c: Include <float.h>.
18152 (__ieee754_exp10): Handle underflow here rather than multiplying
18153 large negative argument by M_LN10.
18154 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18156 * math/e_exp10l.c: Include <float.h>.
18157 (__ieee754_exp10l): Handle underflow here rather than multiplying
18158 large negative argument by M_LN10l.
18159 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18160 spurious overflow exception on underflow.
18162 2012-04-29 Marek Polacek <polacek@redhat.com>
18164 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18165 (__fortify_function): New macro.
18166 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18167 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18168 __extern_always_inline.
18169 * libio/bits/stdio2.h: Likewise.
18170 * libio/bits/stdio.h: Likewise.
18171 * string/string.h: Likewise.
18172 * string/bits/string3.h: Likewise.
18173 * include/stdio.h: Likewise.
18174 * stdlib/bits/stdlib.h: Likewise.
18175 * stdlib/stdlib.h: Likewise.
18176 * rt/bits/mqueue2.h: Likewise.
18177 * rt/mqueue.h: Likewise.
18178 * posix/bits/unistd.h: Likewise.
18179 * posix/unistd.h: Likewise.
18180 * io/bits/poll2.h: Likewise.
18181 * io/bits/fcntl2.h: Likewise.
18182 * io/fcntl.h: Likewise.
18183 * io/sys/poll.h: Likewise.
18184 * misc/bits/syslog.h: Likewise.
18185 * misc/bits/syslog-ldbl.h: Likewise.
18186 * misc/sys/syslog.h: Likewise.
18187 * socket/bits/socket2.h: Likewise.
18188 * socket/sys/socket.h: Likewise.
18189 * debug/tst-chk1.c: Likewise.
18190 * wcsmbs/bits/wchar2.h: Likewise.
18191 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18192 * wcsmbs/wchar.h: Likewise.
18194 2012-04-29 Andreas Jaeger <aj@suse.de>
18196 * Makerules (tests): Remove enable-check-abi protection.
18197 (check-abi-warn): Remove.
18198 (check-abi-%): Remove check-abi-warn usage.
18200 * configure.in: Remove check-abi configure option.
18201 * configure: Regenerated.
18202 * config.make.in (enable-check-abi): Remove.
18204 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18207 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18208 double functions to double *_finite functions.
18211 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18212 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18214 * stdio-common/Makefile (tests): Add tst-sprintf3.
18215 * stdio-common/tst-sprintf3.c: New file.
18217 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18218 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18220 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18222 * conform/conformtest.pl: Remove duplicate typed-constant
18225 2012-04-28 David S. Miller <davem@davemloft.net>
18227 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18228 (check-abi-%): Remove AWK script prerequisite and explicit
18230 (check-abi): Rewrite to just diff the symlist with the abilist.
18231 (config-tls, config-abi-config): Delete, no longer used.
18232 (update-abi-%): Remove AWK script and explicit abilist directory.
18233 (update-abi): Rewrite to simply compare and conditionally copy the
18234 symlist and the sysdep abilist file. Remove update-abi-config
18236 * abilist/ld.abilist: Remove.
18237 * abilist/libBrokenLocale.abilist: Remove.
18238 * abilist/libanl.abilist: Remove.
18239 * abilist/libcrypt.abilist: Remove.
18240 * abilist/libdl.abilist: Remove.
18241 * abilist/librt.abilist: Remove.
18242 * abilist/libthread_db.abilist: Remove.
18243 * abilist/libutil.abilist: Remove.
18244 * scripts/extract-abilist.awk: Remove.
18245 * scripts/merge-abilist.awk: Remove.
18246 * sysdeps/generic/libcidn.abilist: New file.
18247 * sysdeps/generic/libnss_compat.abilist: New file.
18248 * sysdeps/generic/libnss_db.abilist: New file.
18249 * sysdeps/generic/libnss_dns.abilist: New file.
18250 * sysdeps/generic/libnss_files.abilist: New file.
18251 * sysdeps/generic/libnss_hesiod.abilist: New file.
18252 * sysdeps/generic/libnss_nis.abilist: New file.
18253 * sysdeps/generic/libnss_nisplus.abilist: New file.
18254 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18255 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18256 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18258 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18259 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18260 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18261 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18262 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18263 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18264 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18265 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18266 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18268 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18269 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18270 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18271 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18273 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18274 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18275 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18276 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18277 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18278 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18280 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18281 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18282 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18284 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18387 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18388 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18389 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18392 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18393 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18394 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18395 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18396 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18397 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18398 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18399 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18400 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18452 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18454 * conform/conformtest.pl: Fix typo in handling typed-constant from
18457 2012-04-27 Joseph Myers <joseph@codesourcery.com>
18459 * README: Cut down references to pre-2.6 Linux kernels and
18460 Linuxthreads. Update lists of configurations in libc and ports
18461 and sort alphabetically. Say "or newer" with Linux kernel version
18464 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18466 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18469 * math/libm-test.inc (logb_test_downward): New test to expose
18470 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18473 2012-04-27 Joseph Myers <joseph@codesourcery.com>
18476 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18478 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18479 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18481 2012-04-26 Joseph Myers <joseph@codesourcery.com>
18483 * sysdeps/unix/i386/brk.S: Remove file.
18484 * sysdeps/unix/i386/dl-brk.S: Likewise.
18485 * sysdeps/unix/i386/pipe.S: Likewise.
18486 * sysdeps/unix/i386/sigreturn.S: Likewise.
18487 * sysdeps/unix/i386/syscall.S: Likewise.
18488 * sysdeps/unix/i386/vfork.S: Likewise.
18489 * sysdeps/unix/i386/wait.S: Likewise.
18491 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18492 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18494 * configure.in (arm*-none*): Do not allow without
18495 --enable-hacker-mode.
18496 (netbsd*): Remove case setting base_os.
18497 (386bsd*): Likewise.
18498 (freebsd*): Likewise.
18501 (sunos*): Likewise.
18502 (ultrix*): Likewise.
18503 (newsos*): Likewise.
18504 (dynix*): Likewise.
18510 (minix*): Likewise.
18511 (irix4*): Likewise.
18512 (irix6*): Likewise.
18513 (solaris[2-9]*): Likewise.
18515 * configure: Regenerated.
18517 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18520 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18521 overflow or cancellation in calculating denominator.
18522 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18523 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18524 down expression to avoid unexpected rounding in newer GCCs.
18525 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18527 2012-04-26 David S. Miller <davem@davemloft.net>
18529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18530 long-double compat symbols.
18531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18545 2012-04-25 David S. Miller <davem@davemloft.net>
18547 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18548 HWCAP_* values only after the memory barriers have been defined.
18549 (atomic_full_barrier): Define.
18550 (atomic_read_barrier): Define.
18551 (atomic_write_barrier): Define.
18553 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18555 * shlib-versions: Add libgcc_s version information.
18556 * sysdeps/generic/libgcc_s.h: Remove.
18557 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18559 * sysdeps/gnu/unwind-resume.c: Likewise.
18560 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18562 2012-04-25 David S. Miller <davem@davemloft.net>
18564 * sysdeps/unix/sparc/brk.S: Delete.
18565 * sysdeps/unix/sparc/dl-brk.S: Delete.
18566 * sysdeps/unix/sparc/pipe.S: Delete.
18567 * sysdeps/unix/sparc/sysdep.S: Delete.
18568 * sysdeps/unix/sparc/sysdep.h: Delete.
18569 * sysdeps/unix/sparc/vfork.S: Delete.
18570 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18571 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18572 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18573 ret_ERRVAL, r0, r1, MOVE): Define.
18574 (JUMPTARGET): Remove.
18575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18576 sysdeps/unix/sparc/sysdep.h
18577 (ENTRY, END): Remove.
18578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18580 2012-04-25 Joseph Myers <joseph@codesourcery.com>
18582 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18583 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18586 * timezone/README: Update upstream location and email address for
18588 * timezone/zdump.c: Update from tzcode 2012b.
18589 * timezone/zic.c: Likewise.
18591 * configure.in (libc_cv_as_needed): Remove test.
18592 * configure: Regenerated.
18593 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18594 conditional definition.
18595 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18596 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18597 * config.make.in (have-as-needed): Remove variable.
18599 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18600 Paul Pluzhnikov <ppluzhnikov@google.com>
18602 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18605 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18607 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18608 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18609 * sysdeps/sh/strlen.S: Likewise.
18611 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18613 * sysdeps/unix/fork.S: Remove file.
18614 * sysdeps/unix/i386/fork.S: Likewise.
18615 * sysdeps/unix/sparc/fork.S: Likewise.
18617 * sysdeps/unix/system.c: Remove file.
18618 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18620 * sysdeps/unix/getegid.S: Remove file.
18621 * sysdeps/unix/geteuid.S: Likewise.
18623 2012-04-24 Roland McGrath <roland@hack.frob.com>
18625 * scripts/check-localplt.awk: New file.
18626 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18628 * scripts/data/localplt-generic.data: Add a comment.
18630 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18631 NODE when __dir_mkfile failed.
18632 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18633 Reported by Ludovic Courtès <ludo@gnu.org>.
18635 2012-04-24 Andreas Jaeger <aj@suse.de>
18637 * Makerules (common-clean): Also remove gen-as-const-headers
18640 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18642 * Makerules (native-compile): Do not change working directory for
18643 build. Use $(OUTPUT_OPTION) in command.
18644 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18646 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18649 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18650 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18651 * math/libm-test.inc (floor_test): Add more tests.
18652 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18654 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18656 * sysdeps/unix/getdents.c: Remove file.
18657 * sysdeps/unix/sysv/getdents.c: Likewise.
18658 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18660 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18661 sysdeps/unix/mman/syscalls.list.
18663 (mprotect): Likewise.
18665 (munmap): Likewise.
18666 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18667 * sysdeps/unix/mman/syscalls.list: Remove.
18668 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18670 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18671 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18672 * configure: Regenerated.
18673 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18674 $(libgcc_s_suffix).
18675 * config.make.in (libgcc_s_suffix): Remove variable.
18677 2012-04-23 Joseph Myers <joseph@codesourcery.com>
18679 * sysdeps/unix/sysv/gethostname.c: Move to ...
18680 * sysdeps/posix/gethostname.c: ... here.
18682 * sysdeps/unix/execve.S: Remove file.
18684 * sysdeps/unix/_exit.S: Remove file.
18686 2012-04-23 Andreas Jaeger <aj@suse.de>
18689 * manual/Makefile: Remove make dist support, there's no
18690 need for a stand-alone documentation tar ball.
18691 (TEXI2DVI): Define always, it's not in Makeconfig.
18694 (edition): Removed.
18695 (glibc-doc-$(edition).tar): Removed
18699 (ETAGS): Remove, it's in Makeconfig.
18700 (move-if-change): Remove, it's in Makeconfig.
18702 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
18705 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18706 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18707 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18708 (strtod_l, strtof_l, strtold_l): Remove __wur.
18709 It is not necessarily an error to ignore strtol's return value.
18710 One can reliably look at the stored endptr to decide whether
18711 the number had valid syntax.
18713 2012-04-21 Andreas Jaeger <aj@suse.de>
18716 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18718 2012-04-21 Joseph Myers <joseph@codesourcery.com>
18720 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18721 * sysdeps/unix/sysv/Versions: Remove file.
18723 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18728 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
18731 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18732 version from __vm86.
18734 2012-04-20 Joseph Myers <joseph@codesourcery.com>
18736 * sysdeps/unix/common/lxstat.c: Remove file.
18737 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18739 * sysdeps/unix/sysv/Makefile: Remove file.
18741 * sysdeps/unix/sysv/direct.h: Remove file.
18743 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18744 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18745 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18746 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18747 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18748 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18749 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18751 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18753 * sysdeps/unix/xmknod.c: Remove file.
18754 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18756 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18758 * sysdeps/unix/sysv/i386/time.S: Remove file.
18760 * sysdeps/unix/fxstat.c: Remove file.
18761 * sysdeps/unix/xstat.c: Likewise.
18762 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18764 * sysdeps/unix/sysv/sigaction.c: Remove file.
18766 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18767 (sysdep_headers): Remove variable.
18768 [termio.h not in sysdep_headers] (generated): Likewise.
18769 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18770 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18771 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18772 * sysdeps/unix/sysv/tcflow.c: Likewise.
18773 * sysdeps/unix/sysv/tcflush.c: Likewise.
18774 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18775 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18776 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18777 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18778 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18780 * sysdeps/unix/siglist.c: Remove file.
18782 * sysdeps/unix/getppid.S: Remove file.
18784 * sysdeps/unix/mkdir.c: Remove file.
18785 * sysdeps/unix/rmdir.c: Likewise.
18787 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18789 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18791 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18792 errlist-compat value.
18794 2012-04-18 David S. Miller <davem@davemloft.net>
18796 * sysdeps/generic/memcopy.h (reg_char): Delete.
18797 * debug/strcat_chk.c: Use char, not reg_char.
18798 * debug/strcpy_chk.c: Likewise.
18799 * debug/strncat_chk.c: Likewise.
18800 * debug/strncpy_chk.c: Likewise.
18801 * string/memchr.c: Likewise.
18802 * string/memrchr.c: Likewise.
18803 * string/rawmemchr.c: Likewise.
18804 * string/strcat.c: Likewise.
18805 * string/strchr.c: Likewise.
18806 * string/strchrnul.c: Likewise.
18807 * string/strcmp.c: Likewise.
18808 * string/strcpy.c: Likewise.
18809 * string/strncat.c: Likewise.
18810 * string/strncmp.c: Likewise.
18811 * string/strncpy.c: Likewise.
18813 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18815 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18816 __builtin_memcopy is called when src and dest ranges are known to not
18819 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18821 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18822 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18823 fwd_align_merge macro call.
18824 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18825 bwd_align_merge macro call.
18826 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18828 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18830 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18831 bwd_align_merge macros.
18832 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18833 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18834 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18836 2012-04-18 David S. Miller <davem@davemloft.net>
18838 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18840 2012-04-18 Andreas Jaeger <aj@suse.de>
18843 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18844 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18845 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18847 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18848 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18849 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18851 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18852 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18853 Adjust for changed ldbl-128 files.
18855 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18856 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18857 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18859 2012-04-17 David S. Miller <davem@davemloft.net>
18861 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18863 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18865 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18866 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18867 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18868 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18869 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18870 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18872 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18875 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18876 * math/libm-test.inc: Add ilogb errno and exception tests.
18877 * math/w_ilogb.c: New file: ilogb wrapper.
18878 * math/w_ilogbf.c: New file: ilogbf wrapper.
18879 * math/w_ilogbl.c: New file: ilogbl wrapper.
18880 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18881 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18882 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18883 exception being thrown with 0.0 as argument.
18884 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18885 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18886 exception being thrown with 0.0 as argument.
18887 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18888 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18889 exception being thrown with 0.0 as argument.
18890 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18891 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18892 exception being thrown with 0.0 as argument.
18893 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18894 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
18895 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
18896 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18897 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18898 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18899 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18900 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18901 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18903 2012-04-17 Petr Baudis <pasky@ucw.cz>
18905 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18908 2012-04-16 Marek Polacek <polacek@redhat.com>
18910 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18912 2012-04-16 Marek Polacek <polacek@redhat.com>
18914 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18915 operands of fdivp instruction.
18917 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18919 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18920 * elf/tst-auditmod3b.c: Likewise.
18921 * elf/tst-auditmod4b.c: Likewise.
18922 * elf/tst-auditmod5b.c: Likewise.
18923 * elf/tst-auditmod6b.c: Likewise.
18924 * elf/tst-auditmod6c.c: Likewise.
18925 * elf/tst-auditmod7b.c: Likewise.
18926 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18927 * sysdeps/x86_64/preconfigure.in: Likewise.
18928 * sysdeps/x86_64/preconfigure: Regenerated.
18930 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18932 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18935 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
18937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18938 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18940 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18943 * locale/iso-639.def: Fix gl language name. Spotted by
18946 2012-04-12 Roland McGrath <roland@hack.frob.com>
18949 * libio/libio.h (__io_write_fn): Update comment.
18951 2012-04-12 Petr Baudis <pasky@ucw.cz>
18954 * stdio.texi (Hook Functions): The user provided writer function
18955 is not allowed to return -1.
18957 2012-04-11 David S. Miller <davem@davemloft.net>
18959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18961 2012-04-11 Mike Frysinger <vapier@gentoo.org>
18963 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18964 Add a leading slash to rtkaio.
18966 2012-04-11 Jim Meyering <meyering@redhat.com>
18969 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18970 It is not necessarily an error to ignore fwrite's return
18971 value. One can reliably use ferror to test for errors after
18974 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18976 * bits/types.h (__snseconds_t): New type.
18977 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18979 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18981 (__SNSECONDS_T_TYPE): Likewise.
18982 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18983 (__SNSECONDS_T_TYPE): Likewise.
18984 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18985 (__SNSECONDS_T_TYPE): Likewise.
18987 2012-04-10 Andreas Jaeger <aj@suse.de>
18990 * manual/time.texi (Processor Time): Return type of times is
18991 elapsed real time since an arbitrary point in the past.
18992 (CPU Time): Move CLK_TCK from here...
18993 (Processor Time): ...to here. Correct description.
18994 * manual/conf.texi (Constants for Sysconf): Correct description of
18997 2012-04-10 David S. Miller <davem@davemloft.net>
19000 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19001 where the is a gap between DT_REL(A) and DT_JMPREL.
19003 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19005 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19006 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19007 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19009 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19011 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19012 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19013 (dl_main): Handle --inhibit-cache.
19014 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19016 * elf/dl-load.c (_dl_map_object): Use it.
19017 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19019 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19022 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19023 (__ieee754_powl): Saturate large exponents rather than testing for
19024 overflow of y*log2(x).
19025 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19026 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19030 * math/s_ctan.c: Include <float.h>.
19031 (__ctan): Avoid internal overflow or cancellation in calculating
19033 * math/s_ctanf.c: Likewise.
19034 * math/s_ctanl.c: Likewise.
19035 * math/s_ctanh.c: Likewise.
19036 * math/s_ctanhf.c: Likewise.
19037 * math/s_ctanhl.c: Likewise.
19038 * math/libm-test.inc (ctan_test): Add more tests.
19039 (ctanh_test): Likewise.
19040 * sysdeps/i386/fpu/libm-test-ulps: Update.
19041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19043 2012-04-09 Andreas Jaeger <aj@suse.de>
19046 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19047 is an optional BSD extension.
19050 * manual/stdio.texi (Opening Streams): Document additional fopen
19053 2012-04-09 Roland McGrath <roland@hack.frob.com>
19055 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19056 %eax without telling the compiler.
19058 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19061 * manual/install.texi: Use sourceware.org.
19063 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19066 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19067 (__ieee754_pow): Generate overflow and underflow using huge*huge
19068 and tiny*tiny rather than just returning constant infinity or zero
19069 for large exponents.
19070 * math/libm-test.inc (pow_test): Require overflow exceptions for
19071 applicable cases of large exponents.
19074 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19075 (__ieee754_pow): Use iterative multiplication algorithm only for
19076 integer exponents with absolute value below 1024. Check for odd
19077 integer exponents when using algorithm for real exponents.
19078 * math/libm-test.inc (pow_test): Add more tests.
19079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19081 2012-04-08 Joseph Myers <joseph@codesourcery.com>
19084 * math/libm-test.inc (exp_test): Do not allow overflow exception
19087 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19090 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19091 instead of __kernel_standard_f.
19093 2012-04-08 Mike Frysinger <vapier@gentoo.org>
19095 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19096 * sysdeps/x86_64/memset_chk.S: Likewise.
19098 2012-04-08 Andreas Jaeger <aj@suse.de>
19101 * manual/startup.texi (Environment Access): Describe return value
19102 for putenv and setenv.
19105 * manual/filesys.texi (Directory Entries): Add description for
19109 * manual/filesys.texi (Directory Entries): Clarify that it's file
19110 system not operating system in the description of DT_UNKNOWN.
19113 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19115 2012-04-08 Stephen Compall <s11@member.fsf.org>
19118 * manual/llio.texi (Opening and Closing Files): Add cross
19119 reference to explain mode argument.
19121 2012-04-07 Mike Frysinger <vapier@gentoo.org>
19123 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19124 * sysdeps/x86_64/memset_chk.S: Likewise.
19126 2012-04-07 David S. Miller <davem@davemloft.net>
19128 * elf/elf.h (R_SPARC_WDISP10): Define.
19129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19131 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19132 R_SPARC_SIZE64 and R_SPARC_H34.
19134 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19136 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19137 conditions and remove no longer applicable assertion.
19139 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19141 * bits/byteswap.h: Include <features.h>.
19142 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19143 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19145 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19147 * bits/byteswap.h (__bswap_16): Removed.
19148 Include <bits/byteswap-16.h> to get __bswap_16.
19149 * sysdeps/i386/bits/byteswap.h: Likewise.
19150 * sysdeps/s390/bits/byteswap.h: Likewise.
19151 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19152 * bits/byteswap-16.h: New file.
19153 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19154 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19155 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19156 * string/Makefile (headers): Add bits/byteswap-16.h.
19158 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19161 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19163 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19164 * nss/tst-nss-static.c: New.
19166 2012-04-06 Robert Millan <rmh@gnu.org>
19169 * manual/llio.texi (File Position Primitive): lseek
19170 refers to WHENCE when it really means OFFSET.
19172 2012-04-06 Andreas Jaeger <aj@suse.de>
19174 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19175 strncmp declarations.
19177 * abilist/libc.abilist: Add __poll and __ppoll.
19179 2012-04-05 David S. Miller <davem@davemloft.net>
19181 * scripts/check-local-headers.sh: Accept a host triplet in the
19182 path matched by the exclude regexp.
19184 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19186 * sysdeps/powerpc/powerpc32/dl-machine.h
19187 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19188 * sysdeps/s390/s390-32/dl-machine.h
19189 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19190 * sysdeps/sparc/sparc32/dl-machine.h
19191 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19192 * sysdeps/sparc/sparc64/dl-machine.h
19193 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19195 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19197 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19198 undefined symbol errors.
19200 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19203 2012-04-05 Michael Matz <matz@suse.de>
19206 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19208 2012-04-05 Andreas Jaeger <aj@suse.de>
19211 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19214 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19216 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19217 which ROUND is no valid rounding mode.
19219 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19221 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19223 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19225 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19227 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19228 an exception using FPU order intentionally.
19230 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19232 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19233 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19234 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19235 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19237 2012-04-05 Simon Josefsson <simon@josefsson.org>
19240 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19241 EINVAL when BUFLEN is too smal.
19243 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19246 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19247 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19249 2012-04-03 Andreas Jaeger <aj@suse.de>
19252 * manual/setjmp.texi (System V contexts): Fix sentence.
19255 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19256 New macro for this case.
19257 [!__GNUC__] (__bswap_64): New inline function for this case.
19258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19259 * bits/byteswap.h: Likewise.
19260 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19261 ull, guard with __GLIBC_HAVE_LONG_LONG.
19263 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19264 __GLIBC_HAVE_LONG_LONG.
19266 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19267 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19269 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19272 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19273 inptr and inend, rather than using last_ch.
19275 2012-04-02 David S. Miller <davem@davemloft.net>
19277 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19278 * stdio-common/printf-parse.h (read_int): Change return type to
19279 'int', return -1 on INT_MAX overflow.
19280 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19281 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19282 overflows INT_MAX. Check for overflow of in-format-string precision
19283 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19284 SIZE_MAX not INT_MAX for integer overflow test.
19285 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19286 skip the construct in the format string but do not record anything.
19287 * stdio-common/bug22.c: Adjust to test both width/prevision
19288 INT_MAX overflow as well as total length INT_MAX overflow. Check
19289 explicitly for proper errno values.
19291 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19293 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19295 * string/test-strcmp.c [! WIDE]: Likewise.
19296 * time/tst-mktime2.c: Likewise for INT_MAX.
19297 * string/test-string.h: #include <sys/param.h> for MIN.
19299 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19300 * sysdeps/i386/init-first.c (init): Likewise.
19301 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19302 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19303 * sysdeps/sh/init-first.c (init): Likewise.
19305 2012-04-01 Ulrich Drepper <drepper@gmail.com>
19307 * po/ru.po: Update from translation team.
19308 * po/vi.po: Likewise.
19310 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19312 * resolv/nss_dns/dns-host.c: Merge copyright years.
19314 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19316 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19317 Optimize memcpy with prefetch if
19318 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19319 src, dst pointers have unequal 16 byte alignments.
19321 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19324 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19325 from a CNAME entry and return the minimum ttl for the query.
19326 (gaih_getanswer_slice): Likewise.
19328 2012-03-30 Jeff Law <law@redhat.com>
19330 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19332 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19333 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19335 * resolv/nss_dns/dns-host.c: Update copyright year.
19337 2012-03-30 Ulrich Drepper <drepper@gmail.com>
19339 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
19340 requests to save a system call. Fix check that all bytes are sent.
19342 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19343 comments for sendmmsg.
19345 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19348 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19349 with only 1 character between 0x0041 and 0x01b0.
19350 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19351 * wcsmbs/tst-mbsnrtowcs.c: New file.
19353 2012-03-29 David S. Miller <davem@davemloft.net>
19355 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19356 small copies by hand.
19358 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19361 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19362 _nss_compat_initgroups_dyn): Fall back to malloc/free
19363 for large group memberships.
19365 2012-03-28 David S. Miller <davem@davemloft.net>
19367 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19368 that branches into memcpy.
19369 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19370 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19371 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19372 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19375 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19376 implementation too.
19377 * sysdeps/sparc/mempcpy.S: New file.
19379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19380 the IFUNC routine in the libc case.
19381 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19383 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19384 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19385 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19386 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19387 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19388 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19389 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19390 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19392 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19393 loop to 256 bytes instead of 64 bytes and fix test signedness.
19395 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19396 * sysdeps/sparc/sparc32/Makefile: rather than here...
19397 * sysdeps/sparc/sparc64/Makefile: and here.
19399 2012-03-28 Ulrich Drepper <drepper@gmail.com>
19401 * malloc/mallocbug.c: Avoid warnings about unused variables.
19403 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19406 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19407 in the right place. Discard and retry query if response is
19408 larger than input buffer size.
19410 2012-03-28 Joseph Myers <joseph@codesourcery.com>
19415 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19416 x for large integer exponent.
19417 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19418 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19419 sign of result as needed afterwards.
19420 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19421 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19422 result for underflowing pow the same as for overflow.
19423 (__kernel_standard_l): Handle powl overflow and underflow here
19424 rather than calling __kernel_standard.
19425 * math/libm-test.inc (pow_test): Add more tests.
19440 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19441 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19442 (__kernel_standard_l): New function.
19443 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19445 * math/w_acosl.c (__acosl): Likewise.
19446 * math/w_asinl.c (__asinl): Likewise.
19447 * math/w_atan2l.c (__atan2l): Likewise.
19448 * math/w_atanhl.c (__atanhl): Likewise.
19449 * math/w_coshl.c (__coshl): Likewise.
19450 * math/w_exp10l.c (__exp10l): Likewise.
19451 * math/w_exp2l.c (__exp2l): Likewise.
19452 * math/w_fmodl.c (__fmodl): Likewise.
19453 * math/w_hypotl.c (__hypotl): Likewise.
19454 * math/w_j0l.c (__j0l, __y0l): Likewise.
19455 * math/w_j1l.c (__j1l, __y1l): Likewise.
19456 * math/w_jnl.c (__jnl, __ynl): Likewise.
19457 * math/w_lgammal.c (__lgammal): Likewise.
19458 * math/w_log10l.c (__log10l): Likewise.
19459 * math/w_log2l.c (__log2l): Likewise.
19460 * math/w_logl.c (__logl): Likewise.
19461 * math/w_powl.c (__powl): Likewise.
19462 * math/w_remainderl.c (__remainderl): Likewise.
19463 * math/w_scalbl.c (sysv_scalbl): Likewise.
19464 * math/w_sinhl.c (__sinhl): Likewise.
19465 * math/w_sqrtl.c (__sqrtl): Likewise.
19466 * math/w_tgammal.c (__tgammal): Likewise.
19467 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19468 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19469 * math/libm-test.inc (acos_test): Add more tests.
19470 (acosh_test): Likewise.
19471 (asin_test): Likewise.
19472 (atanh_test): Likewise.
19473 (exp_test): Likewise.
19474 (exp10_test): Likewise.
19475 (exp2_test): Likewise.
19476 (expm1_test): Likewise.
19477 (lgamma_test): Likewise.
19478 (log_test): Likewise.
19479 (log10_test): Likewise.
19480 (log1p_test): Likewise.
19481 (log2_test): Likewise.
19482 (pow_test): Do not allow some spurious overflow exceptions.
19483 (sqrt_test): Add more tests.
19484 (tgamma_test): Likewise.
19485 (y0_test): Likewise.
19486 (y1_test): Likewise.
19487 (yn_test): Likewise.
19489 2012-03-27 Anton Blanchard <anton@samba.org>
19491 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19493 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19494 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19495 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19497 2012-03-27 David S. Miller <davem@davemloft.net>
19499 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19501 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19502 have-as-vis3 check.
19504 2012-03-27 Andreas Jaeger <aj@suse.de>
19506 * sysdeps/x86_64/elf/configure.in: Moved to ...
19507 * sysdeps/x86_64/configure.in: ... here.
19508 * sysdeps/x86_64/elf/start.S: Moved to ...
19509 * sysdeps/x86_64/start.S: ... here.
19510 * sysdeps/x86_64/elf/configure: Delete.
19512 * sysdeps/x86_64/configure.in: Merge contents from
19513 sysdeps/i386/configure.in (without i686 check).
19515 * sysdeps/i386/elf/Versions: Merge into ...
19516 * sysdeps/i386/Versions: ... this.
19517 * sysdeps/i386/elf/Versions: Delete file.
19518 * sysdeps/i386/elf/start.S: Moved to ...
19519 * sysdeps/i386/start.S: ...here.
19520 * sysdeps/i386/elf/configure.in: Merge into...
19521 * sysdeps/i386/configure.in: ...here.
19522 * sysdeps/i386/elf/configure.in: Delete file.
19523 * sysdeps/i386/elf/configure: Delete file.
19525 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19526 * debug/backtracesyms.c: ... here.
19527 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19528 * debug/backtracesymsfd.c: ... here.
19529 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19530 * sysdeps/generic/ifunc-sel.h: ... here.
19532 * sysdeps/unix/i386/start.c: Delete file.
19533 * sysdeps/unix/sparc/start.c: Delete file.
19534 * sysdeps/unix/start.c: Delete file.
19536 * sysdeps/sh/elf/configure.in: Moved to ...
19537 * sysdeps/sh/configure.in: ... here.
19538 * sysdeps/sh/elf/start.S: Moved to ...
19539 * sysdeps/sh/start.S: ... here.
19540 * sysdeps/sh/elf/configure: Delete file.
19542 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19543 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19544 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19545 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19546 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19547 * sysdeps/powerpc/powerpc64/start.S: here.
19548 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19549 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19550 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19551 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19552 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19554 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19555 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19556 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19557 * sysdeps/powerpc/powerpc32/start.S: ... here.
19558 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19559 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19560 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19562 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19563 * sysdeps/powerpc/ifunc-sel.h: ... here.
19564 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19565 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19567 * sysdeps/sparc/elf/configure.in: Moved to ...
19568 * sysdeps/sparc/configure.in: ... here.
19569 * sysdeps/sparc/elf/configure: Delete file.
19570 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19571 * sysdeps/sparc/sparc32/start.S: ... here.
19572 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19573 * sysdeps/sparc/sparc64/start.S: ... here.
19574 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19575 * sysdeps/sparc/sparc32/Makefile: ... this.
19576 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19577 * sysdeps/sparc/sparc64/Makefile: ... this.
19579 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19580 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19581 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19582 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19583 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19584 * sysdeps/s390/s390-32/setjmp.S: ... here.
19585 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19586 * sysdeps/s390/s390-32/configure.in: ... here.
19587 * sysdeps/s390/s390-32/elf/configure: Delete file.
19588 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19589 * sysdeps/s390/s390-32/start.S: ... here.
19591 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19592 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19593 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19594 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19595 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19596 * sysdeps/s390/s390-64/setjmp.S: ... here.
19597 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19598 * sysdeps/s390/s390-64/configure.in: ... here
19599 * sysdeps/s390/s390-64/elf/configure: Delete file.
19600 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19601 * sysdeps/s390/s390-64/start.S: ... here.
19602 * sysdeps/s390/s390-64/elf/configure: Delete.
19604 * configure.in: Remove support for elf directories in sysdeps.
19606 * configure: Regenerated.
19607 * sysdeps/i386/configure: Regenerated.
19608 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19609 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19610 * sysdeps/s390/s390-32/configure: Regenerated.
19611 * sysdeps/s390/s390-64/configure: Regenerated.
19612 * sysdeps/sh/configure: Regenerated.
19613 * sysdeps/sparc/configure: Regenerated.
19614 * sysdeps/x86_64/configure: Regenerated.
19616 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19620 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19621 denormal result into account.
19623 2012-03-25 Roland McGrath <roland@hack.frob.com>
19625 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19626 Reported by Allan McRae <allan@archlinux.org>.
19628 2012-03-23 Jeff Law <law@redhat.com>
19630 * nss/getnssent.c (__nss_getent): Fix typo.
19632 2012-03-23 David S. Miller <davem@davemloft.net>
19634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19636 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19638 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19639 to pad to uint64_t for each field.
19640 (dl_tls_index): Replace unsigned long with uint64_t.
19642 2012-03-23 Daniel Jacobowitz <dmj@google.com>
19643 Paul Pluzhnikov <ppluzhnikov@google.com>
19646 * grp/Makefile (otherlibs): Don't set it.
19647 * inet/Makefile (otherlibs): Likewise.
19648 * login/Makefile (otherlibs): Likewise.
19649 * nscd/Makefile (otherlibs): Likewise.
19650 * posix/Makefile (otherlibs): Likewise.
19651 * pwd/Makefile (otherlibs): Likewise.
19652 * rt/Makefile (otherlibs): Likewise.
19653 * sunrpc/Makefile (otherlibs): Likewise.
19654 * nss/Makefile (otherlibs): Likewise.
19655 Add libnss_files to routines and static-only-routines.
19656 ($(objpfx)getent): Remove rule.
19657 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19658 static-only-routines.
19660 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19663 * math/s_cexp.c: Include <float.h>.
19664 (__cexp): Handle exp result overflowing not necessarily
19665 overflowing both real and imaginary parts of result.
19666 * math/s_cexpf.c: Likewise.
19667 * math/s_cexpl.c: Likewise.
19668 * math/libm-test.inc (cexp_test): Add more tests.
19669 * sysdeps/i386/fpu/libm-test-ulps: Update.
19670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19672 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19674 * include/link.h (ELFW): New macro.
19675 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19676 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19678 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19680 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19683 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19685 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19687 (struct La_x32_retval): Likewise.
19689 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19691 * sysdeps/x86_64/preconfigure.in: New file.
19692 * sysdeps/x86_64/preconfigure: New generated file.
19694 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19697 * math/e_exp2l.c: Include <float.h>.
19698 (__ieee754_exp2l): Handle overflow and underflow cases
19699 separately. Only pass fractional part of argument to
19701 * math/libm-test.inc (exp2_test): Add more tests.
19703 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19704 negating x to take absolute value.
19705 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19707 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19708 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19710 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19711 computing low part if x was negated.
19712 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19714 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19716 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19717 la_x32_gnu_pltexit.
19718 (pltexit): Cast int_retval to ptrdiff_t.
19719 * elf/tst-auditmod3b.c: Likewise.
19720 * elf/tst-auditmod4b.c: Likewise.
19721 * elf/tst-auditmod5b.c: Likewise.
19722 * elf/tst-auditmod6b.c: Likewise.
19723 * elf/tst-auditmod6c.c: Likewise.
19724 * elf/tst-auditmod7b.c: Likewise.
19726 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19727 and x32_gnu_pltexit.
19729 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19730 __ELF_NATIVE_CLASS.
19731 (La_x32_regs): New macro.
19732 (La_x32_retval): Likewise.
19733 (la_x32_gnu_pltenter): New function prototype.
19734 (la_x32_gnu_pltexit): Likewise.
19736 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19738 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19743 * configure.in (libc_cv_cc_nofma): Check for option to disable
19744 generation of FMA instructions.
19745 * configure: Regenerate.
19746 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19747 * sysdeps/ieee754/dbl-64/Makefile: New file.
19748 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19749 Remove brandred-fma4.
19750 (CFLAGS-brandred-fma4.c): Remove.
19751 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19752 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19754 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19757 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19759 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19760 LLONG_MAX != LONG_MAX.
19761 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19762 (_fitoa_word): Likewise.
19763 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19764 LLONG_MAX != LONG_MAX.
19765 * stdio-common/_itowa.h: Include <_itoa.h>.
19766 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19767 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19768 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19769 only if not defined.
19770 (_ITOA_WORD_TYPE): Likewise.
19771 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19772 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19774 2012-03-21 David S. Miller <davem@davemloft.net>
19776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19778 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19780 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19781 of x86_64 when setting libc_cv_slibdir, libdir and
19783 * sysdeps/unix/sysv/linux/configure: Regenerated.
19785 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19787 * manual/lang.texi (Old Varargs): Remove section.
19788 (How Variadic): Update menu.
19789 (va_start): Do not mention varargs.h.
19791 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19792 Joseph Myers <joseph@codesourcery.com>
19794 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19796 * configure: Regenerated.
19798 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19800 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19801 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19804 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19807 * Makefile (files-for-dist): Remove NOTES.
19808 (NOTES): Remove rule.
19809 * README: Don't refer to NOTES.
19810 * manual/creature.texi: Don't include macros.texi.
19811 * manual/intro.texi (creature.texi): Remove comment referring to
19814 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19815 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19816 * configure: Regenerated.
19817 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19818 LIBC_TRY_CC_OPTION.
19819 (libc_cv_as_i686): Likewise.
19820 (libc_cv_cc_avx): Likewise.
19821 (libc_cv_cc_sse2avx): Likewise.
19822 (libc_cv_cc_fma4): Likewise.
19823 (libc_cv_cc_novzeroupper): Likewise.
19824 * sysdeps/i386/configure: Regenerated.
19827 * sysdeps/i386/fpu/s_cexp.S: Remove.
19828 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19829 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19830 * math/libm-test.inc (cexp_test): Add more tests.
19831 * sysdeps/i386/fpu/libm-test-ulps: Update.
19832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19834 2012-03-21 Allan McRae <allan@archlinux.org>
19836 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19838 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19841 * math/w_exp2.c: Do not include <float.h>.
19842 (o_threshold, u_threshold): Remove.
19843 (__exp2): Calculate result before checking finiteness and calling
19845 * math/w_exp2f.c: Likewise.
19846 * math/w_exp2l.c: Likewise.
19847 * math/libm-test.inc (exp2_test): Require overflow exception for
19851 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19852 range of signed 64-bit integers before using fistpll. Remove
19853 checks for whether integers fit in mantissa bits.
19854 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19855 the range of signed 32-bit integers before using fistpl. Remove
19856 checks for whether integers fit in mantissa bits.
19857 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19858 (__ieee754_powl): Test for y outside the range of signed 64-bit
19859 integers before using fistpll. Reduce 64-bit values to 63-bit
19861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19862 divide-by-zero is raised for zero to large negative powers.
19863 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19864 (__ieee754_powl): Test for y outside the range of signed 64-bit
19865 integers before using fistpll. Reduce 64-bit values to 63-bit
19867 * math/libm-test.inc (pow_test): Add more tests.
19869 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19871 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19872 <stdio-common/_itoa.h>.
19873 * debug/segfault.c: Likewise.
19874 * elf/dl-cache.c: Likewise.
19875 * elf/dl-minimal.c: Likewise.
19876 * elf/dl-misc.c: Likewise.
19877 * elf/dl-sysdep.c: Likewise.
19878 * elf/dl-version.c: Likewise.
19879 * elf/rtld.c: Likewise.
19880 * hurd/hurdsock.c: Likewise.
19881 * hurd/lookup-retry.c: Likewise.
19882 * malloc/malloc.c: Likewise.
19883 * malloc/mtrace.c: Likewise.
19884 * nscd/nscd_getgr_r.c: Likewise.
19885 * nscd/nscd_getpw_r.c: Likewise.
19886 * nscd/nscd_getserv_r.c: Likewise.
19887 * posix/getopt_init.c: Likewise.
19888 * posix/wordexp.c: Likewise.
19889 * stdio-common/_itoa.c: Likewise.
19890 * stdio-common/printf_fphex.c: Likewise.
19891 * stdio-common/vfprintf.c: Likewise.
19892 * string/_strerror.c: Likewise.
19893 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19894 * sysdeps/i386/i686/hp-timing.h: Likewise.
19895 * sysdeps/mach/_strerror.c: Likewise.
19896 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19897 * sysdeps/mach/hurd/sethostid.c: Likewise.
19898 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19899 * sysdeps/mach/xpg-strerror.c: Likewise.
19900 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19901 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19902 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19903 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19904 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19905 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19906 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19907 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19908 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19909 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19910 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19911 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19912 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19913 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19914 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19915 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19916 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19917 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19918 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19919 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19920 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19922 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19924 * stdio-common/_itoa.h: Moved to ...
19925 * sysdeps/generic/_itoa.h: Here.
19927 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19929 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19930 instead of "_itoa.h" and "_itowa.h".
19931 * stdio-common/vfprintf.: Likewise.
19933 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19935 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19937 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19938 (__signbit): Likwise.
19939 (llrintf): Likwise.
19942 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19944 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19947 2012-03-20 Joseph Myers <joseph@codesourcery.com>
19949 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19950 OVERFLOW_EXCEPTION_OK.
19951 * math/libm-test.inc ("Philosophy"): Update comment about
19953 (OVERFLOW_EXCEPTION): Define.
19954 (OVERFLOW_EXCEPTION_OK): Likewise.
19955 (INVALID_EXCEPTION_OK): Renumber.
19956 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19957 (IGNORE_ZERO_INF_SIGN): Likewise.
19958 (test_exceptions): Handle FE_OVERFLOW.
19959 (exp10_test): Expect overflow exceptions.
19960 (exp2_test): Likewise.
19961 (expm1_test): Likewise.
19962 (nextafter_test): Likewise.
19963 (pow_test): Likewise.
19964 (scalbn_test): Likewise.
19965 (scalbln_test): Likewise.
19967 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19969 * sysdeps/x86_64/bits/atomic.h
19970 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19972 (atomic_exchange_acq): Likewise.
19973 (__arch_exchange_and_add_body): Likewise.
19974 (__arch_add_body): Likewise.
19975 (atomic_add_negative): Likewise.
19976 (atomic_add_zero): Likewise.
19978 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19980 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
19981 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19983 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19985 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19986 Check __x86_64__ instead of __WORDSIZE.
19988 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19990 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19992 2012-03-19 David S. Miller <davem@davemloft.net>
19994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19996 * sysdeps/sparc/fpu/fenv_private.h: New file.
19997 * sysdeps/sparc/fpu/math_private.h: Use it.
19998 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20000 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20001 (libc_feholdexcept_setroundl): Remove.
20002 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20004 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20005 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20007 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20009 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20010 int64_t instead of long int.
20011 (INSERT_WORDS64): Likwise.
20013 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20015 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20016 _Unwind_GetCFA return to _Unwind_Ptr first.
20018 2012-03-19 Joseph Myers <joseph@codesourcery.com>
20021 * math/s_clog.c: Include <float.h>.
20022 (__clog): Scale large or subnormal inputs.
20023 * math/s_clogf.c: Likewise.
20024 * math/s_clogl.c: Likewise.
20025 * math/s_clog10.c: Include <float.h>.
20026 (M_LOG10_2): Define.
20027 (__clog10): Scale large or subnormal inputs.
20028 * math/s_clog10f.c: Likewise.
20029 * math/s_clog10l.c: Likewise.
20030 * math/libm-test.inc (clog_test): Add more tests.
20031 (clog10_test): Likewise.
20032 * sysdeps/i386/fpu/libm-test-ulps: Update.
20033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20036 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20038 * math/libm-test.inc (atan2_test): Add another test.
20040 * Makerules (common-objdir-compile): Remove.
20041 * sysdeps/unix/Makefile (config-generated): Do not add
20042 $(unix-generated) to variable.
20043 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20044 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20046 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20048 [generic bits/local_lim.h] (before-compile): Do not append to
20050 [generic bits/local_lim.h] (common-generated): Likewise.
20051 [generic sys/param.h] (before-compile): Do not append to variable.
20052 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20053 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20054 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20055 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20057 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20058 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20059 [generic sys/param.h] ($(addprefix
20060 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20061 [generic sys/param.h] (common-generated): Do not append to
20063 [generic sys/param.h] (sysdep_headers): Likewise.
20064 [generic bits/errno.h] (before-compile): Do not append to
20066 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20068 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20069 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20070 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20071 [generic bits/errno.h] (common-generated): Do not append to
20073 [generic bits/ioctls.h] (before-compile): Do not append to
20075 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20077 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20078 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20079 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20081 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20082 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20083 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20084 [generic bits/ioctls.h] (common-generated): Do not append to
20086 [generic sys/syscall.h] (syscall.h): Remove variable.
20087 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20089 [generic sys/syscall.h] (before-compile): Do not append to
20091 [generic sys/syscall.h] (common-generated): Likewise.
20092 * sysdeps/unix/errnos-tmpl.c: Remove file.
20093 * sysdeps/unix/errnos.awk: Likewise.
20094 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20095 * sysdeps/unix/ioctls.awk: Likewise.
20096 * sysdeps/unix/mk-local_lim.c: Likewise.
20097 * sysdeps/unix/snarf-ioctls: Likewise.
20099 2012-03-19 Richard Henderson <rth@twiddle.net>
20101 * sysdeps/i386/fpu/fenv_private.h: New file.
20102 * sysdeps/i386/fpu/math_private.h: Use it.
20103 (math_opt_barrier, math_force_eval): Remove.
20104 (libc_feholdexcept_setround_53bit): Remove.
20105 (libc_feupdateenv_53bit): Remove.
20106 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20107 (math_opt_barrier, math_force_eval): Remove.
20108 (libc_feholdexcept): Remove.
20109 (libc_feholdexcept_setround): Remove.
20110 (libc_fetestexcept, libc_fesetenv): Remove.
20111 (libc_feupdateenv_test): Remove.
20112 (libc_feupdateenv, libc_feholdsetround): Remove.
20113 (libc_feresetround): Remove.
20115 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20116 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20118 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20119 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20120 (libc_feupdateenv_testl): New.
20121 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20122 (libc_feupdateenv_testf): New.
20123 (libc_feupdateenv): Use libc_feupdateenv_test.
20124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20125 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20127 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20128 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20129 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20130 (libc_feresetround_noex): New.
20131 (libc_feresetround_noexf): New.
20132 (libc_feresetround_noexl): New.
20133 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20134 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20135 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20136 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20139 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20141 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20142 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20143 SET_RESTORE_ROUND_NOEX.
20144 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20145 SET_RESTORE_ROUND_NOEXF.
20146 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20147 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20148 (libc_feholdsetroundf): New.
20149 (libc_feresetround, libc_feresetroundf): New.
20151 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20152 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20153 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20155 * sysdeps/generic/math_private.h: Include <fenv.h>.
20156 (default_libc_feholdexcept): New.
20157 (default_libc_feholdexcept_setround): New.
20158 (default_libc_fesetenv, default_libc_feupdateenv): New.
20159 (libc_feholdexcept): Only define if undefined.
20160 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20161 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20162 (libc_feholdexcept_setroundl): Likewise.
20163 (libc_feholdexcept_setround_53bit): Likewise.
20164 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20165 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20166 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20167 (libc_feupdateenv_53bit): Likewise.
20168 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20169 (libc_feholdexcept): Convert from macro to inline function.
20170 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20171 (libc_fesetenv, libc_feupdateenv): Likewise.
20173 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20174 not previously defined.
20175 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20176 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20177 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20178 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20179 * sysdeps/ieee754/flt-32/math_private.h: New file.
20180 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20181 math_private.h below SET_FLOAT_WORD.
20182 (__isnan, __isinf_ns, __finite): Remove.
20183 (__isnanf, __isinf_nsf, __finitef): Remove.
20185 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20189 2012-03-17 David S. Miller <davem@davemloft.net>
20192 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20195 2012-03-16 David S. Miller <davem@davemloft.net>
20197 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20201 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20203 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20204 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20205 sysdep_routines when subdir is sysvipc.
20206 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20207 __getshmlba helper.
20209 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20211 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20213 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20216 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20218 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20219 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20220 (__lround): Renamed to ...
20221 (__llround): This. Replace long int with long long int.
20222 Define lround functions as aliases of llround functions.
20223 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20225 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20227 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20228 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20229 adresses to uintptr_t. Replace "long int" and "unsigned long
20230 int" with "greg_t" on va_arg.
20232 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20234 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20235 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20237 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20238 Move e_machine check before EI_CLASS check. Handle x32
20239 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20240 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20241 SKIP_EM_IA_64 and include
20242 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20244 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20245 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20246 (add_system_dir): New macro.
20248 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20249 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20251 2012-03-16 Joseph Myers <joseph@codesourcery.com>
20262 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20264 * math/w_j0f.c (j0f): Likewise.
20266 * math/w_j0l.c (__j0l): Likewise.
20268 * math/w_j1.c (j1): Likewise.
20270 * math/w_j1f.c (j1f): Likewise.
20272 * math/w_j1l.c (__j1l): Likewise.
20274 * math/w_jn.c (jn): Likewise.
20276 * math/w_jnf.c (jnf): Likewise.
20278 * math/w_jnl.c (__jnl): Likewise.
20280 * math/libm-test.inc (j0_test): Add more tests.
20281 (j1_test): Likewise.
20282 (jn_test): Likewise. Add trailing semicolon to existing test.
20283 (y0_test): Likewise.
20284 (y1_test): Likewise.
20285 * sysdeps/i386/fpu/libm-test-ulps: Update.
20286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20290 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20291 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20292 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20293 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20294 (__tanl): Set errno for infinite argument.
20295 * sysdeps/i386/fpu/mptan.c: Remove.
20296 * sysdeps/i386/fpu/s_tan.S: Likewise.
20297 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20298 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20299 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20300 * math/libm-test.inc (tan_test): Add more tests and enable more
20301 tests for double and long double.
20302 * sysdeps/i386/fpu/libm-test-ulps: Update.
20303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20305 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20307 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20308 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20310 2012-03-16 Roland McGrath <roland@hack.frob.com>
20312 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20313 * configure.in: Use it for both main tree and add-ons.
20314 * configure: Regenerated.
20316 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20318 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20320 2012-03-16 Joseph Myers <joseph@codesourcery.com>
20322 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20326 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20327 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20328 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20329 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20330 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20332 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20333 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20334 != 0 for prec == 2.
20335 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20336 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20337 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20338 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20339 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20340 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20341 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20342 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20343 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20344 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20345 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20346 * math/libm-test.inc (cos_test): Add more tests and enable more
20347 tests for long double.
20348 (sin_test): Likewise.
20349 (sincos_test): Likewise.
20350 * sysdeps/i386/fpu/libm-test-ulps: Update.
20351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20353 2012-03-16 David S. Miller <davem@davemloft.net>
20355 * sysdeps/sparc/fpu/math_private.h: New file.
20357 2012-03-15 David S. Miller <davem@davemloft.net>
20359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
20362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20369 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20373 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20374 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20376 * sysdeps/sparc/sparc-ifunc.h: New file.
20377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
20393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20403 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20404 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20411 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20415 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20417 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20419 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20422 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20424 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20428 2012-03-15 Andreas Jaeger <aj@suse.de>
20431 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20432 ieee754/flt-32 implementation for sin, cos and sincos.
20433 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20434 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20435 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20436 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20437 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20438 ieee754/flt-32 implementation for tan.
20440 * math/libm-test.inc (cos_test): Enable some large input tests for
20442 (sin_test): Likewise.
20443 (sincos_test): Likewise.
20444 (tan_test): Add tests for large input.
20446 * sysdeps/i386/fpu/libm-test-ulps: Update.
20448 2012-03-15 Andreas Jaeger <aj@suse.de>
20451 * math/libm-test.inc (cos_test): Add more test cases.
20452 (sin_test): Likewise.
20453 (sincos_test): Likewise.
20455 2012-03-15 Andreas Jaeger <aj@suse.de>
20458 * math/libm-test.inc (cos_test): Add a test case for large input
20460 (sin_test): Likewise.
20461 (sincos_test): Likewise.
20463 2012-03-15 Andreas Jaeger <aj@suse.de>,
20464 Joseph Myers <joseph@codesourcery.com>
20467 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
20468 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20469 * sysdeps/i386/fpu/branred.c: Likewise.
20470 * sysdeps/i386/fpu/dosincos.c: Likewise.
20471 * sysdeps/i386/fpu/mpa.c: Likewise.
20472 * sysdeps/i386/fpu/s_cos.S: Likewise.
20473 * sysdeps/i386/fpu/s_sin.S: Likewise.
20474 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20475 * sysdeps/i386/fpu/sincos32.c: Likewise.
20477 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20479 (libc_feupdateenv_53bit): Define.
20480 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20482 (libc_feupdateenv_53bit): Define.
20484 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20485 53 bit (without extend i386 double precision).
20487 * math/libm-test.inc (sincos_test): Add tests for large input.
20491 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20493 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20497 2012-03-15 David S. Miller <davem@davemloft.net>
20499 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20500 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20501 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20502 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
20514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
20517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
20520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
20523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20526 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20527 fmin/fmax sysdep routines.
20528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20530 2012-03-14 David S. Miller <davem@davemloft.net>
20532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20536 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20537 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20538 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20552 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20554 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20556 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
20560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
20565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
20568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
20571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
20574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
20577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
20592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
20595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
20598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
20601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20604 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20609 * sysdeps/sparc/configure.in: New file.
20610 * sysdeps/sparc/configure: Generate.
20611 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20612 * configure: Regenerate.
20613 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20614 * config.make.in (have-as-vis3): New.
20615 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20616 available use -Av9d instead of -Av9a.
20617 * sysdeps/sparc/sparc64/Makefile: Likewise.
20618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20628 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20633 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20634 fzeros/fnegs to load 0x80000000 into a float register instead of
20636 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20638 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20642 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20643 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20644 ($(inst_includedir)/bits/syscall.h): Remove rule.
20645 ($(objpfx)bits/syscall.d): Include instead of
20646 $(objpfx)syscall-list.d.
20647 (generated): Change syscall-list.h and syscall-list.d to
20648 bits/syscall.h and bits/syscall.d.
20650 2012-03-14 Roland McGrath <roland@hack.frob.com>
20653 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20655 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20658 * math/s_csqrt.c: Include <float.h>.
20659 (__csqrt): Scale large or subnormal inputs.
20660 * math/s_csqrtf.c: Likewise.
20661 * math/s_csqrtl.c: Likewise.
20662 * math/libm-test.inc (csqrt_test): Add more tests.
20663 * sysdeps/i386/fpu/libm-test-ulps: Update.
20664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20667 * math/libm-test.inc (hypot_test): Add more tests.
20669 2012-03-13 David S. Miller <davem@davemloft.net>
20672 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20673 double-precision for the calculation instead of scaling.
20675 2012-03-13 Joseph Myers <joseph@codesourcery.com>
20677 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20678 manipulate bits before adding and subtracting TWO52[sx].
20679 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20680 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20682 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20684 2012-03-13 David S. Miller <davem@davemloft.net>
20686 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20687 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20689 rtld-global-offsets.h
20690 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20692 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20695 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20697 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20698 'err' in the ifdef scope in which it is actually used.
20700 * nss/nss_db/db-init.c: Include string.h
20702 2012-03-12 David S. Miller <davem@davemloft.net>
20704 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20705 masking out of the most significant byte of random value used.
20706 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20707 Fix coding style in previous change.
20709 * sysdeps/unix/sysv/linux/kernel-features.h
20710 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20711 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20713 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20716 2012-03-11 David S. Miller <davem@davemloft.net>
20718 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20719 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20720 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20721 for 'resultvar' otherwise things get truncated on 64-bit.
20723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20724 Fix masking out of the most significant byte of random value used.
20726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20728 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20732 2012-03-09 David S. Miller <davem@davemloft.net>
20734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20735 variables with appropriate CPP guards.
20736 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20737 frame pointer, not the stack pointer. Correct layout comments. Fix test
20738 on resulting framesize and the management of the outregs buffer for pltexit.
20739 Preserve floating point return values across _dl_call_pltexit call.
20740 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20741 framesize and the management of the outregs buffer for pltexit.
20742 Preserve floating point return values across _dl_call_pltexit
20744 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20745 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20746 (print_exit): Fix format string for return register value.
20748 2012-03-10 Joseph Myers <joseph@codesourcery.com>
20750 * sunrpc/Makefile (others): Add rpcgen.
20751 ($(objpfx)rpcgen): Remove special build rule and dependency on
20753 * sunrpc/rpcgen.c: New file.
20755 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20758 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20759 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20760 * sysdeps/i386/crti.S: Likewise.
20761 * sysdeps/i386/crtn.S: Likewise.
20762 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20763 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20764 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20765 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20766 * sysdeps/sh/crti.S: Likewise.
20767 * sysdeps/sh/crtn.S: Likewise.
20768 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20771 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20773 * locale/programs/locfile-kw.gperf: Likewise.
20774 * locale/programs/charmap-kw.h: Regenerated.
20775 * locale/programs/locfile-kw.h: Likewise.
20778 * intl/plural.y: Replace FSF snail mail address with URL.
20779 * intl/plural.c: Regenerated.
20781 2012-03-09 Richard Henderson <rth@twiddle.net>
20783 * include/math_private.h: Remove file.
20784 * math/math_private.h: Move file ...
20785 * sysdeps/generic/math_private.h: ... here.
20787 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20788 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20789 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20791 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
20792 and <math_private.h>.
20793 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20794 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20795 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20796 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20797 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20799 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20801 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20802 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20806 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20817 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20818 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20819 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20820 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20823 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20825 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20826 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20830 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20831 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20832 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20833 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20835 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20836 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20837 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20838 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20860 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20861 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20863 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20864 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20865 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20866 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20867 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20870 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20871 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20872 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20873 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20874 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20875 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20876 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20877 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20878 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20880 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20881 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20882 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20883 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20884 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20885 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20886 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20887 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20888 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20889 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20890 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20891 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20892 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20893 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20894 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20895 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20896 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20897 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20898 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20899 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20900 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20901 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20902 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20903 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20904 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20905 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20906 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20907 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20908 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20909 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20910 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20911 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20912 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20913 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20914 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20915 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20916 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20917 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20918 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20919 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20920 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20921 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20922 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20923 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20924 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20925 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20926 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20927 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20928 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20929 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20930 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20931 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20932 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20933 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20934 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20935 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20936 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20937 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20938 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20939 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20940 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20941 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20942 * sysdeps/ieee754/k_standard.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20948 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20949 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20950 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20952 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20953 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20956 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21034 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21036 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21044 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21046 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21047 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21048 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21049 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21051 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21052 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21053 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21054 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21056 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21057 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21058 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21059 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21060 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21061 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21062 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21063 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21064 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21065 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21066 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21067 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21068 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21069 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21070 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21075 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21076 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21081 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21082 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21083 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21084 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21086 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21087 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21088 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21089 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21090 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21091 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21092 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21093 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21094 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21095 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21096 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21097 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21098 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21099 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21100 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21101 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21102 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21103 * sysdeps/ieee754/s_lib_version.c: Likewise.
21104 * sysdeps/ieee754/s_matherr.c: Likewise.
21105 * sysdeps/ieee754/s_signgam.c: Likewise.
21106 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21107 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21108 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21109 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21110 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21111 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21112 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21113 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21114 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21115 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21116 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21117 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21118 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21119 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21120 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21121 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21122 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21123 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21124 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21125 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21128 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21130 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21131 * sunrpc/rpc_main.c: Likewise.
21132 * sunrpc/rpc_svcout.c: Likewise.
21134 2012-03-09 David S. Miller <davem@davemloft.net>
21136 * include/math_private.h: New file.
21138 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21140 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21141 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21142 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21143 from <bits/socket_type.h>.
21144 (enum __socket_type): Don't define here.
21145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21147 bits/socket_type.h.
21150 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21151 checking __USE_GNU.
21153 * Makerules ($(inst_includedir)/%.h): New rule.
21154 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21155 (install-others): Remove variable setting.
21156 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21158 2012-03-08 Richard Henderson <rth@twiddle.net>
21160 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21161 from macro to inline function; merge with the
21162 !__LIBC_INTERNAL_MATH_INLINES version.
21163 (__ieee754_sqrtf): Likewise.
21165 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21166 to inline function.
21167 (__rintf, __floor, __floorf): Likewise.
21169 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21170 macro to inline function.
21171 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21173 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21174 not <math/math_private.h>.
21176 2012-03-08 David S. Miller <davem@davemloft.net>
21178 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21180 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21182 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21184 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21186 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21187 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21189 2012-03-08 Ulrich Drepper <drepper@gmail.com>
21191 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21192 be defined individually, they must be defined as a block. Define
21193 S for printing a string instead of hidint the different by using a
21194 macro for adding the 'l'.
21195 * stdio-common/tst-fphex-wide.c: Adjust.
21197 2012-03-07 Marek Polacek <polacek@redhat.com>
21199 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21201 2012-03-08 Marek Polacek <polacek@redhat.com>
21204 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21205 * stdio-common/tst-fphex.c: Define a few macros to make the
21206 test reusable. Use them.
21207 * stdio-common/tst-fphex-wide.c: New file.
21209 2012-03-08 Joseph Myers <joseph@codesourcery.com>
21212 * manual/macros.texi (gnusystems): New macro.
21213 (nongnusystems): Likewise.
21214 (gnulinuxhurdsystems): Likewise.
21215 (gnuhurdsystems): Likewise..
21216 (gnulinuxsystems): Likewise.
21217 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21218 variants of the GNU system, not "GNU system".
21219 * manual/conf.texi: Likewise.
21220 * manual/errno.texi: Likewise. Update example of errno macro
21222 * manual/filesys.texi: Likewise.
21223 (getumask): Document as specific to GNU/Hurd.
21224 * manual/install.texi: Likewise. Reword some references to
21226 * manual/intro.texi: Likewise.
21227 * manual/io.texi: Likewise.
21228 (File Name Portability): Detail which constraints are inapplicable
21229 to all GNU systems and which are only inapplicable to GNU/Hurd.
21230 * manual/job.texi: Likewise.
21231 * manual/llio.texi: Likewise.
21232 (O_NOCTTY): Document as present on GNU/Linux.
21233 * manual/maint.texi: Likewise.
21234 * manual/memory.texi: Likewise.
21235 * manual/pattern.texi: Likewise.
21236 * manual/pipe.texi: Likewise.
21237 * manual/process.texi: Likewise.
21238 * manual/resource.texi: Likewise.
21239 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21241 * manual/setjmp.texi: Likewise.
21242 * manual/signal.texi: Likewise.
21243 * manual/startup.texi: Likewise.
21244 * manual/stdio.texi: Likewise.
21245 * manual/terminal.texi: Likewise.
21246 (ONLCR): Document as POSIX.
21247 (OXTABS): Document availability on GNU/Linux as XTABS.
21248 (ONOEOT): Document availability separately from other bits.
21249 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21250 * manual/time.texi: Likewise.
21251 * manual/users.texi: Likewise.
21252 * INSTALL: Regenerated.
21253 * sysdeps/gnu/errlist.c: Regenerated.
21255 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21256 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21257 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21259 * configure: Regenerated.
21261 2012-03-07 Joseph Myers <joseph@codesourcery.com>
21263 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21264 default includes instead of AC_HEADER_CHECK.
21265 * sysdeps/i386/configure: Regenerated.
21268 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21269 * math/s_cacoshf.c (__cacoshf): Likewise.
21270 * math/s_cacoshl.c (__cacoshl): Likewise.
21271 * math/s_casinh.c (__casinh): Set signs of result from argument.
21272 * math/s_casinhf.c (__casinhf): Likewise.
21273 * math/s_casinhl.c (__casinhl): Likewise.
21274 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21275 (casinh_test): Add more tests.
21276 * sysdeps/i386/fpu/libm-test-ulps: Update.
21277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21279 2012-03-07 Ulrich Drepper <drepper@gmail.com>
21281 * po/zh_TW.po: Update from translation team.
21283 * login/Makefile (distribute): Remove variable.
21284 * catgets/Makefile: Likewise.
21285 * mach/Makefile: Likewise.
21286 * malloc/Makefile: Likewise.
21287 * misc/Makefile: Likewise.
21288 * iconv/Makefile: Likewise.
21289 * nscd/Makefile: Likewise.
21290 * hurd/Makefile: Likewise.
21291 * manual/Makefile: Likewise.
21292 * locale/Makefile: Likewise.
21293 * intl/Makefile: Likewise.
21294 * conform/Makefile: Likewise.
21295 * nss/Makefile: Likewise.
21296 * time/Makefile: Likewise.
21297 * soft-fp/Makefile: Likewise.
21298 * dirent/Makefile: Likewise.
21299 * gmon/Makefile: Likewise.
21300 * po/Makefile: Likewise.
21301 * rt/Makefile: Likewise.
21302 * socket/Makefile: Likewise.
21303 * math/Makefile: Likewise.
21304 * signal/Makefile: Likewise.
21305 * debug/Makefile: Likewise.
21306 * elf/Makefile: Likewise.
21307 * timezone/Makefile: Likewise.
21308 * stdlib/Makefile: Likewise.
21309 * iconvdata/Makefile: Likewise.
21310 * sunrpc/Makefile: Likewise.
21311 * io/Makefile: Likewise.
21312 * argp/Makefile: Likewise.
21313 * inet/Makefile: Likewise.
21314 * hesiod/Makefile: Likewise.
21315 * grp/Makefile: Likewise.
21316 * csu/Makefile: Likewise.
21317 * wctype/Makefile: Likewise.
21318 * crypt/Makefile: Likewise.
21319 * libio/Makefile: Likewise.
21320 * string/Makefile: Likewise.
21321 * nis/Makefile: Likewise.
21322 * resolv/Makefile: Likewise.
21323 * stdio-common/Makefile: Likewise.
21324 * wcsmbs/Makefile: Likewise.
21325 * dlfcn/Makefile: Likewise.
21326 * posix/Makefile: Likewise.
21329 * timezone/Makefile: Don't install timezone files, just the programs
21332 2012-03-06 Ulrich Drepper <drepper@gmail.com>
21334 * nss/databases.def: Add missing gshadow entry.
21336 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21338 2012-03-06 Marek Polacek <polacek@redhat.com>
21341 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21342 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21343 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21344 * stdio-common/tst-long-dbl-fphex.c: New file.
21346 2012-03-06 David S. Miller <davem@davemloft.net>
21348 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21349 (set_obp_int): New function.
21350 (get_obp_int): New function.
21351 (__get_clockfreq_via_dev_openprom): Likewise.
21352 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21353 Avoid unused variable warnings on 'val' and use builtin_expect.
21354 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21356 (INLINE_CLONE_SYSCALL): Likewise.
21358 2012-03-05 David S. Miller <davem@davemloft.net>
21360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21362 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21366 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21367 only for |x| >= 40.
21368 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21370 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
21372 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21373 Replace gettimeofday with __vdso_gettimeofday.
21375 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21376 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21377 __vdso_clock_gettime and __vdso_getcpu.
21379 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21380 time with __vdso_time.
21382 2012-03-05 Joseph Myers <joseph@codesourcery.com>
21384 * manual/lang.texi (size_t): Note types to which size_t may be
21385 equivalent with the GNU C Library, but do not describe when
21386 differences between them are significant.
21388 2012-03-05 Andreas Jaeger <aj@suse.de>
21390 * sysdeps/i386/fpu/libm-test-ulps: Update.
21392 2012-03-05 Joseph Myers <joseph@codesourcery.com>
21395 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21396 (__ieee754_pow): Save and restore rounding mode and use
21397 round-to-nearest for main computations.
21398 * math/libm-test.inc (pow_test_tonearest): New function.
21399 (pow_test_towardzero): Likewise.
21400 (pow_test_downward): Likewise.
21401 (pow_test_upward): Likewise.
21402 (main): Call the new functions.
21403 * sysdeps/i386/fpu/libm-test-ulps: Update.
21404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21407 * math/libm-test.inc (cosh_test_tonearest): New function.
21408 (cosh_test_towardzero): Likewise.
21409 (cosh_test_downward): Likewise.
21410 (cosh_test_upward): Likewise.
21411 (sinh_test_tonearest): Likewise.
21412 (sinh_test_towardzero): Likewise.
21413 (sinh_test_downward): Likewise.
21414 (sinh_test_upward): Likewise.
21415 (main): Call the new functions.
21416 * sysdeps/i386/fpu/libm-test-ulps: Update.
21417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21419 2012-03-05 Tom de Vries <tom@codesourcery.com>
21421 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21422 default stack guard is set in last bytes.
21423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21425 2012-03-05 Kees Cook <keescook@chromium.org>
21427 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
21430 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21431 possibly allocate from heap instead of stack.
21432 * stdio-common/bug-vfprintf-nargs.c: New file.
21433 * stdio-common/Makefile (tests): Add nargs overflow test.
21435 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21439 2012-03-03 Marek Polacek <polacek@redhat.com>
21441 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21442 * math/math_private.h: Likewise.
21443 * stdlib/tst-strtod.c: Likewise.
21444 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21445 * sysdeps/x86_64/bits/atomic.h: Likewise.
21447 2012-03-02 David S. Miller <davem@davemloft.net>
21449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21453 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21454 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21455 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21456 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21458 2012-03-02 Roland McGrath <roland@hack.frob.com>
21461 * manual/examples/README: New file, says the example source files
21462 can be used under GPL>=2.
21463 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21464 line containing just "*/".
21465 * manual/examples/add.c: Add copyright header (GPL>=2).
21466 * manual/examples/argp-ex1.c: Likewise.
21467 * manual/examples/argp-ex2.c: Likewise.
21468 * manual/examples/argp-ex3.c: Likewise.
21469 * manual/examples/argp-ex4.c: Likewise.
21470 * manual/examples/atexit.c: Likewise.
21471 * manual/examples/db.c: Likewise.
21472 * manual/examples/dir.c: Likewise.
21473 * manual/examples/dir2.c: Likewise.
21474 * manual/examples/execinfo.c: Likewise.
21475 * manual/examples/filecli.c: Likewise.
21476 * manual/examples/filesrv.c: Likewise.
21477 * manual/examples/fmtmsgexpl.c: Likewise.
21478 * manual/examples/genpass.c: Likewise.
21479 * manual/examples/inetcli.c: Likewise.
21480 * manual/examples/inetsrv.c: Likewise.
21481 * manual/examples/isockad.c: Likewise.
21482 * manual/examples/longopt.c: Likewise.
21483 * manual/examples/memopen.c: Likewise.
21484 * manual/examples/memstrm.c: Likewise.
21485 * manual/examples/mkfsock.c: Likewise.
21486 * manual/examples/mkisock.c: Likewise.
21487 * manual/examples/mygetpass.c: Likewise.
21488 * manual/examples/pipe.c: Likewise.
21489 * manual/examples/popen.c: Likewise.
21490 * manual/examples/rprintf.c: Likewise.
21491 * manual/examples/search.c: Likewise.
21492 * manual/examples/select.c: Likewise.
21493 * manual/examples/setjmp.c: Likewise.
21494 * manual/examples/sigh1.c: Likewise.
21495 * manual/examples/sigusr.c: Likewise.
21496 * manual/examples/stpcpy.c: Likewise.
21497 * manual/examples/strdupa.c: Likewise.
21498 * manual/examples/strftim.c: Likewise.
21499 * manual/examples/strncat.c: Likewise.
21500 * manual/examples/subopt.c: Likewise.
21501 * manual/examples/swapcontext.c: Likewise.
21502 * manual/examples/termios.c: Likewise.
21503 * manual/examples/testopt.c: Likewise.
21504 * manual/examples/testpass.c: Likewise.
21505 * manual/examples/timeval_subtract.c: Likewise.
21508 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21510 * manual/timeval_subtract.c.texi: ... here, new file.
21512 2012-03-02 David S. Miller <davem@davemloft.net>
21514 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21516 2012-03-02 Joseph Myers <joseph@codesourcery.com>
21519 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21520 (__sin): Save and restore rounding mode and use round-to-nearest
21521 for all computations.
21522 (__cos): Save and restore rounding mode and use round-to-nearest
21523 for all computations.
21524 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21526 (tan): Save and restore rounding mode and use round-to-nearest for
21528 * math/libm-test.inc (cos_test_tonearest): New function.
21529 (cos_test_towardzero): Likewise.
21530 (cos_test_downward): Likewise.
21531 (cos_test_upward): Likewise.
21532 (sin_test_tonearest): Likewise.
21533 (sin_test_towardzero): Likewise.
21534 (sin_test_downward): Likewise.
21535 (sin_test_upward): Likewise.
21536 (tan_test_tonearest): Likewise.
21537 (tan_test_towardzero): Likewise.
21538 (tan_test_downward): Likewise.
21539 (tan_test_upward): Likewise.
21540 (main): Call the new functions.
21541 * sysdeps/i386/fpu/libm-test-ulps: Update.
21542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21545 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21546 small n, then large n, before computing and testing k+n.
21547 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21548 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21552 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21553 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21554 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21555 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21556 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21557 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21558 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21559 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21560 * math/libm-test.inc (scalbn_test): Add more tests.
21561 (scalbln_test): Likewise.
21563 * manual/filesys.texi (mode_t): Describe constraints on size and
21564 signedness, not exact equivalence to a particular type.
21566 (ino64_t): Likewise.
21568 (nlink_t): Likewise.
21569 (blkcnt_t): Likewise.
21570 (blkcnt64_t): Likewise.
21571 * manual/llio.texi (off_t): Likewise.
21574 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21575 (__ieee754_exp): Save and restore rounding mode and use
21576 round-to-nearest for all computations.
21577 * math/libm-test.inc (exp_test_tonearest): New function.
21578 (exp_test_towardzero): Likewise.
21579 (exp_test_downward): Likewise.
21580 (exp_test_upward): Likewise.
21581 (main): Call the new functions.
21582 * sysdeps/i386/fpu/libm-test-ulps: Update.
21583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21585 2012-03-01 Chris Demetriou <cgd@google.com>
21587 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21588 have predictable order.
21590 2012-03-01 David S. Miller <davem@davemloft.net>
21592 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21594 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21595 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21596 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21597 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21599 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21600 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21601 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21603 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21604 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21605 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21606 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21607 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21612 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21613 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21615 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21616 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21617 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21618 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21619 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21620 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21622 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21623 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21624 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21625 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21626 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21628 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21629 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21631 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21632 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21633 * sysdeps/sparc/elf/configure: Regenerated.
21635 2012-03-01 Joseph Myers <joseph@codesourcery.com>
21637 * configure.in (AS, LD): Require binutils 2.20 or later.
21638 * configure: Regenerated.
21639 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21640 as required minimum version.
21641 * INSTALL: Regenerated.
21645 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21646 before squaring exponent.
21647 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21648 bottom long double and 27 bits of top long double before squaring
21650 * math/libm-test.inc (erfc_test): Add more tests.
21651 * sysdeps/i386/fpu/libm-test-ulps: Update.
21652 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21655 2012-03-01 Kai Tietz <ktietz@redhat.com>
21657 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21658 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21659 containing bit-fields.
21660 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21661 * soft-fp/single.h (_FP_UNION_S): Likewise.
21662 * soft-fp/double.h (_FP_UNION_D): Likewise.
21664 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21667 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21668 not include ../strcmp.S.
21669 [USE_AS_STRNCASECMP_L]: Likewise.
21670 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21671 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21672 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21673 (__strncasecmp_l_ia32): Define as alias to
21674 __strncasecmp_l_nonascii.
21677 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21678 * sysdeps/i386/fpu/libm-test-ulps: Update.
21679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21681 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21684 2012-02-29 Jeff Law <law@redhat.com>
21686 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21687 out of bounds read.
21689 2012-02-29 Marek Polacek <polacek@redhat.com>
21692 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21693 * elf/Makefile: Add rules to run tst-unused-dep.out.
21695 2012-02-28 David S. Miller <davem@davemloft.net>
21697 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21698 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21699 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21701 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21702 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21704 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21706 * math/libm-test.inc (llround_test): Move one test from
21707 lround_test. Use TEST_f_L in moved test.
21708 (lround_test): Move misplaced test to llround_test. Add testcase
21711 2012-02-28 Ulrich Drepper <drepper@gmail.com>
21713 * sysdeps/x86_64/fpu/e_expf.S: New file.
21714 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21716 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21719 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21720 of remain_len that may cause incomplete multi-byte character and
21722 * posix/bug-regex33.c: New file.
21723 * posix/Makefile (tests): Add bug-regex33.
21725 2012-02-28 Joseph Myers <joseph@codesourcery.com>
21727 * manual/macros.texi: New file.
21728 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21729 * manual/libc.texinfo: Include macros.texi.
21730 * manual/creatute.texi: Likewise.
21731 * manual/install.texi: Likewise.
21732 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21733 @glibcadj{} in references to the GNU C Library.
21734 * manual/charset.texi: Likewise.
21735 * manual/conf.texi: Likewise.
21736 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21737 when not using those macros.
21738 * manual/creature.texi: Likewise.
21739 * manual/crypt.texi: Likewise.
21740 * manual/errno.texi: Likewise.
21741 * manual/filesys.texi: Likewise.
21742 * manual/header.texi: Likewise.
21743 * manual/install.texi: Likewise.
21744 * manual/intro.texi: Likewise.
21745 * manual/io.texi: Likewise.
21746 * manual/job.texi: Likewise.
21747 * manual/lang.texi: Likewise.
21748 * manual/libc.texiinfo: Likewise.
21749 * manual/llio.texi: Likewise.
21750 * manual/locale.texi: Likewise.
21751 * manual/maint.texi: Likewise.
21752 * manual/math.texi: Likewise.
21753 * manual/memory.texi: Likewise.
21754 * manual/message.texi: Likewise.
21755 * manual/nss.texi: Likewise.
21756 * manual/pattern.texi: Likewise.
21757 * manual/process.texi: Likewise.
21758 * manual/resource.texi: Likewise.
21759 * manual/search.texi: Likewise.
21760 * manual/setjmp.texi: Likewise.
21761 * manual/signal.texi: Likewise.
21762 * manual/socket.texi: Likewise.
21763 * manual/startup.texi: Likewise.
21764 * manual/stdio.texi: Likewise.
21765 * manual/string.texi: Likewise.
21766 * manual/sysinfo.texi: Likewise.
21767 * manual/syslog.texi: Likewise.
21768 * manual/terminal.texi: Likewise.
21769 * manual/time.texi: Likewise.
21770 * manual/users.texi: Likewise.
21771 * INSTALL: Regenerated.
21772 * NOTES: Regenerated.
21773 * sysdeps/gnu/errlist.c: Regenerated.
21775 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21777 * include/dirent.h: Include <dirstream.h> before
21780 2012-02-28 David S. Miller <davem@davemloft.net>
21782 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21783 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21784 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21785 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21787 2012-02-27 David S. Miller <davem@davemloft.net>
21789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21791 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21792 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21795 frame pointer instead of stack pointer relative arg slot.
21796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21797 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21798 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21800 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21803 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21805 2012-02-27 David S. Miller <davem@davemloft.net>
21807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21811 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21812 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21813 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21814 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21816 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21818 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21819 later. Allow versions 5-9.
21820 * configure: Regenerated.
21821 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21822 required minimum version and 4.6 as recommended version. Do not
21823 mention bugs in GCC 2.7 and 2.8.
21824 * INSTALL: Regenerated.
21826 2012-02-27 David S. Miller <davem@davemloft.net>
21828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21832 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21833 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21834 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21835 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21837 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21838 manipulate bits before adding and subtracting TWO112[sx].
21839 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21841 2012-02-27 Roland McGrath <roland@hack.frob.com>
21844 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21845 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21846 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21847 being in POSIX, because they are in 1003.1-2008.
21849 * rt/tst-aio.c: Include <fcntl.h>.
21850 * rt/tst-aio7.c: Likewise.
21851 * rt/tst-aio64.c: Likewise.
21853 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21855 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21857 * manual/install.texi (--with-headers): Describe headers as
21858 interface headers, not private headers.
21859 (Specific advice for GNU/Linux systems): Describe use of headers
21860 from "make headers_install", not private headers from older
21862 * INSTALL: Regenerated.
21863 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21865 * sysdeps/unix/sysv/linux/configure: Regenerated.
21867 * manual/llio.texi (fclean): Remove documentation.
21869 * manual/Makefile (libc-texi-generated): New variable. Include
21871 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21872 $(libc-texi-generated), not duplicated list of files.
21873 (version.texi, stamp-version): New rules.
21874 (realclean): Remove $(libc-texi-generated), not individual files
21875 from that list. Do not remove dir-add.texinfo.
21876 * manual/libc.texinfo: Comment out uses of edition numbers and
21877 references to printed manual. Remove last-updated dates.
21878 (EDITION): Comment out.
21880 (VERSION, UPDATED): Remove.
21881 (version.texi): Include.
21883 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21885 * sysdeps/posix/spawni.c: Include <signal.h>.
21886 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21887 * sysdeps/pthread/aio_fsync.c: Likewise.
21889 2012-02-26 Ulrich Drepper <drepper@gmail.com>
21891 * conform/Makefile (tests): Run only when not cross-compiling and
21892 when fast-check is not defined.
21894 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21895 * conform/data/limits.h-data: Fixes for POSIX2008.
21896 * conform/run-conformtest.sh: Run all tests.
21897 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21899 * include/bits/dlfcn.h: Likewise.
21900 * include/langinfo.h: Likewise.
21901 * include/monetary.h: Likewise.
21902 * include/sys/poll.h: Likewise.
21904 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21906 * posix/spawn.h: Define __need_sigset_t.
21907 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21908 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21909 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21910 to get sigevent_t only.
21911 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21912 only for __USE_GNU.
21913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21914 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21915 process_vm_writev only for __USE_GNU.
21916 * termios/termios.h: Declare tcgetsid also for POSIX2008.
21918 * conform/Makefile: For now ignore errors from run-conformtest.
21919 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21920 POSIX to avoid namespace pollution. Don't prepend headers.
21921 * conform/data/aio.h-data: Fixes for POSIX testing.
21922 * conform/data/fcntl.h-data: Likewise.
21923 * conform/data/glob.h-data: Likewise.
21924 * conform/data/grp.h-data: Likewise.
21925 * conform/data/pthread.h-data: Likewise.
21926 * conform/data/pwd.h-data: Likewise.
21927 * conform/data/signal.h-data: Likewise.
21928 * conform/data/spawn.h-data: Likewise.
21929 * conform/data/stdio.h-data: Likewise.
21930 * conform/data/stdlib.h-data: Likewise.
21931 * conform/data/stropts.h-data: Likewise.
21932 * conform/data/sys/mman.h-data: Likewise.
21933 * conform/data/sys/stat.h-data: Likewise.
21934 * conform/data/sys/types.h-data: Likewise.
21935 * conform/data/sys/wait.h-data: Likewise.
21936 * conform/data/time.h-data: Likewise.
21937 * conform/data/unistd.h-data: Likewise.
21938 * conform/data/utime.h-data: Likewise.
21940 * io/sys/stat.h: fchmod was always in POSIX.
21941 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21942 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21943 * rt/aio.h: Define __need_timespec before including <time.h>.
21944 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21945 struct. Add forward declaration of pthread_attr_t and use it in
21947 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21948 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21949 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21950 always remove CLK_TCK definition.
21952 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21954 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21956 2012-02-25 Ulrich Drepper <drepper@gmail.com>
21958 * conform/run-conformtest.sh: New file.
21959 * conform/Makefile: Run run-conformtest for tests.
21960 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21963 * conform/data/uchar.h-data: New file.
21964 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21965 * conform/data/arpa/inet.h-data: Likewise.
21966 * conform/data/assert.h-data: Likewise.
21967 * conform/data/complex.h-data: Likewise.
21968 * conform/data/cpio.h-data: Likewise.
21969 * conform/data/ctype.h-data: Likewise.
21970 * conform/data/dirent.h-data: Likewise.
21971 * conform/data/dlfcn.h-data: Likewise.
21972 * conform/data/errno.h-data: Likewise.
21973 * conform/data/fcntl.h-data: Likewise.
21974 * conform/data/float.h-data: Likewise.
21975 * conform/data/fmtmsg.h-data: Likewise.
21976 * conform/data/fnmatch.h-data: Likewise.
21977 * conform/data/ftw.h-data: Likewise.
21978 * conform/data/glob.h-data: Likewise.
21979 * conform/data/grp.h-data: Likewise.
21980 * conform/data/iconv.h-data: Likewise.
21981 * conform/data/inttypes.h-data: Likewise.
21982 * conform/data/langinfo.h-data: Likewise.
21983 * conform/data/libgen.h-data: Likewise.
21984 * conform/data/limits.h-data: Likewise.
21985 * conform/data/locale.h-data: Likewise.
21986 * conform/data/math.h-data: Likewise.
21987 * conform/data/monetary.h-data: Likewise.
21988 * conform/data/mqueue.h-data: Likewise.
21989 * conform/data/ndbm.h-data: Likewise.
21990 * conform/data/net/if.h-data: Likewise.
21991 * conform/data/netdb.h-data: Likewise.
21992 * conform/data/netinet/in.h-data: Likewise.
21993 * conform/data/nl_types.h-data: Likewise.
21994 * conform/data/poll.h-data: Likewise.
21995 * conform/data/pthread.h-data: Likewise.
21996 * conform/data/pwd.h-data: Likewise.
21997 * conform/data/regex.h-data: Likewise.
21998 * conform/data/sched.h-data: Likewise.
21999 * conform/data/search.h-data: Likewise.
22000 * conform/data/semaphore.h-data: Likewise.
22001 * conform/data/setjmp.h-data: Likewise.
22002 * conform/data/signal.h-data: Likewise.
22003 * conform/data/spawn.h-data: Likewise.
22004 * conform/data/stdarg.h-data: Likewise.
22005 * conform/data/stdio.h-data: Likewise.
22006 * conform/data/stdlib.h-data: Likewise.
22007 * conform/data/string.h-data: Likewise.
22008 * conform/data/strings.h-data: Likewise.
22009 * conform/data/stropts.h-data: Likewise.
22010 * conform/data/sys/ipc.h-data: Likewise.
22011 * conform/data/sys/mman.h-data: Likewise.
22012 * conform/data/sys/msg.h-data: Likewise.
22013 * conform/data/sys/resource.h-data: Likewise.
22014 * conform/data/sys/select.h-data: Likewise.
22015 * conform/data/sys/sem.h-data: Likewise.
22016 * conform/data/sys/shm.h-data: Likewise.
22017 * conform/data/sys/socket.h-data: Likewise.
22018 * conform/data/sys/stat.h-data: Likewise.
22019 * conform/data/sys/statvfs.h-data: Likewise.
22020 * conform/data/sys/time.h-data: Likewise.
22021 * conform/data/sys/timeb.h-data: Likewise.
22022 * conform/data/sys/times.h-data: Likewise.
22023 * conform/data/sys/types.h-data: Likewise.
22024 * conform/data/sys/uio.h-data: Likewise.
22025 * conform/data/sys/un.h-data: Likewise.
22026 * conform/data/sys/utsname.h-data: Likewise.
22027 * conform/data/sys/wait.h-data: Likewise.
22028 * conform/data/syslog.h-data: Likewise.
22029 * conform/data/tar.h-data: Likewise.
22030 * conform/data/termios.h-data: Likewise.
22031 * conform/data/utime.h-data: Likewise.
22032 * conform/data/utmpx.h-data: Likewise.
22033 * conform/data/varargs.h-data: Likewise.
22034 * conform/data/wchar.h-data: Likewise.
22035 * conform/data/wctype.h-data: Likewise.
22036 * conform/data/wordexp.h-data: Likewise.
22038 * include/stropts.h: New file.
22039 * include/uchar.h: New file.
22040 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22041 * include/assert.h: Likewise.
22042 * include/ctype.h: Likewise.
22043 * include/dirent.h: Likewise.
22044 * include/dlfcn.h: Likewise.
22045 * include/fcntl.h: Likewise.
22046 * include/fnmatch.h: Likewise.
22047 * include/glob.h: Likewise.
22048 * include/grp.h: Likewise.
22049 * include/libio.h: Likewise.
22050 * include/locale.h: Likewise.
22051 * include/math.h: Likewise.
22052 * include/net/if.h: Likewise.
22053 * include/netdb.h: Likewise.
22054 * include/netinet/in.h: Likewise.
22055 * include/pthread.h: Likewise.
22056 * include/pwd.h: Likewise.
22057 * include/regex.h: Likewise.
22058 * include/sched.h: Likewise.
22059 * include/search.h: Likewise.
22060 * include/setjmp.h: Likewise.
22061 * include/signal.h: Likewise.
22062 * include/stdio.h: Likewise.
22063 * include/stdlib.h: Likewise.
22064 * include/string.h: Likewise.
22065 * include/sys/cdefs.h: Likewise.
22066 * include/sys/mman.h: Likewise.
22067 * include/sys/msg.h: Likewise.
22068 * include/sys/resource.h: Likewise.
22069 * include/sys/select.h: Likewise.
22070 * include/sys/socket.h: Likewise.
22071 * include/sys/stat.h: Likewise.
22072 * include/sys/statvfs.h: Likewise.
22073 * include/sys/time.h: Likewise.
22074 * include/sys/times.h: Likewise.
22075 * include/sys/uio.h: Likewise.
22076 * include/sys/utsname.h: Likewise.
22077 * include/sys/wait.h: Likewise.
22078 * include/termios.h: Likewise.
22079 * include/time.h: Likewise.
22080 * include/ulimit.h: Likewise.
22081 * include/unistd.h: Likewise.
22082 * include/utime.h: Likewise.
22083 * include/wchar.h: Likewise.
22084 * include/wctype.h: Likewise.
22085 * include/wordexp.h: Likewise.
22087 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22089 * time/time.h: TIME_UTC must be a macro.
22090 Make timespec_get available for ISO C11 only as well.
22092 2012-02-24 Ulrich Drepper <drepper@gmail.com>
22094 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22095 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22097 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22099 * configure.in: Use -o not -a in test for unsupported multi-arch.
22101 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22103 * manual/texinfo.tex: Update to version 2012-01-19.16.
22105 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22107 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22109 2012-02-24 Roland McGrath <roland@hack.frob.com>
22112 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22113 * manual/fdl-1.3.texi: New file.
22114 * manual/fdl-1.1.texi: File removed.
22117 * manual/libc.texinfo (FDL_VERSION): New @set.
22118 Use it for mention of FDL in cover text.
22119 (Documentation License): Use it in @include file name.
22121 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22122 Roland McGrath <roland@hack.frob.com>
22125 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22126 not LONG_LONG_MAX and LONG_LONG_MIN.
22127 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22128 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22130 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22132 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22136 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22137 manipulate bits before adding and subtracting TWO23[sx].
22138 * math/libm-test.inc (nearbyint_test): Add more tests.
22140 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22143 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22144 bits before adding and subtracting TWO23[sx].
22145 * math/libm-test.inc (rint_test): Add more tests.
22146 (rint_test_tonearest): Likewise.
22147 (rint_test_towardzero): Likewise.
22148 (rint_test_downward): Likewise.
22149 (rint_test_upward: Likewise.
22151 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22154 * include/stdc-predef.h: New file. Extracted from features.h.
22155 * include/features.h: Include stdc-predef.h.
22156 * Makefile (headers): Add stdc-predef.h.
22157 * CONFORMANCE (Compiler limitations): Update.
22159 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22161 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22163 2012-02-21 David S. Miller <davem@davemloft.net>
22165 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22166 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22168 2012-02-20 David S. Miller <davem@davemloft.net>
22170 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22171 using a normal save/restore sequence, rather than allocating a
22172 dummy stack frame just to store a frame pointer and restore.
22173 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22175 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22177 * manual/install.texi: Fix stray word in line-wrapped comment.
22179 2012-02-20 David S. Miller <davem@davemloft.net>
22181 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22182 both binutils and gcc support GOTDATA.
22184 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22185 "rd %pc" in the PIC register setup sequences.
22187 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22188 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22189 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22190 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22191 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22193 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22194 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22195 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22196 (SYSCALL_ERROR_HANDLER): Likewise.
22197 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22198 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22200 (SYSCALL_ERROR_HANDLER): Likewise.
22202 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22203 (HAVE_GCC_GOTDATA): New.
22204 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22205 relocation support in both binutils and gcc.
22206 * sysdeps/sparc/elf/configure: Regenerate.
22208 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22209 * sysdeps/sparc/sparc32/elf/configure: Delete.
22210 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22211 * sysdeps/sparc/sparc64/elf/configure: Delete.
22212 * sysdeps/sparc/elf/configure.in: New file.
22213 * sysdeps/sparc/elf/configure: Generate.
22215 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22216 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22217 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22218 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22219 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22221 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22223 * manual/install.texi: Do not mention specific glibc version
22225 * manual/libc.texinfo (VERSION, UPDATED): Update.
22226 (@copying): Use @copyright{} and range of years.
22228 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22231 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22232 [crti.S not in sysdirs] (generated): Do not append.
22233 [crti.S not in sysdirs] (omit-deps): Likewise.
22234 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22235 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22236 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22237 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22238 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22240 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22241 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22242 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22243 * csu/defs.awk: Remove file.
22244 * sysdeps/generic/initfini.c: Likewise.
22245 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22247 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22250 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22252 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22253 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22254 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22255 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22256 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22257 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22259 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22260 (__EPOLL_PACKED): Define to empty if not defined by
22262 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22266 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22268 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22269 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22270 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22271 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22273 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22277 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22279 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22281 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22282 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22286 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22288 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22289 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22291 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22293 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22294 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22296 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22298 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22301 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22303 * math/w_acos.c: Use non-signaling floating-point comparisons.
22304 * math/w_acosf.c: Likewise.
22305 * math/w_acosh.c: Likewise.
22306 * math/w_acoshf.c: Likewise.
22307 * math/w_acoshl.c: Likewise.
22308 * math/w_acosl.c: Likewise.
22309 * math/w_asin.c: Likewise.
22310 * math/w_asinf.c: Likewise.
22311 * math/w_asinl.c: Likewise.
22312 * math/w_atanh.c: Likewise.
22313 * math/w_atanhf.c: Likewise.
22314 * math/w_atanhl.c: Likewise.
22315 * math/w_exp2.c: Likewise.
22316 * math/w_exp2f.c: Likewise.
22317 * math/w_exp2l.c: Likewise.
22318 * math/w_j0.c: Likewise.
22319 * math/w_j0f.c: Likewise.
22320 * math/w_j0l.c: Likewise.
22321 * math/w_j1.c: Likewise.
22322 * math/w_j1f.c: Likewise.
22323 * math/w_j1l.c: Likewise.
22324 * math/w_jn.c: Likewise.
22325 * math/w_jnf.c: Likewise.
22326 * math/w_log.c: Likewise.
22327 * math/w_log10.c: Likewise.
22328 * math/w_log10f.c: Likewise.
22329 * math/w_log10l.c: Likewise.
22330 * math/w_log2.c: Likewise.
22331 * math/w_log2f.c: Likewise.
22332 * math/w_log2l.c: Likewise.
22333 * math/w_logf.c: Likewise.
22334 * math/w_logl.c: Likewise.
22335 * math/w_sqrt.c: Likewise.
22336 * math/w_sqrtf.c: Likewise.
22337 * math/w_sqrtl.c: Likewise.
22338 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22339 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22340 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22341 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22342 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22344 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22347 * manual/string.texi (strnlen): Use correct parameter name in
22348 equivalent expression.
22350 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22353 * manual/users.texi (seteuid): Consistently use neweuid for
22356 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22359 * manual/nss.texi (Services in the NSS configuration): Correct
22360 list of services in example configuration file.
22362 2012-02-19 Nick Bowler <nbowler@draconx.ca>
22365 * manual/arith.texi: Remove statements about negative zero
22366 behaving identically to zero.
22368 2012-02-18 Joseph Myers <joseph@codesourcery.com>
22371 * manual/install.texi: Do not document upgrading from libc5.
22373 2012-02-18 Joseph Myers <joseph@codesourcery.com>
22376 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22378 2012-02-18 David S. Miller <davem@davemloft.net>
22380 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22381 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22382 %o7 across the call.
22383 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22386 SETUP_PIC_REG_LEAF.
22387 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22388 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22389 * sysdeps/sparc/crtn.S: Likewise.
22391 2012-02-17 Ulrich Drepper <drepper@gmail.com>
22393 * aout/Makefile: Remove.
22395 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22398 * manual/examples/argp-ex1.c (main): Format definition in GNU
22400 * manual/examples/argp-ex2.c (main): Likewise.
22401 * manual/examples/argp-ex3.c (main): Likewise.
22402 * manual/examples/argp-ex4.c (main): Likewise.
22403 * manual/examples/longopt.c (main): Use new-style prototype
22405 * manual/examples/strncat.c (main): Specify return type and use
22406 (void) for arguments.
22407 * manual/examples/subopt.c (main): Use char **argv argument.
22409 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22412 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22415 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22418 * manual/string.texi (strchr): Change when strchrnul is
22421 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22424 * manual/locale.texi (setlocale): Document LOCPATH.
22426 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22429 * manual/process.texi (execle): Move @dots{} before last argument.
22431 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
22434 * manual/charset.texi (Generic Charset Conversion): Fix typo
22435 (LC_TYPE -> LC_CTYPE).
22437 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22440 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22441 (scalbnf): Likewise.
22442 (scalbnl): Likewise.
22443 (scalbln): Likewise.
22444 (scalblnf): Likewise.
22445 (scalblnl): Likewise.
22446 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22447 (vwarnx): Likewise.
22450 * manual/filesys.texi (telldir): Use braces around return type.
22451 * manual/llio.texi (mmap): Add space after comma.
22452 (mmap64): Likewise.
22453 * manual/math.texi (jn): Use @var{} on parameter names.
22459 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22461 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22463 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22464 (sched_get_priority_max): Likewise.
22465 * manual/signal.texi (sigvec): Add space after comma.
22466 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22468 (if_indextoname): Likewise.
22469 (if_freenameindex): Likewise.
22470 (sendto): Use ',' instead of '.' in prototype.
22471 * manual/startup.texi (syscall): Use @dots{} instead of literal
22473 * manual/stdio.texi (__fpending): Separate initial words of
22474 paragraph from @deftypefun line.
22475 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22477 (vsyslog): Use @var{} on parameter names.
22478 * manual/terminal.texi (stty): Use @var{} on parameter names.
22479 * manual/users.texi (getutmp): Use @var{} on parameter names.
22480 (getutmpx): Likewise.
22482 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22485 * manual/stdio.texi (fopen): Fix typos in description of
22488 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22491 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22492 get clock_id definition.
22494 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
22497 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22498 (madvise): Cast every argument to void on its own.
22500 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22503 * manual/startup.texi (Exit Status): Fix typo.
22505 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22508 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22509 * manual/examples/argp-ex2.c: Likewise.
22510 * manual/examples/argp-ex3.c: Likewise.
22512 2012-02-16 Richard Henderson <rth@redhat.com>
22514 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22515 * sysdeps/s390/s390-32/initfini.c: Remove.
22516 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22517 * sysdeps/s390/s390-64/initfini.c: Remove.
22519 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22521 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22522 compiler output for sysdeps/generic/initfini.c.
22523 * sysdeps/sh/elf/initfini.c: Remove file.
22525 2012-02-16 David S. Miller <davem@davemloft.net>
22528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22530 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22531 * sysdeps/sparc/crti.S: New file.
22532 * sysdeps/sparc/crtn.S: New file.
22533 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22534 * sysdeps/sparc/sparc64/Makefile: Likewise.
22536 2012-02-15 Mike Frysinger <vapier@gentoo.org>
22539 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22541 2012-02-15 Roland McGrath <roland@hack.frob.com>
22544 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22546 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22547 (write, read, close): Likewise.
22548 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22550 2012-02-15 Joseph Myers <joseph@codesourcery.com>
22552 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22553 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22554 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22555 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22557 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22561 2012-02-14 Marek Polacek <polacek@redhat.com>
22563 * sysdeps/x86_64/crti.S: New file.
22564 * sysdeps/x86_64/crtn.S: New file.
22565 * sysdeps/x86_64/elf/initfini.c: Remove file.
22567 2012-02-13 Joseph Myers <joseph@codesourcery.com>
22569 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22570 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22571 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22572 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22574 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22578 2012-02-13 Joseph Myers <joseph@codesourcery.com>
22580 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22581 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22582 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22583 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22585 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22589 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22591 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22592 __feraiseexcept instead of feraiseexcept.
22594 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22595 nanosleep invocations.
22596 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22597 strings, and add error checking for a nanosleep invocations.
22599 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22601 Replace FSF snail mail address with URLs, as per GNU coding standards.
22602 Most of the snail mail addresses were wrong anyway, and omitting
22603 them makes the source code easier to maintain. Almost all of the
22604 changes are to license notices and to locale LC_IDENTIFICATION
22605 addresses, except for this one:
22606 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22607 not its snail mail address.
22609 2012-02-09 Richard Henderson <rth@twiddle.net>
22611 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22612 of kernel-features.h.
22614 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22616 2012-02-08 Marek Polacek <polacek@redhat.com>
22618 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22619 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22620 * sysdeps/gnu/_G_config.h: Likewise.
22621 * sysdeps/generic/_G_config.h: Likewise.
22623 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22625 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22629 * sysdeps/powerpc/powerpc32/crti.S: New file.
22630 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22631 * sysdeps/powerpc/powerpc64/crti.S: New file.
22632 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22634 * Makeconfig (have-initfini): Don't set.
22635 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22636 * configure.in (nopic_initfini): Don't substitute.
22637 * config.h.in (HAVE_INITFINI): Don't #undef.
22638 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22639 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22641 2012-02-08 Joseph Myers <joseph@codesourcery.com>
22643 Support crti.S and crtn.S provided directly by architectures.
22644 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22645 [crti.S in sysdirs] (omit-deps): Likewise.
22646 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22647 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22648 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22649 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22650 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22651 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22652 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22653 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22654 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22655 compiler output for sysdeps/generic/initfini.c.
22656 * sysdeps/i386/elf/Makefile: Remove file.
22657 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22659 2012-02-07 Marek Polacek <polacek@redhat.com>
22661 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22662 * sysdeps/gnu/_G_config.h: Likewise.
22663 * sysdeps/mach/hurd/_G_config.h: Likewise.
22665 2012-02-07 Marek Polacek <polacek@redhat.com>
22667 * math/Makefile (tests): Add tst-CMPLX2.
22668 * math/tst-CMPLX2.c: New file.
22670 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22672 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22674 * math/libm-test.inc (jn_test): Add missing L suffix.
22676 2012-02-06 Marek Polacek <polacek@redhat.com>
22678 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22679 * sysdeps/i386/fpu/e_powf.S: Likewise.
22680 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22681 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22682 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22683 * sysdeps/i386/fpu/e_pow.S: Likewise.
22684 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22685 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22686 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22687 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22688 * sysdeps/i386/fpu/e_log2.S: Likewise.
22689 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22690 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22691 * sysdeps/i386/fpu/e_powl.S: Likewise.
22692 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22693 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22694 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22695 * sysdeps/i386/fpu/e_logl.S: Likewise.
22696 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22697 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22698 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22699 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22700 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22701 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22702 * sysdeps/i386/fpu/e_log.S: Likewise.
22703 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22704 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22705 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22706 * sysdeps/i386/fpu/e_logf.S: Likewise.
22707 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22709 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22710 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22711 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22712 * sysdeps/i386/fpu/e_log10.S: Likewise.
22713 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22714 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22715 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22716 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22717 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22718 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22719 * sysdeps/i386/asm-syntax.h: Likewise.
22720 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22721 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22722 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22723 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22724 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22725 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22726 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22727 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22728 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22729 * sysdeps/powerpc/sysdep.h: Likewise.
22730 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22731 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22733 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22736 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22738 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22740 * sysdeps/i386/sysdep.h: Include <features.h>.
22741 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22744 2012-02-05 Joseph Myers <joseph@codesourcery.com>
22746 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22748 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22751 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22753 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22754 (SETUP_PIC_REG): Use GET_PC_THUNK.
22755 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22758 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22760 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22761 for non-PIC compilation.
22762 (SETUP_PIC_REG): Add .p2align directive.
22763 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22764 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22765 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22766 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22767 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22768 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22769 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22771 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22772 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22773 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22774 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22775 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22776 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22777 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22778 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22779 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22780 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22781 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22782 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22783 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22784 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22785 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22786 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22787 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22789 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22790 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22791 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22792 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22793 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22794 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22795 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22796 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22797 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22798 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22799 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22800 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22801 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22802 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22803 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22805 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22807 * math/tst-CMPLX.c: Include <stdio.h>.
22809 2012-01-31 Joseph Myers <joseph@codesourcery.com>
22811 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22813 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22814 * sysdeps/sparc/bits/mathdef.h: Likewise.
22816 2012-01-31 Marek Polacek <polacek@redhat.com>
22818 * libio/libio.h: Don't define _PARAMS.
22819 * locale/programs/config.h: Don't define PARAMS.
22820 * stdlib/strtol_l.c: Likewise.
22821 (__strtol_l): Remove PARAMS from the prototype.
22823 2012-01-31 Ulrich Drepper <drepper@gmail.com>
22825 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22826 names. Just use the correct names. Remove unnecessary wrapper
22828 * malloc/arena.c: Likewise.
22829 * malloc/hooks.c: Likewise.
22831 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22832 ARENA_TEST says not to. Simplify test for creation of a new arena.
22833 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22835 2012-01-30 Ulrich Drepper <drepper@gmail.com>
22837 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22839 (update_get_addr): New function.
22840 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22841 GET_ADDR_MODULE parameter.
22843 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22845 * crypt/cert.c: Remove __STDC__ conditionals.
22846 * crypt/crypt-entry.c: Likewise.
22847 * crypt/crypt_util.c: Likewise.
22848 * libio/filedoalloc.c: Likewise.
22849 * libio/fileops.c: Likewise.
22850 * libio/genops.c: Likewise.
22851 * libio/iofclose.c: Likewise.
22852 * libio/iofdopen.c: Likewise.
22853 * libio/iofopen.c: Likewise.
22854 * libio/iofopen64.c: Likewise.
22855 * libio/iogetdelim.c: Likewise.
22856 * libio/iopopen.c: Likewise.
22857 * libio/obprintf.c: Likewise.
22858 * libio/oldfileops.c: Likewise.
22859 * libio/oldiofclose.c: Likewise.
22860 * libio/oldiofdopen.c: Likewise.
22861 * libio/oldiofopen.c: Likewise.
22862 * libio/oldiopopen.c: Likewise.
22863 * libio/wfiledoalloc.c: Likewise.
22864 * libio/wgenops.c: Likewise.
22865 * locale/programs/xmalloc.c: Likewise.
22866 * misc/syslog.c: Likewise.
22867 * stdio-common/xbug.c: Likewise.
22868 * string/memchr.c: Likewise.
22869 * string/memcmp.c: Likewise.
22870 * string/memrchr.c: Likewise.
22871 * string/rawmemchr.c: Likewise.
22872 * sysdeps/posix/getcwd.c: Likewise.
22873 * time/strftime_l.c: Likewise.
22875 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22877 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
22878 * config.make.in (config-cflags-sse2avx): Define.
22879 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22882 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22884 * scripts/config.guess: Update from upstream config git repository.
22885 * scripts/config.sub: Likewise.
22887 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22889 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22891 (R_TILEPRO_*, R_TILEGX_*): New macros.
22893 * scripts/firstversions.awk: Fix bug in version range handling.
22895 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22897 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22899 * include/sys/epoll.h: New file.
22900 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22903 2012-01-28 Ulrich Drepper <drepper@gmail.com>
22905 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22906 Avoid unnecessary __WORDSIZE == 64 test.
22907 (fmaxf): Use VEX format if possible.
22912 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22913 * math/math_private.h: Remove libc_fegetround* and
22915 * sysdeps/i386/configure.in: Check for -msse2avx.
22916 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22917 also if SSE2AVX is defined.
22918 Remove libc_fegetround* and libc_fesetround*.
22919 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22920 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22921 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22923 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22924 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22926 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22927 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22929 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22931 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22933 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22935 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22937 2012-01-27 Ulrich Drepper <drepper@gmail.com>
22940 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22942 * Makeconfig (libm): Define.
22943 * elf/Makefile: Add rules to build and run tst-relsort1.
22944 * elf/tst-relsort1.c: New file.
22945 * elf/tst-relsort1mod1.c: New file.
22946 * elf/tst-relsort1mod2.c: New file.
22948 2012-01-27 Joseph Myers <joseph@codesourcery.com>
22950 * math/s_ldexp.c: Remove __STDC__ conditionals.
22951 * math/s_ldexpf.c: Likewise.
22952 * math/s_ldexpl.c: Likewise.
22953 * math/s_nextafter.c: Likewise.
22954 * math/s_nexttowardf.c: Likewise.
22955 * math/s_significand.c: Likewise.
22956 * math/s_significandf.c: Likewise.
22957 * math/s_significandl.c: Likewise.
22958 * math/w_jnl.c: Likewise.
22959 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22960 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22961 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22962 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22963 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22964 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22965 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22966 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22967 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22968 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22969 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22970 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22971 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22972 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22973 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22974 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22975 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22976 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22978 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22979 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22980 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22981 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22982 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22983 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22984 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22985 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22986 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22987 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22988 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22989 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22990 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22991 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22992 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22993 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22994 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22995 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22996 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22997 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22998 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22999 * sysdeps/ieee754/k_standard.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23044 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23045 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23047 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23048 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23049 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23052 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23053 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23054 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23055 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23056 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23057 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23058 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23059 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23060 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23061 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23062 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23064 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23065 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23066 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23067 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23068 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23069 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23070 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23071 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23072 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23073 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23074 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23075 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23076 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23077 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23078 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23079 * sysdeps/ieee754/s_matherr.c: Likewise.
23080 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23081 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23082 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23085 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23087 * crypt/md5.h: Remove __STDC__ conditionals.
23088 * libio/libioP.h: Likewise.
23089 * locale/programs/config.h: Likewise.
23090 * sysdeps/generic/sysdep.h: Likewise.
23091 * sysdeps/i386/asm-syntax.h: Likewise.
23092 * sysdeps/s390/asm-syntax.h: Likewise.
23093 * sysdeps/unix/sysdep.h: Likewise.
23094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23097 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23099 * libio/libio.h: Remove __STDC__ conditionals.
23100 * malloc/obstack.h: Likewise.
23101 * math/complex.h: Likewise.
23102 * math/math.h: Likewise.
23103 * sysdeps/generic/_G_config.h: Likewise.
23104 * sysdeps/gnu/_G_config.h: Likewise.
23105 * sysdeps/mach/hurd/_G_config.h: Likewise.
23106 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23107 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23108 * sysdeps/sparc/bits/mathdef.h: Likewise.
23110 2012-01-26 Ulrich Drepper <drepper@gmail.com>
23113 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23114 Clean up HAS_* macros.
23115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23116 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23120 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23121 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23122 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23123 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23124 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23126 2012-01-25 Joseph Myers <joseph@codesourcery.com>
23128 * elf/tst-unique3.cc (gets): Remove declaration.
23129 * elf/tst-unique3lib.cc (gets): Likewise.
23130 * elf/tst-unique3lib2.cc (gets): Likewise.
23131 * elf/tst-unique4.cc (gets): Likewise.
23133 2012-01-24 Ulrich Drepper <drepper@gmail.com>
23135 * include/stdio.h: Add C++ protection. Add gets declarations and
23137 * debug/tst-chk1.c: Don't declare gets here.
23138 * stdio-common/tst-gets.c: Likewise.
23140 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23142 * posix/glob: Remove directory.
23144 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23146 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23148 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23150 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23151 of the non-standard EPFNOSUPPORT.
23153 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23155 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23156 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23157 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23159 2012-01-21 Ulrich Drepper <drepper@gmail.com>
23161 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23163 2012-01-20 Ulrich Drepper <drepper@gmail.com>
23165 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23167 * nscd/grpcache.c (cache_addgr): Likewise.
23168 * nscd/hstcache.c (cache_addhst): Likewise.
23169 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23170 * nscd/pwdcache.c (cache_addpw): Likewise.
23171 * nscd/servicescache.c (cache_addserv): Likewise.
23173 2012-01-16 Ulrich Drepper <drepper@gmail.com>
23175 * malloc/malloc.c: Various cleanups.
23176 * malloc/hooks.c: Likewise.
23178 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23179 * stdlib/bug-fmtmsg1.c: New file.
23181 * stdlib/fmtmsg.c (init): Add missing unlock.
23182 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23184 2012-01-12 Marek Polacek <polacek@redhat.com>
23186 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23189 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23191 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23192 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23193 macro to ensure uniqueness of label name.
23194 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23195 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23197 2012-01-11 Ulrich Drepper <drepper@gmail.com>
23199 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23201 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23202 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23203 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23206 2012-01-10 Ulrich Drepper <drepper@gmail.com>
23208 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23210 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23211 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23212 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23214 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23216 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23217 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23218 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23219 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23221 * math/bits/math-finite.h: Add ldexp support.
23223 2012-01-10 Marek Polacek <polacek@redhat.com>
23225 * locale/programs/localedef.h (show_archive_content): Add noreturn
23228 2012-01-09 Ulrich Drepper <drepper@gmail.com>
23230 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23232 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23234 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23236 * io/Makefile (headers): Add bits/poll2.h.
23238 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23241 typo #include statement.
23243 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23245 * include/sys/cdefs.h: Define __attribute_alloc_size.
23246 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23247 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23248 * elf/pldd.c: Likewise.
23249 * iconv/iconv_charmap.c: Likewise.
23250 * iconv/iconvconfig.c: Likewise.
23251 * iconv/strtab.c: Likewise.
23252 * locale/programs/locale.c: Likewise.
23253 * locale/programs/localedef.h: Likewise.
23254 * locale/programs/simple-hash.c: Likewise.
23255 * nscd/nscd.h: Likewise.
23256 * nss/makedb.c: Likewise.
23257 * sysdeps/generic/ldconfig.h: Likewise.
23258 * locale/programs/localedef.c: Remove xmalloc prototype.
23259 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23261 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23263 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23266 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23268 * math/Makefile (tests): Add tst-CMPLX.
23269 * math/tst-CMPLX.c: New file.
23271 * math/complex.h (CMPLXL): Fix typo.
23273 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23274 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23276 * debug/tst-chk1.c: Add poll and ppoll tests.
23277 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23278 * include/sys/poll.h: Add hidden proto for ppoll.
23279 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23280 * sysdeps/mach/hurd/ppoll.c: Likewise.
23281 * io/ppoll.c: Likewise.
23282 * debug/poll_chk.c: New file.
23283 * debug/ppoll_chk.c: New file.
23284 * include/bits/poll2.h: New file.
23285 * io/bits/poll2.h: New file.
23288 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23290 * configure.in: static is always set to yes. Remove.
23291 * config.make.in: Don't set build-static.
23292 * Makeconfig: Remove use of build-static.
23293 * dlfcn/Makefile: Likewise.
23294 * elf/Makefile: Likewise.
23295 * math/Makefile: Likewise.
23296 * misc/Makefile: Likewise.
23297 * nptl/Makefile: Likewise.
23298 * sysdeps/mach/hurd/Makefile: Likewise.
23300 * configure.in: PWD_P is not used anymore.
23301 * config.make.in: Remove PWD_P entry.
23303 * configure.in: Remove last remnants of RANLIB.
23304 No need to check for signed size_t anymore.
23305 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23307 Remove __builtin_expect test because we require at least gcc 3.4.
23308 * aclocal.m4: Likewise.
23310 * wcsmbs/mbrtoc16.c: Implement using towc function.
23311 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23312 * wcsmbs/wcsmbsload.c: Likewise.
23313 * iconv/gconv_simple.c: Likewise.
23314 * iconv/gconv_int.h: Likewise.
23315 * iconv/gconv_builtin.h: Likewise.
23316 * iconv/iconv_prog.c: Remove CHAR16 handling.
23318 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23320 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23322 * configure.in: Remove --with-elf and --enable-bounded options.
23323 Dont set base_machine for ia64. More non-ELF conditions removed.
23324 Remove testing and setting of leading underscore information.
23325 * config.make.in (build-bounded): Set to no.
23326 * config.h.in: Remove NO_UNDERSCORES entry.
23327 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23329 * csu/start.c: Remove !NO_UNDERSCORE code.
23330 * locale/localeinfo.h: Likewise.
23331 * sysdeps/generic/machine-gmon.h: Likewise.
23332 * sysdeps/generic/sysdep.h: Likewise.
23333 * sysdeps/i386/sysdep.h: Likewise.
23334 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23335 * sysdeps/mach/sysdep.h: Likewise.
23336 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23337 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23338 * sysdeps/sh/sysdep.h: Likewise.
23339 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23340 * sysdeps/unix/i386/sysdep.S: Likewise.
23341 * sysdeps/unix/sparc/start.c: Likewise.
23342 * sysdeps/unix/sparc/sysdep.S: Likewise.
23343 * sysdeps/unix/sparc/sysdep.h: Likewise.
23344 * sysdeps/unix/start.c: Likewise.
23345 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23346 * sysdeps/x86_64/sysdep.h: Likewise.
23348 2012-01-07 Ulrich Drepper <drepper@gmail.com>
23351 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23353 * argp/argp-fmtstream.h: Use const instead __const.
23354 * argp/argp.h: Likewise.
23355 * assert/assert.h: Likewise.
23356 * bits/fenv.h: Likewise.
23357 * bits/sched.h: Likewise.
23358 * bits/sigset.h: Likewise.
23359 * bits/sigthread.h: Likewise.
23360 * catgets/nl_types.h: Likewise.
23361 * conform/data/pthread.h-data: Likewise.
23362 * crypt/crypt-private.h: Likewise.
23363 * crypt/crypt.h: Likewise.
23364 * crypt/crypt_util.c: Likewise.
23365 * ctype/ctype.h: Likewise.
23366 * debug/execinfo.h: Likewise.
23367 * debug/mbsnrtowcs_chk.c: Likewise.
23368 * debug/mbsrtowcs_chk.c: Likewise.
23369 * debug/wcsnrtombs_chk.c: Likewise.
23370 * debug/wcsrtombs_chk.c: Likewise.
23371 * debug/wcstombs_chk.c: Likewise.
23372 * dirent/dirent.h: Likewise.
23373 * dlfcn/dlfcn.h: Likewise.
23374 * elf/neededtest4.c: Likewise.
23375 * grp/grp.h: Likewise.
23376 * gshadow/gshadow.h: Likewise.
23377 * iconv/gconv.h: Likewise.
23378 * iconv/gconv_int.h: Likewise.
23379 * iconv/gconv_simple.c: Likewise.
23380 * iconv/iconv.h: Likewise.
23381 * iconv/loop.c: Likewise.
23382 * iconv/skeleton.c: Likewise.
23383 * include/aio.h: Likewise.
23384 * include/aliases.h: Likewise.
23385 * include/argz.h: Likewise.
23386 * include/arpa/inet.h: Likewise.
23387 * include/assert.h: Likewise.
23388 * include/dirent.h: Likewise.
23389 * include/dlfcn.h: Likewise.
23390 * include/execinfo.h: Likewise.
23391 * include/fcntl.h: Likewise.
23392 * include/fenv.h: Likewise.
23393 * include/glob.h: Likewise.
23394 * include/grp.h: Likewise.
23395 * include/libintl.h: Likewise.
23396 * include/mntent.h: Likewise.
23397 * include/netdb.h: Likewise.
23398 * include/pwd.h: Likewise.
23399 * include/rpc/netdb.h: Likewise.
23400 * include/sched.h: Likewise.
23401 * include/search.h: Likewise.
23402 * include/shadow.h: Likewise.
23403 * include/signal.h: Likewise.
23404 * include/stdio.h: Likewise.
23405 * include/stdlib.h: Likewise.
23406 * include/string.h: Likewise.
23407 * include/sys/socket.h: Likewise.
23408 * include/sys/stat.h: Likewise.
23409 * include/sys/statfs.h: Likewise.
23410 * include/sys/statvfs.h: Likewise.
23411 * include/sys/syslog.h: Likewise.
23412 * include/sys/time.h: Likewise.
23413 * include/sys/uio.h: Likewise.
23414 * include/time.h: Likewise.
23415 * include/unistd.h: Likewise.
23416 * include/utmp.h: Likewise.
23417 * include/wchar.h: Likewise.
23418 * include/wctype.h: Likewise.
23419 * inet/aliases.h: Likewise.
23420 * inet/arpa/inet.h: Likewise.
23421 * inet/netinet/ether.h: Likewise.
23422 * inet/netinet/in.h: Likewise.
23423 * intl/libintl.h: Likewise.
23424 * io/bits/fcntl2.h: Likewise.
23425 * io/fcntl.h: Likewise.
23426 * io/ftw.h: Likewise.
23427 * io/sys/poll.h: Likewise.
23428 * io/sys/stat.h: Likewise.
23429 * io/sys/statfs.h: Likewise.
23430 * io/sys/statvfs.h: Likewise.
23431 * io/utime.h: Likewise.
23432 * libio/bits/stdio.h: Likewise.
23433 * libio/bits/stdio2.h: Likewise.
23434 * libio/libio.h: Likewise.
23435 * libio/libioP.h: Likewise.
23436 * libio/stdio.h: Likewise.
23437 * locale/lc-ctype.c: Likewise.
23438 * locale/locale.h: Likewise.
23439 * login/utmp.h: Likewise.
23440 * malloc/arena.c: Likewise.
23441 * malloc/malloc.c: Likewise.
23442 * malloc/malloc.h: Likewise.
23443 * malloc/mcheck.c: Likewise.
23444 * malloc/mtrace.c: Likewise.
23445 * math/bits/mathcalls.h: Likewise.
23446 * math/fenv.h: Likewise.
23447 * math/math_private.h: Likewise.
23448 * misc/bits/error.h: Likewise.
23449 * misc/bits/syslog.h: Likewise.
23450 * misc/err.h: Likewise.
23451 * misc/error.h: Likewise.
23452 * misc/fstab.h: Likewise.
23453 * misc/mntent.h: Likewise.
23454 * misc/regexp.h: Likewise.
23455 * misc/search.h: Likewise.
23456 * misc/sgtty.h: Likewise.
23457 * misc/sys/mman.h: Likewise.
23458 * misc/sys/syslog.h: Likewise.
23459 * misc/sys/uio.h: Likewise.
23460 * misc/sys/xattr.h: Likewise.
23461 * misc/ttyent.h: Likewise.
23462 * nis/rpcsvc/ypclnt.h: Likewise.
23463 * nss/nss.h: Likewise.
23464 * posix/bits/unistd.h: Likewise.
23465 * posix/fnmatch.h: Likewise.
23466 * posix/glob.h: Likewise.
23467 * posix/sched.h: Likewise.
23468 * posix/spawn.h: Likewise.
23469 * posix/sys/wait.h: Likewise.
23470 * posix/unistd.h: Likewise.
23471 * posix/wordexp.h: Likewise.
23472 * pwd/pwd.h: Likewise.
23473 * resolv/netdb.h: Likewise.
23474 * resource/sys/resource.h: Likewise.
23475 * rt/aio.h: Likewise.
23476 * rt/bits/mqueue2.h: Likewise.
23477 * rt/mqueue.h: Likewise.
23478 * shadow/shadow.h: Likewise.
23479 * signal/signal.h: Likewise.
23480 * socket/send.c: Likewise.
23481 * socket/sendto.c: Likewise.
23482 * socket/sys/socket.h: Likewise.
23483 * stdio-common/printf.h: Likewise.
23484 * stdlib/bits/stdlib.h: Likewise.
23485 * stdlib/fmtmsg.h: Likewise.
23486 * stdlib/monetary.h: Likewise.
23487 * stdlib/stdlib.h: Likewise.
23488 * stdlib/ucontext.h: Likewise.
23489 * streams/stropts.h: Likewise.
23490 * string/argz.h: Likewise.
23491 * string/bits/string2.h: Likewise.
23492 * string/string.h: Likewise.
23493 * string/strings.h: Likewise.
23494 * sunrpc/rpc/auth.h: Likewise.
23495 * sunrpc/rpc/auth_des.h: Likewise.
23496 * sunrpc/rpc/clnt.h: Likewise.
23497 * sunrpc/rpc/netdb.h: Likewise.
23498 * sunrpc/rpc/pmap_clnt.h: Likewise.
23499 * sunrpc/rpc/xdr.h: Likewise.
23500 * sysdeps/generic/inttypes.h: Likewise.
23501 * sysdeps/generic/net/if.h: Likewise.
23502 * sysdeps/generic/sys/swap.h: Likewise.
23503 * sysdeps/gnu/net/if.h: Likewise.
23504 * sysdeps/gnu/utmpx.h: Likewise.
23505 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23506 * sysdeps/i386/i486/bits/string.h: Likewise.
23507 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23508 * sysdeps/s390/bits/string.h: Likewise.
23509 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23510 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23511 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23512 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23513 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23514 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23515 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23516 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23517 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23518 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23519 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23520 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23521 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23522 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23523 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23524 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23525 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23527 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23528 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23529 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23530 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23531 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23532 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23533 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23534 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23535 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23536 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23537 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23538 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23539 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23540 * sysvipc/sys/ipc.h: Likewise.
23541 * sysvipc/sys/msg.h: Likewise.
23542 * sysvipc/sys/sem.h: Likewise.
23543 * sysvipc/sys/shm.h: Likewise.
23544 * termios/termios.h: Likewise.
23545 * time/sys/time.h: Likewise.
23546 * time/time.h: Likewise.
23547 * wcsmbs/bits/wchar2.h: Likewise.
23548 * wcsmbs/uchar.h: Likewise.
23549 * wcsmbs/wchar.h: Likewise.
23550 * wctype/wctype.h: Likewise.
23553 * Makeconfig: Remove all but ELF support including AIX support.
23554 * Makerules: Likewise.
23555 * config.h.in: Likewise.
23556 * config.make.in: Likewise.
23557 * configure: Likewise.
23558 * configure.in: Likewise.
23559 * csu/Makefile: Likewise.
23560 * csu/version.c: Likewise.
23561 * debug/Makefile: Likewise.
23562 * dlfcn/Makefile: Likewise.
23563 * elf/Makefile: Likewise.
23564 * extra-lib.mk: Likewise.
23565 * iconv/Makefile: Likewise.
23566 * include/libc-symbols.h: Likewise.
23567 * include/shlib-compat.h: Likewise.
23568 * resolv/Makefile: Likewise.
23569 * resolv/res_libc.c: Likewise.
23570 * rt/Makefile: Likewise.
23571 * sysdeps/i386/asm-syntax.h: Likewise.
23572 * sysdeps/i386/sysdep.h: Likewise.
23573 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23574 * sysdeps/mach/sysdep.h: Likewise.
23575 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23576 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23577 * sysdeps/s390/asm-syntax.h: Likewise.
23578 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23580 * sysdeps/sh/sysdep.h: Likewise.
23581 * sysdeps/unix/sparc/sysdep.h: Likewise.
23582 * sysdeps/wordsize-32/divdi3.c: Likewise.
23583 * sysdeps/x86_64/sysdep.h: Likewise.
23585 * argp/Versions: Remove _argp_unlock_xxx.
23588 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23589 * abilist/libBrokenLocale.abilist: Likewise.
23590 * abilist/libanl.abilist: Likewise.
23591 * abilist/libc.abilist: Likewise.
23592 * abilist/libcrypt.abilist: Likewise.
23593 * abilist/libdl.abilist: Likewise.
23594 * abilist/libm.abilist: Likewise.
23595 * abilist/libnsl.abilist: Likewise.
23596 * abilist/libpthread.abilist: Likewise.
23597 * abilist/libresolv.abilist: Likewise.
23598 * abilist/librt.abilist: Likewise.
23599 * abilist/libthread_db.abilist: Likewise.
23600 * abilist/libutil.abilist: Likewise.
23601 * abilist/libnss_db.abilist: New file.
23603 * scripts/abilist.awk: Add support for indirect functions.
23605 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23607 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23609 * shlib-versions: Remove entries for ports architectures.
23611 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23613 * elf/stackguard-macros.h: Remove support for IA-64.
23614 * elf/tst-auditmod1.c: Likewise.
23615 * sysdeps/generic/ldsodefs.h: Likewise.
23617 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23618 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23622 * configure.in: Remove --enable-omitfp support.
23624 * config.make.in: Likewise.
23625 * Makeconfig: Likewise.
23626 * manual/install.texi: Likewise.
23628 In case anyone cares, the IA-64 architecture could move to ports.
23629 * sysdeps/ia64/*: Removed.
23630 * sysdeps/unix/sysv/linux/ia64/*: Removed.
23631 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
23634 * configure.in: Remove entries for unsupported architectures.
23637 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23638 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23640 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23641 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23642 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23643 fall back to using wcrtomb.
23644 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23645 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23647 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23648 * wcsmbs/tst-c16c32-1.c: New file.
23650 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23653 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23655 * elf/tst-unique3.cc: Add explicit declaration of gets.
23656 * elf/tst-unique3lib.cc: Likewise.
23657 * elf/tst-unique3lib2.cc: Likewise.
23658 * elf/tst-unique4.cc: Likewise.
23660 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23662 2012-01-06 Joseph Myers <joseph@codesourcery.com>
23665 * assert/assert.h (static_assert): Don't define for C++.
23666 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23667 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23669 2012-01-03 Ulrich Drepper <drepper@gmail.com>
23671 * iconv/loop.c (single loop): Fix assertion in storing of
23674 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23676 2012-01-01 Ulrich Drepper <drepper@gmail.com>
23678 * posix/getconf.c: Update copyright year.
23679 * nss/getent.c: Likewise.
23680 * nss/makedb.c: Likewise.
23681 * iconv/iconvconfig.c: Likewise.
23682 * iconv/iconv_prog.c: Likewise.
23683 * elf/ldconfig.c: Likewise.
23684 * elf/pldd.c: Likewise.
23685 * elf/sotruss.ksh: Likewise.
23686 * catgets/gencat.c: Likewise.
23687 * csu/version.c: Likewise.
23688 * elf/ldd.bash.in: Likewise.
23689 * elf/sprof.c (print_version): Likewise.
23690 * locale/programs/locale.c: Likewise.
23691 * locale/programs/localedef.c: Likewise.
23692 * login/programs/pt_chown.c: Likewise.
23693 * nscd/nscd.c (print_version): Likewise.
23694 * debug/xtrace.sh: Likewise.
23695 * malloc/memusage.sh: Likewise.
23696 * malloc/mtrace.pl: Likewise.
23697 * debug/catchsegv.sh: Likewise.
23699 2011-12-30 Jakub Jelinek <jakub@redhat.com>
23701 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23704 2011-12-24 Ulrich Drepper <drepper@gmail.com>
23707 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23708 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23710 * iconv/gconv_int.h: Likewise.
23711 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23712 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23713 from libc for GLIBC_2.16.
23714 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23715 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23716 * wcsmbs/uchar.h: Really define mbstate_t.
23717 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23718 * wcsmbs/c16rtomb.c: New file.
23719 * wcsmbs/mbrtoc16.c: New file.
23720 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23721 for C/POSIX locale.
23722 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23723 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23725 * wcsmbs/wchar.h: Add missing __restrict.
23727 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23730 * time/Makefile (routines): Add timespec_get.
23731 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23732 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23733 timespec for ISO C11.
23734 * time/timespec_get.c: New file.
23735 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23736 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23739 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23740 * stdlib/stdlib.h: Declare aligned_alloc.
23741 * Versions.def: Add GLIBC_2.16 for libc.
23742 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23745 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23748 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
23752 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23755 * assert/assert.h (static_assert): Define.
23757 * version.h: Update for 2.16 development version.
23760 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23763 * version.h (RELEASE): Bump for 2.15 release.
23764 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23766 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23767 Patch by Marek Polacek <mpolacek@redhat.com>.
23769 * bits/byteswap.h: Protect long long constants with __extension__.
23770 * sysdeps/i386/bits/byteswap.h: Likewise.
23771 * sysdeps/ia64/bits/byteswap.h: Likewise.
23772 * sysdeps/s390/bits/byteswap.h: Likewise.
23773 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23775 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23778 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23779 destination buffer.
23780 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23782 2011-12-23 Marek Polacek <polacek@redhat.com>
23784 * elf/dl-addr.c (determine_info): Add inline keyword.
23785 * elf/tst-auditmod4b.c (check_avx): Likewise.
23786 * elf/tst-auditmod6b.c (check_avx): Likewise.
23787 * elf/tst-auditmod6c.c (check_avx): Likewise.
23788 * elf/tst-auditmod7b.c (check_avx): Likewise.
23790 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23792 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23795 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23798 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23799 processing for last bytes.
23801 2011-08-06 Bruno Haible <bruno@clisp.org>
23804 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23805 U+0385, not to U+1FEE.
23808 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23809 entry for U+00A5 U+0301.
23811 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23814 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23815 buffer for the output is too small.
23817 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23821 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23822 SSE flags if possible.
23824 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23827 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23828 processing for last bytes.
23830 2011-12-22 Joseph Myers <joseph@codesourcery.com>
23832 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23833 (syscall-list-default-options, syscall-list-default-condition)
23834 (syscall-list-includes): Define.
23835 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23836 list of ABIs and options and #if conditions for each ABI. Do not
23837 handle common syscalls between ABIs specially.
23838 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23840 (syscall-list-variants, syscall-list-32bit-options)
23841 (syscall-list-32bit-condition, syscall-list-64bit-options)
23842 (syscall-list-64bit-condition): Define.
23843 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23844 (syscall-list-variants, syscall-list-32bit-options)
23845 (syscall-list-32bit-condition, syscall-list-64bit-options)
23846 (syscall-list-64bit-condition): Define.
23847 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23849 (syscall-list-variants, syscall-list-32bit-options)
23850 (syscall-list-32bit-condition, syscall-list-64bit-options)
23851 (syscall-list-64bit-condition): Define.
23852 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23854 (syscall-list-variants, syscall-list-32bit-options)
23855 (syscall-list-32bit-condition, syscall-list-64bit-options)
23856 (syscall-list-64bit-condition): Define.
23858 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23860 * locale/iso-639.def: Add brx entry.
23863 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23864 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23866 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23867 __feraiseexcept_renamed.
23869 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23872 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23873 EPOLLET with unsigned values.
23874 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23875 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23877 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23878 to large cancellation.
23879 * math/s_cacoshf.c: Likewise.
23880 * math/s_cacoshl.c: Likewise.
23882 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23886 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23887 * math/s_cacoshf.c: Likewise.
23888 * math/s_cacoshl.c: Likewise.
23890 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23893 * iconv/gconv.h: Define __GCONV_SWAP.
23894 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23895 * iconvdata/utf-16.c: Likewise.
23896 * iconvdata/utf-32.c: Likewise.
23898 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23901 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23902 numerator after shifting it by one limb.
23904 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23906 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23907 under [__USE_EXTERN_INLINES].
23909 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23912 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23914 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23916 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23917 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23919 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23920 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23921 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23922 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23923 for strncasecmp/strncasecmp_l compilation.
23924 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23925 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23927 2011-12-08 Marek Polacek <mpolacek@redhat.com>
23930 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23933 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23936 * time/tzfile.c (__tzfile_read): Check values from file header.
23938 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23940 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23941 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23942 * powerpc/powerpc32/dl-start.S: Likewise.
23943 * powerpc/powerpc32/elf/start.S: Likewise.
23944 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23945 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23946 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23947 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23948 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23949 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23950 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23951 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23952 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23953 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23954 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23955 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23956 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23957 * powerpc/powerpc32/memset.S: Likewise.
23958 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23959 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23960 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23961 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23962 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23963 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23964 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23965 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23966 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23967 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23968 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23969 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23970 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23972 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23974 * math/libm-test.inc: Added more nearbyint tests.
23975 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23977 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23980 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23982 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23985 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23987 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23988 Add wcscpy-ssse3 wcscpy-c.
23989 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23990 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23991 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23992 * sysdeps/x86_64/wcschr.S: New file.
23993 * sysdeps/x86_64/wcsrchr.S: New file.
23994 * string/test-strcmp.c: Remove checking of wcscmp function for
23996 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23997 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23998 wcsrchr-sse2 wcsrchr-c.
23999 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24000 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24001 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24002 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24003 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24004 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24005 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24006 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24007 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24008 * wcsmbc/wcschr.c (WCSCHR): New macro.
24010 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24012 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24013 * wcsmbs/test-wcsrchr.c: New file.
24014 * string/test-strrchr.c: Add wcsrchr support.
24016 * wcsmbs/test-wcscpy.c: New file.
24017 * string/test-strcpy.c: Add wcscpy support.
24020 2011-12-10 Ulrich Drepper <drepper@gmail.com>
24022 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24025 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24028 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24030 2011-12-04 Ulrich Drepper <drepper@gmail.com>
24032 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24033 Minor optimizations.
24035 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24036 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24037 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24039 2011-12-03 Ulrich Drepper <drepper@gmail.com>
24041 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24042 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24043 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24044 for gcc to avoid warnings.
24045 * inet/Makefile (tests): Add tst-checks.
24046 * inet/tst-checks.c: New file.
24048 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24051 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24054 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24055 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24057 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24059 2011-12-02 Ulrich Drepper <drepper@gmail.com>
24061 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24064 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24066 2011-11-29 Joseph Myers <joseph@codesourcery.com>
24068 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24069 conditional on GCC version.
24070 (__arch_compare_and_exchange_val_8_acq)
24071 (__arch_compare_and_exchange_val_16_acq)
24072 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24073 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24074 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24076 2011-12-02 Joseph Myers <joseph@codesourcery.com>
24078 * sysdeps/sh/backtrace.c: New file.
24080 2011-12-02 Andreas Schwab <schwab@redhat.com>
24082 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24085 2011-12-01 Andreas Schwab <schwab@redhat.com>
24087 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24088 falling back to utime.
24090 2011-11-30 Andreas Schwab <schwab@redhat.com>
24092 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24093 expectations for float.
24095 2011-11-29 Andreas Schwab <schwab@redhat.com>
24097 * locale/weight.h (findidx): Add parameter len.
24098 * locale/weightwc.h (findidx): Likewise.
24099 * posix/fnmatch_loop.c (FCT): Adjust caller.
24100 * posix/regcomp.c (build_equiv_class): Likewise.
24101 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24102 * posix/regexec.c (check_node_accept_bytes): Likewise.
24103 * string/strcoll_l.c (STRCOLL): Likewise.
24104 * string/strxfrm_l.c (STRXFRM): Likewise.
24106 2011-11-17 Ulrich Drepper <drepper@gmail.com>
24108 * Makefile.in: Remove CVSOPT handling.
24109 * configure.in: Remove use of AC_REVISION.
24110 * iconvdata/Makefile (distribute): No need to filter out CVS.
24111 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24114 2011-11-16 Andreas Schwab <schwab@redhat.com>
24116 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24117 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24118 [USE_AS_STRNCASECMP_L]: Likewise.
24119 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24120 NO_TLS_DIRECT_SEG_REFS.
24121 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24122 Fix argument offsets for non-PIC.
24123 [USE_AS_STRNCASECMP_L]: Likewise.
24124 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24125 NO_TLS_DIRECT_SEG_REFS.
24127 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24129 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24131 * locale/loadlocale.c (_nl_load_locale): Likewise.
24133 2011-11-15 Andreas Schwab <schwab@redhat.com>
24135 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24136 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24137 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24138 (SYSCALL_GETTIME): Set errno on error.
24140 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24141 count references to noai6ai_cached.
24143 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24145 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24147 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24148 FD_CLOEXEC for /proc/self/maps.
24150 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24151 FD_CLOEXEC for /proc/meminfo.
24153 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24156 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24157 FD_CLOEXEC for given file.
24159 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24161 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24162 FD_CLOEXEC for /etc/hosts.
24163 (_gethtent): Likewise.
24165 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24167 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24168 cancellation and set FD_CLOEXEC for /etc/netgroup.
24170 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24171 reading /etc/publickey.
24173 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24174 allow cancellation when reading /etc/group.
24176 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24178 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24180 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24181 when using data file.
24183 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24185 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24186 (write_nis_obj): Use "c" and "e" in fopen.
24188 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24190 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24192 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24194 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24196 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24199 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24201 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24203 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24205 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24206 file parsing and set FD_CLOEXEC.
24208 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24210 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24212 2011-11-14 Andreas Schwab <schwab@redhat.com>
24214 * malloc/arena.c (arena_get2): Don't call reused_arena when
24215 _int_new_arena failed.
24217 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24219 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24220 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24221 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24222 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24223 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24225 to compile strcasecmp and strncasecmp.
24226 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24227 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24229 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24231 2011-11-13 Ulrich Drepper <drepper@gmail.com>
24233 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24234 locale-defines.sym to gen-as-const-headers.
24235 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24236 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24238 to compile strcasecmp and strncasecmp.
24239 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24240 strcasecmp_l and strncasecmp_l.
24241 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24242 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24243 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24244 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24245 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24246 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24247 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24248 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24249 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24250 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24251 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24253 2011-11-12 Ulrich Drepper <drepper@gmail.com>
24255 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24256 result of SYSDEP_GETTIME_CPU to retval.
24257 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24258 parameter list to macro. Remove trailing semicolon. Adjust users.
24260 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24263 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24265 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24267 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24268 from unused variable.
24270 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24272 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24275 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24278 * sunrpc/rpc_prot.c (rejected): Fix case value.
24280 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24281 unsigned long long int to avoid warnings in shift.
24283 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24285 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24288 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24289 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24290 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24292 * nis/nis_table.c (nis_list): Use variable of correct type for
24293 result of __follow_path call.
24295 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24297 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24298 of math functions ceil, trunc, floor, round, and sqrt, when
24299 avaliable on the platform.
24300 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24302 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24303 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24304 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24306 2011-10-30 Marek Polacek <mpolacek@redhat.com>
24308 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24309 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24311 2011-11-11 Roland McGrath <roland@hack.frob.com>
24313 * include/unistd.h: Fix __readlink return type.
24314 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24316 2011-11-11 Ulrich Drepper <drepper@gmail.com>
24318 * stdlib/ucontext.h: Undo last change for makecontext.
24320 2011-11-11 Andreas Schwab <schwab@redhat.com>
24322 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24324 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24325 * setjmp/setjmp.h: Mark functions as non-leaf.
24326 * setjmp/bits/setjmp2.h: Likewise.
24327 * stdlib/ucontext.h: Likewise.
24329 2011-11-10 Andreas Schwab <schwab@redhat.com>
24331 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24332 (reused_arena): Don't check arena limit.
24333 (arena_get2): Atomically check arena limit.
24335 2011-11-08 Ulrich Drepper <drepper@gmail.com>
24337 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24338 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24343 2011-11-07 Andreas Schwab <schwab@redhat.com>
24345 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24346 handler when locking.
24348 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24349 Fix size of allocated buffer.
24351 2011-11-04 Andreas Schwab <schwab@redhat.com>
24354 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24355 declarations for long double functions.
24356 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24358 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24360 2011-11-03 Andreas Schwab <schwab@redhat.com>
24362 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24365 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24368 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24370 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24372 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24374 * include/alloca.h (stackinfo_alloca_round): Define.
24375 (extend_alloca): Use it.
24376 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24377 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24380 * scripts/check-local-headers.sh: Ignore libaudit.h.
24382 * nscd/Makefile (extra-objs): Make recursively expanded.
24384 2011-11-01 Ulrich Drepper <drepper@gmail.com>
24386 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24387 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24389 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24390 * posix/tst-rfc3484-2.c: Likewise.
24391 * posix/tst-rfc3484-3.c: Likewise.
24393 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24395 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24397 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24398 process_vm_writev from libc using GLIBC_2.15 version.
24400 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24402 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24404 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24407 2011-10-31 Ulrich Drepper <drepper@gmail.com>
24410 * nss/getent.c (initgroups_keys): Show error message in case no group
24413 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24414 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24415 __bump_nl_timestamp.
24416 * nscd/connections (nscd_init): When host database is served open
24417 netlink socket and request notification about configuration changes.
24418 (main_loop_poll): Track netlink file descriptor and bump timestamp
24419 in case data becomes available.
24420 (main_loop_epoll): Likewise.
24421 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24422 (database_pers_head): Add extra_data fileds.
24423 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24424 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24425 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24427 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24428 in6ai data, call __free_in6ai.
24429 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24430 Add -DHAVE_NETLINK.
24431 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24432 interface information. Reuse previous data if netlink timestamp
24434 (__bump_nl_timestamp): New function.
24435 (__free_in6ai): New function.
24437 2011-10-30 Ulrich Drepper <drepper@gmail.com>
24439 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24440 close_not_cancel_no_status here.
24441 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24443 2011-10-29 Ulrich Drepper <drepper@gmail.com>
24446 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24449 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
24450 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24451 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24453 2011-07-03 Andreas Jaeger <aj@suse.de>
24456 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24457 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24458 * math/libm-test.inc (sin_test): Add test case.
24460 2011-10-29 Ulrich Drepper <drepper@gmail.com>
24463 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24464 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24466 * elf/chroot_canon.c (chroot_canon): Cleanups.
24468 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24471 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24472 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24474 * string/test-strchr.c: Make usable for strchrnul testing.
24475 * string/test-strchrnul.c: New file.
24476 * string/Makefile (strop-tests): Add strchrnul.
24478 * po/it.po: Update from translation team.
24479 * po/es.po: Likewise.
24481 2011-10-28 Ulrich Drepper <drepper@gmail.com>
24483 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24484 the three constants needed as parameters. Drop the others.
24485 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24486 __m128i_strloadu_tolower.
24487 Create and initialize variable zero and use it in all the places
24488 where _mm_setzero_si128 was used.
24490 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24491 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24492 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24493 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24495 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24496 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24497 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24498 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24499 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24500 __mpranred, __mptan.
24501 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24502 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24503 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24504 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24505 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24506 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24507 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24508 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24509 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24511 2011-10-28 Andreas Schwab <schwab@redhat.com>
24513 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24514 redefine if SHARED.
24515 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24518 wide char related routines to wcsmbs subdir.
24520 2011-10-27 Andreas Schwab <schwab@redhat.com>
24523 * misc/sys/cdefs.h (__THROWNL): Define.
24524 * posix/unistd.h: Use __THREADNL instead of __THREAD
24525 for memory synchronization functions.
24527 2011-10-26 Roland McGrath <roland@hack.frob.com>
24530 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24532 * manual/stdio.texi (Obstack Streams): Node removed.
24534 2011-10-26 Andreas Schwab <schwab@redhat.com>
24536 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24537 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24538 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24540 * math/math_private.h (math_force_eval): Allow non-addressable
24542 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24544 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24546 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24547 file is not needed.
24549 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24550 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24551 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24552 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24553 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24554 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24555 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24556 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24558 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24559 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24560 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24561 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24562 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24563 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24564 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24565 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24566 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24567 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24568 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24569 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24570 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24571 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24572 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24573 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24574 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24575 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24576 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24578 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24579 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24582 place. Use VEX encoding when compiling for AVX.
24584 2011-10-25 Andreas Schwab <schwab@redhat.com>
24586 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24587 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24589 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24591 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24593 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
24594 useless if() expression.
24595 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24596 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24597 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24598 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24599 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24600 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24601 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24603 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24605 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24606 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24607 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24608 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24609 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24610 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24611 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24613 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24615 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24617 2011-10-25 Andreas Schwab <schwab@redhat.com>
24619 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24621 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24623 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24625 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24626 .text section. Avoid duplicate constants.
24627 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24629 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24630 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24631 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24632 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24634 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24635 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24636 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24637 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24638 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24639 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24640 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24641 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24642 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24643 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24644 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24645 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24646 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24647 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24648 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24649 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24650 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24651 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24652 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24653 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24654 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24655 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24656 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24657 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24658 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24659 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24660 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24661 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24662 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24663 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24664 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24665 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24666 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24667 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24668 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24669 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24670 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24671 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24673 2011-10-24 Ulrich Drepper <drepper@gmail.com>
24675 * sysdeps/x86_64/dla.h: Move to ...
24676 * sysdeps/x86_64/fpu/dla.h: ...here.
24677 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24678 situations. Use __builtin_fma only for gcc 4.6 and up.
24680 * config.make.in: Add have-mfma4 entry.
24681 * configure.in: Substitute libc_cv_cc_fma4.
24682 * math/Makefile (dbl-only-routines): Add sincostab.
24683 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24684 Use __sincostab not sincos.
24685 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24692 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24693 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24694 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24695 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24697 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24698 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24700 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24701 define aliases when function name is a macro.
24702 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24703 sysdeps/ieee754/dbl-64/sincos.tbl.
24704 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24705 fma4-enabled routines.
24706 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24707 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24708 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24709 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24710 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24711 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24712 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24713 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24714 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24715 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24716 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24717 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24718 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24719 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24720 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24721 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24722 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24723 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24724 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24725 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24726 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24727 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24728 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24729 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24730 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24731 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24732 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24733 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24734 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24735 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24737 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24739 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24745 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24748 2011-10-24 Andreas Schwab <schwab@redhat.com>
24750 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24752 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24754 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24756 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24758 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24760 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24761 Remove unused variable magic_bits.
24762 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24764 * string/strnlen.c: Define and use STRNLEN macro.
24765 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24766 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24767 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24768 * wcsmbs/wcslen.c: Define and use WCSLEN.
24769 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24770 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24771 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24772 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24773 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24774 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24775 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24777 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24780 strnlen-sse2-no-bsf.
24781 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24782 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24783 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24784 Add strnlen support.
24785 (USE_AS_STRNLEN): New macro.
24786 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24787 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24788 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24789 * sysdeps/x86_64/wcslen.S: New file.
24791 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24794 XMM-moves are used for copying on small sizes.
24796 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24798 * wcsmbs/Makefile (strop-tests): Add wcschr.
24799 * wcsmbs/test-wcschr.c: New file.
24800 * string/test-strchr.c: Update.
24801 Add wcschr support.
24804 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24806 * wcsmbs/Makefile (strop-tests): Add wcslen.
24807 * wcsmbs/test-wcslen.c: New file.
24808 * string/test-strlen.c: Update.
24809 Add wcslen support.
24812 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24814 * po/it.po: Update from translation team.
24816 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24818 * sysdeps/x86_64/wcscmp.S: Update.
24819 Fix wrong comparison semantics.
24820 wcscmp shall use signed comparison not unsigned.
24821 Don't use substraction to avoid overflow bug.
24822 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24823 * wcsmbc/wcscmp.c: Likewise.
24824 * string/test-strcmp.c: Likewise.
24825 Add new tests to check cases with negative values.
24827 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24829 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24830 * sysdeps/x86_64/dla.h: ...here. New file.
24831 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24834 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24835 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24836 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24838 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24841 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24843 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24844 __ynl_finite aliases.
24846 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24850 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24852 [DLA_FMA] (EMULV): Use DLA_FMA.
24853 [DLA_FMA] (MUL12): Use EMULV.
24854 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24855 that are not needed.
24856 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24860 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24861 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24862 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24864 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24866 * math/s_nan.c: Undef __nan.
24867 * math/s_nanf.c: Undef __nanf.
24868 * math/s_nanl.c: Undef __nanl.
24869 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24872 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24874 * math/s_catan.c: Add branch predictions.
24875 * math/s_catanf.c: Likewise.
24876 * math/s_catanh.c: Likewise.
24877 * math/s_catanhf.c: Likewise.
24878 * math/s_catanhl.c: Likewise.
24879 * math/s_catanl.c: Likewise.
24880 * math/s_cexp.c: Likewise.
24881 * math/s_cexpf.c: Likewise.
24882 * math/s_cexpl.c: Likewise.
24883 * math/s_clog.c: Likewise.
24884 * math/s_clog10.c: Likewise.
24885 * math/s_clog10f.c: Likewise.
24886 * math/s_clog10l.c: Likewise.
24887 * math/s_clogf.c: Likewise.
24888 * math/s_clogl.c: Likewise.
24889 * math/s_csqrt.c: Likewise.
24890 * math/s_csqrtf.c: Likewise.
24891 * math/s_csqrtl.c: Likewise.
24892 * math/s_ctanf.c: Likewise.
24893 * math/s_ctanh.c: Likewise.
24894 * math/s_ctanhf.c: Likewise.
24895 * math/s_ctanhl.c: Likewise.
24896 * math/s_ctanl.c: Likewise.
24898 * math/math_private.h: Define __nan, __nanf, __nanl.
24899 * math/s_cacosh.c: Include <math_private.h>.
24900 * math/s_cacoshl.c: Likewise.
24901 * math/s_casinh.c: Likewise.
24902 * math/s_casinhf.c: Likewise.
24903 * math/s_casinhl.c: Likewise.
24904 * math/s_ccos.c: Rely entire on ccosh.
24905 * math/s_ccosf.c: Rely entire on ccoshf.
24906 * math/s_ccosl.c: Rely entirely on ccoshl.
24907 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24908 Remove tests for FE_INVALID.
24909 * math/s_ccoshf.c: Likewise.
24910 * math/s_ccoshl.c: Likewise.
24911 * math/s_csin.c: Likewise.
24912 * math/s_csinf.c: Likewise.
24913 * math/s_csinh.c Likewise.
24914 * math/s_csinhf.c: Likewise.
24915 * math/s_csinhl.c: Likewise.
24916 * math/s_csinl.c: Likewise.
24917 * math/s_ctan.c: Likewise.
24918 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24919 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24920 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24922 2011-10-21 Ulrich Drepper <drepper@gmail.com>
24924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24925 compilation problems.
24927 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24930 2011-10-20 Ulrich Drepper <drepper@gmail.com>
24932 * sysdeps/i386/configure.in: Test for -mfma4 option.
24933 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24934 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24935 COMMON_CPUID_INDEX_80000001.
24936 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24937 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24938 use it if FMA3 is not supported.
24939 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24941 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24942 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24944 2011-10-20 Andreas Schwab <schwab@redhat.com>
24947 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24948 it would create a cycle with a link time dependency.
24950 2011-10-19 Ulrich Drepper <drepper@gmail.com>
24952 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24954 * string/Makefile (strop-tests): Add rawmemchr.
24955 * string/test-rawmemchr.c: New file.
24957 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24959 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24960 when compiling str{,n}casecmp and when AVX is available. Hook up
24961 new optimized code in initializers.
24963 2011-10-19 Andreas Schwab <schwab@redhat.com>
24965 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24966 __feraiseexcept instead of feraiseexcept.
24968 2011-10-18 Ulrich Drepper <drepper@gmail.com>
24970 * math/math_private.h: Define defaults for libc_fetestexcept and
24972 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24973 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24974 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24975 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24976 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24977 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24978 libc_fetestexcept and libc_feupdateenv.
24980 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24981 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24982 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24983 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24984 libc_feholdexcept_setround.
24986 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24987 Add s_nearbyint-c and s_nearbyintf-c.
24988 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24989 nearbyintf inlines.
24990 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24991 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24992 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24993 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24995 * math/math_private.h: Define defaults for libc_fegetround,
24996 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24997 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24998 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24999 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25000 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25001 standard functions.
25002 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25003 Remove comments and hacks for old compiler versions.
25004 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25005 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25006 libc_feholdexceptl.
25008 2011-10-18 Andreas Schwab <schwab@redhat.com>
25010 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25011 (__feraiseexcept_renamed): Add __NTH.
25012 (feraiseexcept): Add __NTH. Rename local variables to fix
25013 namespace violations.
25015 2011-10-17 Ulrich Drepper <drepper@gmail.com>
25017 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25019 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25021 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25022 recently added interfaces.
25023 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25025 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25026 about macro parameter expansion.
25028 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25029 __NO_MATH_INLINES is defined. Cleanups.
25031 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25032 and __floorf is target has SSE4.1.
25033 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25034 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25035 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25036 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25038 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25040 (floorf): Likewise.
25042 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25044 2011-10-17 Andreas Schwab <schwab@redhat.com>
25046 * misc/sys/cdefs.h: Fix last change.
25048 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25051 2011-10-16 Ulrich Drepper <drepper@gmail.com>
25053 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25055 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25056 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25057 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25058 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25059 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25060 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25061 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25062 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25063 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25064 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25065 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25066 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25067 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25068 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25069 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25070 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25071 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25072 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25073 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25074 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25075 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25076 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25078 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25079 ceil, ceilf, floor, floorf.
25081 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25082 Perform IRELATIVE relocations last.
25084 * elf/do-rel.h: Add another parameter nrelative, replacing the
25085 local variable with the same name. Change name of the function
25086 to end in Rel or Rela (uppercase).
25087 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25088 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25089 elf_dynamic_do_##reloc function.
25091 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25093 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25094 is sufficient, at least on modern CPUs.
25096 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25098 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25099 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25101 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25103 * math/bits/math-finite.h: Add entries for exp.
25104 * math/e_expl.c: Add __*_finite alias.
25105 * sysdeps/i386/fpu/e_exp.S: Likewise.
25106 * sysdeps/i386/fpu/e_expf.S: Likewise.
25107 * sysdeps/i386/fpu/e_expl.c: Likewise.
25108 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25109 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25110 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25111 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25112 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25113 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25114 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25116 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25117 is sufficient, at least on modern CPUs.
25119 * ctype/ctype-info.c (__ctype_init): Define.
25120 * include/ctype.h (__ctype_init): Declare.
25121 (__ctype_b_loc): The variable is always initialized.
25122 (__ctype_toupper_loc): Likewise.
25123 (__ctype_tolower_loc): Likewise.
25124 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25125 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25127 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25129 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25131 * configure.in: Also look in $cxxmachine/include for C++ system
25134 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25136 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25137 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25138 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25139 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25140 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25141 (USE_AS_WMEMCMP): New macro.
25143 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25144 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25145 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25146 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25148 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25149 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25150 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25151 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25152 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25153 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25154 (USE_AS_WMEMCMP): New macro.
25155 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25156 * sysdeps/string/test-memcmp.c: Update.
25157 Fix simple_wmemcmp.
25159 * wcsmbs/wmemcmp.c: Update.
25160 (WMEMCMP): New macro.
25163 2011-10-12 Andreas Jaeger <aj@suse.de>
25166 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25168 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25170 * libio/iofwide.c (do_length): Avoid warning.
25172 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25174 2011-10-14 Ulrich Drepper <drepper@gmail.com>
25176 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25178 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25179 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25180 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25181 * sysdeps/i386/i686/fpu/e_log.S: New file.
25182 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25183 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25185 * ctype/ctype.h: Add support for inlined isXXX functions when
25186 compiling C++ code.
25188 2011-10-14 Andreas Schwab <schwab@redhat.com>
25190 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25192 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25194 2011-10-13 Roland McGrath <roland@hack.frob.com>
25197 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25199 2011-10-13 Andreas Schwab <schwab@redhat.com>
25201 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25202 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25205 * sysdeps/x86_64/memrchr.S: Check for zero size.
25207 * string/stratcliff.c: Add memrchr tests.
25209 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25212 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25213 rawmemchr-sse2 rawmemchr-sse2-bsf.
25214 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25215 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25216 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25217 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25218 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25219 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25220 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25221 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25222 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25223 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25224 * string/memrchr.c (MEMRCHR): New macro.
25226 2011-10-12 Ulrich Drepper <drepper@gmail.com>
25228 Add integration with gcc's -ffinite-math-only and optimize wrapper
25230 * Versions.def: Define GLIBC_2.15 version for libm.
25231 * math/Makefile (headers): Add bits/math-finite.h.
25232 * math/bits/math-finite.h: New file.
25233 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25234 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25235 * math/e_acoshl.c: Add __*_finite alias.
25236 * math/e_acosl.c: Likewise.
25237 * math/e_asinl.c: Likewise.
25238 * math/e_atan2l.c: Likewise.
25239 * math/e_atanhl.c: Likewise.
25240 * math/e_coshl.c: Likewise.
25241 * math/e_exp10.c: Likewise.
25242 * math/e_exp10f.c: Likewise.
25243 * math/e_exp10l.c: Likewise.
25244 * math/e_exp2l.c: Likewise.
25245 * math/e_fmodl.c: Likewise.
25246 * math/e_gammal_r.c: Likewise.
25247 * math/e_hypotl.c: Likewise.
25248 * math/e_j0l.c: Likewise.
25249 * math/e_j1l.c: Likewise.
25250 * math/e_jnl.c: Likewise.
25251 * math/e_lgammal_r.c: Likewise.
25252 * math/e_log10l.c: Likewise.
25253 * math/e_log2l.c: Likewise.
25254 * math/e_logl.c: Likewise.
25255 * math/e_powl.c: Likewise.
25256 * math/e_sinhl.c: Likewise.
25257 * math/e_sqrtl.c: Likewise.
25258 * math/e_scalb.c: Completely rewritten and optimized.
25259 * math/e_scalbf.c: Likewise.
25260 * math/e_scalbl.c: Likewise.
25261 * math/w_acos.c: Likewise.
25262 * math/w_acosf.c: Likewise.
25263 * math/w_acosl.c: Likewise.
25264 * math/w_acosh.c: Likewise.
25265 * math/w_acoshf.c: Likewise.
25266 * math/w_acoshl.c: Likewise.
25267 * math/w_asin.c: Likewise.
25268 * math/w_asinf.c: Likewise.
25269 * math/w_asinl.c: Likewise.
25270 * math/w_atan2.c: Likewise.
25271 * math/w_atan2f.c: Likewise.
25272 * math/w_atan2l.c: Likewise.
25273 * math/w_atanh.c: Likewise.
25274 * math/w_atanhf.c: Likewise.
25275 * math/w_atanhl.c: Likewise.
25276 * math/w_exp10.c: Likewise.
25277 * math/w_exp10f.c: Likewise.
25278 * math/w_exp10l.c: Likewise.
25279 * math/w_fmod.c: Likewise.
25280 * math/w_fmodf.c: Likewise.
25281 * math/w_fmodl.c: Likewise.
25282 * math/w_j0.c: Likewise.
25283 * math/w_j0f.c: Likewise.
25284 * math/w_j0l.c: Likewise.
25285 * math/w_j1.c: Likewise.
25286 * math/w_j1f.c: Likewise.
25287 * math/w_j1l.c: Likewise.
25288 * math/w_jn.c: Likewise.
25289 * math/w_jnf.c: Likewise.
25290 * math/w_log.c: Likewise.
25291 * math/w_logf.c: Likewise.
25292 * math/w_logl.c: Likewise.
25293 * math/w_log10.c: Likewise.
25294 * math/w_log10f.c: Likewise.
25295 * math/w_log10l.c: Likewise.
25296 * math/w_log2.c: Likewise.
25297 * math/w_log2f.c: Likewise.
25298 * math/w_log2l.c: Likewise.
25299 * math/w_pow.c: Likewise.
25300 * math/w_powf.c: Likewise.
25301 * math/w_powl.c: Likewise.
25302 * math/w_remainder.c: Likewise.
25303 * math/w_remainderf.c: Likewise.
25304 * math/w_remainderl.c: Likewise.
25305 * math/w_scalb.c: Likewise.
25306 * math/w_scalbf.c: Likewise.
25307 * math/w_scalbl.c: Likewise.
25308 * math/w_sqrt.c: Likewise.
25309 * math/w_sqrtf.c: Likewise.
25310 * math/w_sqrtl.c: Likewise.
25311 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25312 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25314 * math/math_private.h: Declare __kernel_standard_f.
25315 * math/w_cosh.c: Remove cruft and optimize a bit.
25316 * math/w_coshf.c: Likewise.
25317 * math/w_coshl.c: Likewise.
25318 * math/w_exp2.c: Likewise.
25319 * math/w_exp2f.c: Likewise.
25320 * math/w_exp2l.c: Likewise.
25321 * math/w_hypot.c: Likewise.
25322 * math/w_hypotf.c: Likewise.
25323 * math/w_hypotl.c: Likewise.
25324 * math/w_lgamma.c: Likewise.
25325 * math/w_lgamma_r.c: Likewise.
25326 * math/w_lgammaf.c: Likewise.
25327 * math/w_lgammaf_r.c: Likewise.
25328 * math/w_lgammal.c: Likewise.
25329 * math/w_lgammal_r.c: Likewise.
25330 * math/w_sinh.c: Likewise.
25331 * math/w_sinhf.c: Likewise.
25332 * math/w_sinhl.c: Likewise.
25333 * math/w_tgamma.c: Likewise.
25334 * math/w_tgammaf.c: Likewise.
25335 * math/w_tgammal.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25337 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25338 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25339 Minor optimizations. Pretty printing. Remove cruft.
25340 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25341 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25342 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25343 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25344 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25345 * sysdeps/i386/fpu/e_asin.S: Likewise.
25346 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25347 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25348 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25349 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25350 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25351 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25352 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25353 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25354 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25355 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25356 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25357 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25358 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25359 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25360 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25361 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25362 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25363 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25364 * sysdeps/i386/fpu/e_log.S: Likewise.
25365 * sysdeps/i386/fpu/e_log10.S: Likewise.
25366 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25367 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25368 * sysdeps/i386/fpu/e_log2.S: Likewise.
25369 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25370 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25371 * sysdeps/i386/fpu/e_logf.S: Likewise.
25372 * sysdeps/i386/fpu/e_logl.S: Likewise.
25373 * sysdeps/i386/fpu/e_pow.S: Likewise.
25374 * sysdeps/i386/fpu/e_powf.S: Likewise.
25375 * sysdeps/i386/fpu/e_powl.S: Likewise.
25376 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25377 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25378 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25379 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25380 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25381 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25382 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25383 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25384 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25389 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25390 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25392 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25393 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25394 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25395 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25396 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25398 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25399 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25401 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25402 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25403 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25405 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25406 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25407 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25408 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25409 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25410 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25411 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25412 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25413 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25414 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25415 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25416 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25417 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25418 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25419 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25420 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25421 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25422 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25423 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25424 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25425 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25426 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25427 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25428 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25429 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25430 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25431 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25432 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25433 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25434 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25435 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25437 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25438 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25440 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25441 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25442 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25443 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25444 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25447 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25448 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25449 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25450 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25451 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25454 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25456 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25457 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25459 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25460 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25461 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25462 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25463 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25464 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25465 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25466 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25467 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25468 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25469 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25470 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25471 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25472 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25473 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25474 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25475 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25476 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25477 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25478 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25479 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25480 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25481 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25482 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25483 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25484 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25485 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25486 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25487 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25488 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25489 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25490 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25491 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25492 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25493 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25494 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25495 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25496 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25497 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25498 (__isnanf): Likewise.
25499 (__isinf_ns): Likewise.
25500 (__isinf_nsf): Likewise.
25501 (__finite): Likewise.
25502 (__finitef): Likewise.
25503 (__ieee754_sqrt): Define as macro.
25504 (__ieee754_sqrtf): Define as macro.
25505 (__ieee754_sqrtl): Define as macro.
25506 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25508 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25509 __FINITE_MATH_ONLY__ consistent.
25510 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25512 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25514 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25517 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25519 2011-10-09 Ulrich Drepper <drepper@gmail.com>
25521 * po/ja.po: Update from translation team.
25523 2011-10-08 Roland McGrath <roland@hack.frob.com>
25525 * locale/programs/locarchive.c (prepare_address_space): New function.
25526 (create_archive, enlarge_archive, open_archive): Use it.
25528 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25529 inside [SHARED], where it is used.
25531 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25533 * nss/getent.c (netgroup_keys): Remove unused variable.
25534 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25536 2011-10-08 Ulrich Drepper <drepper@gmail.com>
25538 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25539 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25541 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25542 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25543 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25544 * math/Makefile (libm-calls): Add s_isinf_ns.
25545 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25546 * math/multc3.c: Likewise.
25547 * math/s_casin.c: Likewise.
25548 * math/s_casinf.c: Likewise.
25549 * math/s_casinl.c: Likewise.
25550 * math/s_ccos.c: Likewise.
25551 * math/s_ccosf.c: Likewise.
25552 * math/s_ccosl.c: Likewise.
25553 * math/s_ctan.c: Likewise.
25554 * math/s_ctanf.c: Likewise.
25555 * math/s_ctanh.c: Likewise.
25556 * math/s_ctanhf.c: Likewise.
25557 * math/s_ctanhl.c: Likewise.
25558 * math/s_ctanl.c: Likewise.
25559 * math/w_fmod.c: Likewise.
25560 * math/w_fmodf.c: Likewise.
25561 * math/w_fmodl.c: Likewise.
25562 * math/w_remainder.c: Likewise.
25563 * math/w_remainderf.c: Likewise.
25564 * math/w_remainderl.c: Likewise.
25565 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25566 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25567 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25568 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25569 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25570 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25571 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25572 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25574 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25576 * stdio-common/printf_fphex.c: Likewise.
25577 * stdio-common/printf_size.c: Likewise.
25579 * math/e_exp10.c: Include math_private.h using <...> not "...".
25580 * math/e_exp10f.c: Likewise.
25581 * math/e_exp10l.c: Likewise.
25582 * math/e_exp2l.c: Likewise.
25583 * math/e_j0l.c: Likewise.
25584 * math/e_j1l.c: Likewise.
25585 * math/e_jnl.c: Likewise.
25586 * math/e_lgammal_r.c: Likewise.
25587 * math/e_rem_pio2l.c: Likewise.
25588 * math/e_scalb.c: Likewise.
25589 * math/e_scalbf.c: Likewise.
25590 * math/e_scalbl.c: Likewise.
25591 * math/k_cosl.c: Likewise.
25592 * math/k_sinl.c: Likewise.
25593 * math/k_tanl.c: Likewise.
25594 * math/s_cacoshf.c: Likewise.
25595 * math/s_catan.c: Likewise.
25596 * math/s_catanf.c: Likewise.
25597 * math/s_catanh.c: Likewise.
25598 * math/s_catanhf.c: Likewise.
25599 * math/s_catanhl.c: Likewise.
25600 * math/s_catanl.c: Likewise.
25601 * math/s_ccosh.c: Likewise.
25602 * math/s_ccoshf.c: Likewise.
25603 * math/s_ccoshl.c: Likewise.
25604 * math/s_cexp.c: Likewise.
25605 * math/s_cexpf.c: Likewise.
25606 * math/s_cexpl.c: Likewise.
25607 * math/s_clog.c: Likewise.
25608 * math/s_clog10.c: Likewise.
25609 * math/s_clog10f.c: Likewise.
25610 * math/s_clog10l.c: Likewise.
25611 * math/s_clogf.c: Likewise.
25612 * math/s_clogl.c: Likewise.
25613 * math/s_csin.c: Likewise.
25614 * math/s_csinf.c: Likewise.
25615 * math/s_csinh.c: Likewise.
25616 * math/s_csinhf.c: Likewise.
25617 * math/s_csinhl.c: Likewise.
25618 * math/s_csinl.c: Likewise.
25619 * math/s_csqrt.c: Likewise.
25620 * math/s_csqrtf.c: Likewise.
25621 * math/s_csqrtl.c: Likewise.
25622 * math/s_ctan.c: Likewise.
25623 * math/s_ctanf.c: Likewise.
25624 * math/s_ctanh.c: Likewise.
25625 * math/s_ctanhf.c: Likewise.
25626 * math/s_ctanhl.c: Likewise.
25627 * math/s_ctanl.c: Likewise.
25628 * math/s_ldexp.c: Likewise.
25629 * math/s_ldexpf.c: Likewise.
25630 * math/s_ldexpl.c: Likewise.
25631 * math/s_significand.c: Likewise.
25632 * math/s_significandf.c: Likewise.
25633 * math/s_significandl.c: Likewise.
25634 * math/w_acos.c: Likewise.
25635 * math/w_acosf.c: Likewise.
25636 * math/w_acosh.c: Likewise.
25637 * math/w_acoshf.c: Likewise.
25638 * math/w_acoshl.c: Likewise.
25639 * math/w_acosl.c: Likewise.
25640 * math/w_asin.c: Likewise.
25641 * math/w_asinf.c: Likewise.
25642 * math/w_asinl.c: Likewise.
25643 * math/w_atan2.c: Likewise.
25644 * math/w_atan2f.c: Likewise.
25645 * math/w_atan2l.c: Likewise.
25646 * math/w_atanh.c: Likewise.
25647 * math/w_atanhf.c: Likewise.
25648 * math/w_atanhl.c: Likewise.
25649 * math/w_cosh.c: Likewise.
25650 * math/w_coshf.c: Likewise.
25651 * math/w_coshl.c: Likewise.
25652 * math/w_dremf.c: Likewise.
25653 * math/w_exp10.c: Likewise.
25654 * math/w_exp10f.c: Likewise.
25655 * math/w_exp10l.c: Likewise.
25656 * math/w_exp2.c: Likewise.
25657 * math/w_exp2f.c: Likewise.
25658 * math/w_fmod.c: Likewise.
25659 * math/w_fmodf.c: Likewise.
25660 * math/w_fmodl.c: Likewise.
25661 * math/w_hypot.c: Likewise.
25662 * math/w_hypotf.c: Likewise.
25663 * math/w_hypotl.c: Likewise.
25664 * math/w_j0.c: Likewise.
25665 * math/w_j0f.c: Likewise.
25666 * math/w_j0l.c: Likewise.
25667 * math/w_j1.c: Likewise.
25668 * math/w_j1f.c: Likewise.
25669 * math/w_j1l.c: Likewise.
25670 * math/w_jn.c: Likewise.
25671 * math/w_jnf.c: Likewise.
25672 * math/w_jnl.c: Likewise.
25673 * math/w_lgamma.c: Likewise.
25674 * math/w_lgamma_r.c: Likewise.
25675 * math/w_lgammaf.c: Likewise.
25676 * math/w_lgammaf_r.c: Likewise.
25677 * math/w_lgammal.c: Likewise.
25678 * math/w_lgammal_r.c: Likewise.
25679 * math/w_log.c: Likewise.
25680 * math/w_log10.c: Likewise.
25681 * math/w_log10f.c: Likewise.
25682 * math/w_log10l.c: Likewise.
25683 * math/w_log2.c: Likewise.
25684 * math/w_log2f.c: Likewise.
25685 * math/w_log2l.c: Likewise.
25686 * math/w_logf.c: Likewise.
25687 * math/w_logl.c: Likewise.
25688 * math/w_pow.c: Likewise.
25689 * math/w_powf.c: Likewise.
25690 * math/w_powl.c: Likewise.
25691 * math/w_remainder.c: Likewise.
25692 * math/w_remainderf.c: Likewise.
25693 * math/w_remainderl.c: Likewise.
25694 * math/w_scalb.c: Likewise.
25695 * math/w_scalbf.c: Likewise.
25696 * math/w_scalbl.c: Likewise.
25697 * math/w_sinh.c: Likewise.
25698 * math/w_sinhf.c: Likewise.
25699 * math/w_sinhl.c: Likewise.
25700 * math/w_sqrt.c: Likewise.
25701 * math/w_sqrtf.c: Likewise.
25702 * math/w_sqrtl.c: Likewise.
25703 * math/w_tgamma.c: Likewise.
25704 * math/w_tgammaf.c: Likewise.
25705 * math/w_tgammal.c: Likewise.
25707 * po/ja.po: Update from translation team.
25709 2011-09-29 Andreas Jaeger <aj@suse.de>
25712 * sunrpc/netname.c (netname2host): Fix logic.
25716 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25718 * math/w_remainder.c (__remainder): Likewise.
25719 * math/w_remainderf.c (__remainderf): Likewise.
25720 * math/libm-test.inc (remainder_test): Add test cases.
25722 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25724 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25727 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25729 * string/test-memcmp.c: Avoid unncessary #defines.
25730 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25732 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25734 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25735 Use new sse2 version for core i3 - i7 as it's faster
25736 than sse42 version.
25737 (bit_Prefer_PMINUB_for_stringop): New.
25738 * sysdeps/x86_64/rawmemchr.S: Update.
25739 Replace with faster SSE2 version.
25740 * sysdeps/x86_64/memrchr.S: New file.
25741 * sysdeps/x86_64/memchr.S: Update.
25742 Replace with faster SSE2 version.
25744 2011-09-12 Marek Polacek <mpolacek@redhat.com>
25746 * elf/dl-load.c (lose): Add cast to avoid warning.
25748 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25750 * po/ca.po: Update from translation team.
25752 * inet/getnetgrent_r.c: Hook up nscd.
25753 * nscd/Makefile (routines): Add nscd_netgroup.
25754 (nscd-modules): Add netgroupcache.
25755 (CFLAGS-netgroupcache.c): Define.
25756 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25757 (cache_search): Add const to second parameter.
25758 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25760 (dbs): Add netgrdb entry.
25761 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25762 (verify_persistent_db): Handle netgrdb.
25763 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25764 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25766 (netgroup_response_header): Define.
25767 (innetgroup_response_header): Define.
25768 (datahead): Add netgroup_response_header and innetgroup_response_header
25770 * nscd/nscd.conf: Add entries for netgroup cache.
25771 * nscd/nscd.h (dbtype): Add netgrdb.
25772 (_PATH_NSCD_NETGROUP_DB): Define.
25773 (netgroup_iov_disabled): Declare.
25774 (xmalloc, xcalloc, xrealloc): Move declarations here.
25775 (cache_search): Adjust prototype.
25776 Add netgroup-related prototypes.
25777 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25778 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25779 (__nscd_innetgr): Declare.
25780 * nscd/selinux.c (perms): Use access_vector_t as element type and
25781 add netgroup-related initializers.
25782 * nscd/netgroupcache.c: New file.
25783 * nscd/nscd_netgroup.c: New file.
25784 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25785 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25786 For four parameters use innetgr.
25787 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25788 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25789 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25790 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25792 * nscd/connections.c (register_traced_file): Don't register file
25793 for disabled databases.
25795 2011-10-06 Ulrich Drepper <drepper@gmail.com>
25797 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25799 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25800 from tree and freeing node.
25802 2011-09-25 Jiri Olsa <jolsa@redhat.com>
25804 * nss/nsswitch.c (__nss_database_lookup): Handle
25805 nss_parse_service_list out of memory case.
25807 2011-09-15 Jiri Olsa <jolsa@redhat.com>
25809 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25810 out of memory case.
25812 2011-10-04 Andreas Schwab <schwab@redhat.com>
25814 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25815 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25817 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25818 elf_machine_rela, elf_machine_lazy_rel.
25819 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25820 (ELF_DYNAMIC_DO_REL): Likewise.
25821 (ELF_DYNAMIC_DO_RELA): Likewise.
25822 (ELF_DYNAMIC_RELOCATE): Likewise.
25823 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25824 to ELF_DYNAMIC_DO_REL.
25825 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25826 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25827 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25829 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25830 skip_ifunc, don't call ifunc function if non-zero.
25831 (elf_machine_rela): Likewise.
25832 (elf_machine_lazy_rel): Likewise.
25833 (elf_machine_lazy_rela): Likewise.
25834 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25835 (elf_machine_lazy_rel): Likewise.
25836 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25838 (elf_machine_lazy_rel): Likewise.
25839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25841 (elf_machine_lazy_rel): Likewise.
25842 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25843 (elf_machine_lazy_rel): Likewise.
25844 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25845 (elf_machine_lazy_rel): Likewise.
25846 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25847 (elf_machine_lazy_rel): Likewise.
25848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25849 (elf_machine_lazy_rel): Likewise.
25850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25851 (elf_machine_lazy_rel): Likewise.
25852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25853 (elf_machine_lazy_rel): Likewise.
25855 2011-09-28 Ulrich Drepper <drepper@gmail.com>
25857 * nss/nss_files/files-init.c (_nss_files_init): Use static
25858 initialization for all the *_traced_file variables.
25860 2011-09-28 Andreas Schwab <schwab@redhat.com>
25862 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25864 2011-09-27 Roland McGrath <roland@hack.frob.com>
25867 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25869 2011-09-27 Andreas Schwab <schwab@redhat.com>
25871 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25872 Reread the line before reparsing it.
25874 2011-09-26 Andreas Schwab <schwab@redhat.com>
25876 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25878 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25879 Maxim Kuvyrkov <maxim@codesourcery.com>
25880 Joseph Myers <joseph@codesourcery.com>
25882 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25883 if needed for __stack_chk_guard.
25885 2011-09-19 Roland McGrath <roland@hack.frob.com>
25887 * sysdeps/posix/spawni.c (script_execute): Always define it.
25888 It will be optimized away if unused.
25889 (maybe_script_execute): New function.
25890 (__spawni): Call it.
25892 * Makerules: Don't include tls.make.
25893 (config-tls): Always set to thread.
25894 * tls.make.c: File removed.
25896 2011-09-19 Mike Frysinger <vapier@gentoo.org>
25898 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25899 * config.make.in (CPPFLAGS-config): New substituted variable.
25901 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25903 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25906 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25907 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25909 2011-09-15 Roland McGrath <roland@hack.frob.com>
25911 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25912 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25913 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25914 (CALL_FAIL): Likewise.
25915 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25916 (CALL_FAIL): Macro removed.
25917 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25919 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25921 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25922 for __FINITE_MATH_ONLY__ == 1.
25924 2011-09-15 Andreas Schwab <schwab@redhat.com>
25926 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25927 __ieee754_sqrt instead of sqrt.
25928 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25929 __ieee754_sqrtf instead of sqrtf.
25930 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25931 __floorf instead of floorf.
25932 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25933 __floorf, __truncf instead of floorf, truncf.
25935 2011-09-14 Ulrich Drepper <drepper@gmail.com>
25937 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25939 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25940 __extern_always_inline.
25941 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25944 2011-09-14 Andreas Schwab <schwab@redhat.com>
25946 * elf/rtld.c (dl_main): Also relocate in dependency order when
25947 doing symbol dependency testing.
25949 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25952 Always define `refsym'.
25954 2011-09-13 Andreas Schwab <schwab@redhat.com>
25956 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25957 (__FD_ELT): Renamed from __FDELT.
25958 * misc/bits/select2.h (__FD_ELT): Likewise.
25959 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25960 __FD_MASK instead of __FDELT, __FDMASK.
25961 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25963 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25966 * elf/Makefile (gen-ldd): Fix pattern.
25968 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25969 (init_tls): Likewise.
25971 2011-09-12 Ulrich Drepper <drepper@gmail.com>
25973 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25975 2011-09-12 Andreas Schwab <schwab@redhat.com>
25977 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25978 `struct cmsghdr *' instead of `void *'.
25979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25982 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25984 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25986 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25987 ldd_rewrite_script.
25989 2011-09-11 Ulrich Drepper <drepper@gmail.com>
25991 * configure.in: Remove --with-tls option.
25992 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25993 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25994 out in case it is missing.
25995 * sysdeps/ia64/elf/configure.in: Likewise.
25996 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25997 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25998 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25999 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26000 * sysdeps/sh/elf/configure.in: Likewise.
26001 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26002 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26003 * sysdeps/x86_64/elf/configure.in: Likewise.
26004 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26005 * sysdeps/mach/hurd/tls.h: Likewise.
26008 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26011 * configure.in: Fix use of AC_INIT.
26013 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26015 2011-09-10 Ulrich Drepper <drepper@gmail.com>
26017 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26019 * malloc/hooks.c: Likewise.
26022 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26023 variables statically.
26024 (narenas): Initialize.
26025 (list_lock): Initialize.
26026 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26027 initializtion of main_arena and list_lock. Small cleanups.
26028 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26029 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26030 Add initializers to main_arena and mp_.
26031 (malloc_state): Remove pagesize member. Change all users to use
26034 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26035 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26036 is always initialized.
26038 * malloc/malloc.c: Removed unused configurations and dead code.
26039 * malloc/arena.c: Likewise.
26040 * malloc/hooks.c: Likewise.
26041 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26043 * include/tls.h: Removed. USE___THREAD must always be defined.
26044 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26045 * elf/dl-libc.c: Likewise.
26046 * elf/dl-tsd.c: Likewise.
26047 * include/errno.h: Likewise.
26048 * include/netdb.h: Likewise.
26049 * include/resolv.h: Likewise.
26050 * inet/herrno-loc.c: Likewise.
26051 * inet/herrno.c: Likewise.
26052 * malloc/arena.c: Likewise.
26053 * malloc/hooks.c: Likewise.
26054 * malloc/malloc.c: Likewise.
26055 * resolv/res-state.c: Likewise.
26056 * resolv/res_libc.c: Likewise.
26057 * sysdeps/i386/dl-machine.h: Likewise.
26058 * sysdeps/ia64/dl-machine.h: Likewise.
26059 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26060 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26061 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26062 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26063 * sysdeps/sh/dl-machine.h: Likewise.
26064 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26065 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26066 * sysdeps/unix/i386/sysdep.S: Likewise.
26067 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26068 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26071 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26073 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26074 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26075 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26077 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26078 * sysdeps/x86_64/dl-machine.h: Likewise.
26079 * tls.make.c: Likewise.
26081 * configure.in: Remove --with-__thread option. Make tests for
26082 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26083 tls_model attribute fail if no support is available. Remove
26085 * Makeconfig: Adjust for dropped configure option. All features are
26087 * Makerules: Likewise.
26088 * Versions.def: Likewise.
26089 * argp/argp-fmtstream.c: Likewise.
26090 * argp/argp-fmtstream.h: Likewise.
26091 * argp/argp-help.c: Likewise.
26092 * assert/assert.c: Likewise.
26093 * config.h.in: Likewise.
26094 * config.make.in: Likewise.
26095 * configure: Likewise.
26096 * configure.in: Likewise.
26097 * csu/Versions: Likewise.
26098 * csu/init.c: Likewise.
26099 * elf/tst-audit2.c: Likewise.
26100 * elf/tst-tls10.c: Likewise.
26101 * elf/tst-tls10.h: Likewise.
26102 * elf/tst-tls11.c: Likewise.
26103 * elf/tst-tls12.c: Likewise.
26104 * elf/tst-tls14.c: Likewise.
26105 * elf/tst-tlsmod11.c: Likewise.
26106 * elf/tst-tlsmod12.c: Likewise.
26107 * elf/tst-tlsmod13.c: Likewise.
26108 * elf/tst-tlsmod13a.c: Likewise.
26109 * elf/tst-tlsmod14a.c: Likewise.
26110 * elf/tst-tlsmod15b.c: Likewise.
26111 * elf/tst-tlsmod16a.c: Likewise.
26112 * elf/tst-tlsmod16b.c: Likewise.
26113 * elf/tst-tlsmod7.c: Likewise.
26114 * elf/tst-tlsmod8.c: Likewise.
26115 * elf/tst-tlsmod9.c: Likewise.
26116 * gmon/gmon.c: Likewise.
26117 * grp/fgetgrent_r.c: Likewise.
26118 * grp/putgrent.c: Likewise.
26119 * hurd/fopenport.c: Likewise.
26120 * include/libc-symbols.h: Likewise.
26121 * include/tls.h: Likewise.
26122 * intl/gettextP.h: Likewise.
26123 * intl/loadinfo.h: Likewise.
26124 * locale/global-locale.c: Likewise.
26125 * locale/localeinfo.h: Likewise.
26126 * mach/devstream.c: Likewise.
26127 * malloc/arena.c: Likewise.
26128 * malloc/set-freeres.c: Likewise.
26129 * misc/err.c: Likewise.
26130 * misc/getttyent.c: Likewise.
26131 * misc/mntent_r.c: Likewise.
26132 * posix/getopt.c: Likewise.
26133 * posix/wordexp.c: Likewise.
26134 * pwd/fgetpwent_r.c: Likewise.
26135 * resolv/Versions: Likewise.
26136 * resolv/res_hconf.c: Likewise.
26137 * shadow/fgetspent_r.c: Likewise.
26138 * shadow/putspent.c: Likewise.
26139 * stdio-common/printf_fphex.c: Likewise.
26140 * stdio-common/tmpfile.c: Likewise.
26141 * stdlib/abort.c: Likewise.
26142 * stdlib/fmtmsg.c: Likewise.
26143 * sunrpc/auth_unix.c: Likewise.
26144 * sunrpc/clnt_perr.c: Likewise.
26145 * sunrpc/clnt_tcp.c: Likewise.
26146 * sunrpc/clnt_udp.c: Likewise.
26147 * sunrpc/clnt_unix.c: Likewise.
26148 * sunrpc/openchild.c: Likewise.
26149 * sunrpc/svc_simple.c: Likewise.
26150 * sunrpc/svc_tcp.c: Likewise.
26151 * sunrpc/svc_udp.c: Likewise.
26152 * sunrpc/svc_unix.c: Likewise.
26153 * sunrpc/xdr.c: Likewise.
26154 * sunrpc/xdr_array.c: Likewise.
26155 * sunrpc/xdr_rec.c: Likewise.
26156 * sunrpc/xdr_ref.c: Likewise.
26157 * sunrpc/xdr_stdio.c: Likewise.
26159 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26161 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26163 2011-07-03 Andreas Jaeger <aj@suse.de>
26165 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26166 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26167 regenerate with gen-libm-tests.pl.
26169 2010-05-12 Petr Baudis <pasky@suse.cz>
26172 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26173 around j0() zero points by switching to j1().
26174 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26175 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26176 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26177 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26179 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26181 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26183 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26186 Patch in part by Pavel Roskin <proski@gnu.org>.
26189 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26191 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26192 Free memory block if necessary.
26195 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26196 be NULL. Don't lock in this case.
26198 2011-09-09 Roland McGrath <roland@hack.frob.com>
26200 * elf/elf.h (ELFOSABI_GNU): New macro.
26201 (ELFOSABI_LINUX): Define to that.
26203 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26205 * string/strncat.c (strncat): Undef the symbol in case it has been
26206 defined in bits/string.h.
26208 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26210 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26212 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26215 2011-08-17 Andreas Jaeger <aj@suse.de>
26217 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26219 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26220 Ian Lance Taylor <iant@google.com>
26222 * math/libm-test.inc (lround_test): New testcase.
26223 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26225 2011-09-08 Ulrich Drepper <drepper@gmail.com>
26227 * Makefile: Remove support for automatic cvs check-ins.
26228 * Makerules: Likewise.
26229 * config.make.in: Likewise.
26230 * configure.in: Likewise.
26231 * intl/Makefile: Likewise.
26232 * locale/Makefile: Likewise.
26233 * po/Makefile: Likewise.
26234 * posix/Makefile: Likewise.
26235 * sysdeps/gnu/Makefile: Likewise.
26236 * sysdeps/mach/hurd/Makefile: Likewise.
26237 * sysdeps/sparc/sparc32/Makefile: Likewise.
26240 * posix/Makefile (bug-regex32-ENV): Define.
26241 Patch by John Stanley <jpsinthemix@verizon.net>.
26243 * misc/Makefile (headers): Add bits/select2.h.
26244 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26245 * misc/bits/select2.h: New file.
26246 * include/bits/select2.h: New file.
26247 * debug/Makefile (routines): Add fdelt_chk.
26248 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26249 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26251 * debug/fdelt_chk.c: New file.
26253 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26254 * wcsmbs/test-wmemcmp.c: Likewise.
26255 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
26256 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
26258 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26260 * string/Makefile (strop-tests): Add memcmp.
26261 * string/test-wmemcmp.c: New file.
26262 * string/test-memcmp.c: Add wmemcmp support.
26264 2011-09-08 Roland McGrath <roland@hack.frob.com>
26267 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26270 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26271 garbage value in a __mach_port_mod_refs call in the cases of the
26272 task-self and thread-self ports.
26274 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26276 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26278 2011-09-08 Andreas Schwab <schwab@redhat.com>
26280 * elf/dl-load.c (lose): Check for non-null L.
26282 2011-09-07 Ulrich Drepper <drepper@gmail.com>
26284 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26286 * elf/dl-libc.c (dlerror_run): Pass back error code from
26290 * elf/dl-load.c (lose): Free l_origin if it is valid.
26292 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26294 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26295 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26297 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26298 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26299 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26301 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26303 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26304 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26305 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26306 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26307 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26308 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26309 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26310 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26311 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26312 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26314 2011-08-15 Alan Modra <amodra@gmail.com>
26317 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26318 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26319 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26320 ppc_mcount to static-only-routines.
26321 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26323 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26324 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26326 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26328 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26329 for finite and infinity parameters.
26331 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26333 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26334 and add nop instructions for throughput optimization.
26335 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26337 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26339 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26340 aligned copy for power7 with vector-scalar instructions.
26341 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26343 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26345 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26348 2011-09-07 Andreas Schwab <schwab@redhat.com>
26351 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26354 2011-09-07 Ulrich Drepper <drepper@gmail.com>
26356 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26357 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26358 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26359 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26362 2011-09-06 Ulrich Drepper <drepper@gmail.com>
26364 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26365 Forgot to demangle the pointer.
26367 * sysdeps/i386/sysdep.h: Define atom_text_section.
26368 * sysdeps/x86_64/sysdep.h: Likewise.
26369 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26370 section with atom_text_section.
26371 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26372 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26373 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26374 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26375 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26377 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26378 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26379 already be defined. Change to take two parameters and don't assign
26380 result to variable. Adjust all users.
26381 Define INTERNAL_GETTIME if not already defined.
26382 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26385 HAVE_CLOCK_GETTIME_VSYSCALL.
26386 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26389 gettimeofday vsyscall, just use time.
26391 2011-09-06 Andreas Schwab <schwab@redhat.com>
26393 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26396 2011-09-06 Ulrich Drepper <drepper@gmail.com>
26398 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26402 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26403 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26404 syscall if possible.
26406 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26408 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26409 e_ident. Don't pass to find_mapsXX.
26410 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26412 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26415 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26416 * sysdeps/x86_64/multiarch/strchr.S: Update.
26417 Check bit_slow_BSF bit.
26418 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26419 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26420 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26422 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26425 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26427 (tryshell): Define.
26428 (__spawni): Change last parameter to be flag. Test
26429 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26430 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26431 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26432 * posix/spawni.c: Likewise.
26433 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26434 * posix/spawnp.c: Likewise. Change normal version to use
26435 SPAWN_XFLAGS_USE_PATH.
26436 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26437 SPAWN_XFLAGS_TRY_SHELL.
26440 * posix/glob.h: Remove gcc 1.x support.
26443 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26445 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26447 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26448 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26450 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26451 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26452 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26453 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26454 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26455 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26457 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26459 * sysdeps/x86_64/wcscmp.S: New file.
26461 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26462 wcscmp-c wcscmp-sse2
26463 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26464 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26465 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26466 * wcsmbs/wcscmp.c: Allow renaming.
26468 2011-09-05 David S. Miller <davem@davemloft.net>
26470 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26471 stack slot, rather than the struct return pointer slot.
26472 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26473 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26475 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26477 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26479 * po/ja.po: Update from translation team.
26482 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26483 kernel in 64-bit binaries.
26485 2011-09-01 David S. Miller <davem@davemloft.net>
26487 * elf/elf.h (HWCAP_SPARC_*): Move to..
26488 * sysdeps/sparc/sysdep.h: this new file and add new values.
26489 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26490 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26491 _DL_HWCAP_COUNT to 24.
26492 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26494 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26495 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26496 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26497 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26498 instead of magic constants.
26499 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26501 2011-08-31 David S. Miller <davem@davemloft.net>
26503 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26505 Reimplement to do errno handling inline.
26506 (SYSCALL_ERROR_HANDLER): New macro.
26507 (__SYSCALL_STRING): Do not do errno handling in asm.
26508 (__CLONE_SYSCALL_STRING): Delete.
26509 (__INTERNAL_SYSCALL_STRING): Delete.
26510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26511 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26512 (PSEUDO): Reimplement to do errno handling inline.
26513 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26514 (SYSCALL_ERROR_HANDLER): New macro.
26515 (__SYSCALL_STRING): Do not do errno handling in asm.
26516 (__CLONE_SYSCALL_STRING): Delete.
26517 (__INTERNAL_SYSCALL_STRING): Delete.
26518 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26519 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26521 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26522 (inline_syscall*): Add 'err' argument.
26523 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26524 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26525 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26526 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26528 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26529 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26531 2011-08-30 Andreas Schwab <schwab@redhat.com>
26533 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26535 2011-08-29 Jiri Olsa <jolsa@redhat.com>
26537 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26540 2011-08-24 David S. Miller <davem@davemloft.net>
26542 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26544 2011-08-24 Andreas Schwab <schwab@redhat.com>
26546 * elf/Makefile: Add rules to build and run unload8 test.
26547 * elf/unload8.c: New file.
26548 * elf/unload8mod1.c: New file.
26549 * elf/unload8mod1x.c: New file.
26550 * elf/unload8mod2.c: New file.
26551 * elf/unload8mod3.c: New file.
26553 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26556 2011-08-23 David S. Miller <davem@davemloft.net>
26558 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26559 subtract stack bias.
26560 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26561 %sp not %fp in calculations.
26562 (_JMPBUF_UNWINDS_ADJ): Likewise.
26564 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26565 (aio_suspend): Call it to force an exception region around the
26566 AIO_MISC_WAIT() invocation.
26568 2011-08-23 Andreas Schwab <schwab@redhat.com>
26570 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26573 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26575 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26577 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26578 and <dl-machine.h>.
26579 (Elf64_FuncDesc): Remove.
26581 2011-08-22 David S. Miller <davem@davemloft.net>
26583 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26584 sigaltstack check, add missing cfi directives.
26585 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26586 missing cfi directives, and sigaltstack handling.
26588 2011-08-16 Andreas Schwab <schwab@redhat.com>
26591 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26592 object is seen twice.
26593 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26595 * elf/Makefile (distribute): Add tst-initorder2.c.
26596 (tests): Add tst-initorder2.
26597 (modules-names): Add tst-initorder2a tst-initorder2b
26598 tst-initorder2c tst-initorder2d. Add rules to build them.
26599 ($(objpfx)tst-initorder2.out): New rule.
26600 * elf/tst-initorder2.c: New file.
26601 * elf/tst-initorder2.exp: New file.
26603 2011-08-22 Andreas Schwab <schwab@redhat.com>
26605 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26607 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26608 dependencies back to end of function.
26610 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26611 $(elfobjdir)/ld.so.
26613 2011-08-21 Ulrich Drepper <drepper@gmail.com>
26615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26616 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26618 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26619 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26620 of __vdso_gettimeofday.
26621 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26622 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26624 (_libc_vdso_platform_setup): Remove initialization of
26625 __vdso_gettimeofday and __vdso_time.
26627 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26629 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26630 and fgetc_unlocked.
26631 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26634 * elf/dl-open.c (add_to_global): Report additions to the global scope
26635 for LD_DEBUG=scopes.
26636 (dl_open_worker): Also print scope of newly loaded dependencies.
26637 (_dl_show_scope): Indicate if there is no scope.
26640 * stdio-common/Makefile (tests): Add bug24.
26641 * stdio-common/bug24.c: New file.
26643 2011-08-19 Andreas Jaeger <aj@suse.de>
26646 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26647 non-existant file when using close-on-exec mode.
26649 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26652 the very first instruction.
26654 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26655 the CFI state in the end.
26656 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26657 inclusion of dl-trampoline.h.
26658 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26660 2011-08-19 Andreas Schwab <schwab@redhat.com>
26662 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26663 expectations for long double.
26665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26666 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26668 2011-08-14 David S. Miller <davem@davemloft.net>
26670 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26671 artificual limit depends upon the system page size.
26673 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26675 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26676 * resolv/Makefile: Define CFLAGS-libresolv.
26678 2011-08-17 Andreas Schwab <schwab@redhat.com>
26680 * nss/makedb.c (compute_tables): Make variables used in nested
26683 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26685 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26686 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26687 if buffer was too small.
26689 * elf/pldd.c (main): Attach to all threads in the process.
26690 Rewrite /proc handling to use *at functions.
26692 2011-08-16 Ulrich Drepper <drepper@gmail.com>
26694 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26695 specifies first scope to show.
26696 (dl_open_worker): Update callers. Move printing scope of new
26697 object to before the relocation.
26698 * elf/rtld.c (dl_main): Update _dl_show_scope call.
26699 * sysdeps/generic/ldsodefs.h: Update declaration.
26701 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26702 string for the scope number.
26704 2011-08-14 Ulrich Drepper <drepper@gmail.com>
26706 * nscd/servicescache.c (cache_addserv): Make sure written is always
26709 2011-08-14 Roland McGrath <roland@hack.frob.com>
26711 * sysdeps/i386/i486/bits/atomic.h
26712 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26713 statement expression, so as to suppress "set but not used" warning.
26714 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26716 * string/strncat.c (STRNCAT): Use prototype definition.
26718 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26719 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26721 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26722 (localedef-modules): Add localedef.
26723 (locale-modules): Add locale.
26725 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26726 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26727 to avoid a warning.
26729 2011-08-14 David S. Miller <davem@davemloft.net>
26731 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26732 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26734 2011-08-13 Ulrich Drepper <drepper@gmail.com>
26736 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
26737 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26738 * elf/rtld.c (dl_main): Set l_name of vDSO.
26739 Call _dl_show_scope when DL_DEBUG_SCOPES.
26740 (process_dl_debug): Recognize scopes flag and also set it for all.
26741 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26742 Declare _dl_show_scope.
26744 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26745 (do_dlopen): Pass caller_dlopen to dl_open.
26746 (__libc_dlopen_mode): Initialize caller_dlopen.
26748 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26749 of libc. Make tolower call locale-independent. Optimize a bit by
26750 using isdigit instead of isalnum.
26751 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26753 2011-08-12 Ulrich Drepper <drepper@gmail.com>
26755 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26756 was a dependency or dynamically loaded.
26758 2011-08-11 Ulrich Drepper <drepper@gmail.com>
26760 * intl/l10nflist.c: Allow architecture-specific pop function.
26761 * sysdeps/x86_64/l10nflist.c: New file.
26763 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26766 2011-08-10 Andreas Schwab <schwab@redhat.com>
26768 * include/dirent.h: Add libc_hidden_proto for scandirat and
26769 scandirat64. Don't declare __scandirat64.
26770 * dirent/scandirat.c: Add libc_hidden_def.
26771 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26772 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26774 2011-08-10 David S. Miller <davem@davemloft.net>
26776 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26778 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26780 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26782 2011-08-09 Ulrich Drepper <drepper@gmail.com>
26784 * Versions.def [libc]: Add GLIBC_2.15.
26785 * dirent/Makefile (routines): Add scandirat and scandirat64.
26786 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26788 * dirent/dirent.h: Declare scandirat and scandirat64.
26789 * dirent/scandirat.c: New file.
26790 * dirent/scandirat64.c: New file.
26791 * sysdeps/wordsize-64/scandirat.c: New file.
26792 * sysdeps/wordsize-64/scandirat64.c: New file.
26793 * dirent/opendir.c: Define opendirat.
26794 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26796 * dirent/scandir64.c: Adjust for scandir.c change.
26797 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26798 __scandirat64, and __scandir_cancel_handler.
26799 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26800 additional parameter and use openat instead of open (outside of ld.so).
26801 Add new __opendir as wrapper around __opendirat.
26802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26803 here without requiring old scandirat implementation.
26805 2011-08-08 Ulrich Drepper <drepper@gmail.com>
26807 * dirent/scandir.c (cancel_handler): Renamed to
26808 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26809 defined. Adjust users.
26810 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26811 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26813 2011-08-04 Ulrich Drepper <drepper@gmail.com>
26815 * string/test-string.h (IMPL): Use __STRING to expand name and then
26818 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26821 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26823 * string/Makefile: Update.
26824 (strop-tests): Append strncat.
26825 * string/test-wcscmp.c: New file.
26826 New comprehensive test for wcscmp.
26827 * string/test-strcmp.c: Update.
26828 (WIDE): New define.
26830 2011-07-22 Andreas Schwab <schwab@redhat.com>
26832 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26835 2011-07-26 Andreas Schwab <schwab@redhat.com>
26837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26838 encoding to ACE if AI_IDN.
26840 2011-08-01 Jakub Jelinek <jakub@redhat.com>
26842 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26843 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26845 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26847 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26848 Fix overflow bug in strncat.
26849 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26851 * string/test-strncat.c: Update.
26852 Add new tests for checking overflow bugs.
26854 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26857 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26858 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26859 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26860 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26861 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26862 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26863 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26864 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26866 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26867 (USE_AS_STRCAT): Define.
26868 Add strcat and strncat support.
26869 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26871 2011-07-25 Andreas Schwab <schwab@redhat.com>
26873 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26874 __n bigger than INT_MAX+1.
26875 (__strncmp_g): Likewise.
26877 2011-07-23 Ulrich Drepper <drepper@gmail.com>
26879 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26880 * libio/stido.h: Likewise.
26882 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26887 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26888 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26889 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26890 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26894 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26897 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26899 (_dl_x86_64_save_sse): Likewise.
26901 2011-07-22 Ulrich Drepper <drepper@gmail.com>
26903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26905 (_dl_x86_64_save_sse): Likewise.
26907 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26909 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26911 2011-07-21 Andreas Schwab <schwab@redhat.com>
26913 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26915 (_dl_x86_64_save_sse): Use correct AVX check.
26917 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26920 bug in strncpy/strncat.
26921 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26923 2011-07-21 Ulrich Drepper <drepper@gmail.com>
26925 * string/tester.c (test_strcat): Add tests for different alignments
26926 of source and destination.
26927 (test_strncat): Likewise.
26929 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26932 * posix/glob.c (glob): Check passed in values before using them in
26933 expressions to avoid some overflows.
26934 (glob_in_dir): Likewise.
26937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26938 check for AVX enablement so that we don't crash with old kernels and
26940 * elf/tst-audit4.c: Add same checks here.
26941 * elf/tst-audit6.c: Likewise.
26943 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
26945 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26947 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26949 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26951 * po/cs.po: Update from translation team.
26952 * po/bg.po: Likewise.
26954 2011-07-12 Marek Polacek <mpolacek@redhat.com>
26956 * misc/sys/cdefs.h: Add support for const attribute.
26957 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26958 to gnu_dev_{major,minor,makedev} functions.
26960 2011-07-20 Marek Polacek <mpolacek@redhat.com>
26962 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26964 2011-07-20 Andreas Schwab <schwab@redhat.com>
26966 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26969 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26972 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26973 register in order to avoid conflicts with the soft frame pointer
26974 being held in r11 when necessary.
26975 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26976 (INTERNAL_VSYSCALL_NCS): Likewise.
26978 2011-07-14 Marek Polacek <mpolacek@redhat.com>
26980 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26981 * elf/dl-fini.c (_dl_fini): Adjust caller.
26982 * elf/dl-close.c (_dl_close_worker): Likewise.
26983 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26985 2011-07-15 Marek Polacek <mpolacek@redhat.com>
26987 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26988 "aux_cache->nlibs < 0".
26990 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26991 in the reload-count case.
26993 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26996 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26997 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26998 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26999 * sysdeps/x86_64/multiarch/strcat.S: New file.
27000 * sysdeps/x86_64/multiarch/strncat.S: New file.
27001 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27002 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27003 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27004 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27005 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27006 (USE_AS_STRCAT): Define.
27007 Add strcat and strncat support.
27008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27009 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27010 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27011 * string/strncat.c: Update.
27012 (USE_AS_STRNCAT): Define.
27013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27014 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27016 * sysdeps/x86_64/multiarch/init-arch.h
27017 (bit_Prefer_PMINUB_for_stringop): New.
27018 (index_Prefer_PMINUB_for_stringop): Likewise.
27019 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27020 bit_Prefer_PMINUB_for_stringop.
27022 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27024 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27026 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27027 of casting of buffer.
27028 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27029 buffer32 and buffer64.
27030 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27031 writes instead of casting of buffer.
27032 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27034 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27037 2011-07-19 Andreas Schwab <schwab@redhat.com>
27039 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27041 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27043 * nscd/nscd.c (termination_handler): Don't do anything for a database
27044 if it has not yet been initialized.
27046 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27048 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27050 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27052 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27054 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27056 * po/nl.po: Update from translation team.
27057 * po/sv.po: Likewise.
27059 2011-07-16 Roland McGrath <roland@hack.frob.com>
27061 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27062 now disallowed by GCC.
27064 * configure.in (use-default-link): Default to yes if a test -shared
27065 link meets our qualifications.
27066 * configure: Regenerated.
27068 * config.make.in (output-format): New variable.
27069 * configure.in: Check for ld --print-output-format support.
27070 * configure: Regenerated.
27071 * Makerules ($(common-objpfx)format.lds)
27072 [$(output-format) != unknown]: Just use $(output-format),
27073 instead of the linker-script munging.
27075 2011-07-14 Roland McGrath <roland@hack.frob.com>
27077 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27078 of $(common-objpfx)shlib.lds.
27079 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27081 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27082 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27084 * configure.in (-z relro check): Adjust test code to add a large
27085 writable data section after it.
27086 * configure: Regenerated.
27088 2011-07-11 Roland McGrath <roland@hack.frob.com>
27090 * configure.in (-z relro check): Fix test code to make the variable
27092 * configure: Regenerated.
27094 2011-07-11 Ulrich Drepper <drepper@gmail.com>
27096 * nscd/nscd.h (struct traced_file): Define.
27097 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27098 elements. Add traced_files.
27099 (inotify_fd): Declare.
27100 (register_traced_file): Declare.
27101 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27102 (inotify_fd): Export.
27103 (resolv_conf_descr): Remove.
27104 (nscd_init): Move inotify descriptor creation to main.
27105 Don't register files for notification here.
27106 (register_traced_file): New function.
27107 (invalidate_cache): Don't use reset_res to determine whether to call
27108 res_init, go through the list of registered files.
27109 (main_loop_poll): The inotify descriptors are now stored in the
27110 structures for the traced files.
27111 (main_loop_epoll): Likewise
27112 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27113 to __nss_disable_nscd.
27114 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27115 for a database anymore. Check the records for all the registered
27117 * nss/Makefile (libnss_files-routines): Add files-init.
27118 (libnss_db-routines): Add db-init.
27119 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27120 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27121 * nss/nss_db/db-init.c: New file.
27122 * nss/nss_files/files-init.c: New file.
27123 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27124 __nss_lookup_function.
27125 (__nss_lookup_function): Call nss_load_library.
27126 (nss_load_all_libraries): New function.
27127 (__nss_disable_nscd): Take parameter with callback function for files
27128 to register. Set is_nscd. Load all the DSOs for the NSS modules
27129 used for the cached services.
27130 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27131 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27132 options for features to all the files in nscd.
27134 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27136 2011-07-10 Roland McGrath <roland@hack.frob.com>
27138 * csu/elf-init.c (__libc_csu_init): Comment typo.
27140 2011-07-09 Ulrich Drepper <drepper@gmail.com>
27142 * po/pl.po: Update from translation team.
27143 * po/ja.po: Likewise.
27144 * po/ru.po: Likewise.
27145 * po/ko.po: Likewise.
27146 * po/fr.po: Likewise.
27148 2011-07-09 Roland McGrath <roland@hack.frob.com>
27150 * configure.in (.ctors/.dtors header and trailer check):
27151 Use an empirical test on a built program.
27152 * configure: Regenerated.
27154 * configure.in (-z relro check): Use an empirical test on a built DSO.
27155 Detect, but do not require, on ia64.
27156 * configure: Regenerated.
27158 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27159 Update tests that use readelf to use $READELF instead.
27160 * configure: Regenerated.
27162 2011-07-08 Ulrich Drepper <drepper@gmail.com>
27164 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27165 if the result is not used.
27167 2011-07-05 Andreas Jaeger <aj@suse.de>
27170 * stdlib/tst-strtod.c: Add testcase.
27172 2011-07-07 Ulrich Drepper <drepper@gmail.com>
27174 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27175 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27176 The latter has a higher limit. Take additional parameter to pass to
27178 (__pathconf): Pass file to __statfs_link_max.
27179 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27181 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27185 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27186 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27188 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27189 (__statfs_filesize_max): Likewise.
27190 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27192 2011-07-05 Andreas Jaeger <aj@suse.de>
27194 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27196 2011-07-06 Marek Polacek <mpolacek@redhat.com>
27198 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27200 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27203 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27205 * Makefile (strop-tests): Add strncat.
27206 * string/test-strncat.c: New file.
27208 2011-06-30 Marek Polacek <mpolacek@redhat.com>
27210 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27212 2011-06-21 Andreas Jaeger <aj@suse.de>
27214 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27215 Copy rule from iconvdata/Makefile.
27217 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27220 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27221 but no long options are defined, just return 'W'.
27223 2011-06-22 Marek Polacek <mpolacek@redhat.com>
27226 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27228 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27230 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27232 (innetgr): Likewise.
27234 2011-07-05 Roland McGrath <roland@hack.frob.com>
27236 * config.make.in (install_root): Default to $(DESTDIR).
27238 2011-07-05 Ulrich Drepper <drepper@gmail.com>
27240 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27242 2011-07-02 Roland McGrath <roland@hack.frob.com>
27244 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27246 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27247 containing directory rather than embedding absolute directory names.
27249 * scripts/check-local-headers.sh: Rewritten using awk.
27250 Match by word, not by line. Print error messages for matches.
27251 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27253 * Makerules [shlib-lds-flags empty]:
27254 ($(common-objpfx)libc_pic.opts): New target.
27255 ($(common-objpfx)libc_pic.os.clean): New target.
27256 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27258 * config.make.in (OBJCOPY): New variable.
27259 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27260 * configure: Regenerated.
27262 * config.make.in (use-default-link): New variable.
27263 * configure.in (use_default_link): Grok --with-default-link to set it.
27264 * configure: Regenerated.
27265 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27266 (shlib-lds, shlib-lds-flags): Define to empty.
27268 * Makerules (shlib-lds): New variable.
27269 (shlib-lds-flags): New variable.
27270 (build-shlib, build-moduile, build-module-asneeded): Use it.
27271 ($(common-objpfx)libc.so): Use $(shlib-lds).
27272 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27273 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27275 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27276 DT_FLAGS/DT_FLAGS_1 with zero flags.
27278 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27279 linker script munging.
27281 2011-07-02 Ulrich Drepper <drepper@gmail.com>
27283 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27285 * crypt/sha512.c (sha512_process_block): Perform total addition using
27286 128-bit if possible.
27287 (__sha512_finish_ctx): Likewise.
27288 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27290 * crypt/sha256.c (SWAP64): Define.
27291 (sha256_process_block): Perform total addition using 64-bit if
27293 (__sha256_finish_ctx): Likewise.
27295 2011-07-01 Ulrich Drepper <drepper@gmail.com>
27297 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27299 * nscd/hstcache.c (cache_addhst): Likewise.
27300 * nscd/grpcache.c (cache_addgr): Likewise.
27301 * nscd/aicache.c (addhstaiX): Likewise
27302 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27304 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
27306 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27307 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27308 * nscd/hstcache.c (cache_addhst): Likewise.
27309 * nscd/grpcache.c (cache_addgr): Likewise.
27310 * nscd/aicache.c (addhstaiX): Likewise
27312 2011-07-01 Andreas Schwab <schwab@redhat.com>
27314 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27315 domain only when needed.
27317 2011-06-30 Andreas Schwab <schwab@redhat.com>
27319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27320 is always restored.
27322 2011-06-29 Ulrich Drepper <drepper@gmail.com>
27324 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27325 are re-adding the entry.
27326 * nscd/servicescache.c (cache_addserv): Likewise.
27328 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27330 * sysdeps/generic/dl-irel.h: fix protection against multiple
27332 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27334 2011-06-28 Ulrich Drepper <drepper@gmail.com>
27337 * malloc/memusage.sh: Fix quoting in message.
27338 * debug/xtrace.sh: Likewise.
27340 * configure.in: Remove support for --experimental-malloc option, make
27342 * config.make.in: Likewise.
27343 * malloc/Makefile: Likewise.
27345 2011-06-27 Andreas Schwab <schwab@redhat.com>
27347 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27348 two-byte characters.
27350 2011-06-27 Roland McGrath <roland@hack.frob.com>
27352 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27353 AC_CACHE_CHECK invocation.
27354 * configure: Regenerated.
27356 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27358 2011-06-27 Ulrich Drepper <drepper@gmail.com>
27361 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27362 bit from old_res_options.
27364 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27366 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27367 value type for setfct.
27369 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27372 __gettimeofday instead of gettimeofday.
27374 2011-06-26 Ulrich Drepper <drepper@gmail.com>
27376 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27378 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27380 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27382 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27385 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27388 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27389 strcpy-sse2-unaligned strncpy-sse2-unaligned
27390 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27391 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27392 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27393 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27394 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27395 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27396 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27397 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27398 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27399 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27400 (STRCPY): Support SSE2 and SSSE3 versions.
27402 2011-06-24 Ulrich Drepper <drepper@gmail.com>
27405 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27406 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27407 kernels which artificially limit size of requests.
27409 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27412 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27413 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27414 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27415 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27416 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27417 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27418 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27419 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27420 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27421 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27422 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27423 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27424 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27425 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27427 Enable unaligned load optimization for Intel Core i3, i5 and i7
27429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27431 (index_Fast_Unaligned_Load): Define.
27432 (HAS_FAST_UNALIGNED_LOAD): Define.
27434 2011-06-23 Marek Polacek <mpolacek@redhat.com>
27436 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27438 2011-06-22 Ulrich Drepper <drepper@gmail.com>
27441 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27442 until it is clear that the information is realy needed.
27443 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27445 2011-06-22 Andreas Schwab <schwab@redhat.com>
27447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27449 2011-06-22 Ulrich Drepper <drepper@gmail.com>
27451 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27452 /sys/devices/system/cpu/online if it is usable.
27454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27455 reading the information from the /proc filesystem to once a second.
27457 2011-06-21 Andreas Jaeger <aj@suse.de>
27459 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27460 NULL after inclusion of kernel headers.
27462 2011-06-21 Ulrich Drepper <drepper@gmail.com>
27464 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27465 calls to internal_setent.
27468 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27469 addresses using gethostbyname4_r ignore IPv4 addresses.
27471 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27472 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27474 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27476 2011-06-20 David S. Miller <davem@davemloft.net>
27478 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27480 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27482 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27483 (elf_irel): Use it.
27484 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27485 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27486 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27487 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27488 * sysdeps/x86_64/dl-irel.h: Likewise.
27490 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27491 * elf/dl-sym.c: Likewise.
27493 2011-06-15 Ulrich Drepper <drepper@gmail.com>
27495 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27496 need to dereference resplen2.
27498 2011-06-14 Andreas Schwab <schwab@redhat.com>
27500 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27502 2011-06-15 Ulrich Drepper <drepper@gmail.com>
27504 * Makeconfig: Define vardbdir and inst_vardbdir.
27505 * nss/Makefile: Add rules to install db-Makefile.
27507 * nss/nss_db/db-XXX.c: Cleanup.
27509 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27510 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27512 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27513 * nss/makedb.c: Implement -g option to specify that value strings
27514 are generated and should not be added to table iterated over for
27516 * nss/nss_db/db-initgroups.c: New file.
27518 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27521 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27522 (internal_getgrouplist): Adjust to name change.
27523 Update use_initgroups_entry if this is not the first call.
27524 * nss/databases.def: Add initgroups entry.
27526 * nss/makedb.c (compute_tables): Check result of multiple hash table
27527 sizes to minimize maximum chain length.
27529 2011-06-14 Ulrich Drepper <drepper@gmail.com>
27531 * Versions.def: Add entry for libnss_db.
27532 * shlib-versions: Likewise.
27533 * nss/Makefile: Add rules to build libnss_db.
27534 * nss/Versions: Add libnss_db information. Organize libnss_files
27536 * nss/db-Makefile: Add gshadow support. Change rules for the new
27537 makedb progra. Some minor improvements to generate smaller files.
27538 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27540 * nss/makedb.c: ...here.
27541 Improve database format to be smaller and require less memory at
27543 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27545 * nss/nss_db/db-netgrp.c: Likewise.
27546 * nss/nss_db/db-open.c: Likewise.
27547 * nss/nss_files/flies-XXX.x: Adjust comments.
27548 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27549 * nss/nss_files/files-grp.c: Likewise.
27550 * nss/nss_files/files-hosts.c: Likewise.
27551 * nss/nss_files/files-network.c: Likewise.
27552 * nss/nss_files/files-proto.c: Likewise.
27553 * nss/nss_files/files-pwd.c: Likewise.
27554 * nss/nss_files/files-rpc.c: Likewise.
27555 * nss/nss_files/files-service.c: Likewise.
27556 * nss/nss_files/files-sgrp.c: Likewise.
27557 * nss/nss_files/files-spwd.c: Likewise.
27558 * nss/nss_db/db-alias.c: Removed.
27559 * nss/nss_db/dummy-db.h: Removed.
27561 2011-06-02 Ulrich Drepper <drepper@gmail.com>
27563 * nss/makedb.c: Rewritten to not use database library.
27564 * nss/Makefile: Update to build new makedb program.
27566 2011-06-14 Andreas Jaeger <aj@suse.de>
27568 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27569 memset declaration.
27571 2011-06-10 Andreas Schwab <schwab@redhat.com>
27573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27576 2011-06-10 Roland McGrath <roland@hack.frob.com>
27578 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27579 * elf/Makefile ($(objpfx)ld.so): Likewise.
27581 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27582 Don't list ld.so twice in dependencies.
27584 * posix/bug-regex31.c: Include <stdlib.h>.
27586 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27588 * nis/nss_compat/compat-spwd.c
27589 (getspent_next_nss_netgr): Remove unused variable.
27590 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27592 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27593 nonmembers" output to use the right array.
27595 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27597 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27599 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27600 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27601 * catgets/gencat.c (read_input_file): Likewise.
27602 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27604 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27605 variable definition inside #if's controlling its use.
27607 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27609 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27611 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27613 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27616 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27618 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27619 * configure: Regenerated.
27621 * Makerules: Revert last change.
27622 * elf/Makefile: Likewise.
27624 2011-06-09 Roland McGrath <roland@hack.frob.com>
27626 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27627 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27628 (reloc-link): Likewise.
27630 2011-06-09 Ulrich Drepper <drepper@gmail.com>
27632 * elf/Makefile: Add rules to build pldd.
27633 * elf/pldd.c: New file.
27634 * elf/pldd-xx.c: New file.
27636 2011-06-07 Ulrich Drepper <drepper@gmail.com>
27638 * version.h: Update for 2.15 development version.
27640 2011-06-07 David S. Miller <davem@davemloft.net>
27642 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27645 elf_machine_lazy_rel): Likewise.
27646 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27647 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27648 elf_machine_lazy_rel): Likewise.
27649 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27650 dl_hwcap via passed in argument.
27651 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27654 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27656 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27658 2011-06-06 Roland McGrath <roland@hack.frob.com>
27661 * manual/fdl-1.1.texi: New file, verbatim from:
27662 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27663 * manual/lgpl-2.1.texi: New file, verbatim from:
27664 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27665 * manual/Makefile (licenses): New variable, list those new file names.
27667 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27669 * manual/fdl.texi: File removed.
27670 * manual/lesser.texi: File removed.
27671 * manual/libc.texinfo (Copying, Documentation License):
27672 Use new @include file names, put @appendix directive before @include.
27674 2011-06-04 Jakub Jelinek <jakub@redhat.com>
27677 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27678 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27679 (mq_open): Add __NTH.
27681 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27684 Assume Intel Core i3/i5/i7 processor if AVX is available.
27686 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27688 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27691 2011-05-31 Andreas Schwab <schwab@redhat.com>
27693 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27694 memory. Use alloca_account. Fix memory leak when retrying.
27696 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27698 * version.h (RELEASE): Bump for 2.14 release.
27699 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27701 * config.make.in (RANLIB): Remove entry.
27703 2011-05-30 Ulrich Drepper <drepper@gmail.com>
27705 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27706 (libc.pot): Work around missing support for .ksh extension in xgettext.
27709 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27710 if both request failed.
27711 (send_dg): In case of server errors clear resplen or *resplen2.
27714 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27715 when there are multiple maps.
27716 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27717 (_dl_fini): Remove test here.
27719 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27721 2011-05-29 Ulrich Drepper <drepper@gmail.com>
27724 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27725 bit from old_res_options.
27726 (gaih_inet): Likewise.
27729 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
27732 * resolv/res_init.c (res_setoptions): Make the code more compact.
27735 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27739 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27741 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27744 * malloc/malloc.h: Declare malloc hook variables as volatile.
27746 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27750 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
27751 raise in the comment.
27752 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27753 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27754 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
27756 2011-05-28 Ulrich Drepper <drepper@gmail.com>
27759 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27760 grow the buffers more if it already has to be sufficient.
27761 (build_wcs_upper_buffer): Likewise.
27762 * posix/regexec.c (check_matching): Likewise.
27763 (clean_state_log_if_needed): Likewise.
27764 (extend_buffers): Don't enlarge buffers beyond size of the input
27766 Patches mostly by Emil Wojak <emil@wojak.eu>.
27767 * posix/bug-regex32.c: New file.
27768 * posix/Makefile (tests): Add bug-regex32.
27770 * locale/findlocale.c (_nl_find_locale): Return right away if
27771 _nl_explode_name failed.
27772 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27774 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27776 * debug/xtrace.sh: Unify messages.
27777 * malloc/memusage.sh: Likewise.
27780 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27781 time symbol from vDSO. Substitute with vsyscall if not available.
27782 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27785 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27786 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27787 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27788 Add sendmmsg and internal_sendmmsg.
27789 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27790 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27791 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27793 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27794 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27795 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27797 2011-05-27 Ulrich Drepper <drepper@gmail.com>
27800 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27801 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27803 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27807 * iconvdata/Makefile (tests): Add bug-iconv9.
27808 * iconvdata/bug-iconv9.c: New file.
27810 2011-05-27 Andreas Schwab <schwab@redhat.com>
27813 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27815 2011-05-25 Jakub Jelinek <jakub@redhat.com>
27817 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27818 (struct user_regs_struct): Change intcs field back to cs.
27820 2011-05-25 Ulrich Drepper <drepper@gmail.com>
27822 * po/ja.po: Update from translation team.
27824 2011-05-23 Ulrich Drepper <drepper@gmail.com>
27827 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27828 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27830 2011-05-20 Andreas Schwab <schwab@redhat.com>
27832 * stdlib/longlong.h: Update from GCC.
27834 2011-05-23 Andreas Schwab <schwab@redhat.com>
27836 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27838 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27839 Add parameter name.
27840 (__sysconf): Pass it down.
27842 2011-05-22 Ulrich Drepper <drepper@gmail.com>
27845 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27847 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27848 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27849 add in in __libc_use_alloca calls. Adjust callers.
27850 (glob): Use malloc in some situations.
27852 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27853 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27856 2011-05-21 Ulrich Drepper <drepper@gmail.com>
27858 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27859 and CLOCK_BOOTTIME_ALARM.
27862 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27865 * string/_strerror.c (__strerror_r): Print negative errors as signed
27869 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27870 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27871 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27873 * configure.in: Fix typo in redirection and correct removal of test
27874 files in two cases.
27877 * locale/setlocale.c (new_composite_name): Fix test to check for
27878 identical name of all categories.
27881 * libio/filedoalloc.c (local_isatty): New function.
27882 (_IO_file_doallocate): Use local_isatty.
27883 * stdio-common/perror.c (perror): In case a new stream is used
27884 forward the stream error.
27885 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27888 2011-05-20 Ulrich Drepper <drepper@gmail.com>
27891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27893 * include/alloca.h (extend_alloca_account): Define.
27896 * posix/regex.h: Fix comments with documentation of user-accessible
27897 fields after compilation and describe correct free'ing of pattern
27898 after re_compile_pattern.
27899 Patch by Reuben Thomas <rrt@sc3d.org>.
27901 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27903 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27904 and -mno-altivec to prevent the compiler from using Altivec and/or
27905 VSX instructions when the corresponding registers are not available.
27907 2011-05-19 Andreas Schwab <schwab@redhat.com>
27909 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27911 2011-05-19 Ulrich Drepper <drepper@gmail.com>
27913 * libio/freopen.c (freopen): Use __dup2, not dup2.
27914 * libio/freopen64.c (freopen64): Likewise.
27916 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27919 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27920 * math/Makefile (tests): Add test-powl.
27921 (CFLAGS-test-powl.c): Define.
27922 * math/test-powl.c: New file.
27924 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27926 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27928 2011-05-17 Ulrich Drepper <drepper@gmail.com>
27931 * iconvdata/gb18030.c: Update to GB18020-2005.
27933 2011-05-16 Ulrich Drepper <drepper@gmail.com>
27935 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27936 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27937 Patch by Aharon Robbins <arnold@skeeve.com>.
27940 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27944 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27945 through underflows.
27948 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27949 point to strings before performing equality test for error_one_per_line
27953 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27956 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27957 (struct user_fpregs_struct): Avoid __uint*_t types.
27960 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27961 symbol info. Use it instead of calling _dl_addr locally.
27962 (lock_and_info): New function.
27963 (tr_freehook): Call lock_and_info and pass symbol info as additional
27964 parameter to tr_where.
27965 (tr_mallochook): Likewise.
27966 (tr_reallochook): Likewise.
27967 (tr_memalignhook): Likewise.
27969 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27970 used and couldn't be at all thread-safe.
27972 2011-05-15 Ulrich Drepper <drepper@gmail.com>
27974 * libio/freopen.c (freopen): Don't close old file descriptor
27975 before the new one is opened. Instead dup the new file descriptor
27976 to the old one after the new stream is created.
27977 * libio/freopen64.c (freopen64): Likewise.
27978 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27979 * libio/fileops.c (_IO_new_file_close_it): Handle new
27980 _IO_FLAGS2_NOCLOSE flag.
27981 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27982 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27983 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27984 _IO_FLAGS2_NOCLOSE flag.
27985 * include/unistd.h: Add hidden_proto for dup3.
27986 Define __have_dup3.
27987 * io/dup3.c: Define hidden symbol.
27988 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27991 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27992 when an incomplete long option is used.
27993 * posix/tst-getopt_long1.c: New file.
27994 * posix/Makefile (tests): Add tst-getopt_long1.
27997 * scripts/config.guess: Update from autoconf-2.68.
27998 * scripts/config.sub: Likewise.
28001 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28003 (has_cpuclock): ...this. New function.
28004 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28005 macro here based on has_cpuclock code.
28008 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28009 First byte (not low byte) is now always NUL.
28010 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28013 Use non-cancelable interfaces.
28016 * locale/iso-639.def: Add entry for Sorani.
28019 * include/stdlib.h: Move include protection to the right place.
28020 Define abort_msg_s. Declare __abort_msg with it.
28021 * stdlib/abort.c (__abort_msg): Adjust type.
28022 * assert/assert.c (__assert_fail_base): New function. Majority
28023 of code from __assert_fail. Allocate memory for __abort_msg with
28025 (__assert_fail): Now call __assert_fail_base.
28026 * assert/assert-perr.c: Remove bulk of implementation. Use
28027 __assert_fail_base.
28028 * include/assert.hL Declare __assert_fail_base.
28029 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28031 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28033 2011-05-14 Ulrich Drepper <drepper@gmail.com>
28037 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28038 until all modules are registered in the DTV.
28039 * elf/Makefile: Add rules to build and run tst-tls19.
28040 * elf/tst-tls19.c: New file.
28041 * elf/tst-tls19mod1.c: New file.
28042 * elf/tst-tls19mod2.c: New file.
28043 * elf/tst-tls19mod3.c: New file.
28044 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28047 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28051 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28052 two-byte sequence errors.
28053 * iconvdata/Makefile (tests): Add bug-iconv8.
28054 * iconvdata/bug-iconv8.c: New file.
28057 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28060 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28063 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28064 (dummy_getcfa): New function.
28065 (init): Get _Unwind_GetCFA address, use dummy if not found.
28066 (backtrace_helper): In recursion check, also check whether CFA changes.
28067 (__backtrace): Completely initialize arg.
28069 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28070 storing incomplete byte sequence in state object. Avoid testing for
28071 guaranteed too small input if we know there is enough data available.
28073 2011-05-11 Andreas Schwab <schwab@redhat.com>
28075 * Makeconfig (+link-pie): Indent.
28076 * Rules (binaries-pie): Define if $(have-fpie) and
28078 (binaries-shared): Also filter out $(binaries-pie).
28079 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28080 * nscd/Makefile (others-pie): Add nscd.
28081 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28082 ($(objpfx)nscd): Remove command override.
28083 * login/Makefile (others-pie): Add pt_chown.
28084 ($(objpfx)pt_chown): Remove command override.
28085 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28086 remove command overrides.
28088 2011-05-13 Ulrich Drepper <drepper@gmail.com>
28090 * libio/tst_putwc.c: Fix error messages.
28093 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28094 currently writing and seek to current position when not.
28095 * libio/Makefile (tests): Add bug-fclose1.
28096 * libio/bug-fclose1.c: New file.
28098 2011-05-12 Ulrich Drepper <drepper@gmail.com>
28101 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28102 don't set DF_1_NODELETE here.
28103 (do_lookup_x): When entering new entry test for copy relocation
28104 and if necessary set DF_1_NODELETE flag.
28105 * elf/tst-unique4.cc: New file.
28106 * elf/tst-unique4.h: New file.
28107 * elf/tst-unique4lib.cc: New file.
28108 * elf/Makefile: Add rules to build and run tst-unique4.
28109 Patch by Piotr Bury <pbury@goahead.com>.
28111 2011-05-11 Ulrich Drepper <drepper@gmail.com>
28114 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28117 * misc/mntent_r.c (addmntent): Flush the stream after the output
28120 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28121 (is_trusted_path_normalize): Skip initial colon. Append slash
28122 to empty buffer. Duplicate is_trusted_path code but allow
28123 constructed patch to be prefix.
28124 (is_dst): Allow $ORIGIN followed by /.
28125 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28126 Correct testing of result of is_trusted_path_normalize
28127 (decompose_rpath): Fix warning.
28129 2011-05-10 Ulrich Drepper <drepper@gmail.com>
28132 * grp/initgroups.c (internal_getgrouplist): When we found the service
28133 list through the initgroups entry in nsswitch.conf do not always
28134 continue on a successful lookup. Don't always use the
28135 __nss_group_database value if it is set.
28136 * nss/nsswitch.conf (initgroups): Change action for successful db
28137 lookup to continue for compatibility.
28139 2011-05-09 Ulrich Drepper <drepper@gmail.com>
28142 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28144 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28146 * iconvdata/tst-tables.sh: Likewise.
28147 * iconvdata/cp770.c: New file.
28148 * iconvdata/cp771.c: New file.
28149 * iconvdata/cp772.c: New file.
28150 * iconvdata/cp773.c: New file.
28151 * iconvdata/cp774.c: New file.
28152 * iconvdata/testdata/CP770: New file.
28153 * iconvdata/testdata/CP770..UTF8: New file.
28154 * iconvdata/testdata/CP771: New file.
28155 * iconvdata/testdata/CP771..UTF8: New file.
28156 * iconvdata/testdata/CP772: New file.
28157 * iconvdata/testdata/CP772..UTF8: New file.
28158 * iconvdata/testdata/CP773: New file.
28159 * iconvdata/testdata/CP773..UTF8: New file.
28160 * iconvdata/testdata/CP774: New file.
28161 * iconvdata/testdata/CP774..UTF8: New file.
28163 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28165 * iconvdata/gen-8bit-gap.sh: Likewise.
28166 * iconvdata/gen-8bit.sh: Likewise.
28168 * locale/iso-639.def: Add ary entry.
28171 * locale/C-translit.h.in: Add U20A1 transliteration.
28174 * locale/iso-639.def: Add wae entry.
28175 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28178 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28182 * locale/C-translit.h.in: Add entry for U20B9.
28183 Patch by pravin.d.s@gmail.com.
28185 2011-05-08 Ulrich Drepper <drepper@gmail.com>
28188 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28189 ENAMETOOLONG use generic getcwd.
28190 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28191 in rtld. Use *stat64.
28192 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28193 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28194 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28195 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28196 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28197 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28198 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28199 __fstatat64 macros.
28200 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28201 * dirent/rewinddir.c: Add libc_hidden_def.
28202 * sysdeps/mach/hurd/rewinddir.c: Likewise.
28203 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
28205 * include/dirent.h (__alloc_dir): Add flags parameter.
28206 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28207 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28209 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28210 from fdopendir if O_CLOEXEC is already set.
28212 2011-03-15 Alan Modra <amodra@gmail.com>
28214 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28215 l_tls_firstbyte_offset non-zero. Save padding offset in
28216 l_tls_firstbyte_offset for later use.
28217 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28218 freeing static tls block.
28220 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28222 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28223 where #ifdef was intended. The intent is to prevent ARG_MAX from
28224 being defined by the kernel headers.
28226 2011-05-07 Ulrich Drepper <drepper@gmail.com>
28229 * resolv/resolv.h: Define RES_NOTLDQUERY.
28230 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28231 no-tld-query and set RES_NOTLDQUERY.
28232 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28233 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28234 modern BIND to search name as TLD unless forbidden.
28236 2011-05-07 Petr Baudis <pasky@suse.cz>
28237 Ulrich Drepper <drepper@gmail.com>
28240 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28241 (is_trusted_path): ...to here.
28242 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28243 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28244 using is_trusted_path_normalize() in setuid scripts.
28246 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28248 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28249 __BEGIN/__END_DECLS.
28251 2011-05-06 Ulrich Drepper <drepper@gmail.com>
28253 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28254 NSS_STATUS_NOTFOUND if no record was found.
28256 2011-05-05 Andreas Schwab <schwab@redhat.com>
28258 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28259 (headers-not-in-tirpc): Remove rpc/netdb.h
28260 * resolv/netdb.h: Revert last change.
28262 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28264 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28265 circular dependency between libgcc.a and libc.a.
28267 2011-05-05 Andreas Schwab <schwab@redhat.com>
28269 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28270 * nis/Makefile: Don't install rpcsvc/*.
28271 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28272 instead of <rpc/types.h>.
28273 (MAXHOSTNAMELEN): Define.
28275 2011-05-03 Andreas Schwab <schwab@redhat.com>
28277 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28279 2011-04-28 Maciej Babinski <mbabinski@google.com>
28282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28283 gethostbyname4_r when IPv6 results are possible.
28285 2011-05-02 Ulrich Drepper <drepper@gmail.com>
28288 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28289 _PC_PIPE_BUF handling.
28291 2011-04-30 Bruno Haible <bruno@clisp.org>
28294 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28295 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28297 * inet/getnameinfo.c (getnameinfo): Likewise.
28299 2011-04-29 Ulrich Drepper <drepper@gmail.com>
28301 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28302 to groups setting in database lookup.
28303 * nss/nsswitch.conf: Add initgroups entry.
28305 2011-04-22 Ulrich Drepper <drepper@gmail.com>
28308 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28310 Patch by Eric Blake <eblake@redhat.com>.
28312 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28314 * sunrpc/Makefile (need-export-routines): Add svc_run.
28315 (routines): Remove svc_run.
28316 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28317 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28318 * sunrpc/svc_run.c (svc_run): Likewise.
28319 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28321 2011-04-21 Ulrich Drepper <drepper@gmail.com>
28323 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28324 problem in reallocation in last patch.
28326 2011-04-20 Ulrich Drepper <drepper@gmail.com>
28328 * sunrpc/Makefile: Move inclusion of Rules.
28330 2011-04-19 Ulrich Drepper <drepper@gmail.com>
28332 * nss/nss_files/files-initgroups.c: New file.
28333 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28334 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28335 _nss_files_initgroups_dyn.
28337 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28339 * elf/elf.h (R_ARM_IRELATIVE): Define.
28341 2011-04-19 Ulrich Drepper <drepper@gmail.com>
28343 * po/ru.po: Update from translation team.
28345 2011-04-17 Ulrich Drepper <drepper@gmail.com>
28347 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28350 2011-02-06 Mike Frysinger <vapier@gentoo.org>
28353 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28354 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28355 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28356 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28357 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28359 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28361 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28363 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28364 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28365 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28367 2011-04-17 Ulrich Drepper <drepper@gmail.com>
28370 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28372 * stdlib/bug-getcontext.c: New file.
28373 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28375 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28377 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28378 instructions into .machine "z9-109".
28379 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28380 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28382 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28384 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28385 between environment variables and auxiliary vector.
28387 2011-04-16 Ulrich Drepper <drepper@gmail.com>
28389 * Makefile: Add rules to build linkobj/libc.so.
28390 * include/libc-symbols.h: Define libc_hidden_nolink.
28391 * include/rpc/auth.h: Mark functions which are to be hidden.
28392 * include/rpc/auth_des.h: Likewise.
28393 * include/rpc/auth_unix.h: Likewise.
28394 * include/rpc/clnt.h: Likewise.
28395 * include/rpc/des_crypt.h: Likewise.
28396 * include/rpc/key_prot.h: Likewise.
28397 * include/rpc/pmap_clnt.h: Likewise.
28398 * include/rpc/pmap_prot.h: Likewise.
28399 * include/rpc/pmap_rmt.h: Likewise.
28400 * include/rpc/rpc_msg.h: Likewise.
28401 * include/rpc/svc.h: Likewise.
28402 * include/rpc/svc_auth.h: Likewise.
28403 * include/rpc/xdr.h: Likewise.
28404 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28405 * nss/Makefile: Likewise.
28406 * sunrpc/Makefile: Don't install headers. Build library with normal
28407 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28408 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28409 for the compat linking library. Remove use of INTDEF/INTUSE.
28410 * sunrpc/auth_none.c: Likewise.
28411 * sunrpc/auth_unix.c: Likewise.
28412 * sunrpc/authdes_prot.c: Likewise.
28413 * sunrpc/authuxprot.c: Likewise.
28414 * sunrpc/clnt_gen.c: Likewise.
28415 * sunrpc/clnt_perr.c: Likewise.
28416 * sunrpc/clnt_raw.c: Likewise.
28417 * sunrpc/clnt_simp.c: Likewise.
28418 * sunrpc/clnt_tcp.c: Likewise.
28419 * sunrpc/clnt_udp.c: Likewise.
28420 * sunrpc/clnt_unix.c: Likewise.
28421 * sunrpc/des_crypt.c: Likewise.
28422 * sunrpc/des_soft.c: Likewise.
28423 * sunrpc/get_myaddr.c: Likewise.
28424 * sunrpc/key_call.c: Likewise.
28425 * sunrpc/key_prot.c: Likewise.
28426 * sunrpc/netname.c: Likewise.
28427 * sunrpc/pm_getmaps.c: Likewise.
28428 * sunrpc/pm_getport.c: Likewise.
28429 * sunrpc/pmap_clnt.c: Likewise.
28430 * sunrpc/pmap_prot.c: Likewise.
28431 * sunrpc/pmap_prot2.c: Likewise.
28432 * sunrpc/pmap_rmt.c: Likewise.
28433 * sunrpc/publickey.c: Likewise.
28434 * sunrpc/rpc_cmsg.c: Likewise.
28435 * sunrpc/rpc_common.c: Likewise.
28436 * sunrpc/rpc_dtable.c: Likewise.
28437 * sunrpc/rpc_prot.c: Likewise.
28438 * sunrpc/rpc_thread.c: Likewise.
28439 * sunrpc/rtime.c: Likewise.
28440 * sunrpc/svc.c: Likewise.
28441 * sunrpc/svc_auth.c: Likewise.
28442 * sunrpc/svc_authux.c: Likewise.
28443 * sunrpc/svc_raw.c: Likewise.
28444 * sunrpc/svc_run.c: Likewise.
28445 * sunrpc/svc_simple.c: Likewise.
28446 * sunrpc/svc_tcp.c: Likewise.
28447 * sunrpc/svc_udp.c: Likewise.
28448 * sunrpc/svc_unix.c: Likewise.
28449 * sunrpc/svcauth_des.c: Likewise.
28450 * sunrpc/xcrypt.c: Likewise.
28451 * sunrpc/xdr.c: Likewise.
28452 * sunrpc/xdr_array.c: Likewise.
28453 * sunrpc/xdr_float.c: Likewise.
28454 * sunrpc/xdr_intXX_t.c: Likewise.
28455 * sunrpc/xdr_mem.c: Likewise.
28456 * sunrpc/xdr_rec.c: Likewise.
28457 * sunrpc/xdr_ref.c: Likewise.
28458 * sunrpc/xdr_sizeof.c: Likewise.
28459 * sunrpc/xdr_stdio.c: Likewise.
28461 2011-04-10 Ulrich Drepper <drepper@gmail.com>
28464 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28465 * sysdeps/ia64/dl-tls.h: Likewise.
28466 * sysdeps/powerpc/dl-tls.h: Likewise.
28467 * sysdeps/s390/dl-tls.h: Likewise.
28468 * sysdeps/sh/dl-tls.h: Likewise.
28469 * sysdeps/sparc/dl-tls.h: Likewise.
28470 * sysdeps/x86_64/dl-tls.h: Likewise.
28471 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28473 2011-03-14 Andreas Schwab <schwab@redhat.com>
28475 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28476 rpath element also skip the following colon.
28477 (expand_dynamic_string_token): Add is_path parameter and pass
28478 down to DL_DST_REQUIRED and _dl_dst_substitute.
28479 (decompose_rpath): Call expand_dynamic_string_token with
28480 non-zero is_path. Ignore empty rpaths.
28481 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28484 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28489 2011-04-09 Ulrich Drepper <drepper@gmail.com>
28492 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28493 Patch by Filipe David Manana <fdmanana@apache.org>.
28495 2011-04-07 Andreas Schwab <schwab@redhat.com>
28497 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28498 Maintain aligned stack.
28499 (CHECK_RSP): Remove unused macro.
28501 2011-04-03 Ulrich Drepper <drepper@gmail.com>
28503 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28504 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28506 2011-04-02 Ulrich Drepper <drepper@gmail.com>
28508 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28510 * include/features.h: Mention __USE_XOPEN2K8 in comment.
28512 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28515 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28516 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28517 * sysdeps/x86_64/memmove.c: New file.
28518 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28519 (memcpy): Renamed to ...
28520 (__new_memcpy): This.
28521 (memcpy): Provide GLIBC_2_14 memcpy.
28522 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28523 (memcpy): Provide GLIBC_2_2_5 memcpy.
28525 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28528 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28530 2011-03-30 Andreas Schwab <schwab@redhat.com>
28532 * misc/syncfs.c: New file.
28533 * misc/Makefile (routines): Add syncfs.
28534 * posix/unistd.h: Declare syncfs.
28535 * sysdeps/unix/syscalls.list: Add syncfs.
28537 2011-04-01 Andreas Schwab <schwab@redhat.com>
28539 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28541 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28542 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28543 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28544 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28546 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28549 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28551 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28552 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28553 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28554 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28555 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28557 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28559 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28560 sync_file_range.c with -fexceptions.
28561 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28562 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28563 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28564 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28565 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28566 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
28568 sync_file_range as cancellation point
28569 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28570 now a wrapper around __call_sync_file_range with cancellation handling.
28571 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28572 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28573 function name to __call_sync_file_range.
28574 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28575 Add call_sync_file_range.
28577 2011-04-01 Andreas Schwab <schwab@redhat.com>
28579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28582 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28584 * iconv/iconv.h: Fix typo in comment.
28585 * io/fcntl.h: Likewise.
28586 * libio/stdio.h: Likewise.
28587 * posix/spawn.h: Likewise.
28588 * posix/unistd.h: Likewise.
28589 * stdlib/stdlib.h: Likewise.
28590 * time/time.h: Likewise.
28591 * wcsmbs/wchar.h: Likewise.
28593 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28594 open_by_handle): Add.
28595 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28596 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28597 Augment a few comments.
28598 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28599 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28600 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28602 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28603 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28606 * io/fcntl.h (AT_EMPTY_PATH): Define.
28608 2011-03-30 Ulrich Drepper <drepper@gmail.com>
28610 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28611 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28612 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28614 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
28615 * Versions.def: Add GLIBC_2.14.
28616 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28619 2011-03-22 Ulrich Drepper <drepper@gmail.com>
28621 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28623 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28625 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28628 * string/test-strncmp.c (do_page_test): New function.
28629 (check2): Likewise.
28630 (test_main): Call check2.
28631 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28633 2011-03-20 Ulrich Drepper <drepper@gmail.com>
28636 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28637 Handle cache information in CPU leaf 4.
28638 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28640 2011-03-18 Ulrich Drepper <drepper@gmail.com>
28643 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28644 character representation.
28645 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28647 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28649 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28650 END(__isnan) to END(__isnanf) to match function entry point/label
28651 EALIGN(__isnanf,...).
28653 2011-03-10 Jakub Jelinek <jakub@redhat.com>
28655 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28657 2011-03-10 Ulrich Drepper <drepper@gmail.com>
28660 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28661 copy from the symbol referenced in the relocation to initialize the
28663 Patch by Piotr Bury <pbury@goahead.com>.
28664 * elf/Makefile: Add rules to build and tst-unique3.
28665 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28666 * elf/tst-unique3.cc: New file.
28667 * elf/tst-unique3.h: New file.
28668 * elf/tst-unique3lib.cc: New file.
28669 * elf/tst-unique3lib2.cc: New file.
28671 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28673 2011-03-10 Mike Frysinger <vapier@gentoo.org>
28675 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28676 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28679 2011-03-06 Ulrich Drepper <drepper@gmail.com>
28681 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28682 to-be-loaded object along a path to loader is ld.so.
28684 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28685 Ulrich Drepper <drepper@gmail.com>
28687 * sysdeps/x86_64/memset.S: After aligning destination, code
28688 branches to different locations depending on the value of
28689 misalignment, when multiarch is enabled. Fix this.
28691 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28693 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28694 Set _x86_64_preferred_memory_instruction for AMD processsors.
28695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28696 Set bit_Prefer_SSE_for_memop for AMD processors.
28698 2011-03-04 Ulrich Drepper <drepper@gmail.com>
28700 * libio/fmemopen.c (fmemopen): Optimize a bit.
28702 2011-03-03 Andreas Schwab <schwab@redhat.com>
28704 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28706 2011-03-03 Roland McGrath <roland@redhat.com>
28708 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28710 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28712 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
28713 __bzero_ultra1 instead of __memset_ultra1.
28715 2011-02-23 Andreas Schwab <schwab@redhat.com>
28716 Ulrich Drepper <drepper@gmail.com>
28719 * include/link.h (struct link_map): Add l_orig_initfini.
28720 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28721 returning unsuccessfully.
28722 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28723 close of a file loaded at startup, restore the original l_initfini
28725 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28726 list, store the pointer.
28727 * elf/Makefile ($(objpfx)noload-mem): New rule.
28728 (noload-ENV): Define.
28729 (tests): Add $(objpfx)noload-mem.
28730 * elf/noload.c: Include <memcheck.h>.
28731 (main): Call mtrace. Close all opened handles.
28733 2011-02-17 Andreas Schwab <schwab@redhat.com>
28736 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28737 dependencies are missing.
28739 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28741 Fix __if_freereq crash: Unlike the generic version which uses free,
28743 * sysdeps/mach/hurd/ifreq.h: New file.
28745 2011-01-27 Petr Baudis <pasky@suse.cz>
28746 Ulrich Drepper <drepper@gmail.com>
28749 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28750 to extend_alloca().
28751 * stdio-common/bug23.c: New file.
28752 * stdio-common/Makefile (tests): Add bug23.
28754 2010-09-28 Andreas Schwab <schwab@redhat.com>
28755 Ulrich Drepper <drepper@gmail.com>
28758 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28759 before performing relro protection. At old place add assertion
28760 to make sure nothing changed.
28762 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28763 Glauber de Oliveira Costa <glommer@gmail.com>
28765 * elf/elf.h: Add new ARM TLS relocs.
28767 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28770 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28772 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28774 * sysdeps/wordsize-64/tst-writev.c: New file.
28776 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28778 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28779 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28780 insns in _dl_start to prevent a TOC reference before relocs are
28783 2011-02-15 Ulrich Drepper <drepper@gmail.com>
28786 * Makeconfig: Remove RANLIB definition.
28787 * Makerules: Don't use RANLIB.
28788 * aclocal.m4: Remove ranlib test.
28789 * configure.in: No need to check for ranlib.
28790 * elf/rtld-Rules: Don't use RANLIB.
28792 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28794 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28796 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28797 inclusion protection macro.
28799 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28800 SIGRTMIN and SIGRTMAX and print information in that case only when
28801 SIGRTMIN is defined.
28803 2011-02-11 Jakub Jelinek <jakub@redhat.com>
28805 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28806 arginfo fn returning -1.
28808 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28809 and thousands string is zero terminated.
28811 2011-02-03 Andreas Schwab <schwab@redhat.com>
28813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28814 sysdeps/unix/sysv/linux/bits/socket.h.
28816 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28818 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28819 (__CPU_COUNT): Remove old macros.
28820 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28821 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28822 (__CPU_ALLOC, __CPU_FREE): Add macros.
28823 (__sched_cpualloc, __sched_cpufree): Add declarations.
28825 2011-02-05 Ulrich Drepper <drepper@gmail.com>
28827 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28828 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28829 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28830 (readdhstai): Return value of addhstaiX call.
28831 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28832 (addgrbyX): Return value returned by cache_addgr.
28833 (readdgrbyname): Return value returned by addgrbyX.
28834 (readdgrbygid): Likewise.
28835 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28836 (addpwbyX): Return value returned by cache_addpw.
28837 (readdpwbyname): Return value returned by addhstbyX.
28838 (readdpwbyuid): Likewise.
28839 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28840 (addservbyX): Return value returned by cache_addserv.
28841 (readdservbyname): Return value returned by addservbyX:
28842 (readdservbyport): Likewise.
28843 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28844 (addhstbyX): Return value returned by cache_addhst.
28845 (readdhstbyname): Return value returned by addhstbyX.
28846 (readdhstbyaddr): Likewise.
28847 (readdhstbynamev6): Likewise.
28848 (readdhstbyaddrv6): Likewise.
28849 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28850 (readdinitgroups): Return value returned by addinitgroupsX.
28851 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28852 (prune_cache): Keep track of timeout value of re-added entries.
28853 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28854 * nscd/nscd.h: Adjust prototypes of readd* functions.
28856 2011-02-04 Roland McGrath <roland@redhat.com>
28858 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28859 (nis_stats): Likewise.
28860 * nis/nis_modify.c (nis_modify): Likewise.
28861 * nis/nis_remove.c (nis_remove): Likewise.
28862 * nis/nis_add.c (nis_add): Likewise.
28864 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28866 * posix/fnmatch_loop.c: Add some consts.
28868 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28870 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28873 * config.make.in (config-cflags-novzeroupper): Define.
28874 * configure.in: Substitute libc_cv_cc_novzeroupper.
28875 * elf/Makefile (AVX-CFLAGS): Define.
28876 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28877 (CFLAGS-tst-auditmod4a.c): Likewise.
28878 (CFLAGS-tst-auditmod4b.c): Likewise.
28879 (CFLAGS-tst-auditmod6b.c): Likewise.
28880 (CFLAGS-tst-auditmod6c.c): Likewise.
28881 (CFLAGS-tst-auditmod7b.c): Likewise.
28882 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28884 2011-02-02 Ulrich Drepper <drepper@gmail.com>
28886 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28887 function to the callback.
28888 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28890 2011-02-02 Andreas Schwab <schwab@redhat.com>
28892 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28895 2011-01-19 Ulrich Drepper <drepper@gmail.com>
28898 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28900 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28902 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28905 * elf/Makefile: Add rules to build and run new test.
28906 * elf/tst-initorder.c: New file.
28907 * elf/tst-initorder.exp: New file.
28908 * elf/tst-initordera1.c: New file.
28909 * elf/tst-initordera2.c: New file.
28910 * elf/tst-initordera3.c: New file.
28911 * elf/tst-initordera4.c: New file.
28912 * elf/tst-initorderb1.c: New file.
28913 * elf/tst-initorderb2.c: New file.
28914 * elf/tst-order-a1.c: New file.
28915 * elf/tst-order-a2.c: New file.
28916 * elf/tst-order-a3.c: New file.
28917 * elf/tst-order-a4.c: New file.
28918 * elf/tst-order-b1.c: New file.
28919 * elf/tst-order-b2.c: New file.
28920 * elf/tst-order-main.c: New file.
28921 New test case by George Gensure <werkt0@gmail.com>.
28923 2010-10-01 Andreas Schwab <schwab@redhat.com>
28925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28926 decoding ACE if AI_CANONIDN.
28928 2011-01-18 Ulrich Drepper <drepper@gmail.com>
28930 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28932 2011-01-17 Ulrich Drepper <drepper@gmail.com>
28934 * version.h (RELEASE): Bump for 2.13 release.
28935 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28937 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28939 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28941 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28942 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28943 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28944 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28945 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28946 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28948 * posix/getconf.c: Update copyright year.
28949 * catgets/gencat.c: Likewise.
28950 * csu/version.c: Likewise.
28951 * debug/catchsegv.sh: Likewise.
28952 * debug/xtrace.sh: Likewise.
28953 * elf/ldconfig.c: Likewise.
28954 * elf/ldd.bash.in: Likewise.
28955 * elf/sprof.c (print_version): Likewise.
28956 * iconv/iconv_prog.c: Likewise.
28957 * iconv/iconvconfig.c: Likewise.
28958 * locale/programs/locale.c: Likewise.
28959 * locale/programs/localedef.c: Likewise.
28960 * malloc/memusage.sh: Likewise.
28961 * malloc/mtrace.pl: Likewise.
28962 * nscd/nscd.c (print_version): Likewise.
28963 * nss/getent.c: Likewise.
28965 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28966 PF_CAIF, and PF_ALG.
28967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28969 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28971 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28972 (modules-names): Use them.
28973 (ifunc-test-modules, ifunc-pie-tests): Define.
28974 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28975 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28976 (test-extras): Likewise.
28977 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28978 $(compile-command.c).
28979 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28980 (all-built-dso): Define.
28981 (check-textrel.out, check-execstack.out): Depend on it.
28983 * configure.in: Don't override --enable-multi-arch.
28985 2011-01-15 Ulrich Drepper <drepper@gmail.com>
28988 * nscd/hstcache.c (tryagain): Define.
28989 (cache_addhst): Return tryagain not notfound for temporary errors.
28990 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28993 2011-01-14 Ulrich Drepper <drepper@gmail.com>
28996 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28997 to make the syscall.
28998 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29001 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29002 and fall back to matching as normal character if the string ends before
29003 the matching ']' is found. This is what POSIX requires.
29004 * posix/testfnm.c: Adjust test result.
29005 * posix/globtest.sh: Adjust test result. Add new test.
29006 * posix/tst-fnmatch.input: Likewise.
29007 * posix/tst-fnmatch2.c: Add new test.
29009 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29011 * elf/Makefile (check-execstack): Revert last change. Depend on
29013 (check-execstack.h): New target.
29014 (generated): Add check-execstack.h.
29015 * elf/check-execstack.c: Include "check-execstack.h".
29016 (main): Revert last change.
29017 (handle_file): Return zero if GNU_STACK is absent and
29018 DEFAULT_STACK_PERMS doesn't include PF_X.
29020 2011-01-13 Ulrich Drepper <drepper@gmail.com>
29022 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29023 in child fails because the descriptor is already closed.
29024 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29025 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29026 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29029 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29033 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29034 temporary buffer used to handle multi lookups locally.
29035 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29037 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29039 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29042 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29044 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29045 alignment for SSE2.
29047 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29050 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29051 characters. When rounding increased number of integer digits recompute
29053 * stdio-common/tst-grouping.c: New file.
29054 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29056 2011-01-09 Ulrich Drepper <drepper@gmail.com>
29058 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29059 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29061 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29063 * bits/select.h: Likewise.
29065 2011-01-08 Ulrich Drepper <drepper@gmail.com>
29067 * po/ja.po: Update from translation team.
29069 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
29072 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29073 implementation just like for lxstat, fxstatat, et al.
29075 2010-12-27 Jim Meyering <meyering@redhat.com>
29078 * posix/regexec.c (build_trtable): Return failure indication upon
29079 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29081 2010-12-25 Ulrich Drepper <drepper@gmail.com>
29084 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29085 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29086 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29087 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29090 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29093 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29094 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29096 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29098 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29099 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29100 script has SORT_BY_INIT_PRIORITY.
29101 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29102 NO_CTORS_DTORS_SECTIONS is defined.
29103 * elf/soinit.c: Likewise.
29104 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29105 NO_CTORS_DTORS_SECTIONS is defined.
29106 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29107 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29108 * sysdeps/sh/init-first.c: Likewise.
29109 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29111 2010-12-24 Ulrich Drepper <drepper@gmail.com>
29113 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29114 always use the slow path.
29116 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29118 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29119 similar rule which adds the sysdep directories to the header search in
29120 order to pick up the correct platform stackinfo.h.
29121 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29122 perform test if it is, otherwise return successfully without testing.
29123 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29124 DEFAULT_STACK_PERMS define in stackinfo.h.
29125 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29126 defined in stackinfo.h.
29127 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29128 DEFAULT_STACK_PERMS defined in stackinfo.h.
29129 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29130 * sysdeps/ia64/stackinfo.h: Likewise.
29131 * sysdeps/s390/stackinfo.h: Likewise.
29132 * sysdeps/sh/stackinfo.h: Likewise.
29133 * sysdeps/sparc/stackinfo.h: Likewise.
29134 * sysdeps/x86_64/stackinfo.h: Likewise.
29135 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29136 PF_X for powerpc64. Retain PF_X for powerpc32.
29138 2010-12-19 Ulrich Drepper <drepper@gmail.com>
29140 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29142 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29143 GETDENTS_64BIT_ALIGNED.
29145 2010-12-14 Ulrich Drepper <dreper@gmail.com>
29147 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29149 2010-12-10 Andreas Schwab <schwab@redhat.com>
29151 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29154 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29155 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29157 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29158 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29160 2010-12-09 Ulrich Drepper <drepper@gmail.com>
29163 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29166 2010-12-09 Jakub Jelinek <jakub@redhat.com>
29168 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29170 2010-12-03 Ulrich Drepper <drepper@gmail.com>
29172 * po/it.po: Update from translation team.
29174 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29179 2010-11-30 Ulrich Drepper <drepper@gmail.com>
29181 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29183 2010-11-24 Andreas Schwab <schwab@redhat.com>
29185 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29187 (gaih_getanswer_slice): Likewise.
29189 2010-10-20 Jakub Jelinek <jakub@redhat.com>
29191 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29193 2010-05-31 Petr Baudis <pasky@suse.cz>
29196 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29197 silently even in the chroot mode.
29199 2010-11-22 Ulrich Drepper <drepper@gmail.com>
29201 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29202 last patch a bit. Pretty printing
29204 2010-05-31 Petr Baudis <pasky@suse.cz>
29207 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29208 initialization of skip_initgroups_dyn.
29210 2010-11-19 Ulrich Drepper <drepper@gmail.com>
29212 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29213 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29215 2010-11-16 Ulrich Drepper <drepper@gmail.com>
29217 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29219 2010-11-11 Andreas Schwab <schwab@redhat.com>
29221 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29222 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29223 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29224 ($(objpfx)tst-fnmatch-mem): New rule.
29225 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29226 * posix/tst-fnmatch.c (main): Call mtrace.
29228 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29231 Support Intel processor model 6 and model 0x2c.
29233 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
29235 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29238 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29241 * string/test-strncasecmp.c (check_result): New function.
29242 (do_one_test): Use it.
29243 (check1): New function.
29244 (test_main): Use it.
29245 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29246 Support strcasecmp and strncasecmp.
29248 2010-11-08 Ulrich Drepper <drepper@gmail.com>
29251 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29252 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29254 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29256 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29260 * sysdeps/x86_64/multiarch/bzero.S: New file.
29261 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29262 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29263 * sysdeps/x86_64/multiarch/memset.S: New file.
29264 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29266 Set bit_Prefer_SSE_for_memop for Intel processors.
29267 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29269 (index_Prefer_SSE_for_memop): Define.
29270 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29272 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
29274 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29275 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29277 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29280 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29281 (__x86_64_raw_data_cache_size_half): Likewise.
29282 (__x86_64_raw_shared_cache_size): Likewise.
29283 (__x86_64_raw_shared_cache_size_half): Likewise.
29285 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29286 (__x86_64_raw_data_cache_size_half): Likewise.
29287 (__x86_64_raw_shared_cache_size): Likewise.
29288 (__x86_64_raw_shared_cache_size_half): Likewise.
29289 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29290 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29291 and __x86_64_raw_shared_cache_size_half. Round
29292 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29293 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29294 to multiple of 256 bytes.
29296 2010-11-03 Ulrich Drepper <drepper@gmail.com>
29299 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29300 of inacessible symlinks. Verify result of symlink before returning it.
29301 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29302 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29304 2010-10-28 Erich Ritz <erichritz@gmail.com>
29306 * math/math.h (isinf): Fix typo in comment.
29308 2010-11-01 Ulrich Drepper <drepper@gmail.com>
29310 * po/da.po: Update from translation team.
29312 2010-10-26 Ulrich Drepper <drepper@gmail.com>
29314 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29315 is added to the list.
29317 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29318 Ulrich Drepper <drepper@gmail.com>
29320 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29321 the global list here. Move code to...
29322 (_dl_add_to_namespace_list): ...here. New function.
29323 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29324 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29325 * elf/dl-load.c (lose): Don't remove the element from the list.
29326 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29327 (_dl_map_object): Likewise.
29329 2010-10-25 Ulrich Drepper <drepper@gmail.com>
29332 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29333 into all bytes of SSE register.
29334 Patch by Richard Li <richardpku@gmail.com>.
29336 2010-10-24 Ulrich Drepper <drepper@gmail.com>
29339 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29342 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29344 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29345 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29346 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29347 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29352 2010-10-22 Andreas Schwab <schwab@redhat.com>
29354 * include/dlfcn.h (__RTLD_SECURE): Define.
29355 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29356 mode & __RTLD_SECURE instead.
29357 (open_path): Rename preloaded parameter to secure.
29358 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29359 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29360 * elf/dl-deps.c (openaux): Likewise.
29361 * elf/rtld.c (struct map_args): Remove is_preloaded.
29362 (map_doit): Don't use it.
29363 (dl_main): Likewise.
29364 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29365 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29367 2010-09-09 Andreas Schwab <schwab@redhat.com>
29369 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29370 (sysd-rules-targets): Remove duplicates.
29371 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29372 rtld-%.$o dependency.
29374 2010-10-18 Andreas Schwab <schwab@redhat.com>
29376 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29377 _dl_map_object do it.
29379 2010-10-19 Ulrich Drepper <drepper@gmail.com>
29381 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29382 fast fma builtins, define the macros in the C99 standard.
29383 (FP_FAST_FMAF): Likewise.
29384 (FP_FAST_FMAL): Likewise.
29385 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29387 * bits/mathdef.h: Update copyright year.
29388 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29390 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29392 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29393 builtins, define the macros in the C99 standard.
29394 (FP_FAST_FMAF): Likewise.
29395 (FP_FAST_FMAL): Likewise.
29396 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29398 (FP_FAST_FMAF): Likewise.
29400 2010-10-15 Jakub Jelinek <jakub@redhat.com>
29403 * math/libm-test.inc (fma_test): Some new testcases.
29404 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29405 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29406 y and infinite z. Do multiplication by C already in long double.
29407 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29409 y and infinite z. Do bitwise or of inexact bit into u.d.
29410 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29411 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29412 * sysdeps/i386/fpu/s_fma.S: Removed.
29413 * sysdeps/i386/fpu/s_fmal.S: Removed.
29415 2010-10-16 Jakub Jelinek <jakub@redhat.com>
29418 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29420 computation is not scheduled after fetestexcept. Fix value
29421 of minimum denormal long double.
29423 2010-10-14 Jakub Jelinek <jakub@redhat.com>
29426 * math/libm-test.inc (fma_test): Add some more tests.
29427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29430 2010-10-15 Andreas Schwab <schwab@redhat.com>
29432 * scripts/data/localplt-s390-linux-gnu.data: New file.
29433 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29435 2010-10-13 Jakub Jelinek <jakub@redhat.com>
29438 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29439 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29441 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29443 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29445 if one of x and y is very large and the other is subnormal.
29446 * sysdeps/s390/fpu/s_fmaf.c: New file.
29447 * sysdeps/s390/fpu/s_fma.c: New file.
29448 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29449 * sysdeps/powerpc/fpu/s_fma.S: New file.
29450 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29451 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29452 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29454 2010-10-12 Jakub Jelinek <jakub@redhat.com>
29457 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29459 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29460 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29461 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29462 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29463 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29464 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29465 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29467 2010-10-12 Ulrich Drepper <drepper@redhat.com>
29470 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29471 * posix/bug-regex31.input: Add test case.
29473 2010-10-11 Ulrich Drepper <drepper@gmail.com>
29475 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29476 * posix/bug-regex31.input: New file.
29479 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29480 (parse_sub_exp): Fix last change, use postorder.
29482 * posix/bug-regex31.c: New file.
29483 * posix/Makefile: Add rules to build and run bug-regex31.
29485 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29488 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29491 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29492 to have entries in sys_siglist.
29495 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29498 2010-10-07 Jakub Jelinek <jakub@redhat.com>
29501 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29502 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29503 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29504 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29505 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29506 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29507 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29508 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29509 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29510 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29511 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29512 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29513 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29514 * math/ftestexcept.c (fetestexcept): Likewise.
29515 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29516 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29517 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29518 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29519 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29520 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29521 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29523 2010-10-11 Ulrich Drepper <drepper@gmail.com>
29526 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29529 2010-10-06 Ulrich Drepper <drepper@gmail.com>
29531 * string/bug-strstr1.c: New file.
29532 * string/Makefile: Add rules to build and run bug-strstr1.
29534 2010-10-05 Eric Blake <eblake@redhat.com>
29537 * string/str-two-way.h (two_way_long_needle): Always clear memory
29538 when skipping input due to the shift table.
29540 2010-10-03 Ulrich Drepper <drepper@gmail.com>
29543 * malloc/mcheck.c: Handle large requests.
29546 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29547 for strncmp and strncasecmp.
29548 * string/stratcliff.c: Add tests for strcmp and strncmp.
29549 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29551 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29553 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29556 2010-09-30 Andreas Jaeger <aj@suse.de>
29558 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29559 (CGROUP_SUPER_MAGIC): Define.
29560 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29561 Handle btrfs and cgroup file systems.
29562 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29565 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
29567 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29568 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29570 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29573 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29574 trying to locate the ELF header.
29576 2010-09-27 Andreas Schwab <schwab@redhat.com>
29579 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29580 Mask out sign-bit copies when constructing f_fsid.
29582 2010-09-24 Petr Baudis <pasky@suse.cz>
29584 * debug/stack_chk_fail_local.c: Add missing licence exception.
29585 * debug/warning-nop.c: Likewise.
29587 2010-09-15 Joseph Myers <joseph@codesourcery.com>
29589 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29590 implementing getdents64 using getdents syscall, set d_type if
29591 __ASSUME_GETDENTS32_D_TYPE.
29593 2010-09-16 Andreas Schwab <schwab@redhat.com>
29595 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29596 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29598 2010-09-21 Ulrich Drepper <drepper@redhat.com>
29601 * posix/unistd.h: Undo change of feature selection for ftruncate from
29604 2010-09-20 Ulrich Drepper <drepper@redhat.com>
29606 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29609 2010-09-20 Andreas Schwab <schwab@redhat.com>
29611 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29613 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29615 2010-09-14 Andreas Schwab <schwab@redhat.com>
29617 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29618 variables after CHECK_SP call.
29619 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29621 2010-09-13 Andreas Schwab <schwab@redhat.com>
29622 Ulrich Drepper <drepper@redhat.com>
29624 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29625 re-relocationg ld.so.
29626 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29627 _dl_init_paths call.
29628 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29631 2010-09-14 Ulrich Drepper <drepper@redhat.com>
29633 * resolv/res_init.c (__res_vinit): Count the default server we added.
29635 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29636 Ulrich Drepper <drepper@redhat.com>
29639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29640 (____longjmp_chk): Use %ebx for saving value across system call.
29643 2010-09-06 Andreas Schwab <schwab@redhat.com>
29645 * manual/Makefile: Don't mix pattern rules with normal rules.
29647 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29649 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29651 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29652 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29653 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29654 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29655 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29658 2010-09-04 Ulrich Drepper <drepper@redhat.com>
29661 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29662 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29664 2010-09-02 Ulrich Drepper <drepper@redhat.com>
29666 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29667 * sysdeps/x86_64/addmul_1.S: Likewise.
29668 * sysdeps/x86_64/lshift.S: Likewise.
29669 * sysdeps/x86_64/mul_1.S: Likewise.
29670 * sysdeps/x86_64/rshift.S: Likewise.
29671 * sysdeps/x86_64/sub_n.S: Likewise.
29672 * sysdeps/x86_64/submul_1.S: Likewise.
29674 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29676 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29677 Define __sched_param instead of SCHED_* and sched_param when
29678 <bits/sched.h> is included with __need_schedparam defined.
29679 * bits/sched.h [__need_schedparam]
29680 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
29681 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29682 (__defined_schedparam): Define to 1.
29683 (__sched_param): New structure, identical to sched_param.
29684 (__need_schedparam): Undefine.
29686 2010-08-31 Mike Frysinger <vapier@gentoo.org>
29688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29689 (epoll_create1): Declare.
29691 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29693 2010-08-31 Andreas Schwab <schwab@redhat.com>
29696 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29697 shifting retval into place.
29699 2010-09-01 Ulrich Drepper <drepper@redhat.com>
29701 * nis/rpcsvc/nis.h: Update copyright notice.
29702 * nis/rpcsvc/nis.x: Likewise.
29703 * nis/rpcsvc/nis_callback.h: Likewise.
29704 * nis/rpcsvc/nis_callback.x: Likewise.
29705 * nis/rpcsvc/nis_object.x: Likewise.
29706 * nis/rpcsvc/nis_tags.h: Likewise.
29707 * nis/rpcsvc/yp.h: Likewise.
29708 * nis/rpcsvc/yp.x: Likewise.
29709 * nis/rpcsvc/ypupd.h: Likewise.
29710 * nis/yp_xdr.c: Likewise.
29711 * nis/ypupdate_xdr.c: Likewise.
29713 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29714 mainly the body of pmap_getport. Add parameters to specify timeouts.
29715 (pmap_getport): Use __libc_rpc_getport.
29716 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29717 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29718 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29720 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29725 2010-08-27 Roland McGrath <roland@redhat.com>
29727 * sysdeps/i386/i686/multiarch/Makefile
29728 (CFLAGS-varshift.c): New variable.
29730 2010-08-27 Ulrich Drepper <drepper@redhat.com>
29732 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29733 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29735 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29737 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29739 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29741 * sysdeps/x86_64/strlen.S: Unroll the loop.
29742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29743 strlen-sse2 strlen-sse2-bsf.
29744 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29745 __strlen_no_bsf if bit_Slow_BSF is set.
29746 (__strlen_sse42): Removed.
29747 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29748 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29750 2010-08-25 Roland McGrath <roland@redhat.com>
29752 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29753 * sysdeps/x86_64/multiarch/varshift.c: New file.
29754 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29755 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29756 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29757 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29759 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29762 strlen-sse2 strlen-sse2-bsf.
29763 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29764 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29765 (__strlen_sse2): Removed.
29766 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29767 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29769 bit_Slow_BSF for Atom.
29770 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29771 (index_Slow_BSF): Define.
29772 (HAS_SLOW_BSF): Define.
29774 2010-08-25 Ulrich Drepper <drepper@redhat.com>
29777 * resolv/res_init.c (__res_vinit): When no server address at all
29778 is given default to loopback.
29780 2010-08-24 Roland McGrath <roland@redhat.com>
29782 * configure.in: Remove config-name.h generation.
29783 * configure: Regenerated.
29784 * config-name.in: File removed.
29785 * scripts/config-uname.sh: New file.
29786 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29787 ($(objdir)config-name.h): New target.
29789 * sunrpc/rpc_parse.h: Avoid nested comment.
29791 2010-08-24 Richard Henderson <rth@redhat.com>
29792 Ulrich Drepper <drepper@redhat.com>
29793 H.J. Lu <hongjiu.lu@intel.com>
29795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29797 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29798 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29799 _mm_alignr_epi8 with _mm_loadu_si128.
29800 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29801 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29802 (__m128i_shift_right): Removed.
29803 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29804 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29805 * sysdeps/x86_64/multiarch/varshift.h: New file.
29806 * sysdeps/x86_64/multiarch/varshift.S: New file.
29808 2010-08-21 Mike Frysinger <vapier@gentoo.org>
29810 * configure.in: Move assembler checks to before sysdep dir checking.
29812 2010-08-20 Petr Baudis <pasky@suse.cz>
29814 * LICENSES: Sync the sunrpc license.
29816 2010-08-19 Ulrich Drepper <drepper@redhat.com>
29818 * sunrpc/auth_des.c: Update copyright notice once again.
29819 * sunrpc/auth_none.c: Likewise.
29820 * sunrpc/auth_unix.c: Likewise.
29821 * sunrpc/authdes_prot.c: Likewise.
29822 * sunrpc/authuxprot.c: Likewise.
29823 * sunrpc/bindrsvprt.c: Likewise.
29824 * sunrpc/clnt_gen.c: Likewise.
29825 * sunrpc/clnt_perr.c: Likewise.
29826 * sunrpc/clnt_raw.c: Likewise.
29827 * sunrpc/clnt_simp.c: Likewise.
29828 * sunrpc/clnt_tcp.c: Likewise.
29829 * sunrpc/clnt_udp.c: Likewise.
29830 * sunrpc/clnt_unix.c: Likewise.
29831 * sunrpc/des_crypt.c: Likewise.
29832 * sunrpc/des_soft.c: Likewise.
29833 * sunrpc/get_myaddr.c: Likewise.
29834 * sunrpc/getrpcport.c: Likewise.
29835 * sunrpc/key_call.c: Likewise.
29836 * sunrpc/key_prot.c: Likewise.
29837 * sunrpc/openchild.c: Likewise.
29838 * sunrpc/pm_getmaps.c: Likewise.
29839 * sunrpc/pm_getport.c: Likewise.
29840 * sunrpc/pmap_clnt.c: Likewise.
29841 * sunrpc/pmap_prot.c: Likewise.
29842 * sunrpc/pmap_prot2.c: Likewise.
29843 * sunrpc/pmap_rmt.c: Likewise.
29844 * sunrpc/rpc/auth.h: Likewise.
29845 * sunrpc/rpc/auth_unix.h: Likewise.
29846 * sunrpc/rpc/clnt.h: Likewise.
29847 * sunrpc/rpc/des_crypt.h: Likewise.
29848 * sunrpc/rpc/key_prot.h: Likewise.
29849 * sunrpc/rpc/netdb.h: Likewise.
29850 * sunrpc/rpc/pmap_clnt.h: Likewise.
29851 * sunrpc/rpc/pmap_prot.h: Likewise.
29852 * sunrpc/rpc/pmap_rmt.h: Likewise.
29853 * sunrpc/rpc/rpc.h: Likewise.
29854 * sunrpc/rpc/rpc_des.h: Likewise.
29855 * sunrpc/rpc/rpc_msg.h: Likewise.
29856 * sunrpc/rpc/svc.h: Likewise.
29857 * sunrpc/rpc/svc_auth.h: Likewise.
29858 * sunrpc/rpc/types.h: Likewise.
29859 * sunrpc/rpc/xdr.h: Likewise.
29860 * sunrpc/rpc_clntout.c: Likewise.
29861 * sunrpc/rpc_cmsg.c: Likewise.
29862 * sunrpc/rpc_common.c: Likewise.
29863 * sunrpc/rpc_cout.c: Likewise.
29864 * sunrpc/rpc_dtable.c: Likewise.
29865 * sunrpc/rpc_hout.c: Likewise.
29866 * sunrpc/rpc_main.c: Likewise.
29867 * sunrpc/rpc_parse.c: Likewise.
29868 * sunrpc/rpc_parse.h: Likewise.
29869 * sunrpc/rpc_prot.c: Likewise.
29870 * sunrpc/rpc_sample.c: Likewise.
29871 * sunrpc/rpc_scan.c: Likewise.
29872 * sunrpc/rpc_scan.h: Likewise.
29873 * sunrpc/rpc_svcout.c: Likewise.
29874 * sunrpc/rpc_tblout.c: Likewise.
29875 * sunrpc/rpc_util.c: Likewise.
29876 * sunrpc/rpc_util.h: Likewise.
29877 * sunrpc/rpcinfo.c: Likewise.
29878 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29879 * sunrpc/rpcsvc/key_prot.x: Likewise.
29880 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29881 * sunrpc/rpcsvc/mount.x: Likewise.
29882 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29883 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29884 * sunrpc/rpcsvc/rex.x: Likewise.
29885 * sunrpc/rpcsvc/rstat.x: Likewise.
29886 * sunrpc/rpcsvc/rusers.x: Likewise.
29887 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29888 * sunrpc/rpcsvc/spray.x: Likewise.
29889 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29890 * sunrpc/rtime.c: Likewise.
29891 * sunrpc/svc.c: Likewise.
29892 * sunrpc/svc_auth.c: Likewise.
29893 * sunrpc/svc_authux.c: Likewise.
29894 * sunrpc/svc_raw.c: Likewise.
29895 * sunrpc/svc_run.c: Likewise.
29896 * sunrpc/svc_simple.c: Likewise.
29897 * sunrpc/svc_tcp.c: Likewise.
29898 * sunrpc/svc_udp.c: Likewise.
29899 * sunrpc/svc_unix.c: Likewise.
29900 * sunrpc/svcauth_des.c: Likewise.
29901 * sunrpc/xcrypt.c: Likewise.
29902 * sunrpc/xdr.c: Likewise.
29903 * sunrpc/xdr_array.c: Likewise.
29904 * sunrpc/xdr_float.c: Likewise.
29905 * sunrpc/xdr_mem.c: Likewise.
29906 * sunrpc/xdr_rec.c: Likewise.
29907 * sunrpc/xdr_ref.c: Likewise.
29908 * sunrpc/xdr_sizeof.c: Likewise.
29909 * sunrpc/xdr_stdio.c: Likewise.
29911 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29914 2010-08-19 Andreas Schwab <schwab@redhat.com>
29916 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29918 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
29920 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29921 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29922 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29923 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29924 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29925 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29926 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29927 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29928 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29929 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29930 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29931 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29932 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29933 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29935 2010-07-26 Anton Blanchard <anton@samba.org>
29937 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29938 * malloc/arena.c (heap_trim): Likewise.
29940 2010-08-16 Ulrich Drepper <drepper@redhat.com>
29942 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29944 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29945 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29947 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29949 * sysdeps/i386/elf/Makefile: New file.
29951 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29953 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29954 from fanotify_init.
29955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29956 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29958 2010-08-15 Ulrich Drepper <drepper@redhat.com>
29960 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29962 * sysdeps/multiarch/strcmp.S: Likewise.
29964 2010-08-14 Ulrich Drepper <drepper@redhat.com>
29966 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29967 strncase_l-nonascii.
29968 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29969 Add strncase_l-ssse3.
29970 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29971 * sysdeps/x86_64/strcmp.S: Likewise.
29972 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29973 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29974 * sysdeps/x86_64/strncase.S: New file.
29975 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29976 * sysdeps/x86_64/strncase_l.S: New file.
29977 * string/Makefile (strop-tests): Add strncasecmp.
29978 * string/test-strncasecmp.c: New file.
29980 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29983 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29984 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29986 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29988 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29990 2010-08-12 Ulrich Drepper <drepper@redhat.com>
29992 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29993 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29994 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29996 2010-05-01 Alan Modra <amodra@gmail.com>
29998 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29999 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30000 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30001 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30002 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30003 tidying. Don't tail-call __sigjmp_save for static lib.
30004 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30006 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30007 (CALL_MCOUNT): Add eh info, and nop after bl.
30008 (TAIL_CALL_SYSCALL_ERROR): New macro.
30009 (PSEUDO_RET): Use it.
30010 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30011 Correct save location of integer regs and cr.
30012 (_dl_profile_resolve): Correct cr save location. Delete nops
30013 after bl when SHARED. Reduce cfi size a little by better
30014 placement of cfi directives.
30015 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30016 make a stack frame. Instead use parm save area as a temp.
30017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30018 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30020 Don't make a stack frame for parent, use parm save area.
30021 Increase child stack frame to 112 bytes. Don't save unused reg,
30022 and adjust reg usage. Set up cfi on error recovery and
30023 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30025 (__makecontext): Add dummy nop after jump to exit.
30026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30027 Use correct parm save area and cr save, reduce stack frame.
30028 Correct cfi for possible PSEUDO_RET frame setup.
30029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30030 Branch to local label emitted by PSEUDO_RET rather than
30033 2010-08-12 Andreas Schwab <schwab@redhat.com>
30036 * locale/programs/locale.c (print_assignment): New function.
30037 (show_locale_vars): Use it.
30039 2010-08-11 Ulrich Drepper <drepper@redhat.com>
30041 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30043 (struct statfs64): Likewise.
30044 (_STATFS_F_FLAGS): Define.
30045 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30046 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30047 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30048 (ST_VALID): Define locally.
30049 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30050 __statvfs_getflags, use the provided value.
30051 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30052 __ASSUME_STATFS_F_FLAGS.
30054 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30056 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30057 Add sys/fanotify.h.
30058 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30059 fanotify_mask for GLIBC_2.13.
30060 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30061 fanotify_init and fanotify_mark.
30062 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30063 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30065 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30067 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30068 prlimit64 for GLIBC_2.13.
30069 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30071 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30074 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30075 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30076 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30077 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30079 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30082 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30083 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30085 * nss/Makefile: Add rules to build and run tst-nss-test1.
30086 * shlib-versions: Add entry for libnss_test1.
30087 * nss/nss_test1.c: New file.
30088 * nss/tst-nss-test1.c: New file.
30090 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30091 (__nss_configure_lookup): Set appropriate entry in
30092 __nss_configure_lookup to true.
30093 * nss/nsswitch.h: Define enum with indeces of databases in
30094 databases and __nss_database_custom arrays. Declare
30095 __nss_database_custom.
30096 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30097 to avoid using nscd when custom rules are installed.
30098 * nss/getXXbyYY_r.c: Likewise.
30099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30101 * nss/nss_files/files-parse.c: Whitespace fixes.
30103 2010-08-09 Ulrich Drepper <drepper@redhat.com>
30106 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30107 * posix/fnmatch_loop.c: Likewise.
30109 2010-07-17 Andi Kleen <ak@linux.intel.com>
30111 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30112 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30113 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30114 * Versions.def [GLIBC_2.13]: Add.
30116 2010-08-06 Ulrich Drepper <drepper@redhat.com>
30118 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30119 Also fail if tpwd after pwuid call is NULL.
30121 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30123 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30124 when converting to ms.
30126 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30128 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30129 EOPNOTSUPP errors with ENOTTY.
30130 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30131 EOPNOTSUPP errors with ENOTTY.
30133 2010-07-31 Ulrich Drepper <drepper@redhat.com>
30135 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30136 Add strcasecmp_l-ssse3.
30137 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30139 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30140 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30141 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30143 2010-07-30 Ulrich Drepper <drepper@redhat.com>
30145 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30147 * string/Makefile (strop-tests): Add strcasecmp.
30148 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30149 strcasecmp_l-nonascii.
30150 (gen-as-const-headers): Add locale-defines.sym.
30151 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30152 * sysdeps/x86_64/strcasecmp.S: New file.
30153 * sysdeps/x86_64/strcasecmp_l.S: New file.
30154 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30155 * sysdeps/x86_64/locale-defines.sym: New file.
30156 * string/test-strcasecmp.c: New file.
30158 * string/test-strcasestr.c: Test both ends of the range of characters.
30159 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30161 2010-07-29 Roland McGrath <roland@redhat.com>
30164 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30166 2010-07-27 Ulrich Drepper <drepper@redhat.com>
30168 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30171 2010-07-27 Andreas Schwab <schwab@redhat.com>
30173 * manual/memory.texi (Malloc Tunable Parameters): Document
30176 2010-07-26 Roland McGrath <roland@redhat.com>
30179 * configure.in (-fgnu89-inline check): Set and substitute
30180 gnu89_inline, not libc_cv_gnu89_inline.
30181 * configure: Regenerated.
30182 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30184 2010-07-26 Ulrich Drepper <drepper@redhat.com>
30186 * string/test-strnlen.c: New file.
30187 * string/Makefile (strop-tests): Add strnlen.
30188 * string/tester.c (test_strnlen): Add a few more test cases.
30189 * string/tst-strlen.c: Better error reporting.
30191 * sysdeps/x86_64/strnlen.S: New file.
30193 2010-07-24 Ulrich Drepper <drepper@redhat.com>
30195 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30196 lower-latency instructions.
30198 2010-07-23 Ulrich Drepper <drepper@redhat.com>
30200 * string/test-strcasestr.c: New file.
30201 * string/test-strstr.c: New file.
30202 * string/Makefile (strop-tests): Add strstr and strcasestr.
30203 * string/str-two-way.h: Don't undefine MAX.
30204 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30206 2010-07-21 Andreas Schwab <schwab@redhat.com>
30208 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30209 strcasestr-nonascii.
30210 (CFLAGS-strcasestr-nonascii.c): Define.
30211 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30212 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30213 Remove unused attribute.
30215 2010-07-20 Roland McGrath <roland@redhat.com>
30217 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30218 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30219 ld.so.cache was broken. With it, there is no way to disable dsocaps
30220 like LD_HWCAP_MASK can disable hwcaps.
30222 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30224 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30226 2010-07-16 Ulrich Drepper <drepper@redhat.com>
30228 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30229 call in strcasestr.
30230 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30231 __strcasestr_sse42_nonascii.
30232 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30233 strcasestr-nonascii.c.
30234 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30236 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
30238 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30239 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30240 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30241 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30243 2010-07-09 Ulrich Drepper <drepper@redhat.com>
30245 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30248 2010-07-06 Andreas Schwab <schwab@redhat.com>
30251 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30254 2010-07-06 Ulrich Drepper <drepper@redhat.com>
30256 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30257 _PC_PIPE_BUF using F_GETPIPE_SZ.
30259 2010-07-05 Roland McGrath <roland@redhat.com>
30261 * manual/arith.texi (Rounding Functions): Fix rint description
30262 implicit in round description.
30264 2010-07-02 Ulrich Drepper <drepper@redhat.com>
30266 * elf/Makefile: Fix linking for a few tests to make recent linker
30269 2010-06-30 Andreas Schwab <schwab@redhat.com>
30271 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30272 $(common-objpfx)libc_nonshared.a.
30274 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
30276 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30277 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30278 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30279 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30280 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30281 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30282 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30283 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30298 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30299 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30300 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30301 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30302 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30303 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30304 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30305 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30306 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30307 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30308 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30309 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30325 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30327 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30328 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30329 * string/memmove.c (memmove): Renamed to ...
30330 (MEMMOVE): ...this. Default to memmove.
30331 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30332 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30335 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30336 mempcpy-ssse3-back memmove-ssse3-back.
30337 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30338 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30339 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30340 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30341 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30342 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30343 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30344 * sysdeps/x86_64/multiarch/memmove.c: New file.
30345 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30346 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30347 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30348 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30349 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30350 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30352 (index_Fast_Copy_Backward): Define.
30353 (HAS_ARCH_FEATURE): Define.
30354 (HAS_FAST_REP_STRING): Define.
30355 (HAS_FAST_COPY_BACKWARD): Define.
30357 2010-06-21 Andreas Schwab <schwab@redhat.com>
30359 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30360 Restore proper fallback handling.
30362 2010-06-19 Ulrich Drepper <drepper@redhat.com>
30365 * posix/group_member.c (__group_member): Correct checking loop.
30367 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30368 OOM in getpwuid_r correctly. Return error number when the caller
30369 should return, otherwise -1.
30370 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30371 call returning > 0 value.
30372 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30374 2010-06-07 Andreas Schwab <schwab@redhat.com>
30376 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30377 libc_nonshared.a from targets in modules-names.
30379 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30381 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30384 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
30386 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30387 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30388 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30389 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30391 2010-06-02 Andreas Schwab <schwab@redhat.com>
30393 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30395 2010-06-14 Ulrich Drepper <drepper@redhat.com>
30397 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30399 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30400 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30403 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30404 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30406 2010-06-14 Roland McGrath <roland@redhat.com>
30408 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30410 2010-06-07 Jakub Jelinek <jakub@redhat.com>
30412 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30413 __REDIRECT followed by __THROW.
30414 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30415 * posix/getopt.h (getopt): Likewise.
30417 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30419 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30420 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30421 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30423 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30424 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30426 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
30428 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30430 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30434 Properly check family and model.
30436 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30438 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30440 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
30442 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30444 2010-05-21 Ulrich Drepper <drepper@redhat.com>
30446 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30449 2010-05-19 Andreas Schwab <schwab@redhat.com>
30451 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30454 2010-05-21 Andreas Schwab <schwab@redhat.com>
30456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30457 and internal_recvmmsg.
30458 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30459 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30460 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30461 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30463 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30464 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30465 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30467 2010-05-20 Andreas Schwab <schwab@redhat.com>
30469 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30471 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
30473 POWER7 optimizations.
30474 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30475 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30477 2010-05-19 Ulrich Drepper <drepper@redhat.com>
30479 * version.h: Update for 2.13 development version.
30481 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
30483 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30484 exceptions. Return 0.
30486 2010-05-07 Roland McGrath <roland@redhat.com>
30488 * elf/ldconfig.c (main): Add a const.
30490 2010-05-06 Ulrich Drepper <drepper@redhat.com>
30492 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30493 (args_options): Add no-idn option.
30494 (ahosts_keys_int): Add idn_flags to ai_flags.
30495 (parse_option): Handle 'i' option to clear idn_flags.
30497 * malloc/malloc.c (_int_free): Possible race in the most recently
30498 added check. Only act on the data if no current modification
30501 See ChangeLog.17 for earlier changes.