]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Enumerate tests with special rules in tests-special variable.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12014-03-06 Joseph Myers <joseph@codesourcery.com>
2
3 * Makefile (tests): Change dependencies to ....
4 (tests-special): ... additions to this variable.
5 (tests): Depend on $(tests-special).
6 * Makerules (check-abi-list): New variable.
7 (check-abi): Depend on $(check-abi-list).
8 [$(subdir) = elf] (tests-special): Add
9 $(objpfx)check-abi-libc.out.
10 [$(build-shared) = yes && subdir] (tests-special): Add
11 $(check-abi-list).
12 [$(build-shared) = yes && subdir] (tests): Do not depend on
13 check-abi.
14 * Rules (tests): Depend on $(tests-special).
15 (xtests): Depend on $(xtests-special).
16 * catgets/Makefile (tests): Change dependencies to ....
17 (tests-special): ... additions to this variable.
18 * conform/Makefile (tests): Change dependencies to ....
19 (tests-special): ... additions to this variable.
20 * elf/Makefile (tests): Change dependencies to ....
21 (tests-special): ... additions to this variable.
22 * grp/Makefile (tests): Change dependencies to ....
23 (tests-special): ... additions to this variable.
24 * iconv/Makefile (xtests): Change dependencies to ....
25 (xtests-special): ... additions to this variable.
26 * iconvdata/Makefile (tests): Change dependencies to ....
27 (tests-special): ... additions to this variable.
28 * intl/Makefile (tests): Change dependencies to ....
29 (tests-special): ... additions to this variable. Also add
30 $(objpfx)tst-gettext.out.
31 * io/Makefile (tests): Change dependencies to ....
32 (tests-special): ... additions to this variable.
33 * libio/Makefile (tests): Change dependencies to ....
34 (tests-special): ... additions to this variable.
35 * malloc/Makefile (tests): Change dependencies to ....
36 (tests-special): ... additions to this variable.
37 * misc/Makefile (tests): Change dependencies to ....
38 (tests-special): ... additions to this variable.
39 * nptl/Makefile (tests): Change dependencies to ....
40 (tests-special): ... additions to this variable.
41 * nptl_db/Makefile (tests): Change dependencies to ....
42 (tests-special): ... additions to this variable.
43 * posix/Makefile (tests): Change dependencies to ....
44 (tests-special): ... additions to this variable.
45 (xtests): Change dependencies to ....
46 (xtests-special): ... additions to this variable.
47 * resolv/Makefile (tests): Change dependencies to ....
48 (tests-special): ... additions to this variable.
49 (xtests): Change dependencies to ....
50 (xtests-special): ... additions to this variable.
51 * stdio-common/Makefile (tests): Change dependencies to ....
52 (tests-special): ... additions to this variable.
53 (do-tst-unbputc): Remove target.
54 (do-tst-printf): Likewise.
55 * stdlib/Makefile (tests): Change dependencies to ....
56 (tests-special): ... additions to this variable.
57 * string/Makefile (tests): Change dependencies to ....
58 (tests-special): ... additions to this variable.
59 * sysdeps/x86/Makefile (tests): Change dependencies to ....
60 (tests-special): ... additions to this variable.
61
62 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
63 whole file.
64 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
65 whole file.
66 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
67 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
68
69 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
70 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
71 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
72 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
73 * conform/data/libgen.h-data [XPG3]: Likewise.
74 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
75 * conform/data/ndbm.h-data [XPG3]: Likewise.
76 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
77 * conform/data/netdb.h-data [XPG3]: Likewise.
78 * conform/data/netinet/in.h-data [XPG3]: Likewise.
79 * conform/data/poll.h-data [XPG3]: Likewise.
80 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
81 * conform/data/strings.h-data [XPG3]: Likewise.
82 * conform/data/stropts.h-data [XPG3]: Likewise.
83 * conform/data/sys/mman.h-data [XPG3]: Likewise.
84 * conform/data/sys/resource.h-data [XPG3]: Likewise.
85 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
86 Likewise.
87 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
88 * conform/data/sys/time.h-data [XPG3]: Likewise.
89 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
90 * conform/data/sys/uio.h-data [XPG3]: Likewise.
91 * conform/data/sys/un.h-data [XPG3]: Likewise.
92 * conform/data/syslog.h-data [XPG3]: Likewise.
93 * conform/data/ucontext.h-data [XPG3]: Likewise.
94 * conform/data/utmpx.h-data [XPG3]: Likewise.
95 * conform/data/varargs.h-data [UNIX98]: Enable file.
96
97 * manual/Makefile (INSTALL_INFO): Remove variable setting.
98
99 * math/libm-test.inc (struct test_f_f_data): Move expected results
100 into structure for each rounding mode.
101 (struct test_ff_f_data): Likewise.
102 (struct test_ff_f_data_nexttoward): Likewise.
103 (struct test_fi_f_data): Likewise.
104 (struct test_fl_f_data): Likewise.
105 (struct test_if_f_data): Likewise.
106 (struct test_fff_f_data): Likewise.
107 (struct test_c_f_data): Likewise.
108 (struct test_f_f1_data): Likewise.
109 (struct test_fF_f1_data): Likewise.
110 (struct test_ffI_f1_data): Likewise.
111 (struct test_c_c_data): Likewise.
112 (struct test_cc_c_data): Likewise.
113 (struct test_f_i_data): Likewise.
114 (struct test_ff_i_data): Likewise.
115 (struct test_f_l_data): Likewise.
116 (struct test_f_L_data): Likewise.
117 (struct test_fFF_11_data): Likewise.
118 (RM_): New macro.
119 (RM_FE_DOWNWARD): Likewise.
120 (RM_FE_TONEAREST): Likewise.
121 (RM_FE_TOWARDZERO): Likewise.
122 (RM_FE_UPWARD): Likewise.
123 (RUN_TEST_LOOP_f_f): Update references to expected results.
124 (RUN_TEST_LOOP_2_f): Likewise.
125 (RUN_TEST_LOOP_fff_f): Likewise.
126 (RUN_TEST_LOOP_c_f): Likewise.
127 (RUN_TEST_LOOP_f_f1): Likewise.
128 (RUN_TEST_LOOP_fF_f1): Likewise.
129 (RUN_TEST_LOOP_fI_f1): Likewise.
130 (RUN_TEST_LOOP_ffI_f1): Likewise.
131 (RUN_TEST_LOOP_c_c): Likewise.
132 (RUN_TEST_LOOP_cc_c): Likewise.
133 (RUN_TEST_LOOP_f_i): Likewise.
134 (RUN_TEST_LOOP_f_i_tg): Likewise.
135 (RUN_TEST_LOOP_ff_i_tg): Likewise.
136 (RUN_TEST_LOOP_f_b): Likewise.
137 (RUN_TEST_LOOP_f_b_tg): Likewise.
138 (RUN_TEST_LOOP_f_l): Likewise.
139 (RUN_TEST_LOOP_f_L): Likewise.
140 (RUN_TEST_LOOP_fFF_11): Likewise.
141 * math/gen-libm-test.pl (parse_args): Output four copies of
142 expected results for each test.
143
144 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
145 (__ASSUME_UTIMES): Remove.
146 * sysdeps/unix/sysv/linux/tile/kernel-features.h
147 (__ASSUME_UTIMES): Likewise.
148
149 * math/gen-auto-libm-tests.c: Update comment on output format.
150 (output_for_one_input_case): Generate before-rounding and
151 after-rounding information as conditions on output flags not
152 floating-point format.
153 * math/auto-libm-test-out: Regenerated.
154 * math/gen-libm-test.pl (cond_value): New function.
155 (or_cond_value): Use cond_value.
156 (generate_testfile): Handle conditional exceptions.
157
1582014-03-05 Joseph Myers <joseph@codesourcery.com>
159
160 * math/libm-test.inc (max_valid_error): New variable.
161 (init_max_error): Take new argument specifying whether function
162 results are exactly determined. Set max_valid_error and bound
163 other variables for errors based on this argument.
164 (set_max_error): Do not record results above max_valid_error.
165 (check_float_internal): Only accept errors of up to 0.5ulps if
166 also at most max_valid_error.
167 (START): Take new argument EXACT and pass it to init_max_error.
168 (acos_test): Update call to START.
169 (acos_test_tonearest): Likewise.
170 (acos_test_towardzero): Likewise.
171 (acos_test_downward): Likewise.
172 (acos_test_upward): Likewise.
173 (acosh_test): Likewise.
174 (asin_test): Likewise.
175 (asin_test_tonearest): Likewise.
176 (asin_test_towardzero): Likewise.
177 (asin_test_downward): Likewise.
178 (asin_test_upward): Likewise.
179 (asinh_test): Likewise.
180 (atan_test): Likewise.
181 (atanh_test): Likewise.
182 (atan2_test): Likewise.
183 (cabs_test): Likewise.
184 (cacos_test): Likewise.
185 (cacosh_test): Likewise.
186 (carg_test): Likewise.
187 (casin_test): Likewise.
188 (casinh_test): Likewise.
189 (catan_test): Likewise.
190 (catanh_test): Likewise.
191 (cbrt_test): Likewise.
192 (ccos_test): Likewise.
193 (ccosh_test): Likewise.
194 (ceil_test): Likewise.
195 (cexp_test): Likewise.
196 (cimag_test): Likewise.
197 (clog_test): Likewise.
198 (clog10_test): Likewise.
199 (conj_test): Likewise.
200 (copysign_test): Likewise.
201 (cos_test): Likewise.
202 (cos_test_tonearest): Likewise.
203 (cos_test_towardzero): Likewise.
204 (cos_test_downward): Likewise.
205 (cos_test_upward): Likewise.
206 (cosh_test): Likewise.
207 (cosh_test_tonearest): Likewise.
208 (cosh_test_towardzero): Likewise.
209 (cosh_test_downward): Likewise.
210 (cosh_test_upward): Likewise.
211 (cpow_test): Likewise.
212 (cproj_test): Likewise.
213 (creal_test): Likewise.
214 (csin_test): Likewise.
215 (csinh_test): Likewise.
216 (csqrt_test): Likewise.
217 (ctan_test): Likewise.
218 (ctan_test_tonearest): Likewise.
219 (ctan_test_towardzero): Likewise.
220 (ctan_test_downward): Likewise.
221 (ctan_test_upward): Likewise.
222 (ctanh_test): Likewise.
223 (ctanh_test_tonearest): Likewise.
224 (ctanh_test_towardzero): Likewise.
225 (ctanh_test_downward): Likewise.
226 (ctanh_test_upward): Likewise.
227 (erf_test): Likewise.
228 (erfc_test): Likewise.
229 (exp_test): Likewise.
230 (exp_test_tonearest): Likewise.
231 (exp_test_towardzero): Likewise.
232 (exp_test_downward): Likewise.
233 (exp_test_upward): Likewise.
234 (exp10_test): Likewise.
235 (exp10_test_tonearest): Likewise.
236 (exp10_test_towardzero): Likewise.
237 (exp10_test_downward): Likewise.
238 (exp10_test_upward): Likewise.
239 (pow10_test): Likewise.
240 (exp2_test): Likewise.
241 (expm1_test): Likewise.
242 (expm1_test_tonearest): Likewise.
243 (expm1_test_towardzero): Likewise.
244 (expm1_test_downward): Likewise.
245 (expm1_test_upward): Likewise.
246 (fabs_test): Likewise.
247 (fdim_test): Likewise.
248 (floor_test): Likewise.
249 (fma_test): Likewise.
250 (fma_test_towardzero): Likewise.
251 (fma_test_downward): Likewise.
252 (fma_test_upward): Likewise.
253 (fmax_test): Likewise.
254 (fmin_test): Likewise.
255 (fmod_test): Likewise.
256 (fpclassify_test): Likewise.
257 (frexp_test): Likewise.
258 (hypot_test): Likewise.
259 (ilogb_test): Likewise.
260 (isfinite_test): Likewise.
261 (finite_test): Likewise.
262 (isgreater_test): Likewise.
263 (isgreaterequal_test): Likewise.
264 (isinf_test): Likewise.
265 (isless_test): Likewise.
266 (islessequal_test): Likewise.
267 (islessgreater_test): Likewise.
268 (isnan_test): Likewise.
269 (isnormal_test): Likewise.
270 (issignaling_test): Likewise.
271 (isunordered_test): Likewise.
272 (j0_test): Likewise.
273 (j1_test): Likewise.
274 (jn_test): Likewise.
275 (ldexp_test): Likewise.
276 (lgamma_test): Likewise.
277 (gamma_test): Likewise.
278 (lrint_test): Likewise.
279 (lrint_test_tonearest): Likewise.
280 (lrint_test_towardzero): Likewise.
281 (lrint_test_downward): Likewise.
282 (lrint_test_upward): Likewise.
283 (llrint_test): Likewise.
284 (llrint_test_tonearest): Likewise.
285 (llrint_test_towardzero): Likewise.
286 (llrint_test_downward): Likewise.
287 (llrint_test_upward): Likewise.
288 (log_test): Likewise.
289 (log10_test): Likewise.
290 (log1p_test): Likewise.
291 (log2_test): Likewise.
292 (logb_test): Likewise.
293 (logb_test_downward): Likewise.
294 (lround_test): Likewise.
295 (llround_test): Likewise.
296 (modf_test): Likewise.
297 (nearbyint_test): Likewise.
298 (nextafter_test): Likewise.
299 (nexttoward_test): Likewise.
300 (pow_test): Likewise.
301 (pow_test_tonearest): Likewise.
302 (pow_test_towardzero): Likewise.
303 (pow_test_downward): Likewise.
304 (pow_test_upward): Likewise.
305 (remainder_test): Likewise.
306 (drem_test): Likewise.
307 (remainder_test_tonearest): Likewise.
308 (drem_test_tonearest): Likewise.
309 (remainder_test_towardzero): Likewise.
310 (drem_test_towardzero): Likewise.
311 (remainder_test_downward): Likewise.
312 (drem_test_downward): Likewise.
313 (remainder_test_upward): Likewise.
314 (drem_test_upward): Likewise.
315 (remquo_test): Likewise.
316 (rint_test): Likewise.
317 (rint_test_tonearest): Likewise.
318 (rint_test_towardzero): Likewise.
319 (rint_test_downward): Likewise.
320 (rint_test_upward): Likewise.
321 (round_test): Likewise.
322 (scalb_test): Likewise.
323 (scalbn_test): Likewise.
324 (scalbln_test): Likewise.
325 (signbit_test): Likewise.
326 (sin_test): Likewise.
327 (sin_test_tonearest): Likewise.
328 (sin_test_towardzero): Likewise.
329 (sin_test_downward): Likewise.
330 (sin_test_upward): Likewise.
331 (sincos_test): Likewise.
332 (sinh_test): Likewise.
333 (sinh_test_tonearest): Likewise.
334 (sinh_test_towardzero): Likewise.
335 (sinh_test_downward): Likewise.
336 (sinh_test_upward): Likewise.
337 (sqrt_test): Likewise.
338 (sqrt_test_tonearest): Likewise.
339 (sqrt_test_towardzero): Likewise.
340 (sqrt_test_downward): Likewise.
341 (sqrt_test_upward): Likewise.
342 (tan_test): Likewise.
343 (tan_test_tonearest): Likewise.
344 (tan_test_towardzero): Likewise.
345 (tan_test_downward): Likewise.
346 (tan_test_upward): Likewise.
347 (tanh_test): Likewise.
348 (tgamma_test): Likewise.
349 (trunc_test): Likewise.
350 (y0_test): Likewise.
351 (y1_test): Likewise.
352 (yn_test): Likewise.
353 (significand_test): Likewise.
354
355 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
356 individual tests in comment.
357 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
358 (prev_max_error): New variable.
359 (prev_real_max_error): Likewise.
360 (prev_imag_max_error): Likewise.
361 (compare_ulp_data): Don't refer to test names in comment.
362 (find_test_ulps): Remove function.
363 (find_function_ulps): Likewise.
364 (find_complex_function_ulps): Likewise.
365 (init_max_error): Take function name as argument. Look up ulps
366 for that function.
367 (print_ulps): Remove function.
368 (print_max_error): Use prev_max_error instead of calling
369 find_function_ulps.
370 (print_complex_max_error): Use prev_real_max_error and
371 prev_imag_max_error instead of calling find_complex_function_ulps.
372 (check_float_internal): Take max_ulp parameter instead of calling
373 find_test_ulps. Don't call print_ulps.
374 (check_float): Update call to check_float_internal.
375 (check_complex): Update calls to check_float_internal.
376 (START): Pass argument to init_max_error.
377 * math/gen-libm-test.pl (%results): Don't include "kind"
378 information.
379 (parse_ulps): Don't handle ulps of individual tests.
380 (print_ulps_file): Likewise.
381 (output_ulps): Likewise.
382 * math/README.libm-test: Update.
383 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
384 individual tests.
385 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
386 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
387 * sysdeps/arm/libm-test-ulps: Likewise.
388 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
389 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
390 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
391 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
392 * sysdeps/microblaze/libm-test-ulps: Likewise.
393 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
394 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
395 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
396 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
397 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
398 * sysdeps/sh/libm-test-ulps: Likewise.
399 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
400 * sysdeps/tile/libm-test-ulps: Likewise.
401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
402
4032014-03-04 Joseph Myers <joseph@codesourcery.com>
404
405 * math/libm-test.inc (print_complex_max_error): Check separately
406 whether real and imaginary errors are within allowed range and
407 pass 0 to print_complex_function_ulps instead of value within
408 allowed range.
409
4102014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
411
412 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
413 formatting.
414 (get_handles_fopen): Likewise.
415 (do_write_test): Likewise.
416
417 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
418
419 * libio/fileops.c (do_ftell): Use cached offset when
420 available.
421 * libio/iofwide.c (do_ftell_wide): Likewise.
422 * libio/iofdopen.c (_IO_new_fdopen): Don't use
423 _IO_file_attach.
424 * libio/wfileops.c (_IO_fwide): Don't cache offset.
425
426 [BZ #16532]
427 * libio/libioP.h (get_file_offset): New function.
428 * libio/fileops.c (get_file_offset): Likewise.
429 (do_ftell): Likewise.
430 (_IO_new_file_seekoff): Split out ftell logic.
431 * libio/wfileops.c (do_ftell_wide): Likewise.
432 (_IO_wfile_seekoff): Split out ftell logic.
433 * libio/tst-ftell-active-handler.c: New test case.
434 * libio/Makefile (tests): Add it.
435
4362014-03-03 Roland McGrath <roland@hack.frob.com>
437
438 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
439 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
440
4412014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
442
443 [BZ #16639]
444 * nscd/connections.c (nscd_init): Call do_exit.
445 (start_threads): Call do_exit and notify_parent.
446 (begin_drop_privileges): Call do_exit.
447 (finish_drop_privileges): Likewise.
448 * nscd/selinux.c (preserve_capabilities): Likewise.
449 (install_real_capabilities): Likewise.
450 (nscd_selinux_enabled): Likewise.
451 (avc_create_thread): Likewise.
452 (avc_alloc_lock): Likewise.
453 (nscd_avc_init): Likewise.
454 * nscd/nscd.c (parent_fd): New static variable.
455 (main): Create a pipe between parent and child processes.
456 Skip closing parent_fd.
457 (monitor_child): New function.
458 (do_exit): Likewise.
459 (notify_parent): Likewise.
460 * nscd/nscd.h (notify_parent): Likewise.
461 (do_exit): Likewise.
462
4632014-03-03 Carlos O'Donell <carlos@redhat.com>
464
465 * malloc/malloc.c (__libc_calloc): Revert last change.
466
4672014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
468
469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
470
4712014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
472
473 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
475 implementation.
476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
477 (__libc_ifunc_impl_list): Likewise.
478 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
479 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
480 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
481 * string/strrchr.c: Define STRRCHR.
482
4832014-02-28 Ondřej Bílka <neleai@seznam.cz>
484
485 * benchtest/bench-strtok.c (simple_strtok): Delete.
486 (strtok_string): Use as benchmark.
487 * string/strtok (STRTOK): New macro.
488
4892014-02-28 Carlos O'Donell <carlos@redhat.com>
490
491 * manual/threads.texi: Add header and standard comments to all
492 functions.
493
494 * elf/dl-lookup.c (check_match): New function.
495 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
496 (do_lookup_x): Remove nested function check_match. Use non-nested
497 function check_match.
498
4992014-02-28 Roland McGrath <roland@hack.frob.com>
500
501 * csu/Makefile (generated, before-compile): Use += rather than =.
502 * catgets/Makefile (generated, generated-dirs): Likewise.
503 * debug/Makefile (generated): Likewise.
504 * dlfcn/Makefile (generated): Likewise.
505 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
506 * iconvdata/Makefile (before-compile, generated): Likewise.
507 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
508 * libio/Makefile (generated): Likewise.
509 * malloc/Makefile (generated): Likewise.
510 * manual/Makefile (generated, generated-dirs): Likewise.
511 * misc/Makefile (generated): Likewise.
512 * posix/Makefile (generated): Likewise.
513 * resolv/Makefile (generated): Likewise.
514 * sunrpc/Makefile (generated, generated-dirs): Likewise.
515 * timezone/Makefile (generated, generated-dirs): Likewise.
516
517 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
518
5192014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
520
521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
522 implementation.
523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
524 POWER8 llround ifunc implementation.
525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
526 POWER8 implementation.
527 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
528 POWER8 llround implementation.
529
5302014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
531
532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
533 implementation.
534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
535 POWER8 llrint ifunc implementation.
536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
537 POWER8 implementation.
538 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
539 POWER8 llrint implementation.
540
5412014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
542
543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
544 implementation.
545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
546 POWER8 finite ifunc implementation.
547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
548 POWER8 implementation.
549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
550 Likewise.
551 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
552 POWER8 finite implementation.
553 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
554
5552014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
556
557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
558 implementation.
559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
560 POWER8 isinf ifunc implementation.
561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
562 POWER8 implementation.
563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
564 Likewise.
565 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
566 POWER8 isinf implementation.
567 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
568
5692014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
570
571 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
572 Add hwcap2 initialization.
573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
574 implementation.
575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
576 POWER8 isnan ifunc implementation.
577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
578 POWER8 implementation.
579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
580 Likewise.
581 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
582 POWER8 isnan implementation.
583 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
584
5852014-02-27 Joey Ye <joey.ye@arm.com>
586
587 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
588 (_FP_NANFRAC_Q): Set to zero.
589
5902014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
591
592 [BZ #16623]
593 * math/auto-libm-test-in: New test inputs.
594 * math/auto-libm-test-out: Regenerate.
595 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
596 and DA.
597 (__cos): Likewise.
598 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
599
6002014-02-27 Joseph Myers <joseph@codesourcery.com>
601
602 * scripts/evaluate-test.sh: Take new argument indicating whether
603 failure is expected.
604 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
605 indicating whether failure is expected.
606 * conform/Makefile (test-xfail-run-conformtest): New variable.
607 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
608 level.
609 * posix/Makefile (test-xfail-annexc): New variable.
610 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
611
6122014-02-26 Joseph Myers <joseph@codesourcery.com>
613
614 * argp/Makefile: Include Makeconfig immediately after defining
615 subdir.
616 * assert/Makefile: Likewise.
617 * benchtests/Makefile: Likewise.
618 * catgets/Makefile: Likewise.
619 * conform/Makefile: Likewise.
620 * crypt/Makefile: Likewise.
621 * csu/Makefile: Likewise.
622 (all): Remove target.
623 * ctype/Makefile: Include Makeconfig immediately after defining
624 subdir.
625 * debug/Makefile: Likewise.
626 * dirent/Makefile: Likewise.
627 * dlfcn/Makefile: Likewise.
628 * gmon/Makefile: Likewise.
629 * gnulib/Makefile: Likewise.
630 * grp/Makefile: Likewise.
631 * gshadow/Makefile: Likewise.
632 * hesiod/Makefile: Likewise.
633 * hurd/Makefile: Likewise.
634 (all): Remove target.
635 * iconvdata/Makefile: Include Makeconfig immediately after
636 defining subdir.
637 * inet/Makefile: Likewise.
638 * intl/Makefile: Likewise.
639 * io/Makefile: Likewise.
640 * libio/Makefile: Likewise.
641 (all): Remove target.
642 * locale/Makefile: Include Makeconfig immediately after defining
643 subdir.
644 * login/Makefile: Likewise.
645 * mach/Makefile: Likewise.
646 (all): Remove target.
647 * malloc/Makefile: Include Makeconfig immediately after defining
648 subdir.
649 (all): Remove target.
650 * manual/Makefile: Include Makeconfig immediately after defining
651 subdir.
652 * math/Makefile: Likewise.
653 * misc/Makefile: Likewise.
654 * nis/Makefile: Likewise.
655 * nss/Makefile: Likewise.
656 * po/Makefile: Likewise.
657 (all): Remove target.
658 * posix/Makefile: Include Makeconfig immediately after defining
659 subdir.
660 * pwd/Makefile: Likewise.
661 * resolv/Makefile: Likewise.
662 * resource/Makefile: Likewise.
663 * rt/Makefile: Likewise.
664 * setjmp/Makefile: Likewise.
665 * shadow/Makefile: Likewise.
666 * signal/Makefile: Likewise.
667 * socket/Makefile: Likewise.
668 * soft-fp/Makefile: Likewise.
669 * stdio-common/Makefile: Likewise.
670 * stdlib/Makefile: Likewise.
671 * streams/Makefile: Likewise.
672 * string/Makefile: Likewise.
673 * sunrpc/Makefile: Likewise.
674 (all): Remove target.
675 * sysvipc/Makefile: Include Makeconfig immediately after defining
676 subdir.
677 * termios/Makefile: Likewise.
678 * time/Makefile: Likewise.
679 * timezone/Makefile: Likewise.
680 (all): Remove target.
681 * wcsmbs/Makefile: Include Makeconfig immediately after defining
682 subdir.
683 * wctype/Makefile: Likewise.
684
6852014-02-26 Steve Ellcey <sellcey@mips.com>
686
687 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
688 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
689 (libc_feholdexcept_setround_mips): Ditto.
690 (libc_feholdsetround): New.
691 (libc_feholdsetroundf): New.
692 (libc_feholdsetroundl): New.
693 (libc_feupdateenv_test_mips): New.
694 (libc_feupdateenv_test): New.
695 (libc_feupdateenv_testf): New.
696 (libc_feupdateenv_testl): New.
697 (libc_feresetround): New.
698 (libc_feresetroundf): New.
699 (libc_feresetroundl): New.
700 (libc_fetestexcept_mips): New.
701 (libc_fetestexcept): New.
702 (libc_fetestexceptf): New.
703 (libc_fetestexceptl): New.
704 (HAVE_RM_CTX): New.
705 (libc_feholdexcept_setround_mips_ctx): New.
706 (libc_feholdexcept_setround_ctx): New.
707 (libc_feholdexcept_setroundf_ctx): New.
708 (libc_feholdexcept_setroundl_ctx): New.
709 (libc_fesetenv_mips_ctx): New.
710 (libc_fesetenv_ctx): New.
711 (libc_fesetenv_ctxf): New.
712 (libc_fesetenv_ctxl): New.
713 (libc_feupdateenv_mips_ctx): New.
714 (libc_feupdateenv_ctx): New.
715 (libc_feupdateenvf_ctx): New.
716 (libc_feupdateenvl_ctx): New.
717 (libc_feholdsetround_mips_ctx): New.
718 (libc_feholdsetround_ctx): New.
719 (libc_feholdsetroundf_ctx): New.
720 (libc_feholdsetroundl_ctx): New.
721 (libc_feresetround_mips_ctx): New.
722 (libc_feresetround_ctx): New.
723 (libc_feresetroundf_ctx): New.
724 (libc_feresetroundl_ctx): New.
725
7262014-02-26 Carlos O'Donell <carlos@redhat.com>
727
728 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
729
730 * manual/ipc.texi: New file.
731 * manual/Makefile (chapters): Add ipc.
732 * manual/job.texi: Add "Inter-Process Communication" to next.
733 * manual/process.texi: Add "Inter-Process Communication" to prev.
734
7352014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
736
737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
738
7392014-02-26 Ondřej Bílka <neleai@seznam.cz>
740
741 * malloc/malloc.c (__libc_calloc): Simplify implementation.
742
743 * manual/arith.texi: Fix spaces after sentences.
744 * manual/charset.texi: Likewise.
745 * manual/errno.texi: Likewise.
746 * manual/install.texi: Likewise.
747 * manual/llio.texi: Likewise.
748 * manual/locale.texi: Likewise.
749 * manual/maint.texi: Likewise.
750 * manual/math.texi: Likewise.
751 * manual/memory.texi: Likewise.
752 * manual/message.texi: Likewise.
753 * manual/probes.texi: Likewise.
754 * manual/resource.texi: Likewise.
755 * manual/signal.texi: Likewise.
756 * manual/socket.texi: Likewise.
757 * manual/stdio.texi: Likewise.
758 * manual/string.texi: Likewise.
759 * manual/time.texi: Likewise.
760 * manual/users.texi: Likewise.
761
7622014-02-25 Carlos O'Donell <carlos@redhat.com>
763
764 [BZ #16632]
765 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
766 _DEFAULT_SOURCE is defined.
767
7682014-02-25 Ulrich Drepper <drepper@gmail.com>
769 Carlos O'Donell <carlos@redhat.com>
770
771 [BZ #16613]
772 * elf/dl-tls.c (_dl_count_modids): New function.
773 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
774 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
775 audit library and increment generation counter.
776 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
777 * elf/tst-audit9.c: New file.
778 * elf/tst-auditmod9a.c: New file.
779 * elf/tst-auditmod9b.c: New file.
780 * elf/Makefile: Add rules to build and run tst-audit9.
781
7822014-02-25 Florian Weimer <fweimer@redhat.com>
783
784 [BZ #15347]
785 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
786
7872014-02-25 Will Newton <will.newton@linaro.org>
788
789 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
790 (__longjmp): Restore sp and lr before restoring callee
791 saved registers. Add longjmp and longjmp_target
792 SystemTap probe point.
793 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
794 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
795 Define to zero to match jmpbuf layout.
796 * sysdeps/arm/setjmp.S: Include stap-probe.h.
797 (__sigsetjmp): Save sp and lr before saving callee
798 saved registers. Add setjmp SystemTap probe point.
799
8002014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
801
802 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
803
8042014-02-24 Andreas Schwab <schwab@suse.de>
805
806 [BZ #15804]
807 * elf/pldd.c (wait_for_ptrace_stop): New function.
808 (main): Call it after attaching.
809
8102014-02-22 Roland McGrath <roland@hack.frob.com>
811
812 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
813 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
814 Versions files is now verboten.
815 * hurd/Versions (libc: GLIBC_2.0):
816 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
817 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
818 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
819 * mach/Versions: Likewise.
820
821 * csu/Versions: Remove unused %include.
822 * resolv/Versions: Likewise.
823
8242014-02-21 Joseph Myers <joseph@codesourcery.com>
825
826 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
827 ($(objpfx)check-local-headers.out): Likewise.
828 ($(objpfx)begin-end-check.out): Likewise.
829 * Makerules (check-abi-%.out): Likewise.
830 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
831 ($(objpfx)test2.cat): Likewise.
832 ($(objpfx)de/libc.cat): Likewise.
833 ($(objpfx)test-gencat.out): Likewise.
834 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
835 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
836 ($(objpfx)noload-mem): Likewise.
837 ($(objpfx)tst-pathopt.out): Likewise.
838 ($(objpfx)tst-rtld-load-self.out): Likewise.
839 ($(objpfx)tst-array1-cmp.out): Likewise.
840 ($(objpfx)tst-array1-static-cmp.out): Likewise.
841 ($(objpfx)tst-array2-cmp.out): Likewise.
842 ($(objpfx)tst-array3-cmp.out): Likewise.
843 ($(objpfx)tst-array4-cmp.out): Likewise.
844 ($(objpfx)tst-array5-cmp.out): Likewise.
845 ($(objpfx)tst-array5-static-cmp.out): Likewise.
846 ($(objpfx)check-textrel.out): Likewise.
847 ($(objpfx)check-execstack.out): Likewise.
848 ($(objpfx)check-localplt.out): Likewise.
849 ($(objpfx)order2-cmp.out): Likewise.
850 ($(objpfx)tst-leaks1-mem): Likewise.
851 ($(objpfx)tst-leaks1-static-mem): Likewise.
852 ($(objpfx)tst-initorder-cmp.out): Likewise.
853 ($(objpfx)tst-initorder2-cmp.out): Likewise.
854 ($(objpfx)tst-unused-dep.out): Likewise.
855 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
856 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
857 * iconv/Makefile (test-iconvconfig): Likewise.
858 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
859 ($(objpfx)iconv-test.out): Likewise.
860 ($(objpfx)tst-tables.out): Likewise.
861 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
862 ($(objpfx)tst-gettext.out): Likewise.
863 ($(objpfx)tst-translit.out): Likewise.
864 ($(objpfx)tst-gettext2.out): Likewise.
865 ($(objpfx)tst-gettext4.out): Likewise.
866 ($(objpfx)tst-gettext6.out): Likewise.
867 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
868 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
869 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
870 ($(objpfx)tst-fopenloc-mem.out): Likewise.
871 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
872 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
873 * posix/Makefile ($(objpfx)globtest.out): Likewise.
874 ($(objpfx)wordexp-tst.out): Likewise.
875 ($(objpfx)annexc.out): Likewise.
876 ($(objpfx)tst-fnmatch-mem): Likewise.
877 ($(objpfx)bug-regex2-mem): Likewise.
878 ($(objpfx)bug-regex14-mem): Likewise.
879 ($(objpfx)bug-regex21-mem): Likewise.
880 ($(objpfx)bug-regex31-mem): Likewise.
881 ($(objpfx)tst-vfork3-mem): Likewise.
882 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
883 ($(objpfx)tst-pcre-mem): Likewise.
884 ($(objpfx)tst-boost-mem): Likewise.
885 ($(objpfx)tst-getconf.out): Likewise.
886 ($(objpfx)bug-ga2-mem): Likewise.
887 ($(objpfx)bug-glob2-mem): Likewise.
888 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
889 ($(objpfx)mtrace-tst-leaks2): Likewise.
890 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
891 ($(objpfx)tst-printf.out): Likewise.
892 ($(objpfx)tst-setvbuf1.out): Likewise.
893 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
894 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
895 ($(objpfx)tst-fmtmsg.out): Likewise.
896 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
897 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
898
899 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
900 * bits/sigaction.h [__USE_MISC]: Likewise.
901 * bits/waitstatus.h: Update #endif comments.
902 * ctype/ctype.h: Likewise.
903 * dirent/dirent.h: Likewise.
904 [__USE_MISC]: Remove redundant conditionals.
905 * grp/grp.h: Update #endif comments.
906 [__USE_GNU]: Remove redundant conditionals.
907 [__USE_MISC]: Likewise.
908 * inet/netinet/in.h [__USE_GNU]: Likewise.
909 * io/sys/stat.h [__USE_MISC]: Likewise.
910 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
911 * libio/bits/stdio.h: Update #endif comments.
912 [__USE_MISC]: Remove redundant conditionals.
913 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
914 * libio/stdio.h: Update #endif comments.
915 [__USE_MISC]: Remove redundant conditionals.
916 * math/bits/math-finite.h [__USE_MISC]: Likewise.
917 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
918 * math/math.h: Update #else and #endif comments.
919 [__USE_MISC]: Remove redundant conditionals.
920 * misc/sys/uio.h: Update #endif comments.
921 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
922 * posix/glob.h [__USE_MISC]: Likewise.
923 * posix/sys/types.h: Update #endif comments.
924 [__USE_MISC]: Remove redundant conditionals.
925 * posix/sys/wait.h: Update #endif comments.
926 [__USE_MISC]: Remove redundant conditionals.
927 * posix/unistd.h: Update #endif comments.
928 [__USE_MISC]: Remove redundant conditionals.
929 * pwd/pwd.h [__USE_GNU]: Likewise.
930 [__USE_MISC]: Likewise.
931 * resolv/netdb.h [__USE_GNU]: Likewise.
932 * signal/signal.h: Update #endif comments.
933 [__USE_MISC]: Remove redundant conditionals.
934 * stdlib/stdlib.h: Update #else and #endif comments.
935 [__USE_MISC]: Remove redundant conditionals.
936 [__USE_GNU]: Likewise.
937 * string/bits/string2.h [__USE_MISC]: Likewise.
938 * string/string.h: Update #endif comments.
939 [__USE_MISC]: Remove redundant conditionals.
940 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
941 Likewise.
942 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
943 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
944 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
945 Likewise.
946 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
947 Likewise.
948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
949 comments.
950 [__USE_MISC]: Remove redundant conditionals.
951 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
952 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
953 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
954 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
955 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
956 Likewise.
957 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
958 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
959 Likewise.
960 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
961 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
962 Likewise.
963 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
964 Likewise.
965 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
966 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
967 Likewise.
968 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
969 Likewise.
970 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
971 * sysdeps/x86/bits/string.h: Update #endif comments.
972 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
973 conditionals.
974 * time/sys/time.h: Update #endif comments.
975 * time/time.h: Likewise.
976 [__USE_MISC]: Remove redundant conditionals.
977
9782014-02-21 Yury Gribov <y.gribov@samsung.com>
979
980 [BZ #16600]
981 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
982
9832014-02-21 Andreas Schwab <schwab@linux-m68k.org>
984
985 * Versions.def (librt): Add GLIBC_2.17.
986
9872014-02-21 Adam Conrad <adconrad@0c3.net>
988
989 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
990 synonym for _SYS_AUXV_H to allow direct inclusion.
991 * sysdeps/sparc/bits/hwcap.h: Likewise.
992 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
993 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
994 * sysdeps/sparc/sysdep.h: Likewise.
995
9962014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
997
998 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
999
10002014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1001
1002 * benchtests/bench-strrchr.c: Print length instead of position.
1003
10042014-02-20 Joseph Myers <joseph@codesourcery.com>
1005
1006 [BZ #16611]
1007 * sysdeps/unix/sysv/linux/kernel-features.h
1008 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
1009 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
1010 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
1011 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
1012 Likewise.
1013 [__i386__ || __powerpc__ || __sh__ || __sparc__]
1014 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1015 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
1016 (__ASSUME_SENDMMSG): Define instead of using previous
1017 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
1018 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1019 (__ASSUME_SENDMMSG_SYSCALL): Define.
1020 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1021 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
1022 Likewise.
1023 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1024 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1025 Likewise.
1026 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1027 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1028 Likewise.
1029 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
1030 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1031 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1032 [__ASSUME_SENDMMSG]: Change conditionals to
1033 [__ASSUME_SENDMMSG_SOCKETCALL].
1034 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1035 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
1036 Define.
1037 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1038 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
1039 Likewise.
1040 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
1041 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1042 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1043 [!__ASSUME_SENDMMSG]: Change conditional to
1044 [!__ASSUME_SENDMMSG_SOCKETCALL].
1045 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1046 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1047 Define.
1048
1049 [BZ #16610]
1050 * sysdeps/unix/sysv/linux/kernel-features.h
1051 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
1052 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
1053 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
1054 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
1055 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1056 [__i386__ || __sparc__]
1057 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1058 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
1059 (__ASSUME_RECVMMSG): Define instead of using previous
1060 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
1061 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1062 (__ASSUME_RECVMMSG_SYSCALL): Define.
1063 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1064 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1065 Likewise.
1066 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1067 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1068 Likewise.
1069 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1070 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1071 Likewise.
1072 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
1073 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1074 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1075 [__ASSUME_RECVMMSG]: Change condition to
1076 [__ASSUME_RECVMMSG_SOCKETCALL].
1077 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1078 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1079 Define.
1080 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1081 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1082 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1083 Likewise.
1084 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
1085 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1086 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1087 [!__ASSUME_RECVMMSG]: Change condition to
1088 [!__ASSUME_RECVMMSG_SOCKETCALL].
1089 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1090 (__ASSUME_RECVMMSG_SYSCALL): Define.
1091
1092 [BZ #16609]
1093 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
1094 __powerpc__ || __s390__ || __sh__ || __sparc__]
1095 (__ASSUME_SOCKETCALL): Define.
1096 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
1097 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
1098 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
1099 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
1100 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1101 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1102 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
1103 (__ASSUME_ACCEPT4): Define instead of using previous
1104 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
1105 __powerpc__ || __sparc__ || __s390__)] condition.
1106 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1107 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1108 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
1109 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1110 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1111 [!__ASSUME_ACCEPT4]: Change condition to
1112 [!__ASSUME_ACCEPT4_SOCKETCALL].
1113 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1114 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
1115 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
1116 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1117 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
1118 __ASSUME_ACCEPT4_SYSCALL.
1119 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
1120 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
1121 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1122 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
1123 __ASSUME_ACCEPT4_SYSCALL.
1124 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
1125 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1126 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1127 [__ASSUME_ACCEPT4]: Change condition to
1128 [__ASSUME_ACCEPT4_SOCKETCALL].
1129 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1130 (__ASSUME_SOCKETCALL): Define.
1131 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
1132 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1133 (__ASSUME_SOCKETCALL): Define.
1134 (__ASSUME_ACCEPT4): Remove.
1135 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
1136 Define.
1137 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1138 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
1139 Likewise.
1140 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1141 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1142
1143 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
1144 macro.
1145 (HWCAP_ARM_LPAE): Likewise.
1146 (HWCAP_ARM_EVTSTRM): Likewise.
1147 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
1148 Add vpfd32, lpae and evtstrm.
1149 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
1150 Increase to 22.
1151
11522014-02-19 Joseph Myers <joseph@codesourcery.com>
1153
1154 * math/auto-libm-test-in: Add tests of clog10.
1155 * math/auto-libm-test-out: Regenerated.
1156 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
1157 * sysdeps/i386/fpu/libm-test-ulps: Update.
1158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1159
11602014-02-18 Andreas Schwab <schwab@suse.de>
1161
1162 [BZ #16574]
1163 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
1164 Store non-zero if the second buffer was newly allocated.
1165 (send_dg): Likewise.
1166 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
1167 to send_vc and send_dg.
1168 (res_nsend): Pass NULL for ansp2_malloced.
1169 * resolv/res_query.c (__libc_res_nquery): Add parameter
1170 answerp2_malloced and pass it down to __libc_res_nsend.
1171 (res_nquery): Pass additional NULL to __libc_res_nquery.
1172 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
1173 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
1174 second answer buffer if answerp2_malloced was set.
1175 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
1176 (__libc_res_nquerydomain): Add parameter
1177 answerp2_malloced and pass it down to __libc_res_nquery.
1178 (res_nquerydomain): Pass additional NULL to
1179 __libc_res_nquerydomain.
1180 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
1181 additional NULL to __libc_res_nsend and __libc_res_nquery.
1182 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
1183 additional NULL to __libc_res_nsearch.
1184 (_nss_dns_gethostbyname4_r): Revert last change. Use new
1185 parameter of __libc_res_nsearch to check for separately allocated
1186 second buffer.
1187 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
1188 __libc_res_nquery.
1189 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
1190 additional NULL to __libc_res_nquery.
1191 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
1192 __libc_res_nsearch.
1193 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
1194 * include/resolv.h: Update prototypes of __libc_res_nquery,
1195 __libc_res_nsearch, __libc_res_nsend.
1196
11972014-02-18 Joseph Myers <joseph@codesourcery.com>
1198
1199 * math/auto-libm-test-in: Add tests of fma.
1200 * math/auto-libm-test-out: Regenerated.
1201 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
1202 (fma_towardzero_test_data): Likewise.
1203 (fma_downward_test_data): Likewise.
1204 (fma_upward_test_data): Likewise.
1205 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
1206 mpc_mode.
1207 (rounding_modes): Add values for new field.
1208 (func_calc_method): Add value mpfr_fff_f.
1209 (func_calc_desc): Add mpfr_fff_f union field.
1210 (test_function): Add field exact_args.
1211 (FUNC): Add macro argument EXACT_ARGS.
1212 (FUNC_mpfr_f_f): Update call to FUNC.
1213 (FUNC_mpfr_f_f): Likewise.
1214 (FUNC_mpfr_ff_f): Likewise.
1215 (FUNC_mpfr_if_f): Likewise.
1216 (FUNC_mpc_c_f): Likewise.
1217 (FUNC_mpc_c_c): Likewise.
1218 (test_functions): Add fma. Update calls to FUNC.
1219 (handle_input_arg): Add argument exact_args.
1220 (add_test): Update call to handle_input_arg.
1221 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
1222 (output_for_one_input_case): Update call to calc_generic_results.
1223 Recalculate exact zero results in each rounding mode.
1224
1225 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
1226 non-negative before setting low bit.
1227 * math/auto-libm-test-in: Mark one asin test possibly having
1228 spurious underflow.
1229 * math/auto-libm-test-out: Regenerated.
1230 * sysdeps/i386/fpu/libm-test-ulps: Update.
1231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1232
12332014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
1234
1235 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
1236 * sysdeps/unix/sysv/linux/microblaze: Move directory from
1237 ports/sysdeps/unix/sysv/linux/microblaze.
1238 * README: Add missing listing for microblaze*-*-linux-gnu.
1239
12402014-02-16 Mike Frysinger <vapier@gentoo.org>
1241
1242 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
1243 * sysdeps/unix/sysv/linux/ia64: Move directory from
1244 ports/sysdeps/unix/sysv/linux/ia64.
1245 * README: Update listing for ia64-*-linux-gnu.
1246
12472014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
1248 Joseph Myers <joseph@codesourcery.com>
1249
1250 * Makeconfig (test-name): New variable.
1251 (evaluate-test): Likewise.
1252 * Makerules (do-test-clean): Remove .test-result files.
1253 (common-mostlyclean): Likewise.
1254 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
1255 * scripts/evaluate-test.sh: New file.
1256
12572014-02-14 Joseph Myers <joseph@codesourcery.com>
1258
1259 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
1260 separate $(objpfx)tst-fopenloc-cmp.out and
1261 $(objpfx)tst-fopenloc-mem.out targets.
1262 (tests): Update dependencies.
1263 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
1264 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
1265 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
1266 (tst-rxspencer-no-utf8-ARGS): New variable.
1267 (tst-rxspencer-no-utf8-ENV): Likewise.
1268 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
1269 instead of $(objpfx)tst-rxspencer-mem.
1270 ($(objpfx)tst-rxspencer-mem): Change target to
1271 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
1272 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
1273 * posix/tst-rxspencer-no-utf8.c: New file.
1274
1275 * elf/Makefile ($(objpfx)order.out): Remove rule.
1276 [$(run-built-tests) = yes] (tests): Depend on
1277 $(objpfx)order-cmp.out.
1278 ($(objpfx)order-cmp.out): New rule.
1279 [$(run-built-tests) = yes] (tests): Depend on
1280 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
1281 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
1282 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
1283 $(objpfx)tst-array5-static-cmp.out.
1284 ($(objpfx)tst-array1.out): Remove rule.
1285 ($(objpfx)tst-array1-cmp.out): New rule.
1286 ($(objpfx)tst-array1-static.out): Remove rule.
1287 ($(objpfx)tst-array1-static-cmp.out): New rule.
1288 ($(objpfx)tst-array2.out): Remove rule.
1289 ($(objpfx)tst-array2-cmp.out): New rule.
1290 ($(objpfx)tst-array3.out): Remove rule.
1291 ($(objpfx)tst-array3-cmp.out): New rule.
1292 ($(objpfx)tst-array4.out): Remove rule.
1293 ($(objpfx)tst-array4-cmp.out): New rule.
1294 ($(objpfx)tst-array5.out): Remove rule.
1295 ($(objpfx)tst-array5-cmp.out): New rule.
1296 ($(objpfx)tst-array5-static.out): Remove rule.
1297 ($(objpfx)tst-array5-static-cmp.out): New rule.
1298 [$(run-built-tests) = yes] (tests): Depend on
1299 $(objpfx)order2-cmp.out.
1300 ($(objpfx)order2.out): Remove rule.
1301 ($(objpfx)order2-cmp.out): New rule.
1302 ($(objpfx)tst-initorder.out): Remove rule.
1303 [$(run-built-tests) = yes] (tests): Depend on
1304 $(objpfx)tst-initorder-cmp.out.
1305 ($(objpfx)tst-initorder-cmp.out): New rule.
1306 ($(objpfx)tst-initorder2.out): Remove rule.
1307 [$(run-built-tests) = yes] (tests): Depend on
1308 $(objpfx)tst-initorder2-cmp.out.
1309 ($(objpfx)tst-initorder2-cmp.out): New rule.
1310 [$(run-built-tests) = yes] (tests): Depend on
1311 $(objpfx)tst-unused-dep-cmp.out.
1312 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
1313 ($(objpfx)tst-unused-dep-cmp.out): New rule.
1314 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
1315 on $(objpfx)tst-setvbuf1-cmp.out.
1316 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
1317 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
1318 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
1319 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
1320 ($(objpfx)tst-svc.out): Remove rule.
1321 ($(objpfx)tst-svc-cmp.out): New rule.
1322
13232014-02-13 Joseph Myers <joseph@codesourcery.com>
1324
1325 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
1326 * ctype/ctype.h [__USE_MISC]: Likewise.
1327 * dirent/dirent.h [__USE_MISC]: Likewise.
1328 * grp/grp.h [__USE_MISC]: Likewise.
1329 * io/fcntl.h [__USE_MISC]: Likewise.
1330 * io/sys/stat.h [__USE_MISC]: Likewise.
1331 * libio/stdio.h [__USE_MISC]: Likewise.
1332 * posix/unistd.h [__USE_MISC]: Likewise.
1333 * pwd/pwd.h [__USE_MISC]: Likewise.
1334 * stdlib.h [__USE_MISC]: Likewise.
1335 * string/bits/string2.h [__USE_MISC]: Likewise.
1336 * string/string.h [__USE_MISC]: Likewise.
1337 * time/time.h [__USE_MISC]: Likewise.
1338
13392014-02-13 Andreas Schwab <schwab@suse.de>
1340
1341 [BZ #16574]
1342 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
1343 second answer buffer if it was separately allocated.
1344
13452014-02-12 Joseph Myers <joseph@codesourcery.com>
1346
1347 * sysdeps/mips/math-tests.h: Include <features.h>.
1348 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
1349 (ROUNDING_TESTS_long_double): Do not define.
1350 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
1351 (EXCEPTION_TESTS_long_double): Likewise.
1352 * sysdeps/mips/mips64/libm-test-ulps: Update.
1353
1354 * include/features.h (__USE_BSD): Remove macro definitions.
1355 (__USE_SVID): Likewise.
1356 (_BSD_SOURCE): Likewise.
1357 (_SVID_SOURCE): Likewise.
1358 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
1359 from definition of _DEFAULT_SOURCE.
1360 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
1361 [_DEFAULT_SOURCE].
1362 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
1363 * bits/mman.h [__USE_BSD]: Likewise.
1364 * bits/termios.h [__USE_BSD]: Likewise.
1365 * bits/waitstatus.h [__USE_BSD]: Likewise.
1366 * ctype/ctype.h [__USE_SVID]: Likewise.
1367 * dirent/dirent.h [__USE_BSD]: Likewise.
1368 * grp/grp.h [__USE_SVID]: Likewise.
1369 [__USE_BSD]: Likewise.
1370 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
1371 * io/fcntl.h [__USE_BSD]: Likewise.
1372 * io/ftw.h [__USE_BSD]: Likewise.
1373 * io/sys/stat.h [__USE_BSD]: Likewise.
1374 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
1375 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
1376 * libio/stdio.h [__USE_SVID]: Likewise.
1377 [__USE_BSD]: Likewise.
1378 * math/math.h [__USE_SVID]: Likewise.
1379 [__USE_BSD]: Likewise.
1380 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
1381 * misc/bits/syslog.h [__USE_BSD]: Likewise.
1382 * misc/search.h [__USE_SVID]: Likewise.
1383 * misc/sys/mman.h [__USE_BSD]: Likewise.
1384 * misc/sys/syslog.h [__USE_BSD]: Likewise.
1385 * misc/sys/uio.h [__USE_BSD]: Likewise.
1386 * posix/bits/unistd.h [__USE_BSD]: Likewise.
1387 * posix/glob.h [__USE_BSD]: Likewise.
1388 * posix/regex.h [__USE_BSD]: Likewise.
1389 * posix/sys/types.h [__USE_BSD]: Likewise.
1390 [__USE_SVID]: Likewise.
1391 * posix/sys/utsname.h [__USE_SVID]: Likewise.
1392 * posix/sys/wait.h [__USE_BSD]: Likewise.
1393 [__USE_SVID]: Likewise.
1394 * posix/unistd.h [__USE_BSD]: Likewise.
1395 [__USE_SVID]: Likewise.
1396 * pwd/pwd.h [__USE_SVID]: Likewise.
1397 * resolv/netdb.h [__USE_BSD]: Likewise.
1398 * setjmp/setjmp.h [__USE_BSD]: Likewise.
1399 * signal/signal.h [__USE_BSD]: Likewise.
1400 [__USE_SVID]: Likewise.
1401 * socket/sys/socket.h [__USE_BSD]: Likewise.
1402 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
1403 * stdlib/stdlib.h [__USE_BSD]: Likewise.
1404 [__USE_SVID]: Likewise.
1405 * string/bits/string2.h [__USE_BSD]: Likewise.
1406 [__USE_SVID]: Likewise.
1407 * string/bits/string3.h [__USE_BSD]: Likewise.
1408 * string/endian.h [__USE_BSD]: Likewise.
1409 * string/string.h [__USE_SVID]: Likewise.
1410 [__USE_BSD]: Likewise.
1411 * string/strings.h [__USE_BSD]: Likewise.
1412 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
1413 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
1414 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
1415 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
1416 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
1417 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
1418 Likewise.
1419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
1420 Likewise.
1421 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
1422 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
1423 Likewise.
1424 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
1425 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
1426 Likewise.
1427 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
1428 Likewise.
1429 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
1430 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
1431 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
1432 Likewise.
1433 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
1434 Likewise.
1435 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
1436 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
1437 * termios/termios.h [__USE_BSD]: Likewise.
1438 * time/sys/time.h [__USE_BSD]: Likewise.
1439 * time/time.h [__USE_BSD]: Likewise.
1440 [__USE_SVID]: Likewise.
1441
1442 * Makefile (subdir_targets): Remove subdir_lint.out.
1443
1444 * stdio-common/Makefile (do-tst-unbputc): Remove target.
1445 (do-tst-printf): Likewise.
1446 (tests): Depend directly on $(objpfx)tst-unbputc.out and
1447 $(objpfx)tst-printf.out.
1448
1449 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
1450
1451 * Makerules (check-abi-%): Change target to
1452 $(objpfx)check-abi-%.out.
1453 (check-abi target): Update dependencies.
1454 (check-abi-pattern variable): Redirect output of diff to $@.
1455 (check-abi variable): Likewise.
1456 * elf/Makefile (check-abi): Update dependencies.
1457
1458 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
1459 unused.
1460 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
1461 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
1462 subnormal range.
1463 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
1464 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
1465 value has largest subnormal exponent.
1466 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
1467 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
1468 * sysdeps/aarch64/soft-fp/sfp-machine.h
1469 (_FP_TININESS_AFTER_ROUNDING): New macro.
1470 * sysdeps/alpha/soft-fp/sfp-machine.h
1471 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1472 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1473 Likewise.
1474 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1475 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1476 * sysdeps/mips/soft-fp/sfp-machine.h
1477 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1478 * sysdeps/powerpc/soft-fp/sfp-machine.h
1479 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1480 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1481 Likewise.
1482 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1483 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1484 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1485 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1486 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1487 Likewise.
1488
14892014-02-12 Dylan Alex Simon <dylan@dylex.net>
1490
1491 [BZ #16545]
1492 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
1493 model 1.
1494
14952014-02-12 Richard Henderson <rth@redhat.com>
1496
1497 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
1498 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
1499 * sysdeps/unix/sysv/linux/alpha: Move directory from
1500 ports/sysdeps/unix/sysv/linux/alpha.
1501 * README: Update listing for alpha-*-linux-gnu.
1502
15032014-02-11 Joseph Myers <joseph@codesourcery.com>
1504
1505 * include/features.h: Update comment documenting feature test
1506 macros.
1507 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
1508 _DEFAULT_SOURCE.
1509 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
1510 (_SVID_SOURCE): Likewise.
1511 (_DEFAULT_SOURCE): Update description of default features.
1512 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
1513 with _GNU_SOURCE.
1514 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
1515 (S_ISVTX): Likewise.
1516 * manual/math.texi (Mathematical Constants): Likewise.
1517 * manual/signal.texi (Interrupted Primitives): Likewise.
1518 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1519 * math/test-matherr.c (_SVID_SOURCE): Do not define.
1520 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1521 Don't refer to _SVID_SOURCE in warning text.
1522
1523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1524
1525 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1526 already defined.
1527 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1528 * sysdeps/mips/dl-lookup.c: Remove.
1529 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1530
15312014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1532
1533 [BZ #16447]
1534 * math/auto-libm-test-in: Add testcase for expl.
1535 * math/auto-libm-test-out: Regenerate.
1536 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1537 calculation of unsafe.
1538 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1539
15402014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
1541
1542 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1543 * sysdeps/unix/sysv/linux/aarch64: Move directory from
1544 ports/sysdeps/unix/sysv/linux/aarch64.
1545 * README: Update listing for aarch64*-*-linux-gnu.
1546
15472014-02-11 Will Newton <will.newton@linaro.org>
1548
1549 * manual/probes.texi (Mathematical Function Probes): Use
1550 "triggered" instead of "hit".
1551
15522014-02-11 Will Newton <will.newton@linaro.org>
1553
1554 * manual/probes.texi (Internal Probes): Add documentation
1555 of setjmp, longjmp and longjmp_target probes.
1556
15572014-02-11 Will Newton <will.newton@linaro.org>
1558
1559 * include/stap-probe.h: Add comment about probe argument
1560 format.
1561
15622014-02-11 Will Newton <will.newton@linaro.org>
1563
1564 * malloc/mtrace.c (attribute_hidden): Remove unused macro
1565 definition. (tr_where, tr_freehook, tr_mallochook,
1566 tr_reallochook, tr_memalignhook): Use ANSI protoype.
1567
15682014-02-11 David S. Miller <davem@davemloft.net>
1569
1570 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1571 processing int_tests.
1572
15732014-02-10 Joseph Myers <joseph@codesourcery.com>
1574
1575 * sysdeps/mips: Move directory from ports/sysdeps/mips.
1576 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1577 * sysdeps/unix/sysv/linux/mips: Move directory from
1578 ports/sysdeps/unix/sysv/linux/mips.
1579 * README: Update listing for mips-*-linux-gnu and
1580 mips64-*-linux-gnu.
1581
15822014-02-10 Andreas Schwab <schwab@linux-m68k.org>
1583
1584 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1585 * sysdeps/unix/sysv/linux/m68k: Move directory from
1586 ports/sysdeps/unix/sysv/linux/m68k.
1587 * README: Update listing for m68k-*-linux-gnu.
1588
15892014-02-10 Chris Metcalf <cmetcalf@tilera.com>
1590
1591 * sysdeps/tile: Move directory from ports/sysdeps/tile.
1592 * sysdeps/unix/sysv/linux/generic: Move directory from
1593 ports/sysdeps/unix/sysv/linux/generic.
1594 * sysdeps/unix/sysv/linux/tile: Move directory from
1595 ports/sysdeps/unix/sysv/linux/tile.
1596 * README: Update listing for tile*-*-linux-gnu.
1597
15982014-02-10 Ondřej Bílka <neleai@seznam.cz>
1599
1600 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1601 * benchtests/bench-memmem.c (simple_memmem): Likewise.
1602 * catgets/open_catalog.c (__open_catalog): Likewise.
1603 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1604 * debug/confstr_chk.c: Likewise.
1605 * debug/fread_chk.c (__fread_chk): Likewise.
1606 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1607 * debug/getgroups_chk.c: Likewise.
1608 * debug/mbsnrtowcs_chk.c: Likewise.
1609 * debug/mbsrtowcs_chk.c: Likewise.
1610 * debug/mbstowcs_chk.c: Likewise.
1611 * debug/memcpy_chk.c: Likewise.
1612 * debug/memmove_chk.c: Likewise.
1613 * debug/mempcpy_chk.c: Likewise.
1614 * debug/memset_chk.c: Likewise.
1615 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1616 * debug/strcat_chk.c (__strcat_chk): Likewise.
1617 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1618 * debug/strncat_chk.c (__strncat_chk): Likewise.
1619 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1620 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1621 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1622 * debug/wcpncpy_chk.c: Likewise.
1623 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1624 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1625 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1626 * debug/wcsncpy_chk.c: Likewise.
1627 * debug/wcsnrtombs_chk.c: Likewise.
1628 * debug/wcsrtombs_chk.c: Likewise.
1629 * debug/wcstombs_chk.c: Likewise.
1630 * debug/wmemcpy_chk.c: Likewise.
1631 * debug/wmemmove_chk.c: Likewise.
1632 * debug/wmempcpy_chk.c: Likewise.
1633 * debug/wmemset_chk.c: Likewise.
1634 * dirent/scandirat.c (SCANDIRAT): Likewise.
1635 * dlfcn/dladdr1.c (dladdr1): Likewise.
1636 * dlfcn/dladdr.c (dladdr): Likewise.
1637 * dlfcn/dlclose.c (dlclose_doit): Likewise.
1638 * dlfcn/dlerror.c (__dlerror): Likewise.
1639 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1640 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1641 * dlfcn/dlopen.c (dlopen_doit): Likewise.
1642 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1643 * dlfcn/dlsym.c (dlsym_doit): Likewise.
1644 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1645 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1646 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1647 Likewise.
1648 * elf/dl-conflict.c: Likewise.
1649 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1650 * elf/dl-dst.h: Likewise.
1651 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1652 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1653 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1654 * elf/dl-init.c (call_init, _dl_init): Likewise.
1655 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1656 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1657 _dl_map_object_from_fd, open_verify, open_path,
1658 _dl_map_object): Likewise.
1659 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1660 Likewise.
1661 * elf/dl-minimal.c (__libc_memalign): Likewise.
1662 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1663 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1664 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1665 * elf/dl-sym.c (do_sym): Likewise.
1666 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1667 _dl_tls_get_addr_soft): Likewise.
1668 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1669 * elf/dl-writev.h (_dl_writev): Likewise.
1670 * elf/ldconfig.c (search_dir): Likewise.
1671 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1672 dl_main): Likewise.
1673 * elf/setup-vdso.h (setup_vdso): Likewise.
1674 * grp/compat-initgroups.c (compat_call): Likewise.
1675 * grp/fgetgrent.c (fgetgrent): Likewise.
1676 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1677 * grp/putgrent.c (putgrent): Likewise.
1678 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1679 Likewise.
1680 * hurd/hurdinit.c: Likewise.
1681 * iconvdata/8bit-gap.c (struct): Likewise.
1682 * iconvdata/ansi_x3.110.c : Likewise.
1683 * iconvdata/big5.c : Likewise.
1684 * iconvdata/big5hkscs.c : Likewise.
1685 * iconvdata/cp1255.c: Likewise.
1686 * iconvdata/cp1258.c : Likewise.
1687 * iconvdata/cp932.c : Likewise.
1688 * iconvdata/euc-cn.c: Likewise.
1689 * iconvdata/euc-jisx0213.c : Likewise.
1690 * iconvdata/euc-jp.c: Likewise.
1691 * iconvdata/euc-jp-ms.c : Likewise.
1692 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1693 * iconvdata/gb18030.c : Likewise.
1694 * iconvdata/gbbig5.c (const): Likewise.
1695 * iconvdata/gbgbk.c: Likewise.
1696 * iconvdata/gbk.c : Likewise.
1697 * iconvdata/ibm1364.c : Likewise.
1698 * iconvdata/ibm930.c : Likewise.
1699 * iconvdata/ibm932.c: Likewise.
1700 * iconvdata/ibm933.c : Likewise.
1701 * iconvdata/ibm935.c : Likewise.
1702 * iconvdata/ibm937.c : Likewise.
1703 * iconvdata/ibm939.c : Likewise.
1704 * iconvdata/ibm943.c: Likewise.
1705 * iconvdata/iso_11548-1.c: Likewise.
1706 * iconvdata/iso-2022-cn.c : Likewise.
1707 * iconvdata/iso-2022-cn-ext.c : Likewise.
1708 * iconvdata/iso-2022-jp-3.c: Likewise.
1709 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1710 * iconvdata/iso-2022-kr.c : Likewise.
1711 * iconvdata/iso646.c (gconv_end): Likewise.
1712 * iconvdata/iso_6937-2.c : Likewise.
1713 * iconvdata/iso_6937.c : Likewise.
1714 * iconvdata/iso8859-1.c: Likewise.
1715 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1716 * iconvdata/shift_jisx0213.c : Likewise.
1717 * iconvdata/sjis.c : Likewise.
1718 * iconvdata/t.61.c : Likewise.
1719 * iconvdata/tcvn5712-1.c : Likewise.
1720 * iconvdata/tscii.c: Likewise.
1721 * iconvdata/uhc.c : Likewise.
1722 * iconvdata/unicode.c (gconv_end): Likewise.
1723 * iconvdata/utf-16.c (gconv_end): Likewise.
1724 * iconvdata/utf-32.c (gconv_end): Likewise.
1725 * iconvdata/utf-7.c (base64): Likewise.
1726 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1727 * iconv/gconv_close.c (__gconv_close): Likewise.
1728 * iconv/gconv_open.c (__gconv_open): Likewise.
1729 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1730 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1731 internal_ucs4le_loop_single, ucs4le_internal_loop,
1732 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1733 * iconv/iconv.c (iconv): Likewise.
1734 * iconv/iconv_close.c: Likewise.
1735 * iconv/loop.c (SINGLE): Likewise.
1736 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1737 * include/atomic.h: Likewise.
1738 * inet/inet6_option.c (option_alloc): Likewise.
1739 * intl/bindtextdom.c (set_binding_values): Likewise.
1740 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1741 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1742 * intl/localealias.c (read_alias_file): Likewise.
1743 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1744 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1745 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1746 * libio/fmemopen.c (fmemopen): Likewise.
1747 * libio/iofgets.c (_IO_fgets): Likewise.
1748 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1749 * libio/iofgetws.c (fgetws): Likewise.
1750 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1751 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1752 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1753 adjust_wide_data, _IO_wfile_seekoff): Likewise.
1754 * locale/findlocale.c (_nl_find_locale): Likewise.
1755 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1756 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1757 Likewise.
1758 * locale/setlocale.c (setlocale): Likewise.
1759 * login/programs/pt_chown.c (main): Likewise.
1760 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1761 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1762 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1763 mmap, mmap64, mremap, munmap): Likewise.
1764 * math/e_exp2l.c: Likewise.
1765 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1766 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1767 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1768 * math/s_catan.c (__catan): Likewise.
1769 * math/s_catanf.c (__catanf): Likewise.
1770 * math/s_catanh.c (__catanh): Likewise.
1771 * math/s_catanhf.c (__catanhf): Likewise.
1772 * math/s_catanhl.c (__catanhl): Likewise.
1773 * math/s_catanl.c (__catanl): Likewise.
1774 * math/s_ccosh.c (__ccosh): Likewise.
1775 * math/s_ccoshf.c (__ccoshf): Likewise.
1776 * math/s_ccoshl.c (__ccoshl): Likewise.
1777 * math/s_cexp.c (__cexp): Likewise.
1778 * math/s_cexpf.c (__cexpf): Likewise.
1779 * math/s_cexpl.c (__cexpl): Likewise.
1780 * math/s_clog10.c (__clog10): Likewise.
1781 * math/s_clog10f.c (__clog10f): Likewise.
1782 * math/s_clog10l.c (__clog10l): Likewise.
1783 * math/s_clog.c (__clog): Likewise.
1784 * math/s_clogf.c (__clogf): Likewise.
1785 * math/s_clogl.c (__clogl): Likewise.
1786 * math/s_csin.c (__csin): Likewise.
1787 * math/s_csinf.c (__csinf): Likewise.
1788 * math/s_csinh.c (__csinh): Likewise.
1789 * math/s_csinhf.c (__csinhf): Likewise.
1790 * math/s_csinhl.c (__csinhl): Likewise.
1791 * math/s_csinl.c (__csinl): Likewise.
1792 * math/s_csqrt.c (__csqrt): Likewise.
1793 * math/s_csqrtf.c (__csqrtf): Likewise.
1794 * math/s_csqrtl.c (__csqrtl): Likewise.
1795 * math/s_ctan.c (__ctan): Likewise.
1796 * math/s_ctanf.c (__ctanf): Likewise.
1797 * math/s_ctanh.c (__ctanh): Likewise.
1798 * math/s_ctanhf.c (__ctanhf): Likewise.
1799 * math/s_ctanhl.c (__ctanhl): Likewise.
1800 * math/s_ctanl.c (__ctanl): Likewise.
1801 * math/w_pow.c: Likewise.
1802 * math/w_powf.c: Likewise.
1803 * math/w_powl.c: Likewise.
1804 * math/w_scalb.c (sysv_scalb): Likewise.
1805 * math/w_scalbf.c (sysv_scalbf): Likewise.
1806 * math/w_scalbl.c (sysv_scalbl): Likewise.
1807 * misc/error.c (error_tail): Likewise.
1808 * misc/pselect.c (__pselect): Likewise.
1809 * nis/nis_callback.c (__nis_create_callback): Likewise.
1810 * nis/nis_call.c (__nisfind_server): Likewise.
1811 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1812 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1813 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1814 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1815 * nis/nis_lookup.c (nis_lookup): Likewise.
1816 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1817 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1818 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1819 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1820 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1821 internal_getgrgid_r): Likewise.
1822 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1823 Likewise.
1824 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1825 internal_getpwuid_r): Likewise.
1826 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1827 internal_getspnam_r): Likewise.
1828 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1829 _nss_nis_getaliasbyname_r): Likewise.
1830 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1831 _nss_nis_getntohost_r): Likewise.
1832 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1833 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1834 Likewise.
1835 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1836 internal_nis_gethostent_r, internal_gethostbyname2_r,
1837 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1838 _nss_nis_gethostbyname4_r): Likewise.
1839 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1840 initgroups_netid): Likewise.
1841 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1842 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1843 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1844 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1845 _nss_nis_getprotobynumber_r): Likewise.
1846 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1847 _nss_nis_getsecretkey): Likewise.
1848 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1849 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1850 Likewise.
1851 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1852 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1853 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1854 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1855 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1856 _nss_nis_getspnam_r): Likewise.
1857 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1858 Likewise.
1859 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1860 _nss_nisplus_getntohost_r): Likewise.
1861 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1862 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1863 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1864 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1865 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1866 Likewise.
1867 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1868 _nss_nisplus_getnetbyaddr_r): Likewise.
1869 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1870 _nss_nisplus_getprotobynumber_r): Likewise.
1871 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1872 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1873 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1874 Likewise.
1875 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1876 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1877 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1878 _nss_nisplus_getspnam_r): Likewise.
1879 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1880 * nscd/aicache.c (addhstaiX): Likewise.
1881 * nscd/cache.c (cache_search, prune_cache): Likewise.
1882 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1883 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1884 * nscd/grpcache.c (addgrbyX): Likewise.
1885 * nscd/hstcache.c (addhstbyX): Likewise.
1886 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1887 * nscd/mem.c (gc, mempool_alloc): Likewise.
1888 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1889 Likewise.
1890 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1891 Likewise.
1892 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1893 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1894 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1895 Likewise.
1896 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1897 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1898 * nscd/nscd_helper.c (__readvall, open_socket,
1899 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1900 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1901 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1902 * nscd/pwdcache.c (addpwbyX): Likewise.
1903 * nscd/selinux.c (preserve_capabilities): Likewise.
1904 * nscd/servicescache.c (addservbyX): Likewise.
1905 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1906 * posix/fnmatch.c (fnmatch): Likewise.
1907 * posix/getopt.c (_getopt_internal_r): Likewise.
1908 * posix/glob.c (glob, glob_in_dir): Likewise.
1909 * posix/wordexp.c (exec_comm_child): Likewise.
1910 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1911 gaih_getanswer_slice): Likewise.
1912 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1913 * resolv/res_init.c: Likewise.
1914 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1915 * resolv/res_query.c (__libc_res_nquery): Likewise.
1916 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1917 Likewise.
1918 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1919 * stdio-common/perror.c (perror): Likewise.
1920 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1921 * stdio-common/tmpnam.c (tmpnam): Likewise.
1922 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1923 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1924 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1925 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1926 * stdlib/putenv.c (putenv): Likewise.
1927 * stdlib/setenv.c (__add_to_environ): Likewise.
1928 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1929 * stdlib/strtol_l.c (INTERNAL): Likewise.
1930 * string/memmem.c (memmem): Likewise.
1931 * string/strerror.c (strerror): Likewise.
1932 * string/strnlen.c (__strnlen): Likewise.
1933 * string/test-memmem.c (simple_memmem): Likewise.
1934 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1935 * sunrpc/pm_getport.c (__get_socket): Likewise.
1936 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1937 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1938 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1939 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1940 Likewise.
1941 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1942 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1943 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1944 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1945 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1946 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1947 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1948 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1949 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1950 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1951 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1952 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1954 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1955 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1956 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1957 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1958 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1959 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1960 Likewise.
1961 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1962 Likewise.
1963 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1964 Likewise.
1965 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1966 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1967 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1968 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1969 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1970 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1971 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1972 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1973 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1974 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1975 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1976 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1977 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1978 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1980 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1981 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1982 Likewise.
1983 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1984 Likewise.
1985 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1986 Likewise.
1987 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1989 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1990 Likewise.
1991 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1992 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1993 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1994 * sysdeps/posix/sleep.c: Likewise.
1995 * sysdeps/posix/tempname.c: Likewise.
1996 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1997 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1998 Likewise.
1999 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2000 elf_machine_rela): Likewise.
2001 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2002 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2003 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2004 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2005 Likewise.
2006 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
2007 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
2008 elf_machine_rela, elf_machine_lazy_rel): Likewise.
2009 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
2010 elf_machine_rela, elf_machine_lazy_rel): Likewise.
2011 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
2012 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
2013 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
2014 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2015 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
2016 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2017 elf_machine_lazy_rel): Likewise.
2018 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2020 elf_machine_lazy_rel): Likewise.
2021 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
2022 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
2023 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
2024 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2025 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
2026 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
2027 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2028 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2029 Likewise.
2030 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2031 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2032 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
2033 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
2034 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2035 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2036 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
2037 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
2038 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
2039 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2040 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2041 Likewise.
2042 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
2043 (__posix_fallocate64_l64): Likewise.
2044 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
2045 (posix_fallocate): Likewise.
2046 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
2047 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2048 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
2049 getifaddrs_internal): Likewise.
2050 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
2051 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
2052 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2053 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2054 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2055 (__posix_fallocate64_l64): Likewise.
2056 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2057 Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
2059 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2060 Likewise.
2061 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
2062 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2063 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
2064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2065 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2066 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
2067 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2068 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
2069 Likewise.
2070 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
2071 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
2072 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2073 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
2074 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2075 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
2076 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
2077 Likewise.
2078 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2079 (posix_fallocate): Likewise.
2080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2081 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2082 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
2083 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
2084 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2085 Likewise.
2086 * time/asctime.c (asctime_internal): Likewise.
2087 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
2088 * time/tzset.c (__tzset_parse_tz): Likewise.
2089 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2090 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2091 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
2092 * wcsmbs/wcsmbsload.h: Likewise.
2093
20942014-02-10 Ondřej Bílka <neleai@seznam.cz>
2095
2096 [BZ #15894]
2097 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
2098
20992014-02-10 Ondřej Bílka <neleai@seznam.cz>
2100
2101 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
2102 arena_get2): Remove THREAD_STATS conditionals.
2103 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
2104 __malloc_stats, int): Likewise.
2105
21062014-02-08 Mike Frysinger <vapier@gentoo.org>
2107
2108 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
2109 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
2110
21112014-02-08 Mike Frysinger <vapier@gentoo.org>
2112
2113 * manual/setjmp.texi: Fix typos/grammar errors.
2114
21152014-02-08 Mike Frysinger <vapier@gentoo.org>
2116
2117 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
2118 Only return early when n is <= 0. Delete unused return statement.
2119
21202014-02-08 Mike Frysinger <vapier@gentoo.org>
2121
2122 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
2123 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
2124 * debug/tst-longjmp_chk3.c: New file.
2125
21262014-02-08 Mike Frysinger <vapier@gentoo.org>
2127
2128 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
2129 (test_main): Replace code with set_fortify_handler call.
2130 * debug/test-strcpy_chk.c: Likewise.
2131 * debug/tst-chk1.c: Likewise.
2132 * debug/tst-longjmp_chk.c: Likewise.
2133 * test-skeleton.c: Include fcntl.h & paths.h
2134 (set_fortify_handler): Define.
2135
21362014-02-08 Mike Frysinger <vapier@gentoo.org>
2137
2138 * debug/tst-longjmp_chk.c: Add header comment and include
2139 ../test-skeleton.c.
2140 (do_test): Mark static.
2141 (TEST_FUNCTION): Define.
2142
21432014-02-08 Mike Frysinger <vapier@gentoo.org>
2144
2145 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
2146 (IP_PMTUDISC_INTERFACE): Likewise.
2147 (IP_MULTICAST_IF): Likewise.
2148 (IP_MULTICAST_TTL): Likewise.
2149 (IP_MULTICAST_LOOP): Likewise.
2150 (IP_ADD_MEMBERSHIP): Likewise.
2151 (IP_DROP_MEMBERSHIP): Likewise.
2152 (IP_UNBLOCK_SOURCE): Likewise.
2153 (IP_BLOCK_SOURCE): Likewise.
2154 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
2155 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
2156 (IP_MSFILTER): Likewise.
2157 (MCAST_JOIN_GROUP): Likewise.
2158 (MCAST_BLOCK_SOURCE): Likewise.
2159 (MCAST_UNBLOCK_SOURCE): Likewise.
2160 (MCAST_LEAVE_GROUP): Likewise.
2161 (MCAST_JOIN_SOURCE_GROUP): Likewise.
2162 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2163 (MCAST_MSFILTER): Likewise.
2164 (IP_MULTICAST_ALL): Likewise.
2165 (IP_UNICAST_IF): Likewise.
2166
21672014-02-08 Mike Frysinger <vapier@gentoo.org>
2168
2169 * timezone/Makefile: Delete $(have-ksh) check.
2170 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
2171 * timezone/tzselect.ksh: Add +x mode bits.
2172
21732014-02-08 Mike Frysinger <vapier@gentoo.org>
2174
2175 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
2176 (ANON_INODE_FS_MAGIC): Likewise.
2177 (BDEVFS_MAGIC): Likewise.
2178 (BINFMTFS_MAGIC): Likewise.
2179 (BTRFS_TEST_MAGIC): Likewise.
2180 (CRAMFS_MAGIC_WEND): Likewise.
2181 (DEBUGFS_MAGIC): Likewise.
2182 (ECRYPTFS_SUPER_MAGIC): Likewise.
2183 (EXT3_SUPER_MAGIC): Likewise.
2184 (EXT4_SUPER_MAGIC): Likewise.
2185 (FUTEXFS_SUPER_MAGIC): Likewise.
2186 (HOSTFS_SUPER_MAGIC): Likewise.
2187 (HUGETLBFS_MAGIC): Likewise.
2188 (MINIX3_SUPER_MAGIC): Likewise.
2189 (MTD_INODE_FS_MAGIC): Likewise.
2190 (NILFS_SUPER_MAGIC): Likewise.
2191 (OPENPROM_SUPER_MAGIC): Likewise.
2192 (PIPEFS_MAGIC): Likewise.
2193 (PSTOREFS_MAGIC): Likewise.
2194 (QNX6_SUPER_MAGIC): Likewise.
2195 (RAMFS_MAGIC): Likewise.
2196 (REISERFS_SUPER_MAGIC_STRING): Likewise.
2197 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
2198 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
2199 (SECURITYFS_MAGIC): Likewise.
2200 (SELINUX_MAGIC): Likewise.
2201 (SMACK_MAGIC): Likewise.
2202 (SOCKFS_MAGIC): Likewise.
2203 (SQUASHFS_MAGIC): Likewise.
2204 (STACK_END_MAGIC): Likewise.
2205 (TMPFS_MAGIC): Likewise.
2206 (USBDEVICE_SUPER_MAGIC): Likewise.
2207 (V9FS_MAGIC): Likewise.
2208 (XENFS_SUPER_MAGIC): Likewise.
2209 (CRAMFS_MAGIC): Fix typo in comment.
2210 (EXT2_SUPER_MAGIC): Update comment.
2211 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
2212
22132014-02-08 Joseph Myers <joseph@codesourcery.com>
2214
2215 * sysdeps/arm: Move directory from ports/sysdeps/arm.
2216 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
2217 * sysdeps/unix/sysv/linux/arm: Move directory from
2218 ports/sysdeps/unix/sysv/linux/arm.
2219 * README: Update listing for arm-*-linux-gnueabi.
2220
2221 * README: Remove mention of am33.
2222
22232014-02-07 Roland McGrath <roland@hack.frob.com>
2224
2225 * bits/sigset.h (__sigemptyset): Use a statement expression rather
2226 than the comma operator, to avoid "rhs of comma has no effect"
2227 compiler warnings.
2228 (__sigfillset, __sigandset, __sigorset): Likewise.
2229 * include/signal.h (__sigemptyset): Likewise.
2230 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
2231
22322014-02-07 Allan McRae <allan@archlinux.org>
2233
2234 * version.h (RELEASE): Set to "development".
2235 (VERSION): Set to "2.19.90"
2236 * NEWS: Add 2.20 section.
2237
22382014-02-06 Carlos O'Donell <carlos@redhat.com>
2239
2240 [BZ #16529]
2241 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
2242
22432014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2244
2245 * manual/contrib.texi: Update entry for Carlos O'Donell,
2246 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
2247
22482014-02-05 Carlos O'Donell <carlos@rehdat.com>
2249
2250 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
2251
2252 * sysdeps/unix/sysv/linux/kernel-features.h
2253 [__LINUX_KERNEL_VERSION >= 0x020621]
2254 (__ASSUME_PROC_PID_TASK_COMM): Define.
2255
22562014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2257
2258 [BZ #16398]
2259 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
2260 conversion when destination buffer does not have enough space.
2261 * libio/tst-ftell-partial-wide.c: New test case.
2262 * libio/Makefile (tests): Add tst-ftell-partial-wide.
2263
2264 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
2265 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
2266 Leonard and Allan McRae.
2267
22682014-02-04 David S. Miller <davem@davemloft.net>
2269
2270 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
2271 32-bit.
2272
22732014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2274
2275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
2276 file
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2278 New file
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
2280 file.
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
2282 file.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2284 New file.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
2286 file.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
2288 file.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2290 New file.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2292 New file.
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2294 New file.
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2296 New file.
2297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2298 New file.
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2300 New file.
2301
23022014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2303
2304 * nptl/shlib-versions: Change powerpc*le start to 2.17.
2305 * shlib-versions: Likewise.
2306
23072014-02-04 Roland McGrath <roland@hack.frob.com>
2308 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2309
2310 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
2311 (abilist-pattern): New variable, set to %-le.abilist.
2312
2313 * Makerules (abilist-pattern): New variable.
2314 (vpath): Use $(abilist-pattern) in place of %.abilist.
2315 (check-abi-% pattern rule): Likewise.
2316 (check-abi, update-abi): Likewise.
2317
23182014-02-04 Eric Wong <normalperson@yhbt.net>
2319
2320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2321
23222014-02-04 Eric Wong <normalperson@yhbt.net>
2323
2324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2325
23262014-02-03 Carlos O'Donell <carlos@redhat.com>
2327
2328 * manual/startup.texi: Add next, previous, and top entries for
2329 the `Program Arguments' and `Environment Variables' nodes.
2330
23312014-02-03 Alexandre Oliva <aoliva@redhat.com>
2332
2333 * manual/macros.texi: Add comments before MTASC-safety macros.
2334
2335 * manual/users.texi: Document MTASC-safety properties.
2336
2337 * manual/threads.texi (pthread_key_create, pthread_key_delete,
2338 pthread_getspecific, pthread_setspecific): Format with
2339 @deftypefun, and add @safety note.
2340 * manual/signal.texi: Move comments that analyze the above
2341 functions to their home place.
2342
23432014-02-03 Allan McRae <allan@archlinux.org>
2344
2345 * po/sl.po: Update Slovenian translation from translation project.
2346
23472014-02-02 Alexandre Oliva <aoliva@redhat.com>
2348
2349 * manual/time.texi (timegm): Add missing blank after @c.
2350 Reported by Joseph Myers <joseph@codesourcery.com>.
2351
23522014-02-01 Alexandre Oliva <aoliva@redhat.com>
2353
2354 * manual/check-safety.sh: New.
2355 * manual/Makefile ($(objpfx)stamp-summary): Run it.
2356
2357 * manual/terminal.texi: Document MTASC-safety properties.
2358
2359 * manual/filesys.texi: Document MTASC-safety properties.
2360
2361 * manual/errno.texi: Document MTASC-safety properties.
2362
2363 * manual/intro.texi: Document safety identifiers and
2364 conditionals.
2365
2366 * manual/string.texi (wcstok): Fix prototype.
2367 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
2368
2369 * manual/time.texi: Document MTASC-safety properties.
2370
2371 * manual/string.texi: Document MTASC-safety properties.
2372
2373 * manual/threads.texi: Document MTASC-safety properties.
2374
2375 * manual/stdio.texi: Document MTASC-safety properties.
2376
2377 * manual/syslog.texi: Document MTASC-safety properties.
2378
2379 * manual/sysinfo.texi: Document MTASC-safety properties.
2380
2381 * manual/startup.texi: Document MTASC-safety properties.
2382
2383 * manual/socket.texi: Document MTASC-safety properties.
2384
2385 * manual/signal.texi: Document MTASC-safety properties.
2386
23872014-01-31 Alexandre Oliva <aoliva@redhat.com>
2388
2389 * manual/setjmp.texi: Document MTASC-safety properties.
2390
2391 * manual/search.texi: Document MTASC-safety properties.
2392
2393 * manual/resource.texi: Document MTASC-safety properties.
2394
2395 * manual/process.texi: Document MTASC-safety properties.
2396
2397 * manual/platform.texi: Document MTASC-safety properties.
2398
2399 * manual/pipe.texi: Document MTASC-safety properties.
2400
2401 * manual/pattern.texi: Document MTASC-safety properties.
2402
2403 * manual/message.texi: Document MTASC-safety properties.
2404
2405 [BZ #12751]
2406 * manual/memory.texi: Document MTASC-safety properties.
2407
2408 * manual/math.texi: Document MTASC-safety properties.
2409
2410 * manual/locale.texi: Document MTASC-safety properties.
2411
2412 * manual/llio.texi: Document MTASC-safety properties.
2413
2414 * manual/libdl.texi: New.
2415
2416 * manual/lang.texi: Document MTASC-safety properties.
2417
2418 * manual/job.texi: Document MTASC-safety properties.
2419
2420 * manual/getopt.texi: Document MTASC-safety properties.
2421
2422 * manual/ctype.texi: Document MTASC-safety properties.
2423
24242014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
2425
2426 [BZ #16046]
2427 * csu/libc-tls.c (static_map): Remove variable.
2428 (__libc_setup_tls): Use main executable's link map for TLS data.
2429 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
2430 casing for LM_ID_BASE and GL(dl_nns).
2431 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
2432 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
2433 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
2434 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
2435 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
2436 member.
2437 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
2438 l_phnum members.
2439
24402014-01-30 Alexandre Oliva <aoliva@redhat.com>
2441
2442 * manual/debug.texi: Document MTASC-safety properties.
2443
24442014-01-29 H.J. Lu <hongjiu.lu@intel.com>
2445
2446 [BZ #16510]
2447 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
2448 of __x86_64__ when disabling x87 inline functions.
2449
24502014-01-29 Alexandre Oliva <aoliva@redhat.com>
2451
2452 * manual/charset.texi: Document MTASC-safety properties.
2453
2454 * manual/crypt.texi: Document MTASC-safety properties.
2455
2456 * manual/conf.texi: Document MTASC-safety properties.
2457
2458 * manual/arith.texi: Document MTASC-safety properties.
2459
2460 * manual/argp.texi: Document MTASC-safety properties.
2461
2462 * manual/macros.texi: Introduce macros to document multi
2463 thread, asynchronous signal and asynchronous cancellation
2464 safety properties.
2465 * manual/intro.texi: Introduce the properties themselves.
2466
24672014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2468
2469 * sysdeps/sh/sh4/Makefile: New file.
2470
24712014-01-27 Andreas Schwab <schwab@linux-m68k.org>
2472
2473 * math/gen-libm-test.pl ($srcdir): New variable.
2474 ($auto_input): Use it.
2475
24762014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2477
2478 [BZ #16506]
2479 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
2480 access beyond array bounds when parsing netgroups file.
2481
2482 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
2483 the old buffer before realloc.
2484
24852014-01-27 Allan McRae <allan@archlinux.org>
2486
2487 * po/fr.po: Update French translation from translation project.
2488
24892014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2490
2491 * sysdeps/sh/libm-test-ulps: Regenerate.
2492
24932014-01-24 David S. Miller <davem@davemloft.net>
2494
2495 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
2496
24972014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2498
2499 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
2500 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
2501
25022013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2503
2504 [BZ #16474]
2505 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
2506 string pointers after reallocation.
2507
25082014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2509
2510 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
2511 __SH4A__ instead of __SH_FPU_ANY__.
2512
25132014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2514
2515 * sysdeps/sh/fpu_control.h: New file.
2516 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
2517 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2518 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2519 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2520 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2521 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2522 * sysdeps/sh/sys/ucontext.h: Remove.
2523 * sysdeps/sh/sys: Remove directory.
2524
25252014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2526
2527 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2528 s390/sys/ucontext.h.
2529 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2530 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2531
25322014-01-20 H.J. Lu <hongjiu.lu@intel.com>
2533
2534 [BZ #15605]
2535 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2536
25372014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2538
2539 [BZ#16431]
2540 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2541 Adjust the vDSO correctly for internal calls.
2542 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2543
25442014-01-20 Allan McRae <allan@archlinux.org>
2545
2546 * po/ca.po: Update Catalan translation from translation project.
2547
25482014-01-16 Mike Frysinger <vapier@gentoo.org>
2549
2550 * sysdeps/s390/sotruss-lib.c: New file.
2551
25522014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2553
2554 [BZ#16430]
2555 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
2556 (__GI___gettimeofday): Alias for a different internal symbol to avoid
2557 local calls issues by not having a PLT stub required for IFUNC calls.
2558 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2559
25602014-01-16 Joseph Myers <joseph@codesourcery.com>
2561
2562 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2563 * math/test-fpucw-static.c: Likewise.
2564
25652013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2566
2567 [BZ #16453]
2568 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2569
25702014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2571
2572 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2573 implementation for powerpc.
2574
25752014-01-15 Ondřej Bílka <neleai@seznam.cz>
2576
2577 [BZ #14782]
2578 * sysdeps/posix/system.c (__libc_system): Do not enable
2579 asynchronous cancellation.
2580
25812014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2582
2583 [BZ #16427]
2584 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2585 handling only for numbers special also in the IEEE case.
2586
25872014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2588
2589 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2590
25912014-01-11 Allan McRae <allan@archlinux.org>
2592
2593 * po/bg.po: Update Bulgarian translation from translation project.
2594
2595 * po/de.po: Update German translation from translation project.
2596
25972014-01-10 Roland McGrath <roland@hack.frob.com>
2598
2599 * sysdeps/generic/gcc-compat.h: New file.
2600
26012014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2602
2603 * benchtests/asin-inputs: Correct slow inputs.
2604 * benchtests/acos-inputs: Likewise.
2605
26062014-01-10 Allan McRae <allan@archlinux.org>
2607
2608 * po:sv.po: Update Swedish translation from translation project.
2609
2610 * po/vi.po: Update Vietnamese translation from translation project.
2611
2612 * po/eo.po: Update Esperanto translation from translation project.
2613
2614 * po/cs.po: Update Czech translation from translation project.
2615
2616 * po/nl.po: Update Dutch translation from translation project.
2617
2618 * po/pl.po: Update Polish translation from translation project.
2619
2620 * po/ru.po: Update Russian translation from translation project.
2621
2622 * po/uk.po: Update Ukrainian translation from translation project.
2623
26242014-01-08 Brooks Moses <bmoses@google.com>
2625
2626 * elf/dl-load.c: Fix comment typo.
2627
26282014-01-08 Carlos O'Donell <carlos@redhat.com>
2629
2630 * po/header.pot: Rename to...
2631 * po/pot.header: ... this.
2632 * po/Makefile: Use pot.header.
2633
26342014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
2635 Maxim Kuvyrkov <maxim@kugelworks.com>
2636
2637 [BZ #16394]
2638 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2639 SRC and DEST against LEN.
2640
26412014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2642
2643 [BZ #16414]
2644 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2645 implementation.
2646 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2647
26482014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2649
2650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2651
26522014-01-08 Joseph Myers <joseph@codesourcery.com>
2653
2654 [BZ #16408]
2655 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2656 for large positive arguments.
2657
26582014-01-07 Joseph Myers <joseph@codesourcery.com>
2659
2660 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2661
2662 * math/auto-libm-test-in: Mark various tests with
2663 xfail-rounding:ldbl-128ibm.
2664 * math/auto-libm-test-out: Regenerated.
2665
2666 [BZ #16407]
2667 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2668 Increase overflow threshold.
2669
26702014-01-07 Ondřej Bílka <neleai@seznam.cz>
2671
2672 [BZ #14286]
2673 * stdio-common/vfprintf.c: Check for integer overflow.
2674
26752014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2676
2677 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2678 the first argument and return value of __tls_get_addr_internal.
2679
26802014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2681
2682 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2683 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2684
26852014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2686
2687 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2688 * sysdeps/s390/rtld-global-offsets.sym: New file.
2689 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2690 GLIBC_2.19 symbol.
2691 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2692 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2693 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2694 ... this.
2695 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2696 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2697 ... this.
2698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2699 Regenerate.
2700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2701 Regenerate.
2702 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2703 halfs of GPRs for high_gprs contexts.
2704 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2705 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
2706 field.
2707 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2708 uc_flags field.
2709 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2710 64 bit versions:
2711 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2712 for high GPRs (uc_high_gprs) and for future extensions
2713 (__reserved).
2714 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2715 for future extensions (__reserved).
2716 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2717 64 bit versions:
2718 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2719 SC_HIGHGPRS offset definition.
2720 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2721 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2722
27232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2724
2725 * Versions.def: Add GLIBC_2.19 for libpthread.
2726 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2727 siglongjmp for libpthread with GLIBC_2.19 symver.
2728 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2729 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2730 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2731 * sysdeps/s390/__longjmp.c: New file.
2732 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2733 * sysdeps/s390/longjmp.c: New file.
2734 * sysdeps/s390/setjmp.S: New file.
2735 * sysdeps/s390/sigjmp.S: New file.
2736 * sysdeps/s390/v1-longjmp.c: New file.
2737 * sysdeps/s390/v1-setjmp.h: New file.
2738 * sysdeps/s390/v1-sigjmp.c: New file.
2739 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2740 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2741 GLIBC_2.19 version.
2742 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2743 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2744 versioned symbols for ____longjmp_chk.
2745 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2746 Likewise.
2747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2748 Regenerate.
2749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2750 Regenerate.
2751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2752 Regenerate.
2753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2754 Regenerate.
2755 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2756 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2757 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2758 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2759 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2760 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2761 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2762 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2763 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2764 * sysdeps/s390/rtld-__longjmp.c: New file.
2765 * sysdeps/s390/rtld-setjmp.S: New file.
2766
27672014-01-06 Joseph Myers <joseph@codesourcery.com>
2768
2769 [BZ #16400]
2770 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2771 Return -__logl (x) for small positive arguments without evaluating
2772 a polynomial.
2773
27742014-01-06 Mike Frysinger <vapier@gentoo.org>
2775
2776 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2777 Rename to ...
2778 (__ptrace_peeksiginfo_args): ... this.
2779 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2780 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2781 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2782
27832014-01-06 Allan McRae <allan@archlinux.org>
2784
2785 * inet/netinet/in.h: Fix typo in comment.
2786
27872014-01-05 Andreas Jaeger <aj@suse.de>
2788
2789 * sysdeps/i386/fpu/libm-test-ulps: Update.
2790
27912014-01-05 Allan McRae <allan@archlinux.org>
2792
2793 * po/libc.pot: Regenerated.
2794
2795 * malloc/memusagestat.c: Fix gettext call formatting.
2796
27972014-01-04 Sami Kerola <kerolasa@iki.fi>
2798
2799 * nscd/nscd.c: Improve usage() output.
2800
28012014-01-04 Mike Frysinger <vapier@gentoo.org>
2802
2803 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2804 * sysdeps/unix/sysv/linux/configure: Regenerated.
2805 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2806 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2807
28082014-01-03 Joseph Myers <joseph@codesourcery.com>
2809
2810 [BZ #16390]
2811 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2812 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2813
28142014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2815
2816 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2817 extra tokens at end of #undef directive.
2818 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2819 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2820 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2821
28222014-01-03 Joseph Myers <joseph@codesourcery.com>
2823
2824 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2825
2826 * math/auto-libm-test-in: Mark various tests with
2827 xfail-rounding:ldbl-128ibm.
2828 * math/auto-libm-test-out: Regenerated.
2829
28302014-01-02 Joseph Myers <joseph@codesourcery.com>
2831
2832 [BZ #16386]
2833 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2834 numbers with subnormal high part when calculating exponent.
2835
2836 [BZ #16385]
2837 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2838 fabs.
2839
2840 [BZ #16384]
2841 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2842 M_LN2l.
2843 (__ieee754_acoshl): Use __log1pl not __log1p.
2844
28452013-01-02 Ondřej Bílka <neleai@seznam.cz>
2846
2847 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2848 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2849 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2850 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2851 Convert to GNU style.
2852 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2853 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2854 memalign_check, __malloc_set_state): Likewise.
2855 * malloc/mallocbug.c (main): Likewise.
2856 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2857 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2858 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2859 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2860 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2861 * malloc/malloc.h: Likewise.
2862 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2863 memalignhook, reallochook, mabort): Likewise.
2864 * malloc/mcheck.h: Likewise.
2865 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2866 mmap64, mremap, munmap, dest): Likewise.
2867 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2868 * malloc/morecore.c (__default_morecore): Likewise.
2869 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2870 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2871 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2872 print_and_abort): Likewise.
2873 * malloc/obstack.h: Likewise.
2874 * malloc/set-freeres.c (__libc_freeres): Likewise.
2875 * malloc/tst-mallocstate.c (main): Likewise.
2876 * malloc/tst-mtrace.c (main): Likewise.
2877 * malloc/tst-realloc.c (do_test): Likewise.
2878
28792013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2880
2881 [BZ #16366]
2882 * nscd/netgroupcache.c (do_notfound): New function.
2883 (addgetnetgrentX): Use it.
2884
2885 [BZ # 16365]
2886 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2887 NSS_STATUS_NOTFOUND.
2888
28892014-01-01 Joseph Myers <joseph@codesourcery.com>
2890
2891 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2893
28942014-01-01 Allan McRae <allan@archlinux.org>
2895
2896 * scripts/update-copyrights: Update configure input file suffix.
2897
2898 * NEWS: Update copyright year.
2899 * catgets/gencat.c: Likewise.
2900 * csu/version.c: Likewise.
2901 * debug/catchsegv.sh: Likewise.
2902 * debug/pcprofiledump.c: Likewise.
2903 * debug/xtrace.sh: Likewise.
2904 * elf/ldconfig.c: Likewise.
2905 * elf/ldd.bash.in: Likewise.
2906 * elf/pldd.c: Likewise.
2907 * elf/sotruss.ksh: Likewise.
2908 * elf/sprof.c: Likewise.
2909 * iconv/iconv_prog.c: Likewise.
2910 * iconv/iconvconfig.c: Likewise.
2911 * locale/programs/locale.c: Likewise.
2912 * locale/programs/localedef.c: Likewise.
2913 * login/programs/pt_chown.c: Likewise.
2914 * malloc/memusage.sh: Likewise.
2915 * malloc/memusagestat.c: Likewise.
2916 * malloc/mtrace.pl: Likewise.
2917 * manual/libc.texinfo: Likewise.
2918 * nscd/nscd.c: Likewise.
2919 * nss/getent.c: Likewise.
2920 * nss/makedb.c: Likewise.
2921 * posix/getconf.c: Likewise.
2922 * scripts/test-installation.pl: Likewise.
2923
2924 * All files with FSF copyright notices: Update copyright dates
2925 using scripts/update-copyrights.
2926 * intl/plural.c: Regenerated.
2927 * locale/programs/charmap-kw.h: Likewise.
2928 * locale/programs/locfile-kw.h: Likewise.
2929
29302013-12-31 Mike Frysinger <vapier@gentoo.org>
2931
2932 * sysdeps/unix/sysv/linux/configure: Regenerated.
2933 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2934 the linux/fanotify.h header.
2935 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2936 HAVE_LINUX_FANOTIFY_H is defined.
2937
29382013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2939
2940 * benchtests/cos-inputs: New inputs.
2941 * benchtests/sin-inputs: Likewise.
2942
2943 * benchtests/atan-inputs: New inputs. Fix name of multiple
2944 precision fallback inputs.
2945
2946 * benchtests/atanh-inputs: New inputs.
2947 * benchtests/tanh-inputs: Likewise.
2948
2949 * benchtests/acosh-inputs: New inputs.
2950 * benchtests/asinh-inputs: Likewise.
2951
2952 * benchtests/cosh-inputs: New inputs.
2953 * benchtests/sinh-inputs: Likewise.
2954
2955 * benchtests/acos-inputs: Add more inputs.
2956 * benchtests/asin-inputs: Likewise.
2957
29582013-12-30 Ville Skytta <ville.skytta@iki.fi>
2959
2960 [BZ #16375]
2961 * manual/arith.texi: Fix spelling.
2962 * manual/charset.texi: Likewise.
2963 * manual/errno.texi: Likewise.
2964 * manual/filesys.texi: Likewise.
2965 * manual/lang.texi: Likewise.
2966 * manual/llio.texi: Likewise.
2967 * manual/locale.texi: Likewise.
2968 * manual/message.texi: Likewise.
2969 * manual/resource.texi: Likewise.
2970 * manual/search.texi: Likewise.
2971 * manual/setjmp.texi: Likewise.
2972 * manual/stdio.texi: Likewise.
2973 * manual/string.texi: Likewise.
2974 * manual/sysinfo.texi: Likewise.
2975 * manual/time.texi: Likewise.
2976
29772013-12-27 Carlos O'Donell <carlos@redhat.com>
2978
2979 * po/sl.po: New file.
2980
29812013-12-27 Mike Frysinger <vapier@gentoo.org>
2982
2983 * .gitignore: Add core/.gdbinit/.gdb_history.
2984
29852013-12-27 Allan McRae <allan@archlinux.org>
2986
2987 [BZ #16369]
2988 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2989 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2990
29912013-12-24 Brooks Moses <bmoses@google.com>
2992
2993 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2994 all compilers that claim C++98 compliance, not just GCC.
2995 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2996 Likewise.
2997
29982013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2999
3000 * NEWS: Restore accidentally deleted bug-fix entries.
3001
30022013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3003 Ondřej Bílka <neleai@seznam.cz>
3004
3005 [BZ #15073]
3006 * malloc/malloc.c (_int_free): Perform sanity check only if we
3007 have_lock.
3008
30092013-12-23 Ondřej Bílka <neleai@seznam.cz>
3010
3011 [BZ #12986]
3012 * manual/stdio.texi (String Input Conversions): Clarify that character
3013 classes are not supported.
3014
30152013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3016
3017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3018
30192013-12-22 Joseph Myers <joseph@codesourcery.com>
3020
3021 [BZ #16337]
3022 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3023 Calculate results for small negative arguments directly rather
3024 than using reflection formula with special underflow handling.
3025
3026 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
3027 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
3028 sysdeps/unix/bsd/bsd4.4/syscalls.list.
3029 (fchflags): Likewise.
3030 (revoke): Likewise.
3031 (setlogin): Likewise.
3032 (sigaltstack): Likewise.
3033 (wait4): Likewise.
3034 (sigblock): Remove.
3035 (sigsetmask): Likewise.
3036 (wait3): Likewise.
3037 (waitpid): Likewise.
3038 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
3039 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
3040 file.
3041 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
3042 * sysdeps/unix/bsd/Makefile: ... here.
3043 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
3044 * sysdeps/unix/bsd/Versions: ... here.
3045 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
3046 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
3047 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
3048 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
3049 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
3050 * sysdeps/unix/bsd/sigblock.c: ... here.
3051 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
3052 * sysdeps/unix/bsd/sigsetmask.c: ... here.
3053 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
3054 * sysdeps/unix/bsd/sigvec.c: ... here.
3055 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
3056 * sysdeps/unix/bsd/tcdrain.c: ... here.
3057 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
3058 * sysdeps/unix/bsd/tcgetattr.c: ... here.
3059 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
3060 * sysdeps/unix/bsd/tcsetattr.c: ... here.
3061 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
3062 * sysdeps/unix/bsd/wait.c: ... here.
3063 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
3064 * sysdeps/unix/bsd/wait3.c: ... here.
3065 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
3066 * sysdeps/unix/bsd/waitpid.c: ... here.
3067
30682013-12-21 Joseph Myers <joseph@codesourcery.com>
3069
3070 [BZ #16356]
3071 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
3072 round-to-nearest for [!USE_AS_EXPM1L].
3073 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3074 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
3075 more tests of exp and exp10. Expect some exp10 tests to miss
3076 exceptions or fail in directed rounding modes.
3077 * math/auto-libm-test-out: Regenerated.
3078 * math/libm-test.inc (exp10_tonearest_test_data): New array.
3079 (exp10_test_tonearest): New function.
3080 (exp10_towardzero_test_data): New array.
3081 (exp10_test_towardzero): New function.
3082 (exp10_downward_test_data): New array.
3083 (exp10_test_downward): New function.
3084 (exp10_upward_test_data): New array.
3085 (exp10_test_upward): New function.
3086 (main): Call the new functions.
3087 * sysdeps/i386/fpu/libm-test-ulps: Update.
3088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3089
30902013-12-20 Joseph Myers <joseph@codesourcery.com>
3091
3092 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3093 asinh, atan, atan2, atanh, cbrt, cos and cosh.
3094 * math/auto-libm-test-out: Regenerated.
3095 * math/libm-test.inc (acosh_test_data): Add more tests.
3096 (atanh_test_data): Likewise.
3097 (ceil_test_data): Likewise.
3098 (copysign_test_data): Likewise.
3099 * sysdeps/i386/fpu/libm-test-ulps: Update.
3100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3101
3102 * timezone/checktab.awk: Update from tzcode 2013i.
3103 * timezone/private.h: Likewise.
3104 * timezone/scheck.c: Likewise.
3105 * timezone/tzfile.h: Likewise.
3106 * timezone/tzselect.ksh: Likewise.
3107 * timezone/zdump.c: Likewise.
3108 * timezone/zic.c: Likewise.
3109
3110 * math/auto-libm-test-in: Add tests of cpow.
3111 * math/auto-libm-test-out: Regenerated.
3112 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
3113 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
3114 mpc_cc_c.
3115 (func_calc_desc): Add mpc_cc_c union field.
3116 (test_functions): Add cpow.
3117 (special_fill_2pi): New function.
3118 (special_real_inputs): Add 2pi.
3119 (calc_generic_results): Handle mpc_cc_c.
3120 * sysdeps/i386/fpu/libm-test-ulps: Update.
3121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3122
3123 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
3124 csqrt, ctan and ctanh.
3125 * math/auto-libm-test-out: Regenerated.
3126 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3127 (TEST_COND_x86): Likewise.
3128 (ccos_test_data): Use AUTO_TESTS_c_c.
3129 (ccosh_test_data): Likewise.
3130 (cexp_test_data): Likewise.
3131 (clog_test_data): Likewise.
3132 (csqrt_test_data): Likewise.
3133 (ctan_test_data): Likewise.
3134 (ctan_tonearest_test_data): Likewise.
3135 (ctan_towardzero_test_data): Likewise.
3136 (ctan_downward_test_data): Likewise.
3137 (ctan_upward_test_data): Likewise.
3138 (ctanh_test_data): Likewise.
3139 (ctanh_tonearest_test_data): Likewise.
3140 (ctanh_towardzero_test_data): Likewise.
3141 (ctanh_downward_test_data): Likewise.
3142 (ctanh_upward_test_data): Likewise.
3143 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3144 mpc_c_c.
3145 (func_calc_desc): Add mpc_c_c union field.
3146 (FUNC_mpc_c_c): New macro.
3147 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
3148 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
3149 ctanh.
3150 (special_fill_min_subnorm_p120): New function.
3151 (special_real_inputs): Add min_subnorm_p120.
3152 (calc_generic_results): Handle mpc_c_c.
3153 * sysdeps/i386/fpu/libm-test-ulps: Update.
3154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3155
31562013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3157
3158 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
3159 do_sin_slow): New functions.
3160 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
3161 cslow2, csloww1, csloww2): Use the new functions.
3162
3163 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
3164 Use M to change sign of result instead of X. Assume X is
3165 positive.
3166 (csloww1): Likewise.
3167 (__sin): Adjust.
3168 (__cos): Adjust.
3169
3170 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
3171 arguments A and DA.
3172 (__sin): Adjust.
3173 (__cos): Likewise.
3174
3175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
3176 (__cos): Likewise.
3177 (sloww1): Don't adjust sign of DX.
3178 (csloww1): Likewise.
3179 (sloww2): Use X directly and don't adjust sign of DX.
3180 (csloww2): Likewise.
3181
31822013-12-19 Joseph Myers <joseph@codesourcery.com>
3183
3184 * math/auto-libm-test-in: Add tests of cabs and carg.
3185 * math/auto-libm-test-out: Regenerated.
3186 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
3187 (carg_test_data): Likewise.
3188 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3189 mpc_c_f.
3190 (func_calc_desc): Add mpc_c_f union field.
3191 (test_functions): Add cabs and carg.
3192 (calc_generic_results): Handle mpc_c_f.
3193
3194 * sysdeps/powerpc/powerpc32/libgcc-compat.S
3195 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
3196 as a macro and a compat symbol.
3197 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3198 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3199 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3200 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3201 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
3202 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
3203 not use .hidden.
3204 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
3205 Likewise.
3206 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
3207 Likewise.
3208 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
3209 Likewise.
3210 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
3211 Likewise.
3212 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
3213 Likewise.
3214 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
3215 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
3216 from GLIBC_2.3.2.
3217
32182013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3219
3220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3221
32222013-12-19 Joseph Myers <joseph@codesourcery.com>
3223
3224 * manual/texinfo.tex: Update to version 2013-11-26.10 with
3225 trailing whitespace removed.
3226 * scripts/config.guess: Update to version 2013-11-29.
3227 * scripts/config.sub: Update to version 2013-10-01.
3228
3229 * math/auto-libm-test-in: Add tests of sincos.
3230 * math/auto-libm-test-out: Regenerated.
3231 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
3232 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3233 mpfr_f_11.
3234 (func_calc_desc): Add mpfr_f_11 union field.
3235 (test_functions): Add sincos.
3236 (calc_generic_results): Handle mpfr_f_11.
3237 * sysdeps/i386/fpu/libm-test-ulps: Update.
3238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3239
32402013-12-19 Andreas Schwab <schwab@suse.de>
3241
3242 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
3243 CALL_MCOUNT.
3244 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3245 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
3246 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
3247
32482013-12-19 Joseph Myers <joseph@codesourcery.com>
3249
3250 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
3251 * sysdeps/i386/fpu/libm-test-ulps: Update.
3252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3253
3254 [BZ #16293]
3255 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
3256 round-to-nearest mode when using frndint.
3257 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
3258 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3259 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3260 Likewise.
3261 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
3262 sinh test to fail.
3263 * math/auto-libm-test-out: Regenerated.
3264 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
3265 (TEST_COND_x86): Likewise.
3266 (expm1_tonearest_test_data): New array.
3267 (expm1_test_tonearest): New function.
3268 (expm1_towardzero_test_data): New array.
3269 (expm1_test_towardzero): New function.
3270 (expm1_downward_test_data): New array.
3271 (expm1_test_downward): New function.
3272 (expm1_upward_test_data): New array.
3273 (expm1_test_upward): New function.
3274 (main): Run the new test functions.
3275 * sysdeps/i386/fpu/libm-test-ulps: Update.
3276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3277
3278 * include/features.h: Update comment documenting feature test
3279 macros. Mention _DEFAULT_SOURCE in comment.
3280 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
3281 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
3282 _BSD_SOURCE and _SVID_SOURCE.
3283 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
3284 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
3285 !_SVID_SOURCE]: Likewise.
3286 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3287 (__USE_POSIX_IMPLICITLY): Define.
3288 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3289 (_POSIX_SOURCE): Undefine and redefine.
3290 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3291 (_POSIX_C_SOURCE): Likewise.
3292 * manual/creature.texi (_DEFAULT_SOURCE): Document.
3293 (Feature Test Macros): Update documentation of default features.
3294
32952013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3296
3297 * benchtests/Makefile: Add bench-strtok.
3298 * benchtests/bench-strtok.c: New file: strtok benchtest.
3299
33002013-12-19 Allan McRae <allan@archlinux.org>
3301
3302 * manual/install.texi: Suppress menu for plain text output.
3303 * INSTALL: Regenerated.
3304
33052013-12-18 Brooks Moses <bmoses@google.com>
3306
3307 [BZ #15846]
3308 * misc/getauxval.c: Include errno.h.
3309 (__getauxval): Set errno to ENOENT if the requested type is not
3310 found.
3311 * misc/sys/auxv.h (getauxval): Document that it may set errno;
3312 don't declare with __attribute_const__.
3313 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
3314 * manual/startup.texi: Document that getauxval sets errno.
3315
33162013-12-18 Joseph Myers <joseph@codesourcery.com>
3317
3318 * math/auto-libm-test-in: Add tests of jn and yn.
3319 * math/auto-libm-test-out: Regenerated.
3320 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
3321 (yn_test_data): Likewise.
3322 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3323 mpfr_if_f.
3324 (func_calc_desc): Add mpfr_if_f union field.
3325 (FUNC_mpfr_if_f): New macro.
3326 (test_functions): Add jn and yn.
3327 (calc_generic_results): Assert type of second input for
3328 mpfr_ff_f. Handle mpfr_if_f.
3329 (output_for_one_input_case): Disable all checking for arguments
3330 fitting floating-point types in case of an integer argument.
3331 * sysdeps/i386/fpu/libm-test-ulps: Update.
3332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3333
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3335 Don't expect fegetround reference in libm.so.
3336
33372013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3338
3339 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
3340 $(config-cflags-nofma).
3341
33422013-12-18 Joseph Myers <joseph@codesourcery.com>
3343
3344 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
3345 * math/auto-libm-test-out: Regenerated.
3346
3347 [BZ #16338]
3348 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
3349 to determine exponent and adjust argument to have exponent of -1.
3350 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3351 log2.
3352 * math/auto-libm-test-out: Regenerated.
3353 * sysdeps/i386/fpu/libm-test-ulps: Update.
3354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3355
33562013-12-18 Ondřej Bílka <neleai@seznam.cz>
3357
3358 * manual/probes.texi: Remove cases when per-thread arenas are
3359 disabled.
3360
33612013-12-18 Andreas Schwab <schwab@suse.de>
3362
3363 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
3364 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
3365 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
3366 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
3367 * sysdeps/i386/i686/multiarch/Makefile: Update.
3368 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
3369
33702013-12-17 Joseph Myers <joseph@codesourcery.com>
3371
3372 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
3373 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3374
33752013-12-17 Paul Eggert <eggert@cs.ucla.edu>
3376
3377 [BZ #15968]
3378 Support TZ transition times < 00:00:00.
3379 This is needed for version-3 tz-format files; it supports time
3380 stamps past 2037 for America/Godthab (the only entry in the tz
3381 database for which this change is relevant).
3382 * manual/time.texi (TZ Variable): Document transition times
3383 from -167:59:59 through -00:00:01.
3384 * time/tzset.c (tz_rule): Time of day is now signed.
3385 (__tzset_parse_tz): Parse negative time of day.
3386
3387 Document TZ transition times >= 25:00:00.
3388 * manual/time.texi (TZ Variable): Document transition times from
3389 25:00:00 through 167:59:59. These are already supported, and this
3390 support will help with version-3 tz-format files.
3391
3392 * manual/time.texi (TZ Variable): Modernize North America example
3393 to reflect current (i.e., 2007-and-later) daylight saving rules.
3394
3395 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
3396
33972013-12-17 Joseph Myers <joseph@codesourcery.com>
3398
3399 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
3400 * sysdeps/unix/bsd/bits/stat.h: Likewise.
3401 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
3402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3403 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
3404 * sysdeps/unix/bsd/bsdstat.h: Likewise.
3405 * sysdeps/unix/bsd/clock.c: Likewise.
3406 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
3407 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
3408 * sysdeps/unix/bsd/init-posix.c: Likewise.
3409 * sysdeps/unix/bsd/poll.c: Likewise.
3410 * sysdeps/unix/bsd/ptsname.c: Likewise.
3411 * sysdeps/unix/bsd/seekdir.c: Likewise.
3412 * sysdeps/unix/bsd/setegid.c: Likewise.
3413 * sysdeps/unix/bsd/seteuid.c: Likewise.
3414 * sysdeps/unix/bsd/setgid.c: Likewise.
3415 * sysdeps/unix/bsd/setrgid.c: Likewise.
3416 * sysdeps/unix/bsd/setruid.c: Likewise.
3417 * sysdeps/unix/bsd/setsid.c: Likewise.
3418 * sysdeps/unix/bsd/setuid.c: Likewise.
3419 * sysdeps/unix/bsd/sigaction.c: Likewise.
3420 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
3421 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
3422 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3423 * sysdeps/unix/bsd/telldir.c: Likewise.
3424 * sysdeps/unix/bsd/times.c: Likewise.
3425 * sysdeps/unix/bsd/usleep.c: Likewise.
3426
3427 * misc/Makefile (install-lib): Remove libbsd-compat.a.
3428 ($(objpfx)libbsd-compat.a): Remove rule.
3429
3430 * include/features.h (__FAVOR_BSD): Do not define.
3431 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
3432 features conflicting with POSIX.
3433 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
3434 (_BSD_SOURCE): Remove description of not being a subset of other
3435 feature test macros.
3436 * manual/job.texi (getpgrp): Do not document BSD version.
3437 (getpgid): Do not document by reference to BSD getpgrp.
3438 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
3439 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
3440 * signal/signal.h [__FAVOR_BSD]: Likewise.
3441 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
3442 instead of making contents conditional on [__FAVOR_BSD].
3443 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
3444
34452013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3446
3447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3448
34492013-12-17 Joseph Myers <joseph@codesourcery.com>
3450
3451 [BZ #16314]
3452 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
3453 values below 2**-450, not 2**-500.
3454 * math/auto-libm-test-in: Don't allow spurious underflow from
3455 hypot.
3456 * math/auto-libm-test-out: Regenerated.
3457
3458 [BZ #16316]
3459 [BZ #16330]
3460 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
3461 values of ha and hb and sort them after adjusting subnormal
3462 arguments.
3463 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3464 Likewise.
3465 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
3466 values of ea and eb and sort them after adjusting subnormal
3467 arguments.
3468 * math/auto-libm-test-in: Do not expect some hypot tests of
3469 subnormals to fail. Add more hypot tests.
3470 * math/auto-libm-test-out: Regenerated.
3471
34722013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3473
3474 [BZ #13304]
3475 * sysdeps/sh/s_fma.c: New file.
3476 * sysdeps/sh/s_fmaf.c: New file.
3477 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
3478 version.
3479 * sysdeps/sh/Implies: Add sh/soft-fp.
3480
34812013-12-16 Roland McGrath <roland@hack.frob.com>
3482
3483 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
3484 level of indirection to members `objname', `errstring', `malloced'.
3485 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
3486 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
3487 it as the __longjmp argument (just pass 1 instead).
3488 (_dl_catch_error): Initialize C with argument pointers and address of
3489 volatile local ERRCODE rather than copying values out of C at return.
3490
34912013-12-16 Joseph Myers <joseph@codesourcery.com>
3492
3493 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
3494 * math/auto-libm-test-out: Regenerated.
3495 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
3496 (hypot_test_data): Likewise.
3497 (pow_test_data): Likewise.
3498 (pow_tonearest_test_data): Likewise.
3499 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3500 mpfr_ff_f.
3501 (func_calc_desc): Add mpfr_ff_f union field.
3502 (FUNC_mpfr_ff_f): New macro.
3503 (test_functions): Add atan2, hypot and pow.
3504 (special_fill_min): New function.
3505 (special_fill_minus_min): Likewise.
3506 (special_fill_min_subnorm): Likewise.
3507 (special_fill_minus_min_subnorm): Likewise.
3508 (special_real_inputs): Add min, -min, min_subnorm and
3509 -min_subnorm.
3510 (calc_generic_results): Handle mpfr_ff_f.
3511 * sysdeps/i386/fpu/libm-test-ulps: Update.
3512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3513
35142013-12-16 Will Newton <will.newton@linaro.org>
3515
3516 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
3517 (Aligned Memory Blocks): Add documentation for aligned_alloc
3518 and suggest it as an alternative to posix_memalign.
3519 (Hooks for Malloc): Document __memalign_hook is also called
3520 for aligned_alloc. (Summary of Malloc): Add summary for
3521 aligned alloc. Document __memalign_hook is also called
3522 for aligned_alloc.
3523
35242013-12-16 Will Newton <will.newton@linaro.org>
3525
3526 * manual/memory.texi (Malloc Examples): Clarify default
3527 alignment documentation. Suggest posix_memalign rather
3528 than memalign or valloc.
3529 (Aligned Memory Blocks): Remove suggestion to use memalign
3530 or valloc. Remove obsolete comment about BSD.
3531 Document memalign errno values and mark the function obsolete.
3532 Document posix_memalign returned error codes. Mark valloc
3533 as obsolete. (Hooks for Malloc): __memalign_hook is also
3534 called for posix_memalign and valloc.
3535 (Summary of Malloc): Add posix_memalign to function summary.
3536 __memalign_hook is also called for posix_memalign and valloc.
3537
35382013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3539
3540 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3541 TAYLOR_SIN.
3542 (__sin): Adjust.
3543 (__cos): Likewise.
3544 (sloww): Use mynumber union. Expand ternary operator into
3545 if-else statements.
3546 (cslow): use mynumber union.
3547
35482013-12-16 Allan McRae <allan@archlinux.org>
3549
3550 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3551 * configure: Regenerated.
3552
3553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3554
3555 [BZ #14120]
3556 * configure.ac: Added --enable-maintainer-mode. Check for
3557 autoconf when enabled.
3558 * configure: Regenerated.
3559
3560 * nscd/nscd.service: New file.
3561 * nscd/nscd.tmpfiles: New file.
3562
35632013-12-14 Ondřej Bílka <neleai@seznam.cz>
3564
3565 [BZ #12100]
3566 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3567 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3568 * sysdeps/x86_64/multiarch/strstr.c: ... here.
3569 (strstr): Add __strstr_sse2_unaligned ifunc.
3570 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3571 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3572 (strcasestr): Remove __strcasestr_sse42 ifunc.
3573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3574 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3576
35772013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3578
3579 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3580 * sysdeps/sh/bits/fenv.h: ... here.
3581 * sysdeps/sh/sh4/fpu/bits: Remove directory.
3582
35832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3584
3585 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3586
35872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3588
3589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3590 hypotf multiarch implementations.
3591 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3592 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3593 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3594 multiarch hypot for PPC64.
3595 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3596 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3597 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3598 multiarch hypotf for PPC64.
3599
36002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3601
3602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3603 modff multiarch implementations.
3604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3607 multiarch modf for PPC64.
3608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3611 multiarch modff for PPC64.
3612
36132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3614
3615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3616 and logl multiarch implementations.
3617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3620 multiarch logb for PPC64.
3621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3624 multiarch logb for PPC64.
3625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3628 multiarch logb for PPC64.
3629
36302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3631
3632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3633 isinff multiarch implementation.
3634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3635 file.
3636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3638 multiarch isinf for PPC64.
3639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3640 file.
3641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3642 multiarch isinff for PPC64.
3643
36442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3645
3646 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3647 finitef multiarch implementation.
3648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3649 file.
3650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3652 multiarch finite for PPC64.
3653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3654 file.
3655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3656 multiarch finitef for PPC64.
3657
36582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3659
3660 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3661 lrint multiarch implementation.
3662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3663 file.
3664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3666 multiarch llrint for PPC64.
3667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3668 multiarch lrint for PPC64.
3669
36702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3671
3672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3673 copysignf multiarch implementation.
3674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3675 file.
3676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3677 file.
3678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3679 multiarch copysign for PPC64.
3680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3681 multiarch copysignf for PPC64.
3682
36832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3684
3685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3686 multiarch implementation.
3687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3688 file.
3689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3690 file.
3691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3692 file.
3693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3694 file.
3695 multiarch llround for PPC64.
3696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3697 multiarch trunc for PPC64.
3698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3699 multiarch truncf for PPC64.
3700
37012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3702
3703 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3704 multiarch implementation.
3705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3706 file.
3707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3708 file.
3709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3710 file.
3711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3712 file.
3713 multiarch llround for PPC64.
3714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3715 multiarch round for PPC64.
3716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3717 multiarch roundf for PPC64.
3718
37192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3720
3721 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3722 multiarch implementation.
3723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3724 file.
3725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3726 file.
3727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3728 file.
3729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3730 file.
3731 multiarch llround for PPC64.
3732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3733 multiarch floor for PPC64.
3734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3735 multiarch floorf for PPC64.
3736
37372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3738
3739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3740 multiarch implementation.
3741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3742 file.
3743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3744 file.
3745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3746 file.
3747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3748 file.
3749 multiarch llround for PPC64.
3750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3751 multiarch ceil for PPC64.
3752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3753 multiarch ceilf for PPC64.
3754
37552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3756
3757 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3758 multiarch implementation.
3759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3760 file.
3761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3762 file.
3763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3764 file.
3765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3766 multiarch llround for PPC64.
3767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3768 multiarch lround for PPC64.
3769
37702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3771
3772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3773 multiarch implementation.
3774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3777 file.
3778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3781 multiarch isnan for PPC64.
3782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3783 multiarch isnanf for PPC64.
3784
37852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3786
3787 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3788 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3789 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3790 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3791 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3793
37942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3795
3796 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3797 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3798 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3799 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3800
38012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3802
3803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3804 multiarch implementations.
3805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3806 (__libc_ifunc_impl_list): Likewise.
3807 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3808 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3809 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3810 multiarch stpcpy for PPC64.
3811
38122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3813
3814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3815 multiarch implementations.
3816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3817 (__libc_ifunc_impl_list): Likewise.
3818 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3819 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3820 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3821 multiarch strcpy for PPC64.
3822
38232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3824
3825 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3826 redefine function name.
3827 (_wordcopy_fwd_dest_aligned): Likewise.
3828 (_wordcopy_bwd_aligned): Likewise.
3829 (_wordcopy_bwd_dest_aligned): Likewise.
3830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3831 multiarch implementations.
3832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3833 (__libc_ifunc_impl_list): Likewise.
3834 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3835 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3836 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3837 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3838 multiarch wcscpy for PPC64.
3839
38402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3841
3842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3843 multiarch implementations.
3844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3845 (__libc_ifunc_impl_list): Likewise.
3846 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3847 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3848 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3849 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3850 multiarch wcscpy for PPC64.
3851
38522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3853
3854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3855 multiarch implementations.
3856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3857 (__libc_ifunc_impl_list): Likewise.
3858 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3859 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3860 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3861 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3862 multiarch wcsrchr for PPC64.
3863
38642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3865
3866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3867 multiarch implementations.
3868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3869 (__libc_ifunc_impl_list): Likewise.
3870 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3871 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3872 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3873 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3874 multiarch wcschr for PPC64.
3875
38762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3877
3878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3879 multiarch implementations.
3880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3881 (__libc_ifunc_impl_list): Likewise.
3882 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3883 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3884 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3885 multiarch strchrnul for PPC64.
3886
38872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3888
3889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3890 implementations.
3891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3892 (__libc_ifunc_impl_list): Likewise.
3893 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3894 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3895 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3896 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3897 strchr for PPC64.
3898
38992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3900
3901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3902 implementations.
3903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3904 (__libc_ifunc_impl_list): Likewise.
3905 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3906 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3907 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3908 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3909 strncmp for PPC64.
3910
39112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3912
3913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3914 multiarch implementations.
3915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3916 (__libc_ifunc_impl_list): Likewise.
3917 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3918 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3919 strncasecmp for PPC64.
3920 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3921 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3922 multiarch strncasecmp_l for PPC64.
3923
39242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3925
3926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3927 multiarch implementations.
3928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3929 (__libc_ifunc_impl_list): Likewise.
3930 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3931 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3932 multiarch strcasecmp for PPC64.
3933 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3934 file.
3935 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3936 multiarch strcasecmp_l for PPC64.
3937
39382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3939
3940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3941 implementations.
3942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3943 (__libc_ifunc_impl_list): Likewise.
3944 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3945 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3946 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3947 strnlen for PPC64.
3948
39492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3950
3951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3952 implementations.
3953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3954 (__libc_ifunc_impl_list): Likewise.
3955 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3956 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3957 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3958 strlen for PPC64.
3959
39602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3961
3962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3963 implementations.
3964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3965 (__libc_ifunc_impl_list): Likewise.
3966 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3967 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3968 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3969 rawmemrchr for PPC64.
3970
39712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3972
3973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3974 implementation.
3975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3976 (__libc_ifunc_impl_list): Likewise.
3977 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3978 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3979 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3980 memrchr for PPC64.
3981
39822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3983
3984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3985 implementation.
3986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3987 (__libc_ifunc_impl_list): Likewise.
3988 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3989 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3990 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3991 memchr for PPC64.
3992
39932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3994
3995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3996 implementation.
3997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3998 (__libc_ifunc_impl_list): Likewise.
3999 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4000 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4001 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4002 mempcpy for PPC64.
4003
40042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4005
4006 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4007 avoid cretion of __bzero symbol.
4008 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
4009 Likewise.
4010 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
4011 Likewise.
4012 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
4013 Likewise.
4014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
4015 multiarch implementations.
4016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4017 (__libc_ifunc_impl_list): Likewise.
4018 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
4019 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
4020 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
4021 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
4022 bzero for PPC32.
4023 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
4024 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
4025 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
4026 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
4027 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
4028 memset for PPC64.
4029 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
4030
40312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4032
4033 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
4034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
4035 implementations.
4036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4037 (__libc_ifunc_impl_list): Likewise.
4038 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
4039 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
4040 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
4041 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
4042 memcmp for PPC64.
4043
40442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4045
4046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
4047 multiarch for POWER/PPC64.
4048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4049 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
4050 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
4051 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
4052 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
4053 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
4054 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
4055 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
4056 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
4057 memcpy for PPC64.
4058
40592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4060
4061 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
4062 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
4063 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
4064 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
4065 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
4066 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
4067 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
4068 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
4069 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
4070 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
4071 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
4072 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
4073 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
4074 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
4075 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
4076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
4077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
4078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
4079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
4080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
4081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
4082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
4083
40842013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4085
4086 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
4087
40882013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4089
4090 * benchtests/Makefile (bench): Add exp2 and log2.
4091 (LDLIBS-bench-exp2): Add -lm.
4092 (LDLIBS-bench-log2): Likewise.
4093 * benchtests/exp2-inputs: New inputs file.
4094 * benchtests/log2-inputs: New inputs file.
4095 * benchtests/log-inputs: Add new inputs.
4096 * benchtests/tan-inputs: Likewise.
4097
40982013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4099
4100 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
4101 definition...
4102 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
4103 csloww1, csloww2): ... from here.
4104
4105 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
4106 instead of structures.
4107 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
4108 (POLYNOMIAL): Likewise.
4109 (TAYLOR_SLOW): Likewise.
4110 (__sin): Likewise.
4111 (__cos): Likewise.
4112 (slow1): Likewise.
4113 (slow2): Likewise.
4114 (sloww): Likewise.
4115 (sloww1); Likewise.
4116 (sloww2): Likewise.
4117 (bsloww1): Likewise.
4118 (bsloww2): Likewise.
4119 (cslow2): Likewise.
4120 (csloww): Likewise.
4121 (csloww1): Likewise.
4122 (csloww2): Likewise.
4123
41242013-12-10 Ondřej Bílka <neleai@seznam.cz>
4125
4126 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
4127 (__malloc_assert, __libc_realloc, __libc_calloc,
4128 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
4129 memcpy and memset.
4130 * malloc/hooks.c (realloc_check): Likewise.
4131
41322013-12-10 Ondřej Bílka <neleai@seznam.cz>
4133
4134 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
4135 * malloc/arena.c: Remove PER_THREAD conditional.
4136 [!PER_THREAD]: Remove code.
4137 (ptmalloc_unlock_all2): Likewise.
4138 (ptmalloc_init): Likewise.
4139 (_int_new_arena): Likewise.
4140 (arena_get2): Likewise.
4141 * malloc/hooks.c (__malloc_get_state): Likewise.
4142 (__malloc_set_state): Likewise.
4143 * malloc/malloc.c: Likewise.
4144 (struct malloc_state): Likewise.
4145 (struct malloc_par): Likewise.
4146 (__libc_realloc): Likewise.
4147 (__libc_mallopt): Likewise.
4148
41492013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4150
4151 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
4152
41532013-12-09 Ondřej Bílka <neleai@seznam.cz>
4154
4155 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
4156 macro to a function. Check for zero perturb_byte.
4157 (_int_malloc, _int_free): Remove zero perturb_byte checks.
4158
41592013-12-09 Ondřej Bílka <neleai@seznam.cz>
4160
4161 * malloc/malloc.c: (force_reg): Remove.
4162 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
4163 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
4164 force_reg by atomic_forced_read.
4165 * malloc/arena.c (ptmalloc_init): Likewise.
4166 * malloc/hooks.c (top_check): Likewise.
4167
41682013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4169
4170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4171
41722013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
4173
4174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4175
41762013-12-08 Joseph Myers <joseph@codesourcery.com>
4177
4178 * math/auto-libm-test-in: Add tests of lgamma.
4179 * math/auto-libm-test-out: Regenerated.
4180 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
4181 (M_LOG_2_SQRT_PIl): Likewise.
4182 (lgamma_test_data): Use AUTO_TESTS_f_f1.
4183 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4184 mpfr_f_f1.
4185 (func_calc_desc): Add mpfr_f_f1 union field.
4186 (ARGS1): New macro.
4187 (ARGS2): Likewise.
4188 (ARGS3): Likewise.
4189 (ARGS4): Likewise.
4190 (RET1): Likewise.
4191 (RET2): Likewise.
4192 (CALC): Likewise.
4193 (FUNC): Likewise.
4194 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
4195 (test_functions): Add lgamma.
4196 (calc_generic_results): Handle mpfr_f_f1.
4197 * sysdeps/i386/fpu/libm-test-ulps: Update.
4198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4199
42002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4201
4202 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
4203 __mpn_add_n for PowerPC64/POWER7.
4204 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
4205 __mpn_sub_n for PowerPC64/POWER7.
4206
42072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4208
4209 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
4210 __mpn_addmul_1 for PowerPC64.
4211 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
4212 __mpn_submul_1 for PowerPC64.
4213 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
4214 for PowerPC64.
4215 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
4216 for PowerPC64.
4217
42182013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
4219
4220 [BZ #15089]
4221 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
4222
42232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4224
4225 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
4226
42272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4228
4229 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
4230 add multiarch folders.
4231 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
4232 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
4233 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
4234 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
4235 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
4236 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
4237 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
4238 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
4239 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
4240 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
4241 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
4244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
4246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
4247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
4248
42492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4250
4251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
4252 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
4253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
4254 New file.
4255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
4256 New file.
4257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
4258 multiarch __ieee754_hypot for PowerPC32.
4259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
4260 New file.
4261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
4262 New file.
4263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
4264 multiarch __ieee754_hypotf for PowerPC32.
4265
42662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4267
4268 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
4269 long_double_symbol only if __logbl is defined.
4270 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
4271 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
4272 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
4273 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
4274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
4275 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
4276 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
4277 path for implementation.
4278 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
4279 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
4280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
4281 logb, and logbl multiarch implementations for PowerPC32.
4282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
4283 file.
4284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
4285 file.
4286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
4287 multiarch logb for PowerPC32.
4288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
4289 file.
4290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
4291 file.
4292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
4293 multiarch logbf for PowerPC32.
4294 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
4295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
4296 file.
4297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
4298 multiarch logbl implementation for PowerPC32.
4299
43002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4301
4302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
4303 and modff multiarch implementations.
4304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
4305 New file.
4306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
4307 New file.
4308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
4309 multiarch modf for PowerPC32.
4310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
4311 New file.
4312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
4313 New file.
4314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
4315 multiarch modff for PowerPC32.
4316
43172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4318
4319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
4320 and lrintf multiarch implementations.
4321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
4322 New file.
4323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
4324 New file.
4325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
4326 multiarch lrint for PowerPC32.
4327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
4328 file: multiarch lrintf for PowerPC32.
4329
43302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4331
4332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
4333 and lroundf multiarch implementations.
4334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
4335 New file.
4336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
4337 New file.
4338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
4339 New file.
4340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
4341 multiarch lround for PowerPC32.
4342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
4343 file: multiarch lroundf for PowerPC32.
4344
43452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4346
4347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
4348 copysign and copysignf multiarch implementations.
4349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
4350 New file.
4351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
4352 New file.
4353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
4354 file: multiarch copysign for PowerPC32.
4355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
4356 file: multiarch copysignf for PowerPC32.
4357
43582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4359
4360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
4361 and truncf multiarch implementations.
4362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
4363 New file.
4364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
4365 file.
4366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
4367 multiarch trunc for PowerPC32.
4368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
4369 New file.
4370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4371 New file.
4372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
4373 multiarch truncf for PowerPC32.
4374
43752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4376
4377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
4378 and roundf multiarch implementations.
4379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
4380 New file.
4381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
4382 file.
4383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
4384 multiarch round for PowerPC32.
4385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
4386 New file.
4387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4388 New file.
4389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
4390 multiarch roundf for PowerPC32.
4391
43922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4393
4394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
4395 and floorf multiarch implementations.
4396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4397 New file.
4398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
4399 file.
4400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
4401 multiarch floor for PowerPC32.
4402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4403 New file.
4404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4405 New file.
4406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
4407 multiarch floorf for PowerPC32.
4408
44092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4410
4411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
4412 and ceilf multiarch implementations.
4413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4414 New file.
4415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
4416 file.
4417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
4418 multiarch ceil for PowerPC32.
4419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4420 New file.
4421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
4422 file.
4423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
4424 multiarch ceilf for PowerPC32.
4425
44262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4427
4428 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
4429 is defined.
4430 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
4431 FINITEF is defined.
4432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
4433 and finitef multiarch implementations.
4434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
4435 New file.
4436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
4437 file.
4438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
4439 multiarch finite for PowerPC32.
4440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
4441 New file.
4442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
4443 file: multiarch finitef for PowerPC32.
4444
44452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4446
4447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
4448 and isinff multiarch implementations.
4449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
4450 file.
4451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
4452 file.
4453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
4454 multiarch isinf for PowerPC32.
4455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
4456 New file.
4457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
4458 multiarch isinff for PowerPC32.
4459
44602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4461
4462 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
4463 alias when __isnan is defined.
4464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
4465 and isnanf multiarch implementations.
4466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
4467 file.
4468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
4469 file.
4470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
4471 file.
4472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
4473 file.
4474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
4475 multiarch isnan for PowerPC32.
4476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
4477 New file.
4478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
4479 New file.
4480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
4481 multiarch isnanf for PowerPC32.
4482
44832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4484
4485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
4486 and sqrtf multiarch implementations.
4487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
4488 file.
4489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
4490 file.
4491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
4492 multiarch sqrt for PowerPC32.
4493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
4494 file.
4495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
4496 file.
4497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
4498 multiarch sqrtf for PowerPC32.
4499
45002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4501
4502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
4503 and llroundf multiarch implementations.
4504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
4505 New file.
4506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
4507 New file.
4508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
4509 New file.
4510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
4511 file: multiarch llround for PowerPC32.
4512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
4513 file: multiarch llroundf for PowerPC32.
4514
45152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4516
4517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4518 multiarch PowerPC32 fpu implementations.
4519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4520 New file.
4521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4522 New file.
4523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4524 multiarch llrint for PowerPC32.
4525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4526 New file.
4527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4528 New file.
4529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4530 file.
4531
45322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4533
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4535
45362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4537
4538 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4539 file.
4540 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4541 file.
4542 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4543 file.
4544 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4545 multiarch wordcopy for PPC32.
4546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4547 wordcopy objects.
4548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4549 (__libc_ifunc_impl_list): Likewise.
4550 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4551 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4552 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4553 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4554 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4555 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4556
45572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4558
4559 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4561 file.
4562 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4563 file.
4564 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4565 file.
4566 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4567 multiarch wcscpy for PPC32.
4568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4569 multiarch objects.
4570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4571 (__libc_ifunc_impl_list): Likewise.
4572 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4573 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4574 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4575 sysdeps/powerpc/power6/wcscpy.c.
4576
45772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4578
4579 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4581 file.
4582 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4583 file.
4584 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4585 file.
4586 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4587 multiarch wcsrchr for PPC32.
4588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4589 multiarch objects.
4590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4591 (__libc_ifunc_impl_list): Likewise.
4592 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4593 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4594 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4595 sysdeps/powerpc/power6/wcsrchr.c.
4596
45972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4598
4599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4600 file.
4601 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4602 file.
4603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4604 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4605 multiarch wcschr for PPc32.
4606 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4607 multiarch objects.
4608 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4609 (__libc_ifunc_impl_list): Likewise.
4610 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4611 * sysdeps/powerpc/power6/wcschr.c: ... to here.
4612 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4613 sysdeps/powerpc/power6/wcschr.c.
4614
46152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4616
4617 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4618 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4619 file.
4620 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4621 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4622 file: multiarch strchr for PPC32.
4623 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4624 multiarch objects.
4625 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4626 (__libc_ifunc_impl_list): Likewise.
4627
46282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4629
4630 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4631 name.
4632 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4633 file.
4634 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4635 file.
4636 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4637 multiarch strchrnul for PPC32.
4638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4639 multiarch objects.
4640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4641 (__libc_ifunc_impl_list): Likewise.
4642
46432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4644
4645 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4646 file.
4647 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4648 multiarch strncasecmp for PPC32.
4649 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4650 file.
4651 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4652 multiarch strncasecmp_l for PPC32.
4653 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4654 strncasecmp multiarch objects.
4655 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4656 (__libc_ifunc_impl_list): Likewise.
4657
46582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4659
4660 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4661 file.
4662 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4663 multiarch strncasecmp for PPC32.
4664 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4665 New file.
4666 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4667 multiarch strcasecmp_l for PPC32.
4668 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4669 multiarch objects.
4670 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4671 (__libc_ifunc_impl_list): Likewise.
4672
46732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4674
4675 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4676 file.
4677 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4678 file.
4679 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4680 multiarch strncmp for PPC32.
4681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4682 multiarch objects.
4683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4684 (__libc_ifunc_impl_list): Likewise.
4685
46862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4687
4688 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4689 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4690 file.
4691 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4692 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4693 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4694 multiarch objects.
4695 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4696 (__libc_ifunc_impl_list): Likewise.
4697
46982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4699
4700 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4701 file.
4702 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4703 file.
4704 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4706 multiarch objects.
4707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4708 (__libc_ifunc_impl_list): Likewise.
4709
47102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4711
4712 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4713 file.
4714 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4715 file.
4716 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4717 multiarch rawmemchr for PPC32.
4718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4719 multiarch objects.
4720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4721 (__libc_ifunc_impl_list): Likewise.
4722
47232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4724
4725 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4726 file.
4727 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4728 file.
4729 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4730 file: memrchr multiarch for PPC32.
4731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4732 multiarch objects.
4733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4734 (__libc_ifunc_impl_list): Likewise.
4735
47362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4737
4738 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4739 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4740 file.
4741 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4742 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4743 multiarch memchr for PPC32.
4744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4745 multiarch objects.
4746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4747 (__libc_ifunc_impl_list): Likewise.
4748
47492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4750
4751 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4752 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4753 file.
4754 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4755 file.
4756 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4757 file: multiarch mempcpy for PPC32.
4758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4759 multiarch objects.
4760 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4761 (__libc_ifunc_impl_list): Likewise.
4762
47632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4764
4765 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4766 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4767 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4768 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4769 multiarch bzero for PPC32.
4770 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4771 file.
4772 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4773 file.
4774 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4775 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4776 file: multiarch memset for PPC32.
4777 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4779 memset multiarch objects.
4780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4781 (__libc_ifunc_impl_list): Likewise.
4782
47832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4784
4785 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4786 file.
4787 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4788 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4789 memcmp for PPC32.
4790 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4792 multiarch objects.
4793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4794 (__libc_ifunc_impl_list): Likewise.
4795
47962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4797
4798 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4800 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4801 file.
4802 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4803 file.
4804 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4805 file.
4806 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4807 multiarch memcpy for PPC32.
4808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4809 multiarch objects.
4810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4811 (__libc_ifunc_impl_list): Likewise.
4812
48132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4814
4815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4816 support multiarch for POWER/PPC32.
4817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4818 Likewise.
4819 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4821 Implies file to make multiarch folder appers before the fpu and
4822 default folder for power4 configuration.
4823
48242013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4825
4826 * scripts/bench.pl: Append volatile keyword to type.
4827
48282013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4829
4830 * sysdeps/sh/sotruss-lib.c: New file.
4831 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4832
48332013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4834
4835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4836
48372013-12-05 Joseph Myers <joseph@codesourcery.com>
4838
4839 [BZ #6810]
4840 * math/w_tgamma.c: Include <errno.h>.
4841 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4842 * math/w_tgammaf.c: Include <errno.h>.
4843 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4844 * math/w_tgammal.c: Include <errno.h>.
4845 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4846 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4847 underflow. Add more tgamma tests.
4848 * math/auto-libm-test-out: Regenerated.
4849 * sysdeps/i386/fpu/libm-test-ulps: Update.
4850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4851
4852 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4853 sin, sinh, tan, tanh, tgamma, y0 and y1.
4854 * math/auto-libm-test-out: Regenerated.
4855 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4856 (TEST_COND_x86): Likewise.
4857 (M_E2l): Remove macro.
4858 (M_E3l): Likewise.
4859 (M_2_SQRT_PIl): Likewise.
4860 (M_SQRT_PIl): Likewise.
4861 (M_1_DIV_El): Likewise.
4862 (log_test_data): Use AUTO_TESTS_f_f.
4863 (log10_test_data): Likewise.
4864 (log1p_test_data): Likewise.
4865 (log2_test_data): Likewise.
4866 (sin_test_data): Likewise.
4867 (sin_tonearest_test_data): Likewise.
4868 (sin_towardzero_test_data): Likewise.
4869 (sin_downward_test_data): Likewise.
4870 (sin_upward_test_data): Likewise.
4871 (sinh_test_data): Likewise.
4872 (sinh_tonearest_test_data): Likewise.
4873 (sinh_towardzero_test_data): Likewise.
4874 (sinh_downward_test_data): Likewise.
4875 (sinh_upward_test_data): Likewise.
4876 (tan_test_data): Likewise.
4877 (tan_tonearest_test_data): Likewise.
4878 (tan_towardzero_test_data): Likewise.
4879 (tan_downward_test_data): Likewise.
4880 (tan_upward_test_data): Likewise.
4881 (tanh_test_data): Likewise.
4882 (tgamma_test_data): Likewise.
4883 (y0_test_data): Likewise.
4884 (y1_test_data): Likewise.
4885 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4886 (special_real_inputs): Add pi/4.
4887 * sysdeps/i386/fpu/libm-test-ulps: Update.
4888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4889
48902013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4891
4892 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4893 "longjmp_target" static probes.
4894 (__longjmp): Rename to __longjmp_symbol.
4895 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4896 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4897 on which longjmp to generate.
4898 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4899 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4900 probe.
4901 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4902 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4903 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4904 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4905 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4906 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4908 __longjmp_symbol based on which __longjmp to generate.
4909 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4910 probe.
4911 (setjmp): Rename to setjmp_symbol.
4912 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4913 (_setjmp): Rename to _setjmp_symbol.
4914 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4915 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4916 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4917 which setjmp to generate.
4918 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4919 "longjmp_target" static probes.
4920
49212013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4922
4923 * benchtests/README: Add note about output arguments.
4924 * benchtests/bench-sincos.c: Remove file.
4925 * benchtests/sincos-inputs: New file.
4926 * scripts/bench.pl: Identify output arguments and define
4927 static variables for them.
4928
4929 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4930
4931 [BZ #15941]
4932 * Makefile (INSTALL): Add install-plain.texi as the primary
4933 dependency.
4934 * manual/install-plain.texi: New file.
4935 * manual/install.texi: Include node directive only for
4936 non-plaintext output.
4937
49382013-12-04 Joseph Myers <joseph@codesourcery.com>
4939
4940 * stdlib/longlong.h: Update from GCC.
4941
4942 [BZ #6807]
4943 [BZ #15901]
4944 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4945 * math/w_j0f.c (y0f): Likewise.
4946 * math/w_j0l.c (__y0l): Likewise.
4947 * math/w_j1.c (y1): Likewise.
4948 * math/w_j1f.c (y1f): Likewise.
4949 * math/w_j1l.c (__y1l): Likewise
4950 * math/w_jn.c (yn): Likewise.
4951 * math/w_jnf.c (ynf): Likewise.
4952 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4953 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4954 value for Bessel function domain errors outside _SVID_ mode.
4955 Adjust sign of return value for yn (negative integer, 0).
4956 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4957 by zero in return for negative x and set sign appropriately for
4958 negative n.
4959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4960 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4961 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4962 expectations in error cases.
4963 (y1_test_data): Likewise.
4964 (yn_test_data): Likewise.
4965 * sysdeps/i386/fpu/libm-test-ulps: Update.
4966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4967
49682013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4969
4970 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4971 "64" to "64-v1". Add "64-v2".
4972 (abi-64-options): Rename to ...
4973 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4974 (abi-64-condition): Rename to ...
4975 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4976 (abi-64-ld-soname): Rename to ...
4977 (abi-64-v1-ld-soname): ... this.
4978 (abi-64-v2-options): Define.
4979 (abi-64-v2-condition): Likewise.
4980 (abi-64-v2-ld-soname): Likewise.
4981 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4982 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4986
49872013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4988 Alan Modra <amodra@gmail.com>
4989
4990 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4991 New versions for use with the ELFv2 ABI.
4992 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4993 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4994 declaration.
4995 (struct La_ppc64v2_retval): Likewise.
4996 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4997 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4998 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4999 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5000 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5001 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5002 Do not save or restore CR.
5003 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5004 (_dl_profile_resolve): Do no save or restore CR. Support extended
5005 return values for ELFv2 ABI. Fix location of FPR return registers.
5006 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
5007 updated values for _CALL_ELF == 2.
5008 (La_regs, La_retval, int_retval): Likewise.
5009
50102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5011
5012 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
5013 (FRAME_MIN_SIZE_PARM): Likewise.
5014 (FRAME_BACKCHAIN): Likewise.
5015 (FRAME_CR_SAVE): Likewise.
5016 (FRAME_LR_SAVE): Likewise.
5017 (FRAME_TOC_SAVE): Likewise.
5018 (FRAME_PARM_SAVE): Likewise.
5019 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5020 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5021 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5022 (call_mcount_parm_offset): New macro.
5023 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
5024 (PROF): Use symbolic stack frame offsets.
5025 (TAIL_CALL_SYSCALL_ERROR): Likewise.
5026 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
5027 Redefine in terms of FRAME_MIN_SIZE.
5028 (_dl_runtime_resolve): Use symbolic stack frame offsets.
5029 (_dl_profile_resolve): Likewise. Update comment.
5030 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
5031 symbols stack frame offsets.
5032 (__sigsetjmp): Likewise.
5033 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
5034 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
5035 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
5036 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
5037
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
5039 (FRAME_BACKCHAIN): Remove.
5040 (FRAME_CR_SAVE): Likewise.
5041 (FRAME_LR_SAVE): Likewise.
5042 (FRAME_COMPILER_DW): Likewise.
5043 (FRAME_LINKER_DW): Likewise.
5044 (FRAME_TOC_SAVE): Likewise.
5045 (FRAME_PARM_SAVE): Likewise.
5046 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5047 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5048 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
5050 (CHECK_SP): Use symbolic stack frame offsets.
5051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
5052 zone" instead of caller's parameter save area for temp storage.
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5054 Likewise. Also, use symbolic stack frame offsets.
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
5056 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
5057 our own stack frame instead of the caller's.
5058 (__socket): Use symbolic stack frame offsets.
5059
50602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5061 Alan Modra <amodra@gmail.com>
5062
5063 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
5064 Define.
5065 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
5066 PPC64_LOCAL_ENTRY_OFFSET): Define.
5067 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
5068 New function.
5069 (elf_machine_fixup_plt): Call it.
5070 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
5071 reloc arguments.
5072 (elf_machine_rela): Update call to elf_machine_plt_conflict.
5073 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5074 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
5075 r2 before calling target.
5076
50772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5078 Alan Modra <amodra@gmail.com>
5079
5080 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
5081 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
5082 versions of macros to support ELFv2 ABI.
5083 (LOCALENTRY): New macro.
5084 (ENTRY, EALIGN): Use it.
5085 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
5086 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
5087 fall through into ENTRY entry point.
5088 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
5089 Only define if _CALL_ELF != 2.
5090
5091 (elf_machine_matches_host): Verify ABI version matches.
5092 (RTLD_START): Use LOCALENTRY.
5093 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
5094 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
5095 (PLT_ENTRY_WORDS): New macro.
5096 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
5097 (elf_machine_runtime_setup): Support ELFv2 ABI.
5098 (elf_machine_fixup_plt): Likewise.
5099 (elf_machine_plt_conflict): Likewise.
5100 (resolve_ifunc): Likewise.
5101 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5102 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5103 Likewise.
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
5105 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
5106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5107 (makecontext): Support ELFv2 ABI.
5108 * elf/elf.h (EF_PPC64_ABI): Define.
5109
51102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5111
5112 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
5113 New assembler macro.
5114 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
5115 [ASSEMBLER] (ENTRY): ... but instead here ...
5116 [ASSEMBLER] (EALIGN): ... and here.
5117 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
5118 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
5119 [!ASSEMBLER] (ENTRY_2): Use it.
5120 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
5121 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
5122 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5123 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
5124 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
5126 Use PPC64_LOAD_FUNCPTR.
5127
51282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5129
5130 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
5131
51322013-12-04 Alan Modra <amodra@gmail.com>
5133
5134 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
5135 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
5136 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
5137 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
5138
5139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
5140 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
5141 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
5142 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
5143 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
5144 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
5145
51462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5147
5148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5149 (__makecontext): Fix incorrect CFI when backtracing out of
5150 context created via makecontext.
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
5152 (__setcontext): Fix incorrect CFI during switch to new context.
5153 (__novec_setcontext): Likewise.
5154
51552013-12-04 Ondřej Bílka <neleai@seznam.cz>
5156
5157 [BZ #4772]
5158 * time/strptime_l.c (__strptime_internal): Allow modifiers
5159 in strptime.
5160 * time/tst-strptime.c (day_tests): Add testcase.
5161
5162
51632013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5164
5165 * scripts/bench.pl: Skip over blank lines.
5166
51672013-12-04 Paul Eggert <eggert@cs.ucla.edu>
5168
5169 [BZ #926]
5170 * manual/time.texi (Calendar Time): Clarify what timezone functions
5171 use.
5172
51732013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5174
5175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5176
51772013-12-04 Ondřej Bílka <neleai@seznam.cz>
5178
5179 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
5180 implementation.
5181 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5182 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5183 * debug/memset_chk.c (__memset_chk): Likewise.
5184 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
5185 * debug/strncpy_chk.c: Likewise.
5186
51872013-12-03 Joseph Myers <joseph@codesourcery.com>
5188
5189 [BZ #15268]
5190 [BZ #15425]
5191 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
5192 (__ieee754_exp): For possibly underflowing results, check size of
5193 result and force underflow exception if required.
5194 * math/auto-libm-test-in: Add more tests of exp.
5195 * math/auto-libm-test-out: Regenerated.
5196 * sysdeps/i386/fpu/libm-test-ulps: Update.
5197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5198
5199 [BZ #16283]
5200 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
5201 * math/w_exp2f.c (__exp2f): Likewise.
5202 * math/w_exp2l.c (__exp2l): Likewise.
5203 * math/auto-libm-test-in: Do not allow missing errno on exp2
5204 underflow.
5205 * math/auto-libm-test-out: Regenerated.
5206
52072013-12-03 Ondřej Bílka <neleai@seznam.cz>
5208
5209 [BZ #16274]
5210 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
5211 handle filename validation.
5212 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
5213 (do_open): Delete.
5214
52152013-12-03 Joseph Myers <joseph@codesourcery.com>
5216
5217 [BZ #6786]
5218 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
5219 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
5220 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
5221 <float.h>.
5222 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
5223 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
5224 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5225 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
5226 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5227 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
5228 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5229 * math/auto-libm-test-in: Don't allow missing errno from erfc.
5230 Add more erfc tests.
5231 * math/auto-libm-test-out: Regenerated.
5232 * sysdeps/i386/fpu/libm-test-ulps: Update.
5233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5234
5235 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
5236 exp2, expm1, j0 and j1.
5237 * math/auto-libm-test-out: Regenerated.
5238 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
5239 (erfc_test_data): Likewise.
5240 (exp_test_data): Likewise.
5241 (exp_tonearest_test_data): Likewise.
5242 (exp_towardzero_test_data): Likewise.
5243 (exp_downward_test_data): Likewise.
5244 (exp_upward_test_data): Likewise.
5245 (exp10_test_data): Likewise.
5246 (exp2_test_data): Likewise.
5247 (expm1_test_data): Likewise.
5248 (j0_test_data): Likewise.
5249 (j1_test_data): Likewise.
5250 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
5251 (input_flag_type): Add flag_xfail_rounding.
5252 (input_flags): Add xfail-rounding.
5253 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
5254 (output_for_one_input_case): Handle flag_xfail_rounding.
5255 * sysdeps/i386/fpu/libm-test-ulps: Update.
5256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5257
52582013-12-03 Aurelien Jarno <aurelien@aurel32.net>
5259
5260 [BZ #16289]
5261 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
5262 division by 0.
5263
52642013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5265
5266 [BZ #16195]
5267 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5268 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
5269 (STAP_PROBE0): New macro.
5270 (STAP_PROBE1): Likewise.
5271 (STAP_PROBE2): Likewise.
5272 (STAP_PROBE3): Likewise.
5273 (STAP_PROBE4): Likewise.
5274
52752013-12-02 Ondřej Bílka <neleai@seznam.cz>
5276
5277 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
5278
52792013-12-02 Steve Ellcey <sellcey@mips.com>
5280
5281 * benchtests/Makefile (bench): Add sqrt.
5282 (LDLIBS-bench-sqrt): New.
5283 * benchtests/sqrt-input: New.
5284
52852013-12-02 Pavel Simerda <psimerda@redhat.com>
5286
5287 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
5288 (GAIH_EAI): Likewise.
5289 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
5290 (gaih_inet): Likewise.
5291 (getaddrinfo): Don't use GAIH_EAI.
5292
5293 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
5294 (struct gaih): Remove definition.
5295
52962013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5297
5298 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
5299 Use HERRNOP directly.
5300
53012013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5302
5303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5304
53052013-11-30 Joseph Myers <joseph@codesourcery.com>
5306
5307 * math/gen-auto-libm-tests.c (test_functions): Add more
5308 single-argument functions.
5309 (special_fill_pi_2): New function.
5310 (special_fill_minus_pi_2): Likewise.
5311 (special_fill_pi_6): Likewise.
5312 (special_fill_minus_pi_6): Likewise.
5313 (special_fill_pi_3): Likewise.
5314 (special_fill_2pi_3): Likewise.
5315 (special_fill_e): Likewise.
5316 (special_fill_1_e): Likewise.
5317 (special_fill_e_minus_1): Likewise.
5318 (special_real_inputs): Add more special inputs.
5319 (output_for_one_input_case): Do not require ERANGE on underflow to
5320 zero if round-to-nearest result does not underflow to zero, unless
5321 exact results required.
5322 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
5323 atan, atanh, cbrt, cos and cosh.
5324 * math/auto-libm-test-out: Regenerated.
5325 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
5326 (acos_tonearest_test_data): Likewise.
5327 (acos_towardzero_test_data): Likewise.
5328 (acos_downward_test_data): Likewise.
5329 (acos_upward_test_data): Likewise.
5330 (acosh_test_data): Likewise.
5331 (asin_test_data): Likewise.
5332 (asin_tonearest_test_data): Likewise.
5333 (asin_towardzero_test_data): Likewise.
5334 (asin_upward_test_data): Likewise.
5335 (asinh_test_data): Likewise.
5336 (atan_test_data): Likewise.
5337 (atanh_test_data): Likewise.
5338 (cbrt_test_data): Likewise.
5339 (cos_test_data): Likewise.
5340 (cos_tonearest_test_data): Likewise.
5341 (cos_towardzero_test_data): Likewise.
5342 (cos_downward_test_data): Likewise.
5343 (cos_upward_test_data): Likewise.
5344 (cosh_test_data): Likewise.
5345 (cosh_tonearest_test_data): Likewise.
5346 (cosh_towardzero_test_data): Likewise.
5347 (cosh_downward_test_data): Likewise.
5348 (cosh_upward_test_data): Likewise.
5349 * sysdeps/i386/fpu/libm-test-ulps: Update.
5350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5351
53522013-11-29 Joseph Myers <joseph@codesourcery.com>
5353
5354 [BZ #6787]
5355 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
5356 * math/w_exp10f.c (__exp10f): Likewise.
5357 * math/w_exp10l.c (__exp10l): Likewise.
5358 * math/libm-test.inc (exp10_test_data): Add more tests and expect
5359 errno settings in existing tests.
5360
5361 [BZ #14032]
5362 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
5363 precision control set to double precision.
5364 * sysdeps/i386/fpu/w_sqrt.c: New file.
5365 * math/auto-libm-test-in: Add more tests.
5366 * math/auto-libm-test-out: Update.
5367
5368 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
5369 (sqrt_test_tonearest): New function.
5370 (sqrt_towardzero_test_data): New variable.
5371 (sqrt_test_towardzero): New function.
5372 (sqrt_downward_test_data): New variable.
5373 (sqrt_test_downward): New function.
5374 (sqrt_upward_test_data): New variable.
5375 (sqrt_test_upward): New function.
5376 (main): Call the new functions.
5377
5378 * math/gen-auto-libm-tests.c: New file.
5379 * math/auto-libm-test-in: Likewise.
5380 * math/auto-libm-test-out: New generated file.
5381 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
5382 variables.
5383 (%beautify): Add generated representations of zero.
5384 (top level): Set $auto_input and call parse_auto_input.
5385 (beautify): Remove trailing "f" from hex float constants.
5386 (parse_args): Handle XFAIL_TEST.
5387 (convert_condition): New function.
5388 (or_value): Likewise.
5389 (or_cond_value): Likewise.
5390 (generate_testfile): Handle AUTO_TESTS_* lines.
5391 (parse_auto_input): New function.
5392 * math/libm-test.inc (XFAIL_TEST): New macro.
5393 (ERRNO_UNCHANGED): Update value.
5394 (ERRNO_EDOM): Likewise.
5395 (ERRNO_ERANGE): Likewise.
5396 (IGNORE_RESULT): Likewise.
5397 (TEST_COND_flt_32): New macro.
5398 (TEST_COND_dbl_64): Likewise.
5399 (TEST_COND_ldbl_96_intel): Likewise.
5400 (TEST_COND_ldbl_96_m68k): Likewise.
5401 (TEST_COND_ldbl_128): Likewise.
5402 (TEST_COND_ldbl_128ibm): Likewise.
5403 (TEST_COND_long32): Likewise.
5404 (TEST_COND_long64): Likewise.
5405 (TEST_COND_before_rounding): Likewise.
5406 (TEST_COND_after_rounding): Likewise.
5407 (enable_test): Handle XFAIL_TEST flag.
5408 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
5409 with finite results.
5410 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
5411 auto-libm-test-out.
5412
54132013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5414 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5415
5416 [BZ #16214]
5417 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
5418 __tls_get_addr_internal instead of __tls_get_offset in order to
5419 avoid GOT pointer dependency. Make rtld export
5420 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
5421 __tls_get_addr since we are a __tls_get_offset platform.
5422 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
5423 GOT pointer being set up before.
5424 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
5425
54262013-11-28 Joseph Myers <joseph@codesourcery.com>
5427
5428 * manual/math.texi (Errors in Math Functions): Document accuracy
5429 goals.
5430
5431 [BZ #15004]
5432 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
5433 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5436 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5438 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5444 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5448
5449 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
5450 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
5451 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
5452 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
5453 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
5454 Likewise.
5455 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
5456 Likewise.
5457 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
5458 Likewise.
5459 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
5460 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
5461 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
5462 atomic-feupdateenv and flt-rounds.
5463 * sysdeps/powerpc/nofpu/Versions (libc): Add
5464 __atomic_feholdexcept, __atomic_feclearexcept,
5465 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
5466 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
5467 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
5468 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
5469 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
5470 here.
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5472 Update.
5473
5474 * manual/arith.texi (FP Exceptions): Document that exceptions may
5475 not be raised when matherr is used.
5476 (Math Error Reporting): Document overflow in directed rounding
5477 modes. Document that errno may not be set when finite values are
5478 returned on overflow. Document intent to set errno on underflow
5479 only for underflow to zero.
5480
5481 [BZ #16271]
5482 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
5483 round-to-nearest then adjust result for other rounding modes.
5484 * include/fenv.h (fegetround): Use libm_hidden_proto.
5485 * math/fegetround.c (fegetround): Use libm_hidden_def.
5486 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5487 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5488 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5489 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5490 Likewise.
5491 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
5492 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5493 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5494 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
5495
54962013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5497
5498 [BZ #16077]
5499 * nss/Versions (libnss_files): Add
5500 _nss_files_gethostbyname3_r.
5501 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
5502 New function.
5503 (HOST_DB_LOOKUP): Remove macro.
5504 (_nss_files_gethostbyname_r): Implement function without the
5505 HOST_DB_LOOKUP macro.
5506 (_nss_files_gethostbyname2_r): Likewise.
5507
55082013-11-28 Ondřej Bílka <neleai@seznam.cz>
5509
5510 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
5511
55122013-11-26 Uros Bizjak <ubizjak@gmail.com>
5513
5514 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
5515 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5516 warning.
5517
55182013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5519
5520 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5521 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5522 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5523 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5524 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5525 __fe_nomask_env_priv and attribute_hidden.
5526 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5527 (libc_feupdateenv_test_ppc): Likewise.
5528 (libc_feresetround_ppc): Likewise.
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5530 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5531 compat_symbol macro.
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5533 (__fe_nomask_env): Likewise.
5534 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5535
55362013-11-26 Ondřej Bílka <neleai@seznam.cz>
5537
5538 * string/Makefile: Remove ifunc tests.
5539 * string/test-string.h: Define TEST_IFUNC.
5540 * string/test-bcopy-ifunc.c: Remove.
5541 * string/test-bzero-ifunc.c: Likewise.
5542 * string/test-memccpy-ifunc.c: Likewise.
5543 * string/test-memchr-ifunc.c: Likewise.
5544 * string/test-memcmp-ifunc.c: Likewise.
5545 * string/test-memcpy-ifunc.c: Likewise.
5546 * string/test-memmem-ifunc.c: Likewise.
5547 * string/test-memmove-ifunc.c: Likewise.
5548 * string/test-mempcpy-ifunc.c: Likewise.
5549 * string/test-memrchr-ifunc.c: Likewise.
5550 * string/test-memset-ifunc.c: Likewise.
5551 * string/test-rawmemchr-ifunc.c: Likewise.
5552 * string/test-stpcpy-ifunc.c: Likewise.
5553 * string/test-stpncpy-ifunc.c: Likewise.
5554 * string/test-strcasecmp-ifunc.c: Likewise.
5555 * string/test-strcasestr-ifunc.c: Likewise.
5556 * string/test-strcat-ifunc.c: Likewise.
5557 * string/test-strchr-ifunc.c: Likewise.
5558 * string/test-strchrnul-ifunc.c: Likewise.
5559 * string/test-strcmp-ifunc.c: Likewise.
5560 * string/test-strcpy-ifunc.c: Likewise.
5561 * string/test-strcspn-ifunc.c: Likewise.
5562 * string/test-strlen-ifunc.c: Likewise.
5563 * string/test-strncasecmp-ifunc.c: Likewise.
5564 * string/test-strncat-ifunc.c: Likewise.
5565 * string/test-strncmp-ifunc.c: Likewise.
5566 * string/test-strncpy-ifunc.c: Likewise.
5567 * string/test-strnlen-ifunc.c: Likewise.
5568 * string/test-strpbrk-ifunc.c: Likewise.
5569 * string/test-strrchr-ifunc.c: Likewise.
5570 * string/test-strspn-ifunc.c: Likewise.
5571 * string/test-strstr-ifunc.c: Likewise.
5572
55732013-11-26 Ondřej Bílka <neleai@seznam.cz>
5574
5575 * benchtests/Makefile: Remove ifunc tests.
5576 * benchtests/bench-string.h: Define TEST_IFUNC.
5577 * benchtests/bench-bcopy-ifunc.c: Remove.
5578 * benchtests/bench-bzero-ifunc.c: Likewise.
5579 * benchtests/bench-memccpy-ifunc.c: Likewise.
5580 * benchtests/bench-memchr-ifunc.c: Likewise.
5581 * benchtests/bench-memcmp-ifunc.c: Likewise.
5582 * benchtests/bench-memcpy-ifunc.c: Likewise.
5583 * benchtests/bench-memmem-ifunc.c: Likewise.
5584 * benchtests/bench-memmove-ifunc.c: Likewise.
5585 * benchtests/bench-mempcpy-ifunc.c: Likewise.
5586 * benchtests/bench-memrchr-ifunc.c: Likewise.
5587 * benchtests/bench-memset-ifunc.c: Likewise.
5588 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5589 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5590 * benchtests/bench-stpcpy-ifunc.c: Likewise.
5591 * benchtests/bench-stpncpy-ifunc.c: Likewise.
5592 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5593 * benchtests/bench-strcasestr-ifunc.c: Likewise.
5594 * benchtests/bench-strcat-ifunc.c: Likewise.
5595 * benchtests/bench-strchr-ifunc.c: Likewise.
5596 * benchtests/bench-strchrnul-ifunc.c: Likewise.
5597 * benchtests/bench-strcmp-ifunc.c: Likewise.
5598 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5599 * benchtests/bench-strcpy-ifunc.c: Likewise.
5600 * benchtests/bench-strcspn-ifunc.c: Likewise.
5601 * benchtests/bench-strlen-ifunc.c: Likewise.
5602 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5603 * benchtests/bench-strncat-ifunc.c: Likewise.
5604 * benchtests/bench-strncmp-ifunc.c: Likewise.
5605 * benchtests/bench-strncpy-ifunc.c: Likewise.
5606 * benchtests/bench-strnlen-ifunc.c: Likewise.
5607 * benchtests/bench-strpbrk-ifunc.c: Likewise.
5608 * benchtests/bench-strrchr-ifunc.c: Likewise.
5609 * benchtests/bench-strsep-ifunc.c: Likewise.
5610 * benchtests/bench-strspn-ifunc.c: Likewise.
5611 * benchtests/bench-strstr-ifunc.c: Likewise.
5612
56132013-11-26 Ondřej Bílka <neleai@seznam.cz>
5614
5615 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5616
56172013-11-26 Ondřej Bílka <neleai@seznam.cz>
5618
5619 * resolv/netdb.h: Use __glibc_reserved instead __unused.
5620 * rt/aio.h: Likewise.
5621 * sysdeps/gnu/bits/utmp.h: Likewise.
5622 * sysdeps/gnu/bits/utmpx.h: Likewise.
5623 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5624 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5625 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5626 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5627 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5628 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5629 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5630 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5631 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5632 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5633 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5634 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5635 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5637 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5638 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5639 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5640 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5641 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5642 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5643 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5644 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5645 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5646 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5647 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5649 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5650 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5651 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5652 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5653 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5654 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5655 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5656 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5657 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5658 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5659 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5660 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5661 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5662 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5663 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5664 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5665
56662013-11-25 Carlos O'Donell <carlos@redhat.com>
5667
5668 [BZ #16245]
5669 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5670 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5671
56722013-11-25 Joseph Myers <joseph@codesourcery.com>
5673
5674 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5675 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5676 Likewise.
5677
56782013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5679
5680 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5681 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5682 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5683 (__fesetround): Remove define.
5684 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5685 rounding and exceptions handling.
5686 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5687 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5688 (__fe_nomask_env): Likewise.
5689 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5690 __fegetround instead of fegetround.
5691 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5692 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5693
56942013-11-21 Roland McGrath <roland@hack.frob.com>
5695
5696 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5697 it's there.
5698
5699 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5700
57012013-11-21 Meador Inge <meadori@codesourcery.com>
5702
5703 [BZ #11157]
5704 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5705 (encrypt_r): Likewise.
5706 * malloc/obstack.h (obstack_free): Likewise.
5707 * posix/unistd.h (encrypt): Likewise.
5708
57092013-11-21 Guy Martin <gmsoft@tuxicoman.be>
5710
5711 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5712 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5713 DL_CALL_DT_FINI() that call the functions directly.
5714 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5715 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5716 * elf/dl-fini.c: Likewise.
5717
57182013-11-20 Ondřej Bílka <neleai@seznam.cz>
5719
5720 * malloc/hooks.c (memalign_check): Add alignment rounding.
5721 * malloc/malloc.c (_mid_memalign): New function.
5722 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5723 Implement by calling _mid_memalign.
5724 * manual/probes.texi (Memory Allocation Probes): Remove
5725 memory_valloc_retry and memory_pvalloc_retry.
5726
57272013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5728
5729 * locale/programs/locarchive.c (open_archive): Add const
5730 qualifier to ARCHIVEFNAME and copy default fname to
5731 DEFAULT_FNAME.
5732
5733 [BZ #15601]
5734 * libio/tst-widetext.input: Rename Oriya to Odia.
5735 * locale/iso-639.def: Likewise.
5736
5737 * manual/probes.texi (Mathematical Function Probes): Add
5738 documentation for sin, cos, asin and acos probes.
5739 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5740 (__sin32): Add slowasin probe.
5741 (__cos32): Add slowacos probe.
5742 (__mpsin): Add slowsin probe.
5743 (__mpcos): Add slowcos probe.
5744
57452013-11-19 Joseph Myers <joseph@codesourcery.com>
5746
5747 [BZ #15483]
5748 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5749 thread-local __sim_exceptions_thread and global
5750 __sim_exceptions_global.
5751 (__sim_disabled_exceptions): Change to thread-local
5752 __sim_disabled_exceptions_thread and global
5753 __sim_disabled_exceptions_global.
5754 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5755 and global __sim_round_mode_global.
5756 (__simulate_exceptions): Use thread-local floating-point state and
5757 set global state from it as needed.
5758 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5759 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5760 __sim_round_mode_thread.
5761 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5762 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5763 and global __sim_exceptions_global.
5764 (__sim_disabled_exceptions): Change to thread-local
5765 __sim_disabled_exceptions_thread and global
5766 __sim_disabled_exceptions_global.
5767 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5768 and global __sim_round_mode_global.
5769 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5770 (SIM_SET_GLOBAL): Likewise.
5771 * sysdeps/powerpc/soft-fp/sfp-machine.h
5772 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5773 __sim_round_mode_thread.
5774 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5775 __sim_disabled_exceptions_thread.
5776 (__sim_exceptions): Change to __sim_exceptions_thread.
5777 (__sim_disabled_exceptions): Change to
5778 __sim_disabled_exceptions_thread.
5779 (__sim_round_mode): Change to __sim_round_mode_thread.
5780 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5781 thread-local floating-point state and set global state from it as
5782 needed.
5783 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5784 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5785 (__sim_disabled_exceptions): Remove extern declaration.
5786 (feenableexcept): Use thread-local floating-point state and set
5787 global state from it as needed.
5788 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5789 extern declaration.
5790 (__sim_disabled_exceptions): Likewise.
5791 (__sim_round_mode): Likewise.
5792 (__fegetenv): Use thread-local floating-point state.
5793 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5794 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5795 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5796 floating-point state and set global state from it as needed.
5797 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5798 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5799 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5800 Likewise.
5801 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5802 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5803 Likewise.
5804 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5805 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5806 Use __sim_round_mode_thread.
5807 * math/test-fenv-tls.c: New file.
5808 * math/Makefile (tests): Add test-fenv-tls.
5809 ($(objpfx)test-fenv-tls): Depend on
5810 $(common-objpfx)nptl/libpthread.so.
5811
58122013-11-19 Andreas Schwab <schwab@suse.de>
5813
5814 * locale/programs/locale.c (show_info): Decode wordarray elements.
5815 * locale/categories.def (LC_MONETARY): Add element for
5816 _NL_MONETARY_CRNCYSTR.
5817 * locale/C-monetary.c (conversion_rate): New variable.
5818 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5819 element.
5820
58212013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5822
5823 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5824 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5825
58262013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5827
5828 * elf/Makefile (tst-auxv): New test.
5829 * elf/tst-auxv.c: New
5830 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5831
58322013-11-18 Joseph Myers <joseph@codesourcery.com>
5833
5834 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5835 (hidden_proto): Caller changed.
5836 (hidden_tls_proto): New macro.
5837 (libc_hidden_tls_proto): Likewise.
5838 (rtld_hidden_tls_proto): Likewise.
5839 (libm_hidden_tls_proto): Likewise.
5840 (libresolv_hidden_tls_proto): Likewise.
5841 (librt_hidden_tls_proto): Likewise.
5842 (libdl_hidden_tls_proto): Likewise.
5843 (libnss_files_hidden_tls_proto): Likewise.
5844 (libnsl_hidden_tls_proto): Likewise.
5845 (libnss_nisplus_hidden_tls_proto): Likewise.
5846 (libutil_hidden_tls_proto): Likewise.
5847
58482013-11-18 Ondřej Bílka <neleai@seznam.cz>
5849
5850 [BZ #10253]
5851 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5852 (decompose_rpath): Defer expansion to fillin_rpath.
5853 (_dl_init_paths): Pass linkmap to fillin_rpath.
5854
58552013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5856
5857 * benchtests/Makefile: Add strsep.
5858 * benchtests/bench-strsep.c: New file: strsep benchtest.
5859 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5860
58612013-11-18 Andreas Schwab <schwab@suse.de>
5862
5863 * locale/programs/locale.c (show_info) [case byte]: Check for
5864 '\377' instead of '\177'.
5865 * locale/C-monetary.c (not_available): Always use "\377".
5866 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5867 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5868 detect unavailable sign_posn locale elements.
5869 * locale/localeconv.c (__localeconv): For grouping and
5870 mon_grouping handle "\177" and "\377" like no grouping.
5871 (INT_ELEM): New macro. Use it to set all numeric members.
5872 * locale/programs/ld-monetary.c (monetary_read)
5873 <tok_mon_grouping>: Normalize single -1 to the empty string.
5874 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5875 Likewise.
5876
58772013-11-07 Ondřej Bílka <neleai@seznam.cz>
5878
5879 [BZ #16055]
5880 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5881 when we match (nil).
5882 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5883
58842013-11-16 Joseph Myers <joseph@codesourcery.com>
5885
5886 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5887 (NO_TEST_INLINE): Update value.
5888 (ERRNO_UNCHANGED): Likewise.
5889 (ERRNO_EDOM): Likewise.
5890 (ERRNO_ERANGE): Likewise.
5891 (IGNORE_RESULT): Likewise.
5892 (check_float_internal): Check signs of NaN results if
5893 TEST_NAN_SIGN used.
5894 (check_complex): Pass TEST_NAN_SIGN flag through to second
5895 check_float_internal call.
5896 (copysign_test_data): Add tests with quiet NaNs as second
5897 argument. Use TEST_NAN_SIGN.
5898 (fabs_test_data): Add test of negative quiet NaN argument. Use
5899 TEST_NAN_SIGN.
5900 (signbit_test_data): Add tests of quiet NaN argument.
5901 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5902
5903 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5904 $ignore_result.
5905 (parse_args): Handle function results specified as IGNORE.
5906 * math/libm-test.inc (IGNORE_RESULT): New macro.
5907 (check_float_internal): Do not check numerical result if flag
5908 IGNORE_RESULT set.
5909 (check_complex): Pass through IGNORE_RESULT to second
5910 check_float_internal call.
5911 (check_int): Do not check numerical result if flag IGNORE_RESULT
5912 set.
5913 (check_long): Likewise.
5914 (check_bool): Likewise.
5915 (check_longlong): Likewise.
5916 (lrint_test_data): Add tests of infinite and NaN arguments.
5917 (lrint_tonearest_test_data): Likewise.
5918 (lrint_towardzero_test_data): Likewise.
5919 (lrint_downward_test_data): Likewise.
5920 (lrint_upward_test_data): Likewise.
5921 (llrint_test_data): Likewise.
5922 (llrint_tonearest_test_data): Likewise.
5923 (llrint_towardzero_test_data): Likewise.
5924 (llrint_downward_test_data): Likewise.
5925 (llrint_upward_test_data): Likewise.
5926 (lround_test_data): Likewise.
5927 (llround_test_data): Likewise.
5928
5929 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5930 (ERRNO_UNCHANGED): Update value.
5931 (ERRNO_EDOM): Likewise.
5932 (ERRNO_ERANGE): Likewise.
5933 (NO_TEST_INLINE_FLOAT): New macro.
5934 (NO_TEST_INLINE_DOUBLE): Likewise.
5935 (enable_test): New function.
5936 (RUN_TEST_f_f): Check enable_test before running test.
5937 (RUN_TEST_2_f): Likewise.
5938 (RUN_TEST_fff_f): Likewise.
5939 (RUN_TEST_c_f): Likewise.
5940 (RUN_TEST_f_f1): Likewise.
5941 (RUN_TEST_fF_f1): Likewise.
5942 (RUN_TEST_fI_f1): Likewise.
5943 (RUN_TEST_ffI_f1): Likewise.
5944 (RUN_TEST_c_c): Likewise.
5945 (RUN_TEST_cc_c): Likewise.
5946 (RUN_TEST_f_i): Likewise.
5947 (RUN_TEST_f_i_tg): Likewise.
5948 (RUN_TEST_ff_i_tg): Likewise.
5949 (RUN_TEST_f_b): Likewise.
5950 (RUN_TEST_f_b_tg): Likewise.
5951 (RUN_TEST_f_l): Likewise.
5952 (RUN_TEST_f_L): Likewise.
5953 (RUN_TEST_fFF_11): Likewise.
5954 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5955 conditionals.
5956 (cosh_test_data): Likewise.
5957 (exp_test_data): Likewise.
5958 (expm1_test_data): Likewise.
5959 (hypot_test_data): Likewise.
5960 (pow_test_data): Likewise.
5961 (sinh_test_data): Likewise.
5962 (tanh_test_data): Likewise.
5963 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5964 flags argument.
5965
5966 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5967 tests with quiet NaN input and output.
5968 (acosh_test_data): Likewise.
5969 (asin_test_data): Likewise.
5970 (asinh_test_data): Likewise.
5971 (atan_test_data): Likewise.
5972 (atanh_test_data): Likewise.
5973 (atan2_test_data): Likewise.
5974 (cbrt_test_data): Likewise.
5975 (cos_test_data): Likewise.
5976 (cosh_test_data): Likewise.
5977 (erf_test_data): Likewise.
5978 (erfc_test_data): Likewise.
5979 (exp_test_data): Likewise.
5980 (exp10_test_data): Likewise.
5981 (exp2_test_data): Likewise.
5982 (expm1_test_data): Likewise.
5983 (hypot_test_data): Likewise.
5984 (j0_test_data): Likewise.
5985 (j1_test_data): Likewise.
5986 (jn_test_data): Likewise.
5987 (lgamma_test_data): Likewise.
5988 (log_test_data): Likewise.
5989 (log10_test_data): Likewise.
5990 (log1p_test_data): Likewise.
5991 (log2_test_data): Likewise.
5992 (pow_test_data): Likewise.
5993 (scalb_test_data): Likewise.
5994 (sin_test_data): Likewise.
5995 (sincos_test_data): Likewise.
5996 (sinh_test_data): Likewise.
5997 (tan_test_data): Likewise.
5998 (tanh_test_data): Likewise.
5999 (tgamma_test_data): Likewise.
6000 (y0_test_data): Likewise.
6001 (y1_test_data): Likewise.
6002 (yn_test_data): Likewise.
6003
6004 [BZ #16167]
6005 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6006 argument being NaN and avoid computations with second argument in
6007 that case.
6008 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6009 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6010 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6011
60122013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
6013
6014 * locale/iso-639.def: Add Chitwani Tharu (the).
6015
60162013-11-14 Andreas Schwab <schwab@suse.de>
6017
6018 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
6019 word instead of empty string.
6020
60212013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6022
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6024 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
6025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6026 (__fe_nomask_env): Likewise.
6027
60282013-11-13 Steve Ellcey <sellcey@mips.com>
6029
6030 * benchtests/bench-timing.h: Include time.h.
6031
60322013-11-13 H.J. Lu <hongjiu.lu@intel.com>
6033
6034 [BZ #15997]
6035 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
6036 to 3.4.0 for x32.
6037 * sysdeps/unix/sysv/linux/configure: Regenerated.
6038
60392013-11-13 Joseph Myers <joseph@codesourcery.com>
6040
6041 [BZ #16151]
6042 * stdlib/strtod_l.c (round_and_return): Do not consider
6043 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
6044 exponent one less than half the least subnormal exponent.
6045 * stdlib/test-strtod-round-data: Add more tests.
6046 * stdlib/tst-strtod-round.c (tests): Regenerated.
6047
60482013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6049
6050 [BZ #14143]
6051 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
6052 (__fe_mask_env): Likewise.
6053 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
6054 libm_hidden_proto and add function prototype.
6055 (__fe_mask_env): Add function prototype.
6056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6057 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
6058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6059 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6061 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
6062
60632013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6064
6065 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
6066 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
6067
60682013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6069
6070 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
6071 of htab_find_slot().
6072
60732013-11-11 David S. Miller <davem@davemloft.net>
6074
6075 [BZ #16150]
6076 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
6077 symbol in the non-vis3 case in static builds.
6078 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
6079 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
6080 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
6081 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
6082
60832013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6084
6085 [BZ #387]
6086 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
6087 it is empty.
6088
60892013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6090
6091 * benchtests/Makefile: Add bench-strtod.
6092 * benchtests/bench-strtod.c: New file: strtod benchtest
6093
60942013-11-11 Andreas Schwab <schwab@suse.de>
6095
6096 [BZ #16153]
6097 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
6098 terminating NUL in key length.
6099
61002013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6101
6102 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6103 Add artificial ODP entry for vDSO symbol for PPC64.
6104 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
6105 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6106
61072013-11-07 Ondřej Bílka <neleai@seznam.cz>
6108
6109 [BZ #15374]
6110 * nss/getent.c (services_keys): Recognize services starting with digit.
6111
61122013-11-06 David S. Miller <davem@davemloft.net>
6113
6114 [BZ #15985]
6115 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
6116 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
6117
61182013-11-06 Will Newton <will.newton@linaro.org>
6119
6120 * manual/memory.texi (Malloc Examples): Remove register
6121 keyword from examples.
6122
61232013-11-04 Chris Leonard <cjl@sugarlabs.org>
6124
6125 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
6126
61272013-11-04 Joseph Myers <joseph@codesourcery.com>
6128
6129 [BZ #6981]
6130 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
6131 depending on [__GCC_IEC_559 > 0].
6132 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
6133 depending on [__GCC_IEC_559_COMPLEX > 0].
6134
61352013-11-03 Chris Leonard <cjl@sugarlabs.org>
6136
6137 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
6138 to iso-639.def.
6139
61402013-11-03 Ondřej Bílka <neleai@seznam.cz>
6141
6142 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
6143
61442013-11-01 Ondřej Bílka <neleai@seznam.cz>
6145
6146 [BZ #16112]
6147 * malloc/malloc (malloc_info): Do not handle first bin as
6148 special case.
6149
61502013-11-01 Chris Leonard <cjl@sugarlabs.org>
6151
6152 * locale/iso-639.def: Add Central Nahuatl (nhn).
6153
61542013-11-01 Bruno Haible <bruno@clisp.org>
6155
6156 [BZ #7003]
6157 * manual/math.texi (BSD Random): Specify range upper bound as
6158 in POSIX.
6159
61602013-10-31 Chris Leonard <cjl@sugarlabs.org>
6161
6162 * locale/iso-639.def: Add Meadow Mari (mhr).
6163
61642013-10-31 Ondřej Bílka <neleai@seznam.cz>
6165
6166 [BZ #14752], [BZ #15763]
6167 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
6168 Validate name.
6169 * rt/tst_shm.c: Add test for escaping directory.
6170
61712013-10-31 Andreas Schwab <schwab@suse.de>
6172
6173 [BZ #15917]
6174 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
6175 followed by 'x' as part of digit sequence.
6176 * stdio-common/tst-sscanf.c (double_tests2): New tests.
6177
61782013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
6179
6180 [BZ #16037]
6181 * configure.ac: allow GNU Make 4.0 and greater.
6182 * configure: Regenerated.
6183
61842013-10-30 Will Newton <will.newton@linaro.org>
6185
6186 [BZ #16038]
6187 * malloc/hooks.c (memalign_check): Limit alignment to the
6188 maximum representable power of two.
6189 * malloc/malloc.c (__libc_memalign): Likewise.
6190 * malloc/tst-memalign.c (do_test): Add test for very
6191 large alignment values.
6192 * malloc/tst-posix_memalign.c (do_test): Likewise.
6193
61942013-10-30 Ondřej Bílka <neleai@seznam.cz>
6195
6196 [BZ #11087]
6197 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
6198 (munmap_chunk): Likewise.
6199 (mremap_chunk): Likewise.
6200
62012013-10-30 Ondřej Bílka <neleai@seznam.cz>
6202
6203 [BZ #15799]
6204 * stdlib/div.c (div): Remove obsolete code.
6205 * stdlib/ldiv.c (ldiv): Likewise.
6206 * stdlib/lldiv.c (lldiv): Likewise.
6207
62082013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6209
6210 [BZ #16071]
6211 * nss/nss_files/files-XXX.c (get_contents_ret): New
6212 enumerator.
6213 (get_contents): New function.
6214 (internal_getent): Use it. Expand size of LINEBUFLEN.
6215
62162013-10-30 Mike Frysinger <vapier@gentoo.org>
6217
6218 * configure.in: Moved to ...
6219 * configure.ac: ... here. Change reference to configure.in
6220 to configure.ac.
6221 * sysdeps/arm/preconfigure.ac: ... here.
6222 configure.in to configure.ac.
6223 * sysdeps/gnu/configure.in: Moved to ...
6224 * sysdeps/gnu/configure.ac: ... here.
6225 * sysdeps/i386/configure.in: Moved to ...
6226 * sysdeps/i386/configure.ac: ... here.
6227 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
6228 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
6229 * sysdeps/mach/configure.in: Moved to ...
6230 * sysdeps/mach/configure.ac: ... here.
6231 * sysdeps/mach/hurd/configure.in: Moved to ...
6232 * sysdeps/mach/hurd/configure.ac: ... here.
6233 * sysdeps/powerpc/configure.in: Moved to ...
6234 * sysdeps/powerpc/configure.ac: ... here.
6235 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
6236 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
6237 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
6238 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
6239 * sysdeps/s390/s390-32/configure.in: Moved to ...
6240 * sysdeps/s390/s390-32/configure.ac: ... here.
6241 * sysdeps/s390/s390-64/configure.in: Moved to ...
6242 * sysdeps/s390/s390-64/configure.ac: ... here.
6243 * sysdeps/sh/configure.in: Moved to ...
6244 * sysdeps/sh/configure.ac: ... here.
6245 * sysdeps/sparc/configure.in: Moved to ...
6246 * sysdeps/sparc/configure.ac: ... here.
6247 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
6248 * sysdeps/unix/sysv/linux/configure.ac: ... here.
6249 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
6250 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
6251 * sysdeps/x86_64/configure.in: Moved to ...
6252 * sysdeps/x86_64/configure.ac: ... here.
6253 * sysdeps/x86_64/preconfigure.in: Moved to ...
6254 * sysdeps/x86_64/preconfigure.ac: ... here.
6255 * aclocal.m4: Change reference to configure.in to configure.ac.
6256 * config.h.in: Likewise.
6257 * manual/install.texi: Likewise.
6258 * manual/maint.texi: Likewise.
6259 * Makefile: Likewise.
6260 * malloc/Makefile: Likewise.
6261 * nscd/Makefile: Likewise.
6262 * Makeconfig: Change reference to configure.in and
6263 preconfigure.in to configure.ac and preconfigure.ac
6264 respectively.
6265 * INSTALL: Regenerated.
6266 * configure: Likewise.
6267 * sysdeps/gnu/configure: Likewise.
6268 * sysdeps/i386/configure: Likewise.
6269 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
6270 * sysdeps/mach/configure: Likewise.
6271 * sysdeps/mach/hurd/configure: Likewise.
6272 * sysdeps/powerpc/configure: Likewise.
6273 * sysdeps/powerpc/powerpc32/configure: Likewise.
6274 * sysdeps/powerpc/powerpc64/configure: Likewise.
6275 * sysdeps/s390/s390-32/configure: Likewise.
6276 * sysdeps/s390/s390-64/configure: Likewise.
6277 * sysdeps/sh/configure: Likewise.
6278 * sysdeps/sparc/configure: Likewise.
6279 * sysdeps/unix/sysv/linux/configure: Likewise.
6280 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
6281 * sysdeps/x86_64/configure: Likewise.
6282 * sysdeps/x86_64/preconfigure: Likewise.
6283
62842013-10-29 Andreas Schwab <schwab@suse.de>
6285
6286 * stdio-common/Makefile (tst-swscanf-ENV): Define.
6287
62882013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6289
6290 * benchtests/pow-inputs: Add new inputs.
6291
6292 * benchtests/exp-inputs: Add new inputs.
6293
6294 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
6295 conditional check for return value.
6296 (__cos32): Likewise.
6297
62982013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6299
6300 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
6301 to provide a boost for large inputs with word alignment.
6302 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
6303 implementation based on optimized PPC64 strcpy.
6304 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
6305 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
6306 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
6307 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
6308
63092013-10-25 Ondřej Bílka <neleai@seznam.cz>
6310
6311 [BZ #2801]
6312 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
6313
63142013-10-25 Ondřej Bílka <neleai@seznam.cz>
6315
6316 [BZ #14876]
6317 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
6318 * time/tst-strptime.c (day_tests): Add testcase.
6319
63202013-10-25 Ondřej Bílka <neleai@seznam.cz>
6321
6322 [BZ #14029]
6323 * manual/pattern.texi: Acknowledge that fnmatch can fail.
6324
63252013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
6326
6327 [BZ #16074]
6328 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
6329 MAP_FAILED on error.
6330
63312013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6332
6333 [BZ #16072]
6334 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
6335 heap for large requests.
6336
63372013-10-25 Aurelien Jarno <aurelien@aurel32.net>
6338
6339 [BZ #9954]
6340 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
6341 result if the result has no associated interface.
6342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
6343 interface for all 127.X.Y.Z addresses.
6344
63452013-10-24 Chris Leonard <cjl@sugarlabs.org>
6346
6347 * locale/iso-639.def: Add Ligurian (lij)
6348
63492013-10-21 Ondřej Bílka <neleai@seznam.cz>
6350
6351 [BZ #15825]
6352 * sunrpc/rpc_main.c: Document rpcgen -5.
6353
63542013-10-19 Michael Stahl <mstahl@redhat.com>
6355
6356 * elf/rtld.c (do_preload): Print the reason why preloading failed.
6357
63582013-10-19 Ondřej Bílka <neleai@seznam.cz>
6359
6360 [BZ #10278]
6361 * posix/glob.c: Match only directories when trailing slash is present.
6362 * posix/tst-gnuglob.c (my_opendir): Do not open files.
6363 (main): Add testcase.
6364
63652013-10-19 Ondřej Bílka <neleai@seznam.cz>
6366
6367 [BZ #15670]
6368 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
6369
63702013-10-18 Carlos O'Donell <carlos@redhat.com>
6371
6372 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
6373 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
6374 AUTH_DES and cindex for FIPS 140-2.
6375 (DES Encryption): Add cindex FIPS 46-3.
6376
6377 * locale/locarchive.h (struct locarhandle): Add fname.
6378 * locale/programs/localedef.c (main): Pass ARGV[remaining]
6379 if an optional argument was specified to --list-archive,
6380 otherwise NULL.
6381 * locale/programs/locarchive.c (show_archive_content): Take new
6382 argument fname and pass it via ah.fname to open_archive.
6383 * locale/programs/localedef.h: Update decl.
6384 (open_archive): If AH->fname is non-null, open that file
6385 rather than the default file name, and don't ignore ENOENT.
6386 (create_archive): Set AH.fname to NULL.
6387 (delete_locales_from_archive): Likewise.
6388 (add_locales_to_archive): Likewise.
6389 * locale/programs/locfile.c (write_all_categories): Likewise.
6390
63912013-10-18 Joseph Myers <joseph@codesourcery.com>
6392 Aldy Hernandez <aldyh@redhat.com>
6393
6394 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
6395 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
6396 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
6397 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
6398 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
6399 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
6400 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
6401 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
6402 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
6403 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
6404 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
6405 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
6406 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
6407 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
6408 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
6409 Likewise.
6410 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
6411 Likewise.
6412 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
6413 Likewise.
6414 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
6415 Likewise.
6416 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
6417 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
6418 Likewise.
6419 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
6420 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
6421 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
6422 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
6423 Likewise.
6424 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
6425 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
6426 * sysdeps/powerpc/preconfigure: Likewise.
6427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
6428 Likewise.
6429 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
6430 Replace contents of file by #include of <fenv_libc.h>.
6431 * sysdeps/powerpc/soft-fp/sfp-machine.h
6432 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
6433 and <sys/prctl.h>.
6434 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
6435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
6436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
6437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
6438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
6439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
6440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
6441 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
6442 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
6443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
6444 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
6445 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6447 Allow copysignl PLT reference to be missing.
6448
64492013-10-18 Richard Sandiford <richard@codesourcery.com>
6450 Joseph Myers <joseph@codesourcery.com
6451
6452 [BZ #15948]
6453 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
6454 single character.
6455 (add_to_tablewc): Assert sequence of wide characters is nonempty.
6456
64572013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6458
6459 * elf/tst-tls-dlinfo.c: Don't include tls.h.
6460 * elf/tst-tls1.c: Likewise.
6461 * elf/tst-tls10.h: Likewise.
6462 * elf/tst-tls14.c: Likewise.
6463 * elf/tst-tls2.c: Likewise.
6464 * elf/tst-tls3.c: Likewise.
6465 * elf/tst-tls4.c: Likewise.
6466 * elf/tst-tls5.c: Likewise.
6467 * elf/tst-tls6.c: Likewise.
6468 * elf/tst-tls7.c: Likewise.
6469 * elf/tst-tls8.c: Likewise.
6470 * elf/tst-tls9.c: Likewise.
6471 * elf/tst-tlsmod1.c: Likewise.
6472 * elf/tst-tlsmod13.c: Likewise.
6473 * elf/tst-tlsmod13a.c: Likewise.
6474 * elf/tst-tlsmod14a.c: Likewise.
6475 * elf/tst-tlsmod16a.c: Likewise.
6476 * elf/tst-tlsmod16b.c: Likewise.
6477 * elf/tst-tlsmod2.c: Likewise.
6478 * elf/tst-tlsmod3.c: Likewise.
6479 * elf/tst-tlsmod4.c: Likewise.
6480 * elf/tst-tlsmod5.c: Likewise.
6481 * elf/tst-tlsmod6.c: Likewise.
6482
64832013-10-18 Ondřej Bílka <neleai@seznam.cz>
6484
6485 [BZ #12486]
6486 * malloc/malloc.c: remove checks for statistics.
6487
64882013-10-17 Ondřej Bílka <neleai@seznam.cz>
6489
6490 [BZ #15277]
6491 * inet/inet_net.c (inet_network): Detect additional invalid strings.
6492 * inet/tst-network.c: Add testcase.
6493
64942013-10-17 Andreas Schwab <schwab@suse.de>
6495
6496 [BZ #15218]
6497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
6498 to determine canonical name.
6499
65002013-10-17 Ondřej Bílka <neleai@seznam.cz>
6501
6502 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
6503 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
6504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6518 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6522 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6526 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6527 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6530 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6531 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6532 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6534 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6535 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6536 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6544 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6546 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6547 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6548 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6549 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6550 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6551 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6552 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6553 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6554 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6555 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6560
65612013-10-17 Joseph Myers <joseph@codesourcery.com>
6562
6563 [BZ #16041]
6564 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6565 make result into a quiet NaN.
6566
65672013-10-16 Joseph Myers <joseph@codesourcery.com>
6568
6569 * soft-fp/adddf3.c: Fix horizontal whitespace.
6570 * soft-fp/addsf3.c: Likewise.
6571 * soft-fp/addtf3.c: Likewise.
6572 * soft-fp/divdf3.c: Likewise.
6573 * soft-fp/divsf3.c: Likewise.
6574 * soft-fp/divtf3.c: Likewise.
6575 * soft-fp/double.h: Likewise.
6576 * soft-fp/eqdf2.c: Likewise.
6577 * soft-fp/eqsf2.c: Likewise.
6578 * soft-fp/eqtf2.c: Likewise.
6579 * soft-fp/extenddftf2.c: Likewise.
6580 * soft-fp/extended.h: Likewise.
6581 * soft-fp/extendsfdf2.c: Likewise.
6582 * soft-fp/extendsftf2.c: Likewise.
6583 * soft-fp/extendxftf2.c: Likewise.
6584 * soft-fp/fixdfdi.c: Likewise.
6585 * soft-fp/fixdfsi.c: Likewise.
6586 * soft-fp/fixdfti.c: Likewise.
6587 * soft-fp/fixsfdi.c: Likewise.
6588 * soft-fp/fixsfsi.c: Likewise.
6589 * soft-fp/fixsfti.c: Likewise.
6590 * soft-fp/fixtfdi.c: Likewise.
6591 * soft-fp/fixtfsi.c: Likewise.
6592 * soft-fp/fixtfti.c: Likewise.
6593 * soft-fp/fixunsdfdi.c: Likewise.
6594 * soft-fp/fixunsdfsi.c: Likewise.
6595 * soft-fp/fixunsdfti.c: Likewise.
6596 * soft-fp/fixunssfdi.c: Likewise.
6597 * soft-fp/fixunssfsi.c: Likewise.
6598 * soft-fp/fixunssfti.c: Likewise.
6599 * soft-fp/fixunstfdi.c: Likewise.
6600 * soft-fp/fixunstfsi.c: Likewise.
6601 * soft-fp/fixunstfti.c: Likewise.
6602 * soft-fp/floatdidf.c: Likewise.
6603 * soft-fp/floatdisf.c: Likewise.
6604 * soft-fp/floatditf.c: Likewise.
6605 * soft-fp/floatsidf.c: Likewise.
6606 * soft-fp/floatsisf.c: Likewise.
6607 * soft-fp/floatsitf.c: Likewise.
6608 * soft-fp/floattidf.c: Likewise.
6609 * soft-fp/floattisf.c: Likewise.
6610 * soft-fp/floattitf.c: Likewise.
6611 * soft-fp/floatundidf.c: Likewise.
6612 * soft-fp/floatundisf.c: Likewise.
6613 * soft-fp/floatunditf.c: Likewise.
6614 * soft-fp/floatunsidf.c: Likewise.
6615 * soft-fp/floatunsisf.c: Likewise.
6616 * soft-fp/floatunsitf.c: Likewise.
6617 * soft-fp/floatuntidf.c: Likewise.
6618 * soft-fp/floatuntisf.c: Likewise.
6619 * soft-fp/floatuntitf.c: Likewise.
6620 * soft-fp/fmadf4.c: Likewise.
6621 * soft-fp/fmasf4.c: Likewise.
6622 * soft-fp/fmatf4.c: Likewise.
6623 * soft-fp/gedf2.c: Likewise.
6624 * soft-fp/gesf2.c: Likewise.
6625 * soft-fp/getf2.c: Likewise.
6626 * soft-fp/ledf2.c: Likewise.
6627 * soft-fp/lesf2.c: Likewise.
6628 * soft-fp/letf2.c: Likewise.
6629 * soft-fp/muldf3.c: Likewise.
6630 * soft-fp/mulsf3.c: Likewise.
6631 * soft-fp/multf3.c: Likewise.
6632 * soft-fp/negdf2.c: Likewise.
6633 * soft-fp/negsf2.c: Likewise.
6634 * soft-fp/negtf2.c: Likewise.
6635 * soft-fp/op-1.h: Likewise.
6636 * soft-fp/op-2.h: Likewise.
6637 * soft-fp/op-4.h: Likewise.
6638 * soft-fp/op-8.h: Likewise.
6639 * soft-fp/op-common.h: Likewise.
6640 * soft-fp/quad.h: Likewise.
6641 * soft-fp/single.h: Likewise.
6642 * soft-fp/soft-fp.h: Likewise.
6643 * soft-fp/sqrtdf2.c: Likewise.
6644 * soft-fp/sqrtsf2.c: Likewise.
6645 * soft-fp/sqrttf2.c: Likewise.
6646 * soft-fp/subdf3.c: Likewise.
6647 * soft-fp/subsf3.c: Likewise.
6648 * soft-fp/subtf3.c: Likewise.
6649 * soft-fp/truncdfsf2.c: Likewise.
6650 * soft-fp/trunctfdf2.c: Likewise.
6651 * soft-fp/trunctfsf2.c: Likewise.
6652 * soft-fp/trunctfxf2.c: Likewise.
6653 * soft-fp/unorddf2.c: Likewise.
6654 * soft-fp/unordsf2.c: Likewise.
6655 * soft-fp/unordtf2.c: Likewise.
6656
66572013-10-15 Joseph Myers <joseph@codesourcery.com>
6658
6659 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6660 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6661
66622013-10-15 Ondřej Bílka <neleai@seznam.cz>
6663
6664 * elf/dl-libc.c: Clear initfini list after freeing.
6665
66662013-10-14 Joseph Myers <joseph@codesourcery.com>
6667
6668 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6669 * soft-fp/addsf3.c: Likewise.
6670 * soft-fp/addtf3.c: Likewise.
6671 * soft-fp/divdf3.c: Likewise.
6672 * soft-fp/divsf3.c: Likewise.
6673 * soft-fp/divtf3.c: Likewise.
6674 * soft-fp/double.h: Likewise.
6675 * soft-fp/eqdf2.c: Likewise.
6676 * soft-fp/eqsf2.c: Likewise.
6677 * soft-fp/eqtf2.c: Likewise.
6678 * soft-fp/extenddftf2.c: Likewise.
6679 * soft-fp/extended.h: Likewise.
6680 * soft-fp/extendsfdf2.c: Likewise.
6681 * soft-fp/extendsftf2.c: Likewise.
6682 * soft-fp/extendxftf2.c: Likewise.
6683 * soft-fp/fixdfdi.c: Likewise.
6684 * soft-fp/fixdfsi.c: Likewise.
6685 * soft-fp/fixdfti.c: Likewise.
6686 * soft-fp/fixsfdi.c: Likewise.
6687 * soft-fp/fixsfsi.c: Likewise.
6688 * soft-fp/fixsfti.c: Likewise.
6689 * soft-fp/fixtfdi.c: Likewise.
6690 * soft-fp/fixtfsi.c: Likewise.
6691 * soft-fp/fixtfti.c: Likewise.
6692 * soft-fp/fixunsdfdi.c: Likewise.
6693 * soft-fp/fixunsdfsi.c: Likewise.
6694 * soft-fp/fixunsdfti.c: Likewise.
6695 * soft-fp/fixunssfdi.c: Likewise.
6696 * soft-fp/fixunssfsi.c: Likewise.
6697 * soft-fp/fixunssfti.c: Likewise.
6698 * soft-fp/fixunstfdi.c: Likewise.
6699 * soft-fp/fixunstfsi.c: Likewise.
6700 * soft-fp/fixunstfti.c: Likewise.
6701 * soft-fp/floatdidf.c: Likewise.
6702 * soft-fp/floatdisf.c: Likewise.
6703 * soft-fp/floatditf.c: Likewise.
6704 * soft-fp/floatsidf.c: Likewise.
6705 * soft-fp/floatsisf.c: Likewise.
6706 * soft-fp/floatsitf.c: Likewise.
6707 * soft-fp/floattidf.c: Likewise.
6708 * soft-fp/floattisf.c: Likewise.
6709 * soft-fp/floattitf.c: Likewise.
6710 * soft-fp/floatundidf.c: Likewise.
6711 * soft-fp/floatundisf.c: Likewise.
6712 * soft-fp/floatunsidf.c: Likewise.
6713 * soft-fp/floatunsisf.c: Likewise.
6714 * soft-fp/floatuntidf.c: Likewise.
6715 * soft-fp/floatuntisf.c: Likewise.
6716 * soft-fp/floatuntitf.c: Likewise.
6717 * soft-fp/fmadf4.c: Likewise.
6718 * soft-fp/fmasf4.c: Likewise.
6719 * soft-fp/fmatf4.c: Likewise.
6720 * soft-fp/gedf2.c: Likewise.
6721 * soft-fp/gesf2.c: Likewise.
6722 * soft-fp/getf2.c: Likewise.
6723 * soft-fp/ledf2.c: Likewise.
6724 * soft-fp/lesf2.c: Likewise.
6725 * soft-fp/letf2.c: Likewise.
6726 * soft-fp/muldf3.c: Likewise.
6727 * soft-fp/mulsf3.c: Likewise.
6728 * soft-fp/multf3.c: Likewise.
6729 * soft-fp/negdf2.c: Likewise.
6730 * soft-fp/negsf2.c: Likewise.
6731 * soft-fp/negtf2.c: Likewise.
6732 * soft-fp/op-1.h: Likewise.
6733 * soft-fp/op-2.h: Likewise.
6734 * soft-fp/op-4.h: Likewise.
6735 * soft-fp/op-8.h: Likewise.
6736 * soft-fp/op-common.h: Likewise.
6737 * soft-fp/quad.h: Likewise.
6738 * soft-fp/single.h: Likewise.
6739 * soft-fp/soft-fp.h: Likewise.
6740 * soft-fp/sqrtdf2.c: Likewise.
6741 * soft-fp/sqrtsf2.c: Likewise.
6742 * soft-fp/sqrttf2.c: Likewise.
6743 * soft-fp/subdf3.c: Likewise.
6744 * soft-fp/subsf3.c: Likewise.
6745 * soft-fp/subtf3.c: Likewise.
6746 * soft-fp/truncdfsf2.c: Likewise.
6747 * soft-fp/trunctfdf2.c: Likewise.
6748 * soft-fp/trunctfsf2.c: Likewise.
6749 * soft-fp/trunctfxf2.c: Likewise.
6750 * soft-fp/unorddf2.c: Likewise.
6751 * soft-fp/unordsf2.c: Likewise.
6752 * soft-fp/unordtf2.c: Likewise.
6753
67542013-10-14 Ondřej Bílka <neleai@seznam.cz>
6755
6756 [BZ #15672]
6757 * misc/error.c (error_tail): Fix possible buffer overflow.
6758
67592013-10-14 Aurelien Jarno <aurelien@aurel32.net>
6760
6761 [BZ #13028]
6762 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6763 address.
6764
67652013-10-14 P. J. McDermott <pj@pehjota.net>
6766
6767 [BZ #832]
6768 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6769 testing pipefail option.
6770
67712013-10-12 Joseph Myers <joseph@codesourcery.com>
6772
6773 * soft-fp/double.h: Indent preprocessor directives inside #if.
6774 * soft-fp/extended.h: Likewise.
6775 * soft-fp/op-2.h: Likewise.
6776 * soft-fp/op-4.h: Likewise.
6777 * soft-fp/op-common.h: Likewise.
6778 * soft-fp/quad.h: Likewise.
6779 * soft-fp/single.h: Likewise.
6780 * soft-fp/soft-fp.h: Likewise.
6781
67822013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6783
6784 * iconv/iconv_prog.c: Fix typos.
6785 * stdio-common/psiginfo-data.h: Likewise.
6786
67872013-10-12 Reuben Thomas <rrt@sc3d.org>
6788
6789 [BZ #15764]
6790 * locale/setlocale.c: Fix typo.
6791
67922013-10-12 Joseph Myers <joseph@codesourcery.com>
6793
6794 [BZ #16036]
6795 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6796 signaling NaN arguments.
6797 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6798 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6799
6800 [BZ #14910]
6801 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6802 unordered operands.
6803 * soft-fp/gesf2.c (__gesf2): Likewise.
6804 * soft-fp/getf2.c (__getf2): Likewise.
6805 * soft-fp/ledf2.c (__ledf2): Likewise.
6806 * soft-fp/lesf2.c (__lesf2): Likewise.
6807 * soft-fp/letf2.c (__letf2): Likewise.
6808
6809 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6810 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6811 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6812 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6813 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6814 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6815 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6816 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6817 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6818 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6819 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6820 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6821 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6822 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6823 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6824 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6825 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6826 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6827 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6828 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6829 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6830 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6831 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6832 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6833 * soft-fp/floattidf.c (__floattidf): Likewise.
6834 * soft-fp/floattisf.c (__floattisf): Likewise.
6835 * soft-fp/floattitf.c (__floattitf): Likewise.
6836 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6837 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6838 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6839 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6840 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6841 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6842 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6843 * soft-fp/gesf2.c (__gesf2): Likewise.
6844 * soft-fp/getf2.c (__getf2): Likewise.
6845 * soft-fp/ledf2.c (__ledf2): Likewise.
6846 * soft-fp/lesf2.c (__lesf2): Likewise.
6847 * soft-fp/letf2.c (__letf2): Likewise.
6848
6849 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6850 Undefine and redefine.
6851 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6852 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6853 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6854 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6855 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6856 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6857 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6858 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6859 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6860 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6861 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6862 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6863 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6864 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6865 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6866
6867 [BZ #16032]
6868 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6869 without decrementing exponent if mantissa >= that for the
6870 denominator, not >.
6871 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6872 denominator, not >. Decrement exponent in < case instead of
6873 incrementing in >= case.
6874 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6875 without decrementing exponent if mantissa >= that for the
6876 denominator, not >.
6877
6878 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6879 computing saturated result for unsigned overflow.
6880
68812013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6882 Jeff Law <law@redhat.com>
6883
6884 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6885 (atan2Mp): Add systemtap probe marker.
6886 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6887 (__ieee754_log): Add systemtap probe marker.
6888 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6889 (atanMp): Add systemtap probe marker.
6890 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6891 (tanMp): Add systemtap probe marker.
6892 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6893 (__slowexp): Add systemtap probe marker.
6894 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6895 (__slowpow): Add systemtap probe marker.
6896 * manual/probes.texi: Document probes.
6897
68982013-10-11 Eric Biggers <ebiggers3@gmail.com>
6899
6900 [BZ #15362]
6901 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6902 written.
6903 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6904 written.
6905 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6906 written to buffer but not flushed.
6907 * libio/iofwrite_u.c: Likewise.
6908 * libio/iopadn.c: Return bytes returned even if EOF was
6909 encountered.
6910 * libio/iowpadn.c: Likewise.
6911 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6912 if _IO_padn does not write the whole buffer.
6913 [!COMPILE_WPRINTF] (PAD): Likewise.
6914
69152013-10-10 David S. Miller <davem@davemloft.net>
6916
6917 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6918 directory block.
6919
69202013-10-10 Joseph Myers <joseph@codesourcery.com>
6921
6922 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6923 instead of FSF address.
6924 * soft-fp/fixdfti.c: Likewise.
6925 * soft-fp/fixsfti.c: Likewise.
6926 * soft-fp/fixtfti.c: Likewise.
6927 * soft-fp/fixunsdfti.c: Likewise.
6928 * soft-fp/fixunssfti.c: Likewise.
6929 * soft-fp/fixunstfti.c: Likewise.
6930 * soft-fp/floattidf.c: Likewise.
6931 * soft-fp/floattisf.c: Likewise.
6932 * soft-fp/floattitf.c: Likewise.
6933 * soft-fp/floatuntidf.c: Likewise.
6934 * soft-fp/floatuntisf.c: Likewise.
6935 * soft-fp/floatuntitf.c: Likewise.
6936 * soft-fp/trunctfxf2.c: Likewise.
6937
6938 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6939 * soft-fp/fixdfti.c: Likewise.
6940 * soft-fp/fixsfti.c: Likewise.
6941 * soft-fp/fixtfti.c: Likewise.
6942 * soft-fp/fixunsdfti.c: Likewise.
6943 * soft-fp/fixunssfti.c: Likewise.
6944 * soft-fp/fixunstfti.c: Likewise.
6945 * soft-fp/floattidf.c: Likewise.
6946 * soft-fp/floattisf.c: Likewise.
6947 * soft-fp/floattitf.c: Likewise.
6948 * soft-fp/floatuntidf.c: Likewise.
6949 * soft-fp/floatuntisf.c: Likewise.
6950 * soft-fp/floatuntitf.c: Likewise.
6951 * soft-fp/trunctfxf2.c: Likewise.
6952
69532013-10-10 David S. Miller <davem@davemloft.net>
6954
6955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6956
69572013-10-10 Joseph Myers <joseph@codsourcery.com>
6958
6959 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6960 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6961 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6962 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6963 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6964 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6965 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6966
6967 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6968 for NaNs before doing comparisons on argument.
6969 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6970 Likewise.
6971
69722013-10-10 Will Newton <will.newton@linaro.org>
6973
6974 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6975 passed to _int_memalign does not overflow.
6976
69772013-10-10 Torvald Riegel <triegel@redhat.com>
6978
6979 * scripts/bench.pl: Add include-sources directive.
6980 * benchtests/README: Update documentation.
6981
69822013-10-10 Joseph Myers <joseph@codesourcery.com>
6983
6984 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6985 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6986 instead of FP_INIT_ROUNDMODE.
6987 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6988 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6989
6990 [BZ #16034]
6991 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6992 copy class of input value.
6993 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6994 not handle exceptions.
6995 * soft-fp/negsf2.c (__negsf2): Likewise.
6996 * soft-fp/negtf2.c (__negtf2): Likewise.
6997 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6998
69992013-10-09 Joseph Myers <joseph@codesourcery.com>
7000
7001 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7002 semicolon. From Linux kernel.
7003
70042013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
7005
7006 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
7007
70082013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
7009
7010 [BZ #156]
7011 * manual/socket.texi: Added statement about buffer
7012 for gethostbyname2_r.
7013
70142013-10-08 Ondřej Bílka <neleai@seznam.cz>
7015
7016 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
7017 Use .p2align directive instead, throughout.
7018 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7019 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7020 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7021 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7022 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7023 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7024 * sysdeps/x86_64/strchr.S: Likewise.
7025 * sysdeps/x86_64/strrchr.S: Likewise.
7026
70272013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7028
7029 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
7030
7031 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
7032
7033 * sysdeps/generic/math_private.h (__mpsin1): Remove
7034 declaration.
7035 (__mpcos1): Likewise.
7036 (__mpsin): New argument __range_reduce.
7037 (__mpcos): Likewise.
7038 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7039 (slow): Use __mpsin and __mpcos.
7040 (slow1): Likewise.
7041 (slow2): Likewise.
7042 (sloww): Likewise.
7043 (sloww1): Likewise.
7044 (sloww2): Likewise.
7045 (bsloww): Likewise.
7046 (bsloww1): Likewise.
7047 (bsloww2): Likewise.
7048 (cslow2): Likewise.
7049 (csloww): Likewise.
7050 (csloww1): Likewise.
7051 (csloww2): Likewise.
7052 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
7053 range_reduce. Merge in __mpsin1.
7054 (__mpcos): Likewise.
7055 (__mpsin1): Remove.
7056 (__mpcos1): Likewise.
7057
70582013-10-07 Joseph Myers <joseph@codesourcery.com>
7059
7060 * locale/loadlocale.c (_nl_intern_locale_data): Use
7061 LOCFILE_ALIGNED_P.
7062 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
7063 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
7064 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
7065 obstack data is appropriately aligned.
7066 (obstack_int32_grow_fast): Likewise.
7067 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
7068 * locale/programs/locfile.c (add_locale_uint32): Likewise.
7069 (add_locale_uint32_array): Likewise.
7070
70712013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7072
7073 * benchtests/Makefile: Remove ARGLIST and RET variables.
7074 ($(objpfx)bench-%.c): Pass only function name to the script.
7075 * benchtests/README: Update documentation.
7076 * benchtests/acos-inputs: Add new directives.
7077 * benchtests/acosh-inputs: Likewise.
7078 * benchtests/asin-inputs: Likewise.
7079 * benchtests/asinh-inputs: Likewise.
7080 * benchtests/atan-inputs: Likewise.
7081 * benchtests/atanh-inputs: Likewise.
7082 * benchtests/cos-inputs: Likewise.
7083 * benchtests/cosh-inputs: Likewise.
7084 * benchtests/exp-inputs: Likewise.
7085 * benchtests/log-inputs: Likewise.
7086 * benchtests/pow-inputs: Likewise.
7087 * benchtests/rint-inputs: Likewise.
7088 * benchtests/sin-inputs: Likewise.
7089 * benchtests/sinh-inputs: Likewise.
7090 * benchtests/tan-inputs: Likewise.
7091 * benchtests/tanh-inputs: Likewise.
7092 * scripts/bench.pl: Add support for new directives.
7093
70942013-10-07 Alan Modra <amodra@gmail.com>
7095
7096 * README: Fix careless merge.
7097
70982013-10-05 Alan Modra <amodra@gmail.com>
7099
7100 * NEWS: Mention powerpc64le support and bugs fixed.
7101 * README: Both big-endian and little-endian powerpc64 supported.
7102
71032013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7104
7105 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
7106 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7107 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
7108 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
7109
71102013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
7111
7112 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
7113 match prototype.
7114
71152013-10-04 Joseph Myers <joseph@codesourcery.com>
7116
7117 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
7118 Move -mhard-float appending from
7119 ports/sysdeps/powerpc/powerpc32/Makefile.
7120 [$(with-fp) = yes] (ASFLAGS): Likewise.
7121 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
7122 * sysdeps/powerpc/nofpu: Move directory from
7123 ports/sysdeps/powerpc/nofpu.
7124 * sysdeps/powerpc/soft-fp: Move directory from
7125 ports/sysdeps/powerpc/soft-fp.
7126 * sysdeps/powerpc/powerpc32/405: Move directory from
7127 ports/sysdeps/powerpc/powerpc32/405.
7128 * sysdeps/powerpc/powerpc32/440: Move directory from
7129 ports/sysdeps/powerpc/powerpc32/440.
7130 * sysdeps/powerpc/powerpc32/464: Move directory from
7131 ports/sysdeps/powerpc/powerpc32/464.
7132 * sysdeps/powerpc/powerpc32/476: Move directory from
7133 ports/sysdeps/powerpc/powerpc32/476.
7134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
7135 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
7136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
7137 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
7138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
7139 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
7141 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
7143 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
7144 * README: Update for powerpc-*-linux-gnu software floating point
7145 support in libc.
7146
7147 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
7148 case to powerpc/powerpc32*.
7149 * sysdeps/unix/sysv/linux/configure: Regenerated.
7150
7151 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
7152 (_FPU_MASK_OM): Define as 0x04.
7153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
7154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
7155 0x00c10080.
7156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
7157 0x0000003c.
7158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
7159
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
7161 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
7162 getcontext_e500.
7163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
7164 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
7165 setcontext_e500.
7166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7167 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
7168 and setcontext_e500.
7169
71702013-10-04 Chris Leonard <cjl@sugarlabs,.org>
7171
7172 * locale/iso-3166.def: Update iso-1366.def and related occurrences
7173
71742013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7175
7176 * manual/threads.texi (Default Thread Attributes): Fix typo.
7177
71782013-10-04 Will Newton <will.newton@linaro.org>
7179
7180 * malloc/Makefile: Add tst-memalign.
7181 * malloc/tst-memalign.c: New file.
7182
7183 * malloc/tst-posix_memalign.c: Add comments.
7184 (do_test): Add comments and call free on all potentially
7185 allocated pointers. Add space after cast.
7186
7187 * malloc/tst-pvalloc.c: Add comments.
7188 (do_test): Add comments and call free on all potentially
7189 allocated pointers. Remove duplicate check for NULL pointer.
7190 Add space after cast.
7191
7192 * malloc/tst-valloc.c: Add comments.
7193 (do_test): Add comments and call free on all potentially
7194 allocated pointers. Remove duplicate check for NULL pointer.
7195 Add space after cast.
7196
71972013-10-04 Alan Modra <amodra@gmail.com>
7198
7199 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7200 Use stdint types in rather than __attribute__((mode())).
7201 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7202
72032013-10-04 Alan Modra <amodra@gmail.com>
7204
7205 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7206 Correct handling of unaligned relocs for little-endian.
7207 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7208
72092013-10-04 Alan Modra <amodra@gmail.com>
7210
7211 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
7212 * configure: Regenerate.
7213 * nptl/shlib-versions: Powerpc*le starts at 2.18.
7214 * shlib-versions: Likewise.
7215
72162013-10-04 Alan Modra <amodra@gmail.com>
7217
7218 * string/tester.c (test_memrchr): Increment reported test cycle.
7219
72202013-10-04 Alan Modra <amodra@gmail.com>
7221
7222 * string/test-memcpy.c (do_one_test): When reporting errors, print
7223 string address and don't overrun end of string.
7224
72252013-10-04 Alan Modra <amodra@gmail.com>
7226
7227 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
7228 insrdi. Make better use of reg selection to speed exit slightly.
7229 Schedule entry path a little better. Remove useless "are we done"
7230 checks on entry to main loop. Handle wrapping around zero address.
7231 Correct main loop count. Handle single left-over word from main
7232 loop inline rather than by using loop_small. Remove extra word
7233 case in loop_small caused by wrong loop count. Add little-endian
7234 support.
7235 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7236 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
7237 cache hint.
7238 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7239 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
7240 support. Avoid rlwimi.
7241 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
7242
72432013-10-04 Alan Modra <amodra@gmail.com>
7244
7245 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
7246 insrdi. Formatting.
7247 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
7248 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7249 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7250 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7251 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7252 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
7253
72542013-10-04 Alan Modra <amodra@gmail.com>
7255
7256 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
7257 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7258 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7259 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
7260 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7261 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7262 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7263 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7264 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
7265 use of regs. Use power7 mtocrf. Tidy function tails.
7266
72672013-10-04 Alan Modra <amodra@gmail.com>
7268
7269 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
7270 Formatting. Consistently use rXXX register defines or rN defines.
7271 Use early exit labels that avoid restoring unused non-volatile regs.
7272 Make cr field use more consistent with rWORDn compares. Rename
7273 regs used as shift registers for unaligned loop, using rN defines
7274 for short lifetime/multiple use regs.
7275 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7276 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
7277 addi 1,1,64 to pop stack frame. Simplify return value code.
7278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7279
72802013-10-04 Alan Modra <amodra@gmail.com>
7281
7282 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
7283 support. Correct typos, formatting. Optimize tail. Use insrdi
7284 rather than rlwimi.
7285 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
7286 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
7287 little-endian support. Correct typos.
7288 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
7289 rather than rlwimi.
7290 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
7291 in loop and entry code to keep "and." results.
7292 (strchr): Add little-endian support. Comment. Move cntlzd
7293 earlier in tail.
7294 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
7295
72962013-10-04 Alan Modra <amodra@gmail.com>
7297
7298 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
7299 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
7300 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7301 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
7302
73032013-10-04 Alan Modra <amodra@gmail.com>
7304
7305 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
7306 (rTMP): Define as r11.
7307 (strcmp): Add little-endian support. Optimise tail.
7308 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
7309 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7310 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7311 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7312 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7313 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7314 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7315
73162013-10-04 Alan Modra <amodra@gmail.com>
7317
7318 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
7319 little-endian support. Remove unnecessary "are we done" tests.
7320 Handle "s" wrapping around zero and extremely large "size".
7321 Correct main loop count. Handle single left-over word from main
7322 loop inline rather than by using small_loop. Correct comments.
7323 Delete "zero" tail, use "end_max" instead.
7324 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
7325
73262013-10-04 Alan Modra <amodra@gmail.com>
7327
7328 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
7329 support. Don't branch over align.
7330 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
7331 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
7332 support. Rearrange tmp reg use to suit. Comment.
7333 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
7334
73352013-10-04 Alan Modra <amodra@gmail.com>
7336
7337 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
7338
73392013-10-04 Alan Modra <amodra@gmail.com>
7340
7341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
7342 conditional form of branch and link when obtaining pc.
7343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7344
73452013-10-04 Alan Modra <amodra@gmail.com>
7346
7347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
7348 HIWORD/LOWORD.
7349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
7351
73522013-10-04 Alan Modra <amodra@gmail.com>
7353
7354 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
7355 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
7356 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7357 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
7358 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7359 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7360 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
7361 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7362 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7363 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
7364
73652013-10-04 Anton Blanchard <anton@au1.ibm.com>
7366 Alistair Popple <alistair@ozlabs.au.ibm.com>
7367 Alan Modra <amodra@gmail.com>
7368
7369 [BZ #15723]
7370 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
7371 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
7372 _dl_hwcap access for little-endian.
7373 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
7374 destroy vmx regs when saving unaligned.
7375 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
7376 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
7377 destroy vmx regs when saving unaligned.
7378
73792013-10-04 Alan Modra <amodra@gmail.com>
7380
7381 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
7382 Don't use a union to pack hi/low value.
7383
73842013-10-04 Anton Blanchard <anton@au1.ibm.com>
7385
7386 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
7387 for little-endian.
7388 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7389 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
7390 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7391 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7392 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7393
73942013-10-04 Alan Modra <amodra@gmail.com>
7395
7396 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
7397 constants to usual value for .cst8 section, and remove redundant
7398 high address load.
7399 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
7400 constant for 0x1p52. Load little-endian words of double from
7401 correct stack offsets.
7402
74032013-10-04 Alan Modra <amodra@gmail.com>
7404
7405 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
7406 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
7407 words of double from correct stack offsets.
7408 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7409 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
7410 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7411 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7412 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7413 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7414 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7415 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7416 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7417 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7418 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7419 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7420 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7421 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7422 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7423 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
7424 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7425
74262013-10-04 Alan Modra <amodra@gmail.com>
7427
7428 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
7429 64-bit int/double union.
7430 (_FPU_SETCW): Likewise.
7431 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
7432 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
7433
74342013-10-04 Alan Modra <amodra@gmail.com>
7435
7436 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
7437 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
7438
74392013-10-04 Alan Modra <amodra@gmail.com>
7440
7441 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
7442 use vector int constants.
7443 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
7444
74452013-10-04 Anton Blanchard <anton@au1.ibm.com>
7446
7447 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
7448 array with long long.
7449 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
7450 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
7451 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
7452 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
7453 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
7454 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
7455 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
7456 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
7457 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
7458 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
7459 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
7460 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
7461 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
7462
74632013-10-04 Anton Blanchard <anton@au1.ibm.com>
7464
7465 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
7466 (__signbit): Likewise. Correct for little-endian.
7467 (__signbitl): Call __signbit.
7468 (lrint): Correct for little-endian.
7469 (lrintf): Call lrint.
7470
74712013-10-04 Alan Modra <amodra@gmail.com>
7472
7473 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
7474 union 32-bit int array member with 64-bit int array.
7475 (t515, tm256): Double rather than long double.
7476 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
7477
74782013-10-04 Alan Modra <amodra@gmail.com>
7479
7480 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
7481 Delete.
7482 (IEEE854_LONG_DOUBLE_BIAS): Delete.
7483 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
7484 version of math_ldbl.h.
7485
74862013-10-04 Alan Modra <amodra@gmail.com>
7487
7488 [BZ #15734], [BZ #15735]
7489 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
7490 all uses of ieee875 long double macros and unions. Simplify test
7491 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
7492 ldbl_extract_mantissa value for ix,iy exponents. Properly
7493 normalize after ldbl_extract_mantissa, and don't add hidden bit
7494 already handled. Don't treat low word of ieee854 mantissa like
7495 low word of IBM long double and mask off bit when testing for
7496 zero.
7497 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
7498 all uses of ieee875 long double macros and unions. Simplify tests
7499 for 0.0L and inf. Correct double adjustment of k. Delete dead code
7500 adjusting ha,hb. Simplify code setting kld. Delete two600 and
7501 two1022, instead use their values. Recognise that tests for large
7502 "a" and small "b" are mutually exclusive. Rename vars. Comment.
7503 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
7504 Rewrite all uses of ieee875 long double macros and unions. Simplify
7505 test for 0.0L and nan. Correct negation.
7506 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
7507 ieee875 long double macros and unions. Correct output for large
7508 magnitude x. Correct absolute value calculation.
7509 (__erfcl): Likewise.
7510 * math/libm-test.inc: Add tests for errors discovered in IBM long
7511 double versions of fmodl, remainderl, erfl and erfcl.
7512
75132013-10-04 Alan Modra <amodra@gmail.com>
7514
7515 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
7516 all uses of ieee854 long double macros and unions. Simplify tests
7517 for long doubles that are fully specified by the high double.
7518 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7519 Likewise.
7520 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7521 Remove dead code too.
7522 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7523 (__ieee754_ynl): Likewise.
7524 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7525 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7526 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7527 Remove dead code too.
7528 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7529 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7530 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7531 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7532 Simplify.
7533 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7534 Simplify.
7535 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7536 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7537 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7538 Comment on variable precision.
7539 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7540 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7541 Likewise.
7542 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7543 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7544 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7545 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7546 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7547
75482013-10-04 Alan Modra <amodra@gmail.com>
7549
7550 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7551 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7552 all uses of ieee854 long double macros and unions.
7553 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7554 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7555 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7556 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7557 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7558 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7559 Likewise.
7560 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7562 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7563 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7566 Simplify sign and nan test too.
7567 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7571 Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7574 Likewise.
7575 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7578 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7579 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7581
75822013-10-04 Alan Modra <amodra@gmail.com>
7583
7584 * stdio-common/printf_size.c (__printf_size): Don't use
7585 union ieee854_long_double in fpnum union.
7586 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
7587 signbit macro to retrieve sign from long double.
7588 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7589 retrieve sign from long double.
7590 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7591 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7592 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7593 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7594 * math/test-misc.c (main): Don't use union ieee854_long_double.
7595
75962013-10-04 Alan Modra <amodra@gmail.com>
7597
7598 [BZ #15680]
7599 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7600 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7601 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7602 calculation. Remove unnecessary test for denormal exponent.
7603 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7604 Correct handling of denormals. Avoid undefined shift behaviour.
7605 Correct normalisation of low mantissa when low double is denormal.
7606 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7607 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
7608 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7609 Correct normalisation of low mantissa. Test for overflow of high
7610 mantissa and normalise.
7611 (ldbl_nearbyint): Use more readable constant for two52.
7612 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7613 (__mpn_construct_long_double): Fix test for overflow of high
7614 mantissa and correct normalisation. Avoid undefined shift.
7615
76162013-10-04 Alan Modra <amodra@gmail.com>
7617
7618 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7619 (union ibm_extended_long_double): Define as an array of ieee754_double.
7620 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7621 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7622 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7623 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7631
76322013-10-03 Joseph Myers <joseph@codesourcery.com>
7633
7634 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7635 page size instead of calling getpagesize.
7636
7637 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7638 (LOCFILE_ALIGN_MASK): Likewise.
7639 (LOCFILE_ALIGN_UP): Likewise.
7640 (LOCFILE_ALIGNED_P): Likewise.
7641 * locale/programs/ld-collate.c (collate_output): Use the new
7642 macros instead of __alignof__ (int32_t).
7643 * locale/weight.h (findidx): Likewise.
7644
76452013-10-03 Ondřej Bílka <neleai@seznam.cz>
7646
7647 [BZ #431]
7648 * manual/string.texi: Fix strncat and wcsncat.
7649
76502013-10-03 Brooks Moses <bmoses@google.com>
7651
7652 [BZ #15915]
7653 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7654 * Makerules: ...here, and adjust associated comments.
7655
76562013-10-02 Will Newton <will.newton@linaro.org>
7657
7658 * malloc/Makefile: Add tst-pvalloc.
7659 * malloc/tst-pvalloc.c: New file.
7660
76612013-10-02 Will Newton <will.newton@linaro.org>
7662
7663 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7664 improve test coverage.
7665
76662013-10-02 Will Newton <will.newton@linaro.org>
7667
7668 * malloc/Makefile: Add tst-posix_memalign.
7669 * malloc/tst-posix_memalign.c: New file.
7670
76712013-10-01 Eric Blake <eblake@redhat.com>
7672
7673 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7674 Use __THROWNL rather than __THROW on static functions.
7675
76762013-09-30 Petr Machata <pmachata@redhat.com>
7677
7678 * elf/elf.h (R_AARCH64_ABS16): New macro.
7679 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7680 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7681 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7682 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7683 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7684 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7685 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7686 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7687 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7688 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7689 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7690 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7691 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7692 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7693 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7694 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7695 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7696 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7697 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7698 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7699 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7700 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7701 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7702 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7703 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7704 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7705 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7706 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7707 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7708 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7709 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7710 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7711 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7712 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7713 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7714 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7715 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7716 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7717 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7718 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7719 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7720 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7721 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7722 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7723 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7724 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7725 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7726 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7727 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7728 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7729 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7730 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7731 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7732 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7733 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7734 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7735 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7736 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7737 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7738 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7739 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7740 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7741 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7742 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7743 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7744 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7745 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7746 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7747 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7748 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7749 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7750 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7751 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7752 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7753 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7754 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7755 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7756 (R_AARCH64_TLSDESC_LDR): Likewise.
7757 (R_AARCH64_TLSDESC_ADD): Likewise.
7758 (R_AARCH64_TLSDESC_CALL): Likewise.
7759
77602013-09-30 Andreas Schwab <schwab@suse.de>
7761
7762 [BZ #15048]
7763 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7764 the nss database lookup.
7765 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7767
77682013-09-28 Mike Frysinger <vapier@gentoo.org>
7769
7770 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7771
77722013-09-28 P. J. McDermott <pj@pehjota.net>
7773
7774 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7775 ${Bash-specific parameter/pattern/string} parameter expansion.
7776 * sysdeps/unix/make-syscalls.sh: Likewise.
7777
77782013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7779
7780 * sysdeps/sh/stackguard-macros.h: New file.
7781
77822013-09-26 Ondřej Bílka <neleai@seznam.cz>
7783
7784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7786 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7787 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7788 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7789 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7790
77912013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7792
7793 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7794 Fix thread ID register.
7795
77962013-09-25 Joseph Myers <joseph@codesourcery.com>
7797
7798 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7799 [POSIX || UNIX98]: Require rather than permitting all symbols from
7800 <time.h>.
7801 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7802 element of struct sched_param.
7803 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7804 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7805 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7806 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7807 constant.
7808
78092013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7810
7811 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7812 argument calculation.
7813
78142013-09-24 Joseph Myers <joseph@codesourcery.com>
7815
7816 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7817 Expect macro.
7818 [POSIX] (pthread_attr_t): Do not require type.
7819 [POSIX] (pthread_cond_t): Likewise.
7820 [POSIX] (pthread_condattr_t): Likewise.
7821 [POSIX] (pthread_key_t): Likewise.
7822 [POSIX] (pthread_mutex_t): Likewise.
7823 [POSIX] (pthread_mutexattr_t): Likewise.
7824 [POSIX] (pthread_once_t): Likewise.
7825 [POSIX] (pthread_t): Likewise.
7826 [POSIX-based standards] (pthread_atfork): Expect function.
7827
78282013-09-24 Joseph Myers <joseph@codesourcery.com>
7829 Richard Sandiford <richard@codesourcery.com>
7830
7831 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7832 (swap_endianness_p): New extern variable.
7833 (set_big_endian): New inline function.
7834 (maybe_swap_uint32): Likewise.
7835 (maybe_swap_uint32_array): Likewise.
7836 (maybe_swap_uint32_obstack): Likewise.
7837 * locale/programs/locfile.c: Include <stdbool.h>.
7838 (swap_endianness_p): New variable.
7839 (add_locale_uint32): Call maybe_swap_uint32.
7840 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7841 (write_locale_data): Call maybe_swap_uint32_array.
7842 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7843 maybe_swap_uint32.
7844 (obstack_int32_grow_fast): Likewise.
7845 (output_weightwc): Call maybe_swap_uint32_obstack.
7846 (collate_output): Likewise.
7847 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7848 (OPT_LITTLE_ENDIAN): Likewise.
7849 (options): Add --little-endian and --big-endian options.
7850 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7851 * locale/programs/locarchive.c: Include "locfile.h".
7852 (GET): New macro.
7853 (SET): Likewise.
7854 (INC): Likewise.
7855 (create_archive): Use the new macros to access fields of
7856 structures directly mapped from or written to locale archives.
7857 (oldlocrecentcmp): Likewise.
7858 (enlarge_archive): Likewise.
7859 (insert_name): Likewise.
7860 (add_alias): Likewise.
7861 (add_locale): Likewise.
7862 (delete_locales_from_archive): Likewise.
7863 (show_archive_content): Likewise.
7864 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7865 locale data.
7866
78672013-09-24 Roland McGrath <roland@hack.frob.com>
7868
7869 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7870 http://www.gnu.org/doc/freemanuals.texi.
7871 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7872
78732013-09-24 Will Newton <will.newton@linaro.org>
7874
7875 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7876 macro.
7877
78782013-09-23 Joseph Myers <joseph@codesourcery.com>
7879
7880 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7881 unsigned char.
7882
78832013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7884
7885 * manual/threads.texi (POSIX Threads): Fix a typo.
7886
78872013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7888
7889 [BZ #14547]
7890 * string/tst-strcoll-overflow.c: New test case.
7891 * string/Makefile (xtests): Add tst-strcoll-overflow.
7892 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7893 cache if string sizes may cause integer overflow.
7894
7895 [BZ #14547]
7896 * string/strcoll_l.c (coll_seq): New members rule, idx,
7897 save_idx and back_us.
7898 (get_next_seq_nocache): New function.
7899 (do_compare_nocache): New function.
7900 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7901 when malloc fails.
7902
79032013-09-23 Carlos O'Donell <carlos@redhat.com>
7904
7905 [BZ #15754]
7906 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7907 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7908 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7909
7910 [BZ #15754]
7911 * elf/Makefile (tests): Add tst-ptrguard1.
7912 (tests-static): Add tst-ptrguard1-static.
7913 (tst-ptrguard1-ARGS): Define.
7914 (tst-ptrguard1-static-ARGS): Define.
7915 * elf/tst-ptrguard1.c: New file.
7916 * elf/tst-ptrguard1-static.c: New file.
7917 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7918 * sysdeps/i386/stackguard-macros.h: Likewise.
7919 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7920 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7921 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7922 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7923 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7924 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7925
79262013-09-23 Hector Marco <hecmargi@upv.es>
7927 Ismael Ripoll <iripoll@disca.upv.es>
7928 Carlos O'Donell <carlos@redhat.com>
7929
7930 [BZ #15754]
7931 * sysdeps/generic/stackguard-macros.h: Define
7932 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7933 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7934 Define __pointer_chk_guard_local.
7935 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7936 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7937
79382013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7939
7940 [BZ #15859]
7941 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7942
79432013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7944
7945 * include/string.h (__ffs): Declare as hidden.
7946 * string/ffs.c (__ffs): Define as hidden.
7947 * sysdeps/i386/ffs.c (__ffs): Likewise.
7948 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7949 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7950 * sysdeps/s390/ffs.c (__ffs): Likewise.
7951 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7952
79532013-09-20 Alexandre Oliva <aoliva@redhat.com>
7954
7955 * NEWS: Mention malloc probes.
7956
7957 * malloc/arena.c (new_heap): New memory_heap_new probe.
7958 (grow_heap): New memory_heap_more probe.
7959 (shrink_heap): New memory_heap_less probe.
7960 (heap_trim): New memory_heap_free probe.
7961 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7962 (systrim): New memory_sbrk_less probe.
7963 * manual/probes.texi: Document them.
7964
7965 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7966 * manual/probes.texi: Document it.
7967
7968 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7969 (__libc_realloc): Add memory_realloc_retry probe.
7970 (__libc_memalign): Add memory_memalign_retry probe.
7971 (__libc_valloc): Add memory_valloc_retry probe.
7972 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7973 (__libc_calloc): Add memory_calloc_retry probe.
7974 * manual/probes.texi: Document them.
7975
7976 * malloc/arena.c (get_free_list): Add probe
7977 memory_arena_reuse_free_list.
7978 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7979 and memory_arena_reuse.
7980 (arena_get2) [!PER_THREAD]: Likewise.
7981 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7982 memory_arena_reuse_realloc.
7983 * manual/probes.texi: Document them.
7984
7985 * malloc/malloc.c (__libc_free): Add
7986 memory_mallopt_free_dyn_thresholds probe.
7987 (__libc_mallopt): Add multiple memory_mallopt probes.
7988 * manual/probes.texi: Document them.
7989
7990 * malloc/malloc.c: Include stap-probe.h.
7991 (__libc_mallopt): Add memory_mallopt probe.
7992 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7993 * manual/probes.texi: New.
7994 * manual/Makefile (chapters): Add probes.
7995 * manual/threads.texi: Set next node.
7996
79972013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7998
7999 [BZ #15963, #13985]
8000 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8001 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8002 Add `Chinese' to `nan' entry name.
8003
80042013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8005
8006 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
8007 (POLYNOMIAL): Likewise.
8008 (TAYLOR_SINCOS): Likewise.
8009 (TAYLOR_SLOW): Likewise.
8010 (__sin): Use TAYLOR_SINCOS.
8011 (__cos): Likewise.
8012 (slow): Use TAYLOR_SLOW.
8013 (sloww): Likewise.
8014 (bsloww): Likewise.
8015 (csloww): Likewise.
8016
80172013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8018
8019 * stdlib/strtod_l.c: Fix buffer overrun.
8020
80212013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8022
8023 * benchtests/Makefile (bench): Add sincos.
8024 * benchtests/bench-sincos.c: New file.
8025
8026 * math/libm-test.inc (cos_test_data): New test inputs.
8027 (sin_test_data): Likewise.
8028
8029 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
8030 macro.
8031 (__sin): Use it.
8032 (__cos): Likewise.
8033 (slow1): Likewise.
8034 (slow2): Likewise.
8035 (sloww1): Likewise.
8036 (sloww2): Likewise.
8037 (bsloww1): Likewise.
8038 (bsloww2): Likewise.
8039 (cslow2): Likewise.
8040 (csloww1): Likewise.
8041 (csloww2): Likewise.
8042
8043 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
8044 function.
8045 (__sin): Use it.
8046 (__cos): Likewise.
8047
8048 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
8049 gotos.
8050 (__cos): Likewise.
8051
80522013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
8053
8054 * config.h.in (HAVE_MIPS_NAN2008): New macro.
8055 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
8056 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
8057 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
8058 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
8059 * elf/cache.c (print_entry): Handle the new cache flags.
8060
80612013-09-18 Joseph Myers <joseph@codesourcery.com>
8062 Aldy Hernandez <aldyh@redhat.com>
8063
8064 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
8065 Change condition to [_SOFT_FLOAT].
8066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
8067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
8068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
8069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
8070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
8071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
8072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
8073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
8074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
8075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
8076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
8077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
8078 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
8079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
8080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
8081 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
8082 declaration.
8083
80842013-09-18 Joseph Myers <joseph@codesourcery.com>
8085
8086 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
8087 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8088 (__longjmp): Use LOAD_GP to load saved GPRs.
8089 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
8090 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8091 (__sigsetjmp): Use SAVE_GP to save GPRs.
8092
8093 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
8094 Do not append -msoft-float.
8095 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
8096
80972013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8098
8099 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
8100
81012013-09-17 Joseph Myers <joseph@codesourcery.com>
8102
8103 [BZ #15966]
8104 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
8105 (_FPU_GETCW): Use initial "__" on variable and field names but not
8106 on macro parameter name.
8107 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
8108 parentheses around reference to macro parameter.
8109
81102013-09-13 Richard Sandiford <richard@codesourcery.com>
8111
8112 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
8113 prototype.
8114 (ctype_startup): Use uint32_t in cast and sizeof for
8115 ctype->charnames.
8116
81172013-09-11 Jia Liu <proljc@gmail.com>
8118
8119 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
8120 __daddr_t_defined.
8121 [__FreeBSD__]: Likewise.
8122
81232013-09-11 Ondřej Bílka <neleai@seznam.cz>
8124
8125 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8126 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
8127 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
8128 (strchr): Remove __strchr_sse42 ifunc selection.
8129 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
8130 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
8131
81322013-09-11 Will Newton <will.newton@linaro.org>
8133
8134 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
8135 parameter to RES. Remove hardcoded 1000 value.
8136 * benchtests/bench-skeleton.c (main): Pass RES parameter
8137 to TIMING_INIT and multiply result by 1000.
8138
81392013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8140
8141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8142
81432013-09-11 Andreas Schwab <schwab@suse.de>
8144
8145 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8146 if not defined.
8147 (O_TMPFILE) [__USE_GNU]: Define.
8148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
8149 Define.
8150
81512013-09-11 Will Newton <will.newton@linaro.org>
8152
8153 [BZ #15857]
8154 * malloc/malloc.c (__libc_memalign): Check the value of bytes
8155 does not overflow.
8156
81572013-09-11 Will Newton <will.newton@linaro.org>
8158
8159 [BZ #15856]
8160 * malloc/malloc.c (__libc_valloc): Check the value of bytes
8161 does not overflow.
8162
81632013-09-11 Will Newton <will.newton@linaro.org>
8164
8165 [BZ #15855]
8166 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
8167 does not overflow.
8168
81692013-09-10 Ondřej Bílka <neleai@seznam.cz>
8170
8171 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
8172 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8176
81772013-09-10 Allan McRae <allan@archlinux.org>
8178
8179 [BZ #15748]
8180 * manual/arith.texi (Parsing of Floats): Clarify
8181 cross-reference.
8182
8183 [BZ #15849]
8184 * manual/install.texi (Running make install): Mention
8185 --enable-pt-chown.
8186 * INSTALL: Regenerated.
8187
81882013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8189
8190 * csu/init-first.c (_init): Remove the !SHARED condition around
8191 FPU control word initialization.
8192 * elf/dl-support.c (_dl_fpu_control): New variable.
8193 (_dl_aux_init) <AT_FPUCW>: Initialize it.
8194 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
8195 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
8196 * math/test-fpucw-static.c: New file.
8197 * math/test-fpucw-ieee.c: New file.
8198 * math/test-fpucw-ieee-static.c: New file.
8199 * math/Makefile (tests): Add `test-fpucw-ieee' and
8200 `$(tests-static)'.
8201 (tests-static): New variable.
8202 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
8203 dependency to...
8204 [($(build-shared),yes)]
8205 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8206 ... this.
8207 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
8208 New dependency.
8209
82102013-09-09 Allan McRae <allan@archlinux.org>
8211
8212 [BZ #15939]
8213 * manual/string.texi (Collation Functions): Fix typo in
8214 strcoll example.
8215 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
8216
8217 [BZ #15893]
8218 * stdlib/isomac.c (get_null_defines): Fix memory leak.
8219
8220 [BZ #15892]
8221 * libio/memstream.c (open_memstream): Fix memory leak.
8222 * libio/wmemstream.c (open_wmemstream): Likewise.
8223
8224 [BZ #15895]
8225 * nscd/netgroupcache.c: Fix nesting of ifdefs.
8226
82272013-09-09 Will Newton <will.newton@linaro.org>
8228
8229 * malloc/Makefile: Add tst-realloc to tests.
8230 * malloc/tst-realloc.c: New file.
8231
82322013-09-09 Allan McRae <allan@archlinux.org>
8233
8234 [BZ #15844]
8235 * COPYING: Update from GNU website to fix FSF address.
8236 * COPYING.LIB: Likewise.
8237
82382013-09-06 David S. Miller <davem@davemloft.net>
8239
8240 * po/zh_TW.po: Update Chinese (traditional) translation from
8241 translation project.
8242
82432013-09-06 Richard Sandiford <richard@codesourcery.com>
8244 Joseph Myers <joseph@codesourcery.com>
8245
8246 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
8247 "localeinfo.h".
8248 (obstack_chunk_alloc): New macro.
8249 (obstack_chunk_free): Likewise.
8250 (record_offset): New function.
8251 (init_locale_data): Likewise.
8252 (align_locale_data): Likewise.
8253 (add_locale_empty): Likewise.
8254 (add_locale_raw_data): Likewise.
8255 (add_locale_raw_obstack): Likewise.
8256 (add_locale_string): Likewise.
8257 (add_locale_wstring): Likewise.
8258 (add_locale_uint32): Likewise.
8259 (add_locale_uint32_array): Likewise.
8260 (add_locale_char): Likewise.
8261 (start_locale_structure): Likewise.
8262 (end_locale_structure): Likewise.
8263 (start_locale_prelude): Likewise.
8264 (end_locale_prelude): Likewise.
8265 (write_locale_data): Take locale_file structure rather than an
8266 iovec.
8267 * locale/programs/locfile.h: Include "obstack.h".
8268 (struct locale_file): Change to store locale file contents instead
8269 of header.
8270 (init_locale_data): New prototype.
8271 (align_locale_data): Likewise.
8272 (add_locale_empty): Likewise.
8273 (add_locale_raw_data): Likewise.
8274 (add_locale_raw_obstack): Likewise.
8275 (add_locale_string): Likewise.
8276 (add_locale_wstring): Likewise.
8277 (add_locale_uint32): Likewise.
8278 (add_locale_uint32_array): Likewise.
8279 (add_locale_char): Likewise.
8280 (start_locale_structure): Likewise.
8281 (end_locale_structure): Likewise.
8282 (start_locale_prelude): Likewise.
8283 (end_locale_prelude): Likewise.
8284 (write_locale_data): Update prototype.
8285 * locale/programs/3level.h (struct TABLE): Remove result field.
8286 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
8287 Use new locale_file interface.
8288 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
8289 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
8290 * locale/programs/ld-address.c (address_output): Use new
8291 locale_file interface.
8292 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
8293 NO_ADD_LOCALE.
8294 (collate_finish): Don't call collseq_table_finalize.
8295 (collate_output): Use new locale_file interface.
8296 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
8297 in file.
8298 (NO_FINALIZE): Change to NO_ADD_LOCALE.
8299 (TABLE): Move defines earlier in file.
8300 (ELEMENT): Likewise.
8301 (DEFAULT): Likewise.
8302 (wctrans_table_add): Move macro and inline function earlier in
8303 file.
8304 (struct wctype_table): Move type earlier in file.
8305 (add_locale_wctype_table): New static prototype.
8306 (struct locale_ctype_t): Use logical types instead of struct iovec
8307 pointers for members.
8308 (ctype_output): Use new locale_file interface.
8309 (wctype_table_finalize): Change to add_locale_wctype_table. Use
8310 new locale_file interface.
8311 (allocate_arrays): Update for use of new locale_file interface.
8312 * locale/programs/ld-identification.c (identification_output): Use
8313 new locale_file interface.
8314 * locale/programs/ld-measurement.c (measurement_output): Likewise.
8315 * locale/programs/ld-messages.c (messages_output): Likewise.
8316 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8317 * locale/programs/ld-name.c (name_output): Likewise.
8318 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8319 * locale/programs/ld-paper.c (paper_output): Likewise.
8320 * locale/programs/ld-telephone.c (telephone_output): Likewise.
8321 * locale/programs/ld-time.c (time_output): Likewise.
8322
83232013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8324
8325 * benchtests/Makefile: Add memrchr benchmark.
8326 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
8327 benchmark as memrchr.
8328 * benchtests/bench-memrchr-ifunc.c: New file.
8329 * benchtests/bench-memrchr.c: New file.
8330
83312013-09-06 Will Newton <will.newton@linaro.org>
8332
8333 * benchtests/Makefile (string-bench): Add memcpy.
8334
83352013-09-05 Carlos O'Donell <carlos@redhat.com>
8336 Cong Wang <amwang@redhat.com>
8337
8338 [BZ #15850]
8339 * sysdeps/unix/sysv/linux/bits/in.h
8340 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
8341 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
8342 before __USE_KERNEL_IPV6_DEFS uses.
8343 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
8344 IPPROTO_BEETPH.
8345 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
8346 sockaddr_in6, or ipv6_mreq.
8347
83482013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8349
8350 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
8351 memory access for final bytes in some large inputs.
8352 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
8353
83542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8355
8356 * string/test-memrchr.c: New file.
8357 * string/test-memrchr-ifunc.c: New file.
8358 * string/Makefile: Add new memrchr testcase.
8359
83602013-09-05 Mike Frysinger <vapier@gentoo.org>
8361
8362 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
8363 fanotify_init returns EPERM.
8364
83652013-09-04 Joseph Myers <joseph@codesourcery.com>
8366
8367 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
8368 errors.
8369 (top level): Treat second token from macro or constant entries for
8370 allowed headers as allowed.
8371 * include/complex.h: Condition internal declarations on
8372 [!_ISOMAC].
8373 * include/fenv.h: Condition include of <stdbool.h> and internal
8374 declarations on [!_ISOMAC].
8375
83762013-09-04 Chris Leonard <cjl@sugarlabs,.org>
8377
8378 [BZ #15923]
8379 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
8380
83812013-09-04 Joseph Myers <joseph@codesourcery.com>
8382
8383 * configure.in (--enable-versioning): Remove configure option.
8384 (libc_cv_asm_symver_directive): Remove configure test.
8385 (libc_cv_ld_version_script_option): Likewise.
8386 (VERSIONING): Remove variable and AC_SUBST.
8387 (DO_VERSIONING): Remove AC_DEFINE.
8388 * configure: Regenerated.
8389 * config.h.in (DO_VERSIONING): Remove macro.
8390 * Makerules [$(versioning) = yes]: Change conditionals to
8391 [$(build-shared) = yes].
8392 * config.make.in (versioning): Remove variable.
8393 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
8394 [$(build-shared) = yes].
8395 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
8396 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
8397 * elf/Makefile [$(versioning) = yes]: Change conditionals to
8398 [$(build-shared) = yes].
8399 * extra-lib.mk [$(versioning) = yes]: Likewise.
8400 * hurd/Makefile [$(versioning) = yes]: Likewise.
8401 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
8402 [SHARED].
8403 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
8404 [SHARED].
8405 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8406 [SHARED && !NO_HIDDEN].
8407 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
8408 [SHARED].
8409 [SHARED && DO_VERSIONING]: Likewise..
8410 * libio/Makefile [$(versioning) = yes]: Change conditionals to
8411 [$(build-shared) = yes].
8412 * manual/install.texi (--disable-versioning): Remove
8413 documentation.
8414 * INSTALL: Regenerated.
8415 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
8416 to [SHARED].
8417 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
8418 [$(build-shared) = yes].
8419 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
8420 * sysdeps/i386/i686/multiarch/strstr-c.c
8421 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8422 [SHARED && !NO_HIDDEN].
8423 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
8424 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
8425 * sysdeps/powerpc/powerpc32/dl-machine.c
8426 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
8427 * sysdeps/powerpc/powerpc32/sysdep.h
8428 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
8429 to [SHARED && PIC && !NO_HIDDEN].
8430 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
8431 conditional to [SHARED].
8432
84332013-09-04 Will Newton <will.newton@linaro.org>
8434
8435 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
8436 * benchtests/bench-string.h: Include bench-timing.h instead
8437 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
8438 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
8439 call to HP_TIMING_DIFF_INIT.
8440 * benchtests/bench-memccpy.c: Use bench-timing.h macros
8441 instead of hp-timing.h macros.
8442 * benchtests/bench-memchr.c: Likewise.
8443 * benchtests/bench-memcmp.c: Likewise.
8444 * benchtests/bench-memcpy.c: Likewise.
8445 * benchtests/bench-memmem.c: Likewise.
8446 * benchtests/bench-memmove.c: Likewise.
8447 * benchtests/bench-memset.c: Likewise.
8448 * benchtests/bench-rawmemchr.c: Likewise.
8449 * benchtests/bench-strcasecmp.c: Likewise.
8450 * benchtests/bench-strcasestr.c: Likewise.
8451 * benchtests/bench-strcat.c: Likewise.
8452 * benchtests/bench-strchr.c: Likewise.
8453 * benchtests/bench-strcmp.c: Likewise.
8454 * benchtests/bench-strcpy.c: Likewise.
8455 * benchtests/bench-strcpy_chk.c: Likewise.
8456 * benchtests/bench-strlen.c: Likewise.
8457 * benchtests/bench-strncasecmp.c: Likewise.
8458 * benchtests/bench-strncat.c: Likewise.
8459 * benchtests/bench-strncmp.c: Likewise.
8460 * benchtests/bench-strncpy.c: Likewise.
8461 * benchtests/bench-strnlen.c: Likewise.
8462 * benchtests/bench-strpbrk.c: Likewise.
8463 * benchtests/bench-strrchr.c: Likewise.
8464 * benchtests/bench-strspn.c: Likewise.
8465 * benchtests/bench-strstr.c: Likewise.
8466
84672013-09-04 Will Newton <will.newton@linaro.org>
8468
8469 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
8470
84712013-09-03 Joseph Myers <joseph@codesourcery.com>
8472
8473 [BZ #15427]
8474 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8475 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
8476 * math/libm-test.inc (lgamma_test_data): Add more tests.
8477 * sysdeps/i386/fpu/libm-test-ulps: Update.
8478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8479
84802013-09-03 Ondřej Bílka <neleai@seznam.cz>
8481
8482 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
8483 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8484 Add ifunc.
8485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8486 Add strcmp-sse2-unaligned
8487 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
8488
84892013-09-02 Mike Frysinger <vapier@gentoo.org>
8490
8491 * Versions.def (libc): Add GLIBC_2.19.
8492
84932013-09-02 Mike Frysinger <vapier@gentoo.org>
8494
8495 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
8496 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
8497
84982013-09-02 Joseph Myers <joseph@codesourcery.com>
8499
8500 [BZ #14155]
8501 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
8502 intermediate calculations in recurrence.
8503 (__ieee754_ynf): Likewise.
8504 * math/libm-test.inc (jn_test_data): Do not allow spurious
8505 underflow exception. Add more tests.
8506 (yn_test_data): Add more tests.
8507 * sysdeps/i386/fpu/libm-test-ulps: Update.
8508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8509
85102013-09-02 Ondřej Bílka <neleai@seznam.cz>
8511
8512 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
8513
85142013-08-30 Ondřej Bílka <neleai@seznam.cz>
8515
8516 * csu/init-first.c: Fix then/than typos.
8517 * locale/programs/ld-collate.c: Likewise.
8518 * locale/programs/linereader.h: Likewise.
8519 * manual/charset.texi: Likewise.
8520 * manual/filesys.texi: Likewise.
8521 * manual/stdio.texi: Likewise.
8522 * manual/string.texi: Likewise.
8523 * stdlib/fmtmsg.c: Likewise.
8524 * sysdeps/i386/stpncpy.S: Likewise.
8525 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8526 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8527 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8528 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8529
85302013-08-30 Ondřej Bílka <neleai@seznam.cz>
8531
8532 * elf/dl-open.c: Fix typos.
8533 * iconvdata/gbbig5.c: Likewise.
8534 * iconvdata/iso-2022-jp.c: Likewise.
8535 * iconv/gconv_int.h: Likewise.
8536 * iconv/loop.c: Likewise.
8537 * nis/rpcsvc/nis.h: Likewise.
8538 * resolv/ns_name.c: Likewise.
8539 * stdio-common/vfscanf.c: Likewise.
8540 * streams/stropts.h: Likewise.
8541 * sunrpc/rpc_thread.c: Likewise.
8542 * sysdeps/i386/strpbrk.S: Likewise.
8543 * sysdeps/ieee754/k_standard.c: Likewise.
8544 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8546 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8547 * sysdeps/mach/hurd/profil.c: Likewise.
8548 * sysdeps/s390/dl-procinfo.h: Likewise.
8549 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8550 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8551 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8552 * sysdeps/x86_64/dl-trampoline.S: Likewise.
8553 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8554
85552013-08-30 Ondřej Bílka <neleai@seznam.cz>
8556
8557 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8559
85602013-08-29 Ondřej Bílka <neleai@seznam.cz>
8561
8562 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8563 aix specific files.
8564 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8565 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8566 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8567 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8568 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8569 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8570 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8571 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8572
85732013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8574 Roland McGrath <roland@hack.frob.com>
8575
8576 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8577 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8578
85792013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
8580
8581 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8582 __executable_start symbol instead of _start.
8583
85842013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8585
8586 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8587 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8588 Move macros to...
8589 * sysdeps/gnu/ldsodefs.h: ... this new file.
8590
8591 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8592 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8593 instead of ELFOSABI_LINUX.
8594
8595 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
8596 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8597 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8598 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8599 Likewise.
8600 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8601 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8602 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8603 Likewise.
8604 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8605 (ibm_extended_long_double): Add ieee_nan member.
8606 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8607 (do_test): New function.
8608
8609 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8610 TEST_TRUNC.
8611 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8612 functions, renamed from truncdfsf_test, trunctfsf_test,
8613 trunctfdf_test.
8614 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8615 functions.
8616 (do_test): Run all these.
8617
86182013-08-29 Ondřej Bílka <neleai@seznam.cz>
8619
8620 * argp/argp-help.c: Fix typos.
8621 * argp/argp-parse.c: Likewise.
8622 * debug/backtracesyms.c: Likewise.
8623 * elf/elf.h: Likewise.
8624 * malloc/malloc.c: Likewise.
8625 * nis/nis_print.c: Likewise.
8626 * resolv/res_comp.c: Likewise.
8627 * stdlib/stdlib.h: Likewise.
8628 * sunrpc/clnt_tcp.c: Likewise.
8629 * sunrpc/clnt_udp.c: Likewise.
8630 * sunrpc/clnt_unix.c: Likewise.
8631 * sysdeps/unix/bsd/ptsname.c: Likewise.
8632 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8633 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8635 Likewise.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8637 Likewise.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8639 Likewise.
8640 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8641
86422013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8643
8644 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8646
86472013-08-27 Mike Frysinger <vapier@gentoo.org>
8648
8649 [BZ #15897]
8650 * dlfcn/Makefile (tests): Add bug-dl-leaf.
8651 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8652 ($(objpfx)bug-dl-leaf): New rule.
8653 ($(objpfx)bug-dl-leaf.so): Likewise.
8654 ($(objpfx)bug-dl-leaf.out): Likewise.
8655 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8656 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8657 * dlfcn/bug-dl-leaf.c: New test.
8658 * dlfcn/bug-dl-leaf-lib.c: Likewise.
8659 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8660 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8661 (dlclose): Likewise.
8662 (dlmopen): Likewise.
8663
86642013-08-27 Roland McGrath <roland@hack.frob.com>
8665
8666 * include/netdb.h [!_ISOMAC]:
8667 Don't include <tls.h>.
8668 (h_errno, __libc_h_errno): Move declaration and macros out of
8669 [_LIBC_REENTRANT].
8670
8671 * include/resolv.h [_RESOLV_H_]:
8672 Don't include <tls.h>.
8673 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8674 * resolv/res_libc.c: Don't include <tls.h>.
8675 (_res): Use __attribute__ ((nocommon)) in place of
8676 __attribute__ ((section (".bss"))).
8677
8678 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8679 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8680
8681 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8682
8683 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8684 only under [SIOCGIFCONF && SIOCGIFNETMASK].
8685
8686 * resolv/res_mkquery.c: Include <sys/time.h>.
8687
8688 * inet/ifreq.c: Moved to ...
8689 * sysdeps/unix/ifreq.c: ... here.
8690 * inet/ifreq.c: New file, true stub version.
8691
8692 * socket/sa_len.c: New file.
8693 * socket/Makefile (aux): Add it.
8694 * sysdeps/unix/sysv/linux/Makefile
8695 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8696 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8697 and #include <socket/sa_len.c>.
8698 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8699 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8700
8701 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8702 * bits/socket.h: ... here.
8703
8704 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8705 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8706 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8707
87082013-08-27 Andreas Schwab <schwab@suse.de>
8709
8710 [BZ #15736]
8711 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8712 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8713 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8714 * string/test-strcasecmp.c (test_main): Run tests in several
8715 locales.
8716 * string/test-strncasecmp.c (test_main): Likewise.
8717
8718 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8719 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8720 to __strcasecmp_nonascii and __strncasecmp_nonascii.
8721 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8722 (__strncasecmp_ssse3) [PIC]: Likewise.
8723
87242013-08-26 Roland McGrath <roland@hack.frob.com>
8725
8726 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8727
8728 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8729 instead of explicitly declaring xdecrypt.
8730 * nis/nss_nis/nis-publickey.c: Likewise.
8731
87322013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8733
8734 [BZ #15890]
8735 * nscd/aicache.c: Include res_hconf.h.
8736 (addhstaiX): Initialize res_hconf.
8737
87382013-08-26 Andreas Schwab <schwab@suse.de>
8739
8740 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8741 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8742
87432013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8744
8745 * nscd/aicache.c (addhstaiX): Fix indentation.
8746
87472013-08-25 Mike Frysinger <vapier@gentoo.org>
8748
8749 * configure.ac: Quote $build_pt_chown test.
8750 * configure: Regenerated.
8751
87522013-08-23 Joseph Myers <joseph@codesourcery.com>
8753
8754 [BZ #15532]
8755 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8756 * math/s_cexpf.c (__cexpf): Likewise.
8757 * math/s_cexpl.c (__cexpl): Likewise.
8758 * math/libm-test.inc (cexp_test_data): Correct expected return
8759 value for NaN + i0. Add another test.
8760
87612013-08-22 David S. Miller <davem@davemloft.net>
8762
8763 * po/ca.po: Update Catalan translation from translation project.
8764 * po/uk.po: Add Ukrainian translations from translation project.
8765
87662013-08-21 Joseph Myers <joseph@codesourcery.com>
8767
8768 [BZ #15797]
8769 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8770 is infinite, not alongside NaN test.
8771 * math/s_fdimf.c (__fdimf): Likewise.
8772 * math/s_fdiml.c (__fdiml): Likewise.
8773 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8774 errno is unchanged.
8775
87762013-08-21 Ondřej Bílka <neleai@seznam.cz>
8777
8778 * argp/argp-help.c: Fix typos.
8779 * crypt/speeds.c: Likewise.
8780 * csu/check_fds.c: Likewise.
8781 * elf/dl-load.c: Likewise.
8782 * elf/dl-open.c: Likewise.
8783 * elf/reldep3.c: Likewise.
8784 * elf/reldep.c: Likewise.
8785 * elf/sprof.c: Likewise.
8786 * iconv/iconv_charmap.c: Likewise.
8787 * iconv/skeleton.c: Likewise.
8788 * iconv/strtab.c: Likewise.
8789 * io/lockf64.c: Likewise.
8790 * libio/libioP.h: Likewise.
8791 * resolv/gai_notify.c: Likewise.
8792 * resolv/ns_name.c: Likewise.
8793 * resolv/ns_samedomain.c: Likewise.
8794 * resolv/res_send.c: Likewise.
8795 * stdlib/random.c: Likewise.
8796 * sunrpc/rpc/xdr.h: Likewise.
8797 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8798 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8799 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8800 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8801 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8802 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8803 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8804 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8805 * sysdeps/mach/hurd/check_fds.c: Likewise.
8806 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8807 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8808 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8809 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8810 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8811 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8812 * sysdeps/pthread/aio_notify.c: Likewise.
8813 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8814 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8815 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8816 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8817 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8818
88192013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8820
8821 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8822 version if bit_Slow_SSE4_2 is set.
8823 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8824 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8825
88262013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8827
8828 [BZ #15867]
8829 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8830 trampoline stack frame information.
8831 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8832 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8833 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8834 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8835 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8836 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8837 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8838 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8839 sa_flags value.
8840 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8841 interrupting a syscall and set with option SA_SIGINFO.
8842
88432013-08-20 Joseph Myers <joseph@codesourcery.com>
8844
8845 [BZ #15531]
8846 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8847 argument is infinite.
8848 * math/s_cprojf.c (__cprojf): Likewise.
8849 * math/s_cprojl.c (__cprojl): Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8851 * math/libm-test.inc (cproj_test_data): Add more tests.
8852
8853 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8854
8855 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8856 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8857 size. Use __ffs to determine corresponding shift.
8858
88592013-08-20 Joseph Myers <joseph@codesourcery.com>
8860 Roland McGrath <roland@hack.frob.com>
8861
8862 * Makefile (INSTALL): Remove trailing blank lines from output of
8863 makeinfo.
8864
88652013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8866
8867 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8868 Align 32 bit compat elf_greg to 8 bytes.
8869
88702013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8871
8872 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8873
88742013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8875
8876 * string/strcoll_l.c (coll_seq): New structure.
8877 (get_next_seq_cached): New function.
8878 (get_next_seq): New function.
8879 (do_compare): New function.
8880 (STRCOLL): Use GNU style definition. Simplify implementation
8881 by using get_next_seq, get_next_seq_cached and do_compare.
8882
88832013-08-16 Florian Weimer <fweimer@redhat.com>
8884
8885 [BZ #14699]
8886 CVE-2013-4237
8887 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8888 member.
8889 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8890 member.
8891 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8892 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8893 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8894 conditional.
8895 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8896 GETDENTS_64BIT_ALIGNED.
8897 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8898 * manual/filesys.texi (Reading/Closing Directory): Document
8899 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8900 strongly.
8901 * manual/conf.texi (Limits for Files): Add portability note to
8902 NAME_MAX, PATH_MAX.
8903 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8904
89052013-08-13 Andreas Schwab <schwab@suse.de>
8906
8907 [BZ #15749]
8908 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8909 of fabs.
8910 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8911 LDBL_MAX_EXP >= 16384]: Add tests for it.
8912
89132013-08-12 David S. Miller <davem@davemloft.net>
8914
8915 * version.h (RELEASE): Set to "development".
8916 (VERSION): Set to "2.18.90".
8917 * NEWS: Add 2.19 section.
8918
89192013-08-03 David S. Miller <davem@davemloft.net>
8920
8921 * po/ko.po: Update Korean translation from translation project.
8922
89232013-08-01 David S. Miller <davem@davemloft.net>
8924
8925 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8926 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8927 Bilka.
8928
89292013-07-30 David S. Miller <davem@davemloft.net>
8930
8931 * po/fr.po: Update French translation from translation project.
8932
89332013-07-28 David S. Miller <davem@davemloft.net>
8934
8935 * po/cs.po: Update Czech translation from translation project.
8936
8937 * po/sv.po: Update Swedish translation from translation project.
8938
89392013-07-27 David S. Miller <davem@davemloft.net>
8940
8941 * po/eo.po: Update Esperanto translation from translation project.
8942
8943 * po/vi.po: Update Vietnamese translation from translation project.
8944
8945 * po/de.po: Update German translation from translation project.
8946
89472013-07-26 David S. Miller <davem@davemloft.net>
8948
8949 * po/bg.po: Update Bulgarian translation from translation project.
8950
8951 * po/nl.po: Update Dutch translation from translation project.
8952 * po/pl.po: Update Polish translation from translation project.
8953 * po/ru.po: Update Russian translation from translation project.
8954
89552013-07-24 David S. Miller <davem@davemloft.net>
8956
8957 * po/libc.pot: Update.
8958
89592013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8960
8961 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8962 variable page size.
8963 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8964 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8965 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8966
89672013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8968
8969 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8970
89712013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8972 Andreas Schwab <schwab@suse.de>
8973 Roland McGrath <roland@hack.frob.com>
8974 Joseph Myers <joseph@codesourcery.com>
8975 Carlos O'Donell <carlos@redhat.com>
8976
8977 [BZ #15755]
8978 * config.h.in: Define HAVE_PT_CHOWN.
8979 * config.make.in (build-pt-chown): New variable.
8980 * configure.in (--enable-pt_chown): New configure option.
8981 * configure: Regenerate.
8982 * login/Makefile: Include Makeconfig. Build pt_chown only if
8983 build-pt-chown is enabled.
8984 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8985 pt_chown to fix pty ownership.
8986 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8987 CLOSE_ALL_FDS.
8988 * manual/install.texi (Configuring and compiling): Mention
8989 --enable-pt_chown. Add @findex for grantpt.
8990 * INSTALL: Regenerate.
8991
89922013-07-20 David S. Miller <davem@davemloft.net>
8993
8994 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8995 difference between 32-bit and 64-bit.
8996
89972013-07-15 Carlos O'Donell <carlos@redhat.com>
8998
8999 [BZ #15711]
9000 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9001 Avoid system header dependency with -ffreestanding.
9002 ($(objpfx)bits/syscall%d): Likewise.
9003
90042013-07-13 David S. Miller <davem@davemloft.net>
9005
9006 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
9007 underflows from atanl/atan2l due to bug 15319.
9008 (casinh_test_data): Likewise.
9009
90102013-07-07 David S. Miller <davem@davemloft.net>
9011
9012 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9013
90142013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
9015
9016 * sysdeps/i386/fpu/libm-test-ulps: Update.
9017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9018
90192013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9020
9021 * configure.in (--enable-lock-elision): Fix message text.
9022 * INSTALL: Regenerate.
9023 * configure: Regenerate.
9024
90252013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9026
9027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9028
90292013-07-03 Andreas Jaeger <aj@suse.de>
9030
9031 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
9032 define.
9033 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
9034 (ptrace_peeksiginfo_args): Add.
9035 (__ptrace_peeksiginfo_flags): Add.
9036 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9037 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9038 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9039
90402013-07-03 Allan McRae <allan@archlinux.org>
9041
9042 * sysdeps/i386/fpu/libm-test-ulps: Update.
9043
90442013-07-02 David S. Miller <davem@davemloft.net>
9045
9046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9047
90482013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
9049
9050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9051
90522013-07-02 Joseph Myers <joseph@codesourcery.com>
9053
9054 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9056
90572013-07-02 Andi Kleen <ak@linux.intel.com>
9058
9059 * config.h.in (ENABLE_LOCK_ELISION): Add.
9060 * configure.in (--enable-lock-elision): Add option.
9061 * manual/install.texi: Document --enable lock elision.
9062 * configure: Regenerate
9063 * INSTALL: Regenerate.
9064
90652013-07-02 H.J. Lu <hongjiu.lu@intel.com>
9066
9067 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
9068 SSE4.2 strcasecmp for libc.a.
9069 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9070
90712013-07-02 Joseph Myers <joseph@codesourcery.com>
9072
9073 [BZ #13304]
9074 * soft-fp/op-common.h (_FP_FMA): New macro.
9075 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
9076 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
9077 (_FP_MUL_MEAT_1_imm): ... here.
9078 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
9079 (_FP_MUL_MEAT_1_wide): ... here.
9080 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
9081 (_FP_MUL_MEAT_1_hard): ... here.
9082 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
9083 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
9084 (_FP_MUL_MEAT_2_wide): ... here.
9085 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
9086 (_FP_MUL_MEAT_2_wide_3mul): ... here.
9087 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
9088 (_FP_MUL_MEAT_2_gmp): ... here.
9089 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
9090 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
9091 (_FP_MUL_MEAT_4_wide): ... here.
9092 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
9093 (_FP_MUL_MEAT_4_gmp): ... here.
9094 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
9095 (_FP_WFRACBITS_DW_S): Likewise.
9096 (_FP_WFRACXBITS_DW_S): Likewise.
9097 (_FP_HIGHBIT_DW_S): Likewise.
9098 (FP_FMA_S): Likewise.
9099 (_FP_FRAC_HIGH_DW_S): Likewise.
9100 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
9101 (_FP_WFRACBITS_DW_D): Likewise.
9102 (_FP_WFRACXBITS_DW_D): Likewise.
9103 (_FP_HIGHBIT_DW_D): Likewise.
9104 (FP_FMA_D): Likewise.
9105 (_FP_FRAC_HIGH_DW_D): Likewise.
9106 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
9107 (_FP_WFRACBITS_DW_E): Likewise.
9108 (_FP_WFRACXBITS_DW_E): Likewise.
9109 (_FP_HIGHBIT_DW_E): Likewise.
9110 (FP_FMA_E): Likewise.
9111 (_FP_FRAC_HIGH_DW_E): Likewise.
9112 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
9113 (_FP_WFRACBITS_DW_Q): Likewise.
9114 (_FP_WFRACXBITS_DW_Q): Likewise.
9115 (_FP_HIGHBIT_DW_Q): Likewise.
9116 (FP_FMA_Q): Likewise.
9117 (_FP_FRAC_HIGH_DW_Q): Likewise.
9118 * soft-fp/fmasf4.c: New file.
9119 * soft-fp/fmadf4.c: Likewise.
9120 * soft-fp/fmatf4.c: Likewise.
9121
91222013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9123
9124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9125 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
9126 Silvermont.
9127 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
9128 macro.
9129 (index_Slow_SSE4_2): Likewise.
9130 (index_Prefer_PMINUB_for_stringop): Likewise.
9131 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
9132 bit_Slow_SSE4_2 is set.
9133 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9134 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9135
91362013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9137
9138 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
9139 rtld_global._dl_hwcap2.
9140 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
9141 POWER8.
9142 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
9143 POWER8 feature descriptions defined in _dl_hwcap2.
9144 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
9145 string handling for POWER8 feature bits.
9146 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
9147 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
9148 _dl_powerpc_cap_flags.
9149 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
9150 * sysdeps/powerpc/rtld-global-offsets.sym
9151 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
9152 _dl_hwcap2 in the rtld_global_ro structure.
9153
91542013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9155
9156 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
9157 hardware capabilities in support of AT_HWCAP2.
9158 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
9159 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
9160 GLRO(dl_hwcap2).
9161 (_dl_show_auxv): Add support for calling _dl_procinfo to display
9162 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
9163 explicitly the unknown a_type display mechanism is used.
9164 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
9165 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
9166 struct member.
9167 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
9168 to macro prototype for AT_HWCAP2 support.
9169 * sysdeps/i386/dl-procinfo.h: Likewise.
9170 * sysdeps/s390/dl-procinfo.h: Likewise.
9171 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
9172 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
9173 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
9174 return -1 for unknown a_type display fallback.
9175 * sysdeps/sparc/dl-procinfo.h: Likewise.
9176 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
9177 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
9178
91792013-06-28 Joseph Myers <joseph@codesourcery.com>
9180
9181 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
9182 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
9183
91842013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
9185
9186 [BZ #12492]
9187 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
9188 mprotect making __stack_prot writable.
9189
91902013-06-28 Nathan Froyd <froydnj@codesourcery.com>
9191 Joseph Myers <joseph@codesourcery.com>
9192
9193 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
9194 as being properly aligned.
9195
91962013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
9197
9198 * dlfcn/modstatic5.c: New file.
9199 * dlfcn/tststatic5.c: New file.
9200 * dlfcn/Makefile (tests): Add tststatic5.
9201 (tests-static): Likewise.
9202 (modules-names): Add modstatic5.
9203 (tststatic5-ENV): New variable.
9204 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
9205
9206 [BZ #15022]
9207 * elf/dl-support.c (_dl_main_map): New variable.
9208 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
9209 (_dl_nns, _dl_load_adds): Set to 1.
9210 (_dl_initial_searchlist): Refer to _dl_main_map.
9211 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
9212 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
9213 call to _dl_get_origin.
9214 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
9215 around call_map.
9216 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
9217 * dlfcn/modstatic3.c: New file.
9218 * dlfcn/tststatic3.c: New file.
9219 * dlfcn/tststatic4.c: New file.
9220 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
9221 (tests-static): Likewise.
9222 (modules-names): Add modstatic3.
9223 (tststatic3-ENV, tststatic4-ENV): New variables.
9224 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
9225 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
9226
92272013-06-26 Joseph Myers <joseph@codesourcery.com>
9228
9229 * configure.in (CC): Require GCC version 4.4 or later.
9230 * configure: Regenerated.
9231 * manual/install.texi (Tools for Compilation): Update GCC version
9232 requirement.
9233 * INSTALL: Regenerated.
9234
92352013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9236
9237 [BZ #15674]
9238 * string/test-memcmp.c (check2): New.
9239 (main): Call check2.
9240
9241 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
9242
92432013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
9244
9245 [BZ #15022]
9246 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
9247 over to...
9248 (dl_open_worker) [!SHARED]: ... here.
9249
92502013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9251
9252 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
9253
92542013-06-25 Richard Henderson <rth@redhat.com>
9255
9256 * locale/programs/locarchive.c: Include <libc-internal.h>
9257
92582013-06-25 Joseph Myers <joseph@codesourcery.com>
9259
9260 * manual/texinfo.tex: Update to version 2013-06-21.17, with
9261 trailing whitespace removed.
9262
92632013-06-24 Mike Frysinger <vapier@gentoo.org>
9264
9265 [BZ #10283]
9266 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
9267 * locale/programs/locarchive.c: Include libc-mmap.h.
9268 (prepare_address_space): Take two new outputs (the mmap base and len).
9269 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
9270 values.
9271 (create_archive): Declare new mmap base and len values for
9272 prepare_address_space, and store the result in ah.
9273 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
9274 (enlarge_archive): If ah->mmap_base is not NULL, use that and
9275 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
9276 Declare new mmap base and len values for
9277 prepare_address_space, and store the result in new_ah.
9278 (open_archive): Declare new mmap base and len values for
9279 prepare_address_space, and store the result in ah.
9280 (close_archive): If ah->mmap_base is not NULL, use that and
9281 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
9282 * sysdeps/generic/libc-mmap.h: New file.
9283
92842013-06-24 Mike Frysinger <vapier@gentoo.org>
9285
9286 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
9287 (ALIGN_UP): Likewise.
9288 (PTR_ALIGN_DOWN): Likewise.
9289 (PTR_ALIGN_UP): Likewise.
9290
92912013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9292
9293 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
9294 entry mapped to PPC_PLATFORM_POWER8.
9295 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
9296 POWER8.
9297 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
9298 (_dl_string_platform): Add case for exporting platform position for
9299 POWER8.
9300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
9301 search path to sysdeps/powerpc/powerpc32/power8 directory.
9302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
9303 search path to sysdeps/powerpc/powerpc64/power8 directory.
9304 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
9305 power7 directories.
9306 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
9307 power7 directories.
9308
93092013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9310
9311 * INSTALL: Regenerate.
9312
9313 * nscd/connections.c (nscd_init): Fix comment.
9314
93152013-06-22 Joseph Myers <joseph@codesourcery.com>
9316
9317 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
9318
9319 [BZ #15667]
9320 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
9321 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
9322
93232013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
9324
9325 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
9326 DL_DST_REQ_STATIC.
9327 (DL_DST_REQ_STATIC): Remove macro.
9328
93292013-06-21 Joseph Myers <joseph@codesourcery.com>
9330
9331 [BZ #7006]
9332 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
9333 with a shift of 0 bits.
9334
93352013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
9336
9337 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
9338 $(tststatic-ENV).
9339
93402013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9341
9342 [BZ #15655]
9343 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
9344
93452013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9346
9347 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
9348 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
9349 accepts -fno-tree-loop-distribute-patterns.
9350 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
9351 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
9352 recursive call.
9353 * string/memset.c (memset): Likewise.
9354 * string/test-memmove.c (simple_memmove): Disable loop transformation
9355 to library calls.
9356 * string/test-memset.c (simple_memset): Likewise.
9357 * benchtests/bench-memmove.c (simple_memmove): Likewise.
9358 * benchtests/bench-memset.c (simple_memset): Likewise.
9359 * configure: Regenerated.
9360
93612013-06-20 Joseph Myers <joseph@codesourcery.com>
9362
9363 * math/test-misc.c (main): Ignore fesetround failure when failures
9364 of subsequent rounding tests would be ignored.
9365
9366 [BZ #15654]
9367 * math/fedisblxcpt.c (fedisableexcept): Return 0.
9368 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
9369 * math/fegetenv.c (__fegetenv): Return 0.
9370 * math/fegetexcept.c (fegetexcept): Return 0.
9371 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
9372 FE_TONEAREST.
9373 * math/feholdexcpt.c (feholdexcept): Return 0.
9374 * math/fesetenv.c (__fesetenv): Return 0.
9375 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
9376 argument FE_TONEAREST.
9377 * math/feupdateenv.c (__feupdateenv): Return 0.
9378 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
9379
93802013-06-18 Roland McGrath <roland@hack.frob.com>
9381
9382 * elf/rtld-Rules (rtld-compile-command.S): New variable.
9383 (rtld-compile-command.s, rtld-compile-command.c): New variables.
9384 ($(objpfx)rtld-%.os rules): Use them.
9385
93862013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9387
9388 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
9389 fields.
9390
93912013-06-17 Roland McGrath <roland@hack.frob.com>
9392
9393 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
9394 length of target pattern, then descending length of dependency pattern.
9395 * configure.in (AWK): Require gawk 3.1.2 or newer.
9396 * manual/install.texi (Tools for Compilation): Say that we do.
9397 * configure: Regenerated.
9398
9399 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
9400 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
9401 * scripts/sysd-rules.awk: ... this new script.
9402 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
9403 than a glob-style pattern.
9404
94052013-06-17 Joseph Myers <joseph@codesourcery.com>
9406
9407 * math/test-misc.c (main): Do not treat incorrectly rounded
9408 conversions as failure unless ROUNDING_TESTS passes.
9409
94102013-06-15 Joseph Myers <joseph@codesourcery.com>
9411
9412 [BZ #15631]
9413 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
9414 restore exception state around main square root computation, then
9415 check for inexactness explicitly.
9416
9417 * math/libm-test.inc (fma_test_data): Add another test.
9418
94192013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9420
9421 * manual/threads.texi (Non-POSIX Extensions): New document
9422 node. Document pthread_getattr_default_np and
9423 pthread_setattr_default_np.
9424
9425 * Versions.def (libpthread): Add GLIBC_2.18.
9426 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
9427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9428 Likewise.
9429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9430 Likewise.
9431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9432 Likewise.
9433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9434 Likewise.
9435 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
9436 Likewise.
9437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9438 Likewise.
9439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9440 Likewise.
9441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9442 Likewise.
9443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9444 Likewise.
9445
94462013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9447
9448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9449 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
9450
94512013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9452 H.J. Lu <hjl.tools@gmail.com>
9453
9454 [BZ #15627]
9455 * sysdeps/x86_64/rtld-memset.c: Remove file.
9456 * sysdeps/x86_64/rtld-memset.S: New file.
9457
94582013-06-14 Joseph Myers <joseph@codesourcery.com>
9459
9460 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
9461 (test_in_one_mode): Take arguments for whether the rounding mode
9462 is supported for each floating-point type.
9463 (do_test): Pass new arguments to test_in_one_mode using
9464 ROUNDING_TESTS.
9465
94662013-06-13 Roland McGrath <roland@hack.frob.com>
9467
9468 * posix/tst-waitid.c (do_test): Distinguish different instances of
9469 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
9470 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
9471 before entering the kernel for waitpid.
9472
94732013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9474
9475 * NEWS: Fix note on clock function precision. Text by Roland
9476 McGrath.
9477
94782013-06-13 Roland McGrath <roland@hack.frob.com>
9479
9480 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
9481 it into place only when and if the sanity check passes.
9482
94832013-06-13 Joseph Myers <joseph@codesourcery.com>
9484
9485 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
9486 output for whether conversion result is exact. Take argument
9487 indicating whether type is IBM long double.
9488 (round_for_all): Change need_exact field to ibm_ld.
9489 * stdlib/tst-strtod-round.c (struct exactness): New type.
9490 (struct test): Change bool ld_ok field to struct exactness exact.
9491 (TEST): Update all definitions for change to field.
9492 (tests): Regenerate array contents.
9493 (test_in_one_mode): Take pointer to new field instead of old ld_ok
9494 field value. Check for IBM long double here.
9495 (do_test): Update calls to test_in_one_mode.
9496
94972013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9498
9499 [BZ #12515]
9500 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
9501 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
9502
95032013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9504
9505 [BZ #15605]
9506 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
9507 generated by the compiler on loop optimizations.
9508 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
9509 general definitions.
9510
95112013-06-12 Joseph Myers <joseph@codesourcery.com>
9512
9513 * math/bug-nextafter.c: Include <math-tests.h>.
9514 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9515 the relevant type.
9516 * math/bug-nexttoward.c: Include <math-tests.h>.
9517 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9518 the relevant type.
9519 * math/test-misc.c: Include <math-tests.h>.
9520 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9521 the relevant type.
9522
95232013-06-12 Andreas Jaeger <aj@suse.de>
9524
9525 * po/ia.po: Update Interlingua translation from translation
9526 project.
9527
95282013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9529
9530 * include/fenv.h: Include stdbool.h.
9531 (struct rm_ctx): New structure.
9532 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9533 Define macro.
9534 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9535 (SET_RESTORE_ROUNDF): Likewise.
9536 (SET_RESTORE_ROUNDL): Likewise.
9537 (SET_RESTORE_ROUND_NOEX): Likewise.
9538 (SET_RESTORE_ROUND_NOEXF): Likewise.
9539 (SET_RESTORE_ROUND_NOEXL): Likewise.
9540 (SET_RESTORE_ROUND_53BIT): Likewise.
9541 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9542 (libc_feresetround_noexf_ctx): Likewise.
9543 (libc_feresetround_noexl_ctx): Likewise.
9544 (libc_feholdsetround_53bit_ctx): Likewise.
9545 (libc_feresetround_53bit_ctx): Likewise.
9546 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9547 (libc_feholdexcept_setround_sse_ctx): New function.
9548 (libc_fesetenv_sse_ctx): Likewise.
9549 (libc_feupdateenv_sse_ctx): Likewise.
9550 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9551 (libc_feholdexcept_setround_387_ctx): Likewise.
9552 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9553 (libc_feholdsetround_387_prec_ctx): Likewise.
9554 (libc_feholdsetround_387_ctx): Likewise.
9555 (libc_feholdsetround_387_53bit_ctx): Likewise.
9556 (libc_feholdsetround_sse_ctx): Likewise.
9557 (libc_feresetround_sse_ctx): Likewise.
9558 (libc_feresetround_387_ctx): Likewise.
9559 (libc_feupdateenv_387_ctx): Likewise.
9560 (libc_feholdexcept_setroundf_ctx): Define macro.
9561 (libc_fesetenvf_ctx): Likewise.
9562 (libc_feupdateenvf_ctx): Likewise.
9563 (libc_feholdsetroundf_ctx): Likewise.
9564 (libc_feresetroundf_ctx): Likewise.
9565 (libc_feholdexcept_setround_ctx): Likewise.
9566 (libc_fesetenv_ctx): Likewise.
9567 (libc_feupdateenv_ctx): Likewise.
9568 (libc_feholdsetround_ctx): Likewise.
9569 (libc_feresetround_ctx): Likewise.
9570 (libc_feholdexcept_setroundl_ctx): Likewise.
9571 (libc_feupdateenvl_ctx): Likewise.
9572 (libc_feholdsetroundl_ctx): Likewise.
9573 (libc_feresetroundl_ctx): Likewise.
9574 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9575 (libc_feresetround_53bit_ctx): Likewise.
9576
95772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9578
9579 * locale/iso-639.def: Convert to UTF-8.
9580
95812013-06-11 Joseph Myers <joseph@codesourcery.com>
9582
9583 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9584 (EXCEPTION_TESTS_double): Likewise.
9585 (EXCEPTION_TESTS_long_double): Likewise.
9586 (EXCEPTION_TESTS): Likewise.
9587 * math/libm-test.inc (test_exceptions): Only test exceptions if
9588 EXCEPTION_TESTS (FLOAT).
9589
95902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9591
9592 * benchtests/Makefile (string-bench): Add strcpy_chk and
9593 stpcpy_chk.
9594 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9595 * benchtests/bench-stpcpy_chk.c: New file.
9596 * benchtests/bench-strcpy_chk-ifunc.c: New file.
9597 * benchtests/bench-strcpy_chk.c: New file.
9598 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9599 code.
9600 (do_test): Likewise.
9601
96022013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9603
9604 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9605 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9606 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9607 with tabs where appropriate.
9608 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9609 dl-procinfo.h.
9610 [PPC_PLATFORM_PPC440]: Likewise.
9611 [PPC_PLATFORM_PPC464]: Likewise.
9612 [PPC_PLATFORM_PPC476]: Likewise.
9613 (_dl_string_platform): Add support for detecting ppc405, ppc440,
9614 ppc464, and ppc476 platform strings merging from ports/
9615 dl-procinfo.h.
9616
96172013-06-11 Andreas Schwab <schwab@suse.de>
9618
9619 [BZ #14991]
9620 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9621 (from_ucs4_idx): Regenerate.
9622 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9623 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9624 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9625 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9626 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9627 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9628 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9629 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9630 from FROM_LOOP and TO_LOOP specific macros.
9631 (BODY): Handle combining characters.
9632 * iconvdata/BIG5HKSCS.irreversible: Update.
9633 * iconvdata/BIG5HKSCS.precomposed: New file.
9634 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9635 characters.
9636 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9637
96382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9639
9640 * include/sys/time.h: Fix indentation and add copyright header.
9641
9642 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9643 (do_test): Likewise.
9644 * string/test-memchr.c (do_one_test): Likewise.
9645 (do_test): Likewise.
9646 * string/test-memcmp.c (do_one_test): Likewise.
9647 (do_test): Likewise.
9648 * string/test-memcpy.c (do_one_test): Likewise.
9649 (do_test): Likewise.
9650 * string/test-memmem.c (do_one_test): Likewise.
9651 (do_test): Likewise.
9652 (do_random_tests): Likewise.
9653 * string/test-memmove.c (do_one_test): Likewise.
9654 (do_test): Likewise.
9655 * string/test-memset.c (do_one_test): Likewise.
9656 (do_test): Likewise.
9657 * string/test-rawmemchr.c (do_one_test): Likewise.
9658 (do_test): Likewise.
9659 * string/test-strcasecmp.c (do_one_test): Likewise.
9660 (do_test): Likewise.
9661 * string/test-strcasestr.c (do_one_test): Likewise.
9662 (do_test): Likewise.
9663 * string/test-strcat.c (do_one_test): Likewise.
9664 (do_test): Likewise.
9665 * string/test-strchr.c (do_one_test): Likewise.
9666 (do_test): Likewise.
9667 * string/test-strcmp.c (do_one_test): Likewise.
9668 (do_test): Likewise.
9669 * string/test-strcpy.c (do_one_test): Likewise.
9670 (do_test): Likewise.
9671 * string/test-string.h: Likewise.
9672 (test_init): Likewise.
9673 * string/test-strlen.c (do_one_test): Likewise.
9674 (do_test): Likewise.
9675 * string/test-strncasecmp.c (do_one_test): Likewise.
9676 (do_test): Likewise.
9677 * string/test-strncat.c (do_one_test): Likewise.
9678 (do_test): Likewise.
9679 * string/test-strncmp.c (do_one_test): Likewise.
9680 (do_test_limit): Likewise.
9681 (do_test): Likewise.
9682 * string/test-strncpy.c (do_one_test): Likewise.
9683 (do_test): Likewise.
9684 * string/test-strnlen.c (do_one_test): Likewise.
9685 (do_test): Likewise.
9686 * string/test-strpbrk.c (do_one_test): Likewise.
9687 (do_test): Likewise.
9688 * string/test-strrchr.c (do_one_test): Likewise.
9689 (do_test): Likewise.
9690 * string/test-strspn.c (do_one_test): Likewise.
9691 (do_test): Likewise.
9692 * string/test-strstr.c (do_one_test): Likewise.
9693 (do_test): Likewise.
9694
9695 * benchtests/Makefile (string-bench): Add string benchmarks.
9696 * benchtests/bench-bcopy-ifunc.c: New file.
9697 * benchtests/bench-bcopy.c: New file.
9698 * benchtests/bench-bzero-ifunc.c: New file.
9699 * benchtests/bench-bzero.c: New file.
9700 * benchtests/bench-memccpy-ifunc.c: New file.
9701 * benchtests/bench-memccpy.c: New file.
9702 * benchtests/bench-memchr-ifunc.c: New file.
9703 * benchtests/bench-memchr.c: New file.
9704 * benchtests/bench-memcmp-ifunc.c: New file.
9705 * benchtests/bench-memcmp.c: New file.
9706 * benchtests/bench-memmem-ifunc.c: New file.
9707 * benchtests/bench-memmem.c: New file.
9708 * benchtests/bench-memmove-ifunc.c: New file.
9709 * benchtests/bench-memmove.c: New file.
9710 * benchtests/bench-mempcpy-ifunc.c: New file.
9711 * benchtests/bench-mempcpy.c: New file.
9712 * benchtests/bench-memset-ifunc.c: New file.
9713 * benchtests/bench-memset.c: New file.
9714 * benchtests/bench-rawmemchr-ifunc.c: New file.
9715 * benchtests/bench-rawmemchr.c: New file.
9716 * benchtests/bench-stpcpy-ifunc.c: New file.
9717 * benchtests/bench-stpcpy.c: New file.
9718 * benchtests/bench-stpncpy-ifunc.c: New file.
9719 * benchtests/bench-stpncpy.c: New file.
9720 * benchtests/bench-strcasecmp-ifunc.c: New file.
9721 * benchtests/bench-strcasecmp.c: New file.
9722 * benchtests/bench-strcasestr-ifunc.c: New file.
9723 * benchtests/bench-strcasestr.c: New file.
9724 * benchtests/bench-strcat-ifunc.c: New file.
9725 * benchtests/bench-strcat.c: New file.
9726 * benchtests/bench-strchr-ifunc.c: New file.
9727 * benchtests/bench-strchr.c: New file.
9728 * benchtests/bench-strchrnul-ifunc.c: New file.
9729 * benchtests/bench-strchrnul.c: New file.
9730 * benchtests/bench-strcmp-ifunc.c: New file.
9731 * benchtests/bench-strcmp.c: New file.
9732 * benchtests/bench-strcpy-ifunc.c: New file.
9733 * benchtests/bench-strcpy.c: New file.
9734 * benchtests/bench-strcspn-ifunc.c: New file.
9735 * benchtests/bench-strcspn.c: New file.
9736 * benchtests/bench-strlen-ifunc.c: New file.
9737 * benchtests/bench-strlen.c: New file.
9738 * benchtests/bench-strncasecmp-ifunc.c: New file.
9739 * benchtests/bench-strncasecmp.c: New file.
9740 * benchtests/bench-strncat-ifunc.c: New file.
9741 * benchtests/bench-strncat.c: New file.
9742 * benchtests/bench-strncmp-ifunc.c: New file.
9743 * benchtests/bench-strncmp.c: New file.
9744 * benchtests/bench-strncpy-ifunc.c: New file.
9745 * benchtests/bench-strncpy.c: New file.
9746 * benchtests/bench-strnlen-ifunc.c: New file.
9747 * benchtests/bench-strnlen.c: New file.
9748 * benchtests/bench-strpbrk-ifunc.c: New file.
9749 * benchtests/bench-strpbrk.c: New file.
9750 * benchtests/bench-strrchr-ifunc.c: New file.
9751 * benchtests/bench-strrchr.c: New file.
9752 * benchtests/bench-strspn-ifunc.c: New file.
9753 * benchtests/bench-strspn.c: New file.
9754 * benchtests/bench-strstr-ifunc.c: New file.
9755 * benchtests/bench-strstr.c: New file.
9756
9757 * benchtests/Makefile: Disable parallel execution of targets.
9758 (string-bench): Add memcpy.
9759 (benchset): New variable to store a list of benchmark sets.
9760 (bench-func): Renamed from bench.
9761 (bench-set): New target.
9762 (bench): Depend on bench-func and bench-set.
9763 * benchtests/README: Add section on benchmark sets.
9764 * benchtests/bench-memcpy-ifunc.c: New file.
9765 * benchtests/bench-memcpy.c: New file.
9766 * benchtests/bench-string.h: New file.
9767
97682013-06-11 Andreas Schwab <schwab@suse.de>
9769
9770 [BZ #15577]
9771 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9772 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9773 values in the triple.
9774 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9775 terminator in the group key.
9776
97772013-06-11 Andreas Jaeger <aj@suse.de>
9778
9779 * po/zh_TW.po: Update Chinese (traditional) translation from
9780 translation project.
9781
97822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9783
9784 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9785 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9786 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9787 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9788 (clock_getcpuclockid): Likewise.
9789 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9790 Add weak_alias and libc_hidden_def.
9791 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9792 * rt/clock_gettime.c (clock_gettime): Rename to
9793 __clock_gettime. Add weak_alias and libc_hidden_def.
9794 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9795 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9796 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9797 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9798 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9799 Likewise.
9800 * rt/clock_settime.c (clock_settime): Rename to
9801 __clock_settime. Add weak_alias and libc_hidden_def.
9802 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9803
98042013-06-10 Joseph Myers <joseph@codesourcery.com>
9805
9806 * mach/err_boot.sub: Remove trailing whitespace.
9807 * mach/err_ipc.sub: Likewise.
9808 * mach/err_mach.sub: Likewise.
9809
9810 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9811 (ROUNDING_TESTS_double): Likewise.
9812 (ROUNDING_TESTS_long_double): Likewise.
9813 (ROUNDING_TESTS): Likewise.
9814 * math/libm-test.inc: Include <math-tests.h>.
9815 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9816 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9817 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9818 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9819
98202013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9821
9822 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9823 of assigning.
9824
98252013-06-08 Joseph Myers <joseph@codesourcery.com>
9826
9827 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9828 otherwise empty TRANS lines.
9829 * sysdeps/gnu/errlist.c: Regenerated.
9830
9831 * catgets/gencat.c (error_print): Use (void) in function
9832 definition.
9833 * crypt/crypt_util.c (__init_des): Likewise.
9834 * crypt/speeds.c (Stop): Likewise.
9835 (main): Likewise.
9836 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9837 * inet/ruserpass.c (token): Likewise.
9838 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9839 * intl/localealias.c (extend_alias_table): Likewise.
9840 * intl/plural-exp.c (init_germanic_plural): Likewise.
9841 * libio/fcloseall.c (__fcloseall): Likewise.
9842 * libio/genops.c (_IO_flush_all): Likewise.
9843 (_IO_flush_all_linebuffered): Likewise.
9844 (_IO_cleanup): Likewise.
9845 (_IO_iter_begin): Likewise.
9846 (_IO_iter_end): Likewise.
9847 (_IO_list_lock): Likewise.
9848 (_IO_list_unlock): Likewise.
9849 (_IO_list_resetlock): Likewise.
9850 * libio/getchar.c (getchar): Likewise.
9851 * libio/getchar_u.c (getchar_unlocked): Likewise.
9852 * libio/getwchar.c (getwchar): Likewise.
9853 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9854 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9855 * login/getpt.c (__getpt): Likewise.
9856 * login/tst-utmp.c (main): Likewise.
9857 * malloc/hooks.c (__malloc_check_init): Likewise.
9858 * malloc/malloc.c (__malloc_stats): Likewise.
9859 * malloc/mtrace.c (tr_break): Likewise.
9860 (mtrace): Likewise.
9861 (muntrace): Likewise.
9862 * misc/fstab.c (endfsent): Likewise.
9863 * misc/getclktck.c (__getclktck): Likewise.
9864 * misc/getdtsz.c (__getdtablesize): Likewise.
9865 * misc/gethostid.c (gethostid): Likewise.
9866 * misc/getpagesize.c (__getpagesize): Likewise.
9867 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9868 (__get_nprocs): Likewise.
9869 (__get_phys_pages): Likewise.
9870 (__get_avphys_pages): Likewise.
9871 * misc/getttyent.c (getttyent): Likewise.
9872 (setttyent): Likewise.
9873 (endttyent): Likewise.
9874 * misc/getusershell.c (getusershell): Likewise.
9875 (endusershell): Likewise.
9876 (setusershell): Likewise.
9877 (initshells): Likewise.
9878 * misc/hsearch.c (__hdestroy): Likewise.
9879 * misc/sync.c (sync): Likewise.
9880 * misc/syslog.c (closelog_internal): Likewise.
9881 (closelog): Likewise.
9882 * misc/ttyslot.c (ttyslot): Likewise.
9883 * misc/vhangup.c (vhangup): Likewise.
9884 * posix/fork.c (__fork): Likewise.
9885 * posix/getegid.c (__getegid): Likewise.
9886 * posix/geteuid.c (__geteuid): Likewise.
9887 * posix/getgid.c (__getgid): Likewise.
9888 * posix/getpid.c (__getpid): Likewise.
9889 * posix/getppid.c (__getppid): Likewise.
9890 * posix/getuid.c (__getuid): Likewise.
9891 * posix/pause.c (pause): Likewise.
9892 * posix/setpgrp.c (setpgrp): Likewise.
9893 * posix/setsid.c (__setsid): Likewise.
9894 * posix/test-vfork.c (noop): Likewise.
9895 * resolv/gethnamaddr.c (_endhtent): Likewise.
9896 (_gethtent): Likewise.
9897 (ht_endhostent): Likewise.
9898 (gethostent): Likewise.
9899 (dns_service): Likewise.
9900 * stdlib/drand48.c (drand48): Likewise.
9901 * stdlib/lrand48.c (lrand48): Likewise.
9902 * stdlib/mrand48.c (mrand48): Likewise.
9903 * stdlib/rand.c (rand): Likewise.
9904 * stdlib/random.c (__random): Likewise.
9905 * stdlib/setenv.c (clearenv): Likewise.
9906 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9907 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9908 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9909 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9910 (__get_nprocs): Likewise.
9911 (__get_phys_pages): Likewise.
9912 (__get_avphys_pages): Likewise.
9913 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9914 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9915 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9916 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9917 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9918 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9919 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9920 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9921 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9922 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9923 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9924 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9925 * sysdeps/posix/clock.c (clock): Likewise.
9926 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9927 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9928 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9929 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9930 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9932 (__get_nprocs_conf): Likewise.
9933 (__get_phys_pages): Likewise.
9934 (__get_avphys_pages): Likewise.
9935 * time/clock.c (clock): Likewise.
9936 * time/tzset.c (__tzname_max): Likewise.
9937
99382013-06-07 Joseph Myers <joseph@codesourcery.com>
9939
9940 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9941 (__bswap_32): Do not use "register".
9942 * crypt/crypt.c (_ufc_doit_r): Likewise.
9943 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9944 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9945 * gmon/gmon.c (__monstartup): Likewise.
9946 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9947 * hurd/hurdmalloc.c (more_memory): Likewise.
9948 (malloc): Likewise.
9949 (free): Likewise.
9950 (realloc): Likewise.
9951 (malloc_fork_prepare): Likewise.
9952 (malloc_fork_parent): Likewise.
9953 (malloc_fork_child): Likewise.
9954 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9955 (_svcauth_des): Likewise.
9956 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9957 * inet/inet_net.c (inet_network): Likewise.
9958 * inet/inet_netof.c (inet_netof): Likewise.
9959 * inet/rcmd.c (__validuser2_sa): Likewise.
9960 * io/fts.c (fts_open): Likewise.
9961 (fts_load): Likewise.
9962 (fts_close): Likewise.
9963 (fts_read): Likewise.
9964 (fts_children): Likewise.
9965 (fts_build): Likewise.
9966 (fts_stat): Likewise.
9967 (fts_sort): Likewise.
9968 (fts_alloc): Likewise.
9969 (fts_lfree): Likewise.
9970 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9971 (_IO_file_xsgetn): Likewise.
9972 (_IO_file_xsgetn_mmap): Likewise.
9973 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9974 (_IO_cookie_write): Likewise.
9975 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9976 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9977 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9978 * malloc/obstack.c (_obstack_begin): Likewise.
9979 (_obstack_begin_1): Likewise.
9980 (_obstack_newchunk): Likewise.
9981 (_obstack_allocated_p): Likewise.
9982 (obstack_free): Likewise.
9983 (_obstack_memory_used): Likewise.
9984 * misc/getttyent.c (getttynam): Likewise.
9985 (getttyent): Likewise.
9986 (skip): Likewise.
9987 (value): Likewise.
9988 * misc/getusershell.c (initshells): Likewise.
9989 * misc/syslog.c (__vsyslog_chk): Likewise.
9990 * misc/ttyslot.c (ttyslot): Likewise.
9991 * nis/nis_hash.c (__nis_hash): Likewise.
9992 * posix/fnmatch_loop.c (FCT): Likewise.
9993 * posix/getconf.c (print_all): Likewise.
9994 (main): Likewise.
9995 * posix/getopt.c (exchange): Likewise.
9996 * posix/glob.c (globfree): Likewise.
9997 (prefix_array): Likewise.
9998 (__glob_pattern_type): Likewise.
9999 * resolv/arpa/nameser.h (NS_GET16): Likewise.
10000 (NS_GET32): Likewise.
10001 (NS_PUT16): Likewise.
10002 (NS_PUT32): Likewise.
10003 * resolv/gethnamaddr.c (getanswer): Likewise.
10004 (gethostbyname2): Likewise.
10005 (gethostbyaddr): Likewise.
10006 (_gethtent): Likewise.
10007 (_gethtbyname2): Likewise.
10008 (_gethtbyaddr): Likewise.
10009 * resolv/ns_print.c (dst_s_get_int16): Likewise.
10010 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10011 * resolv/res_init.c (__res_vinit): Likewise.
10012 (net_mask): Likewise.
10013 * resolv/res_mkquery.c (outchar): Likewise.
10014 (PRINT): Likewise.
10015 * stdio-common/printf_fp.c (outchar): Likewise.
10016 (PRINT): Likewise.
10017 * stdio-common/printf_fphex.c (outchar): Likewise.
10018 (PRINT): Likewise.
10019 * stdio-common/printf_size.c (outchar): Likewise.
10020 (PRINT): Likewise.
10021 * stdio-common/test_rdwr.c (main): Likewise.
10022 * stdio-common/tfformat.c (matches): Likewise.
10023 * stdio-common/vfprintf.c (outchar): Likewise.
10024 (printf_unknown): Likewise.
10025 (buffered_vfprintf): Likewise.
10026 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10027 * stdio-common/xbug.c (AppendToBuffer): Likewise.
10028 (ReadFile): Likewise.
10029 * stdlib/qsort.c (SWAP): Likewise.
10030 (_quicksort): Likewise.
10031 * stdlib/setenv.c (__add_to_environ): Likewise.
10032 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10033 * stdlib/strtol_l.c (__strtol_l): Likewise.
10034 * stdlib/tst-strtod.c (main): Likewise.
10035 * stdlib/tst-strtol.c (main): Likewise.
10036 * stdlib/tst-strtoll.c (main): Likewise.
10037 * string/bits/string2.h (__strcmp_cc): Likewise.
10038 (__strcmp_cg): Likewise.
10039 (__strcspn_c1): Likewise.
10040 (__strcspn_c2): Likewise.
10041 (__strcspn_c3): Likewise.
10042 (__strspn_c1): Likewise.
10043 (__strspn_c2): Likewise.
10044 (__strspn_c3): Likewise.
10045 (__strsep_1c): Likewise.
10046 (__strsep_2c): Likewise.
10047 (__strsep_3c): Likewise.
10048 * string/memccpy.c (__memccpy): Likewise.
10049 * string/stpcpy.c (__stpcpy): Likewise.
10050 * string/strcmp.c (strcmp): Likewise.
10051 * string/strrchr.c (strrchr): Likewise.
10052 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
10053 Likewise.
10054 * sysdeps/mach/hurd/getcwd.c
10055 (_hurd_canonicalize_directory_name_internal): Likewise.
10056 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
10057 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
10058 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
10059 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
10060 Likewise, in both definitions.
10061 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
10062 definitions.
10063 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
10064 64] (__bswap_64): Likewise.
10065 * time/test_time.c (main): Likewise.
10066 * time/tzfile.c (__tzfile_read): Likewise.
10067 (__tzfile_compute): Likewise.
10068 * time/tzset.c (__tzset_parse_tz): Likewise.
10069 (tzset_internal): Likewise.
10070 (compute_change): Likewise.
10071 * wcsmbs/wcscat.c (__wcscat): Likewise.
10072 * wcsmbs/wcschr.c (wcschr): Likewise.
10073 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10074 * wcsmbs/wcscspn.c (wcscspn): Likewise.
10075 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10076 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
10077 * wcsmbs/wcsspn.c (wcsspn): Likewise.
10078 * wcsmbs/wcsstr.c (wcsstr): Likewise.
10079 * wcsmbs/wmemchr.c (wmemchr): Likewise.
10080 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10081 * wcsmbs/wmemset.c (wmemset): Likewise.
10082
100832013-06-06 Joseph Myers <joseph@codesourcery.com>
10084
10085 * scripts/config.guess: Update to version 2013-05-16.
10086 * scripts/config.sub: Update to version 2013-04-24.
10087 * scripts/install-sh: Update to version 2011-11-20.07.
10088 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
10089 * scripts/move-if-change: Update to version 2012-01-06 07:23.
10090
100912013-06-06 Ondřej Bílka <neleai@seznam.cz>
10092
10093 * debug/fgetws_u_chk.c: Fix leading whitespaces.
10094 * elf/sln.c: Likewise.
10095 * hurd/hurd/ioctl.h: Likewise.
10096 * hurd/hurdmalloc.c: Likewise.
10097 * hurd/xattr.c: Likewise.
10098 * include/shlib-compat.h: Likewise.
10099 * inet/ruserpass.c: Likewise.
10100 * libio/iofgets_u.c: Likewise.
10101 * libio/iofgetws_u.c: Likewise.
10102 * locale/programs/ld-identification.c: Likewise.
10103 * locale/programs/ld-time.c: Likewise.
10104 * mach/msg-destroy.c: Likewise.
10105 * nss/nss_files/files-netgrp.c: Likewise.
10106 * resolv/res_data.c: Likewise.
10107 * soft-fp/op-1.h: Likewise.
10108 * soft-fp/op-2.h: Likewise.
10109 * soft-fp/op-4.h: Likewise.
10110 * soft-fp/op-common.h: Likewise.
10111 * stdio-common/printf_fphex.c: Likewise.
10112 * stdlib/strtod_l.c: Likewise.
10113 * sunrpc/rpc/clnt.h: Likewise.
10114 * sysdeps/generic/framestate.c: Likewise.
10115 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10116 * sysdeps/i386/bsd-setjmp.S: Likewise.
10117 * sysdeps/i386/__longjmp.S: Likewise.
10118 * sysdeps/i386/setjmp.S: Likewise.
10119 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10120 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10121 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10122 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10123 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10124 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10126 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10127 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10129 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10130 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10131 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10132 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10133 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10134 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10135 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10136 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
10137 * sysdeps/ieee754/support.c: Likewise.
10138 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10139 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
10140 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
10141 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
10142 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
10143 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
10144 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
10145 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
10146 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
10147 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
10148 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
10149 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
10150 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
10151 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
10152 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
10153 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
10154 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10156
101572013-06-05 Ondřej Bílka <neleai@seznam.cz>
10158
10159 * posix/transbug.c: Remove executable mode.
10160
101612013-06-05 Joseph Myers <joseph@codesourcery.com>
10162
10163 * crypt/speeds.c: Remove trailing whitespace.
10164 * dlfcn/default.c: Likewise.
10165 * elf/ifuncdep2.c: Likewise.
10166 * elf/ifuncmain1.c: Likewise.
10167 * elf/ifuncmain1vis.c: Likewise.
10168 * elf/testobj.h: Likewise.
10169 * elf/tst-stackguard1.c: Likewise.
10170 * gmon/sys/gmon.h: Likewise.
10171 * hurd/hurdmsg.c: Likewise.
10172 * hurd/new-fd.c: Likewise.
10173 * hurd/ports-get.c: Likewise.
10174 * iconvdata/ibm1008_420.c: Likewise.
10175 * inet/tst-getni1.c: Likewise.
10176 * inet/tst-getni2.c: Likewise.
10177 * libio/ioungetc.c: Likewise.
10178 * libio/wfiledoalloc.c: Likewise.
10179 * manual/libm-err-tab.pl: Likewise.
10180 * math/w_dremf.c: Likewise.
10181 * misc/ftruncate.c: Likewise.
10182 * posix/bug-glob2.c: Likewise.
10183 * posix/tst-pcre.c: Likewise.
10184 * posix/wait4.c: Likewise.
10185 * resolv/README: Likewise.
10186 * resolv/res_debug.h: Likewise.
10187 * resolv/tst-inet_ntop.c: Likewise.
10188 * setjmp/bug269-setjmp.c: Likewise.
10189 * soft-fp/extended.h: Likewise.
10190 * soft-fp/op-1.h: Likewise.
10191 * soft-fp/op-2.h: Likewise.
10192 * soft-fp/op-4.h: Likewise.
10193 * soft-fp/op-8.h: Likewise.
10194 * soft-fp/testit.c: Likewise.
10195 * stdio-common/bug16.c: Likewise.
10196 * stdlib/random.c: Likewise.
10197 * sunrpc/rpcsvc/rquota.x: Likewise.
10198 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
10199 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10200 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10201 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10202 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10203 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10204 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10205 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10206 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10207 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10208 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10225 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10227 * sysdeps/ieee754/s_lib_version.c: Likewise.
10228 * sysdeps/mach/hurd/check_fds.c: Likewise.
10229 * sysdeps/mach/hurd/getsockname.c: Likewise.
10230 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
10231 * sysdeps/mach/hurd/recvfrom.c: Likewise.
10232 * sysdeps/powerpc/bits/link.h: Likewise.
10233 * sysdeps/powerpc/dl-procinfo.c: Likewise.
10234 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
10235 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
10236 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
10237 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10238 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10239 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
10240 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10241 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
10242 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10243 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10244 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10245 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
10246 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10247 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10248 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10249 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10250 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10251 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10252 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10253 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10254 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
10255 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10256 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10257 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
10258 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10259 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10260 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10261 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10262 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10263 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10264 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10265 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10266 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10267 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
10268 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10269 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
10270 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10271 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10272 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
10273 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
10274 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
10275 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
10276 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
10277 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10278 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
10279 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
10280 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10281 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
10282 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
10283 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10284 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10285 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10286 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10287 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
10288 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10289 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10290 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10291 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
10292 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10293 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
10294 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
10295 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
10296 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10297 * sysdeps/powerpc/sysdep.h: Likewise.
10298 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10299 * sysdeps/s390/s390-64/sub_n.S: Likewise.
10300 * sysdeps/sh/dl-trampoline.S: Likewise.
10301 * sysdeps/sh/memset.S: Likewise.
10302 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
10303 * sysdeps/sh/strlen.S: Likewise.
10304 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
10305 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
10306 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
10307 * sysdeps/sparc/sparc32/rem.S: Likewise.
10308 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
10309 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
10310 * sysdeps/sparc/sparc32/strchr.S: Likewise.
10311 * sysdeps/sparc/sparc32/udiv.S: Likewise.
10312 * sysdeps/sparc/sparc32/urem.S: Likewise.
10313 * sysdeps/sparc/sparc64/add_n.S: Likewise.
10314 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10315 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
10316 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
10317 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
10318 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
10319 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10320 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
10321 * sysdeps/unix/bsd/times.c: Likewise.
10322 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
10323 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
10324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10327 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10328 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10329 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10330 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
10331 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
10332 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
10333 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10334 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
10335 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10336 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10337 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
10338 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10339 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
10340 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
10341 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
10342 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10343 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
10344 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10345 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
10346 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
10347 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10348 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
10349 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10350 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
10351 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
10352 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
10353 * sysdeps/x86_64/strcspn.S: Likewise.
10354
103552013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10356
10357 * locale/C-translit.h: Revert #include <stdint.h> because this is a
10358 generated file. Regenerate properly from gen-translit.pl.
10359 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
10360 locale/C-translit.h.
10361
103622013-06-05 Andreas Schwab <schwab@suse.de>
10363
10364 [BZ #15100]
10365 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
10366 week as 6 instead of -1.
10367 * time/tst-strptime.c (day_tests): Add test case.
10368
103692013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10370
10371 * sysdeps/generic/math_private.h
10372 (libc_feholdexcept_setround_53bit): Replace with
10373 libc_feholdsetround_53bit.
10374 (libc_feupdateenv_53bit): Replace with
10375 libc_feresetround_53bit.
10376 (SET_RESTORE_ROUND_53BIT): Adjust.
10377
103782013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10379
10380 * string/test-strchrnul.c: Add copyright header.
10381
10382 * posix/tst-getaddrinfo4.c: Increase test timeout.
10383
103842013-06-03 Carlos O'Donell <carlos@redhat.com>
10385
10386 [BZ #15536]
10387 * math/libm-test.inc (MAX_EXP): Remove
10388 (MIN_EXP): Define.
10389 (ulp): Use MIN_EXP - MANT_DIG.
10390 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
10391
103922013-05-31 Carlos O'Donell <carlos@redhat.com>
10393
10394 * po/be.po: Revert last change.
10395 * po/zh_CN.po: Likewise.
10396 * po/header.pot: Likewise.
10397
103982013-05-31 Joseph Myers <joseph@codesourcery.com>
10399
10400 * Makefile ($(common-objpfx)linkobj/libc.so): Define
10401 link-libc-deps to empty as target-specific variable.
10402 * Makerules (link-libc-args): New variable.
10403 (libc-for-link): Likewise.
10404 (link-libc-deps): Likewise.
10405 (lib%.so): Depend on $(link-libc-deps). Link with
10406 $(link-libc-args).
10407 (build-module): Link with $(link-libc-args).
10408 (build-module-asneeded): Likewise.
10409 (build-module-helper-objlist): Filter out $(link-libc-deps) from
10410 list of objects.
10411 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
10412 target-specific variable.
10413 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
10414 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
10415 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
10416 libc.
10417 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
10418 libc and ld.so.
10419 ($(objpfx)libpcprofile.so): Likewise.
10420 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
10421 libc_nonshared.a.
10422 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
10423 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
10424 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
10425 $(link-libc-deps).
10426 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
10427 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
10428 * login/Makefile ($(objpfx)libutil.so): Likewise.
10429 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
10430 * math/Makefile ($(objpfx)libm.so): Likewise.
10431 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
10432 $(objpfx)libnsl.so): Define libc-for-link as target-specific
10433 variable instead of depending directly on libc.
10434 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
10435 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
10436 $(link-libc-deps).
10437 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
10438 libc.
10439 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
10440 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
10441 ($(objpfx)libanl.so): Likewise.
10442 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
10443 ld.so.
10444 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
10445 $(link-libc-deps).
10446 * sysdeps/i386/fpu/Makefile: Remove file.
10447 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
10448 ($(objpfx)libm.so): Remove dependency on ld.so.
10449
104502013-05-30 Patsy Franklin <pfrankli@redhat.com>
10451
10452 [BZ # 15553]
10453 * nis/yp_xdr.c (XDRMAXNAME): Define.
10454 (XDRMAXRECORD): Define.
10455 (xdr_domainname): Use XDRMAXNAME.
10456 (xdr_mapname): Likewise.
10457 (xdr_peername): Likewise.
10458 (xdr_keydat): Use XDRMAXRECORD.
10459 (xdr_valdat): Likewise.
10460
104612013-05-30 Jeff Law <law@redhat.com>
10462
10463 [BZ #14256]
10464 * manual/errno.texi (ESTALE): Update to account for more than
10465 just NFS file systems.
10466 * sysdeps/gnu/errlist.c: Regenerated.
10467
104682013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10469
10470 [BZ #15465]
10471 * elf/Makefile (tests): Add tst-null-argv.
10472 (modules-names): Add tst-null-argv-lib.
10473 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
10474 (tst-null-argv-ENV): Set environment for tst-null-argv.
10475 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
10476 (RTLD_PROGNAME): New macro.
10477 * elf/tst-null-argv.c: New test case.
10478 * elf/tst-null-argv-lib.c: Library for test case.
10479 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
10480 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10481 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
10482 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
10483 * elf/dl-init.c (call_init): Likewise.
10484 (_dl_init): Likewise.
10485 * elf/dl-load.c (print_search_path): Likewise.
10486 (_dl_map_object): Likewise.
10487 * elf/dl-lookup.c (do_lookup_x): Likewise.
10488 (add_dependency): Likewise.
10489 (_dl_lookup_symbol_x): Likewise.
10490 (_dl_debug_bindings): Likewise.
10491 * elf/dl-open.c (_dl_show_scope): Likewise.
10492 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10493 * elf/dl-version.c (match_symbol): Likewise.
10494 (_dl_check_map_versions): Likewise.
10495 * elf/rtld.c (dl_main): Likewise.
10496 (print_unresolved): Use RTLD_PROGNAME.
10497 (print_missing_version): Likewise.
10498 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10499 (elf_machine_rela): Likewise.
10500 * sysdeps/powerpc/powerpc32/dl-machine.c
10501 (__process_machine_rela): Likewise.
10502 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10503 Likewise.
10504 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10505 Likewise.
10506 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10507 Likewise.
10508 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10509 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10510 Likewise.
10511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10512 Likewise.
10513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10514
105152013-05-28 Carlos O'Donell <carlos@redhat.com>
10516
10517 * po/be.po: Add descriptive title.
10518 * po/zh_CN.po: Likewise.
10519 * po/header.pot: Likewise.
10520
105212013-05-28 Mike Frysinger <vapier@gentoo.org>
10522
10523 * locale/programs/locarchive.c (create_archive): Inlucde fname in
10524 error message.
10525 (enlarge_archive): Likewise.
10526
105272013-05-28 Ben North <ben@redfrontdoor.org>
10528
10529 * manual/arith.texi (frexp): It is the magnitude of the return
10530 value which lies in [0.5, 1), not the return value itself.
10531
105322013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10533
10534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10535
105362013-05-26 Thomas Schwinge <thomas@codesourcery.com>
10537
10538 * stdio-common/bug26.c (main): Correct fscanf template.
10539
10540 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10541 declare _dl_skip_args.
10542
10543 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10544 Don't declare.
10545
10546 * manual/platform.texi: Add missing @end deftypefun.
10547
105482013-05-24 Joseph Myers <joseph@codesourcery.com>
10549
10550 [BZ #15529]
10551 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10552 bit of mantissa of 2^16382.
10553 * math/libm-test.inc (hypot_test_data): Add more tests.
10554
10555 * math/libm-test.inc: Add drem and pow10 to list of tested
10556 functions.
10557 (pow10_test): New function.
10558 (drem_test): Likewise.
10559 (drem_test_tonearest): Likewise.
10560 (drem_test_towardzero): Likewise.
10561 (drem_test_downward): Likewise.
10562 (drem_test_upward): Likewise.
10563 (main): Call the new functions.
10564
10565 * math/libm-test.inc (finite_test_data): Remove.
10566 (finite_test): Run tests from isfinite_test_data.
10567 (gamma_test_data): Remove.
10568 (gamma_test): Run tests from lgamma_test_data.
10569 * sysdeps/i386/fpu/libm-test-ulps: Update.
10570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10571
105722013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10573
10574 * manual/platform.texi: Add PowerPC PPR function set documentation.
10575 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10576 implementation.
10577
105782013-05-24 Carlos O'Donell <carlos@redhat.com>
10579
10580 * math/libm-test.inc (MAX_EXP): Define.
10581 (ULPDIFF): Define.
10582 (ulp): New function.
10583 (check_float_internal): Use ULPDIFF.
10584 (cpow_test): Disable failing test.
10585 (check_ulp): Test ulp() implemetnation.
10586 (main): Call check_ulp before starting tests.
10587
105882013-05-24 Joseph Myers <joseph@codesourcery.com>
10589
10590 * math/gen-libm-test.pl (generate_testfile): Do not handle
10591 START_DATA and END_DATA.
10592 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10593 END_DATA.
10594 (acos_tonearest_test_data): Likewise.
10595 (acos_towardzero_test_data): Likewise.
10596 (acos_downward_test_data): Likewise.
10597 (acos_upward_test_data): Likewise.
10598 (acosh_test_data): Likewise.
10599 (asin_test_data): Likewise.
10600 (asin_tonearest_test_data): Likewise.
10601 (asin_towardzero_test_data): Likewise.
10602 (asin_downward_test_data): Likewise.
10603 (asin_upward_test_data): Likewise.
10604 (asinh_test_data): Likewise.
10605 (atan_test_data): Likewise.
10606 (atanh_test_data): Likewise.
10607 (atan2_test_data): Likewise.
10608 (cabs_test_data): Likewise.
10609 (cacos_test_data): Likewise.
10610 (cacosh_test_data): Likewise.
10611 (carg_test_data): Likewise.
10612 (casin_test_data): Likewise.
10613 (casinh_test_data): Likewise.
10614 (catan_test_data): Likewise.
10615 (catanh_test_data): Likewise.
10616 (cbrt_test_data): Likewise.
10617 (ccos_test_data): Likewise.
10618 (ccosh_test_data): Likewise.
10619 (ceil_test_data): Likewise.
10620 (cexp_test_data): Likewise.
10621 (cimag_test_data): Likewise.
10622 (clog_test_data): Likewise.
10623 (clog10_test_data): Likewise.
10624 (conj_test_data): Likewise.
10625 (copysign_test_data): Likewise.
10626 (cos_test_data): Likewise.
10627 (cos_tonearest_test_data): Likewise.
10628 (cos_towardzero_test_data): Likewise.
10629 (cos_downward_test_data): Likewise.
10630 (cos_upward_test_data): Likewise.
10631 (cosh_test_data): Likewise.
10632 (cosh_tonearest_test_data): Likewise.
10633 (cosh_towardzero_test_data): Likewise.
10634 (cosh_downward_test_data): Likewise.
10635 (cosh_upward_test_data): Likewise.
10636 (cpow_test_data): Likewise.
10637 (cproj_test_data): Likewise.
10638 (creal_test_data): Likewise.
10639 (csin_test_data): Likewise.
10640 (csinh_test_data): Likewise.
10641 (csqrt_test_data): Likewise.
10642 (ctan_test_data): Likewise.
10643 (ctan_tonearest_test_data): Likewise.
10644 (ctan_towardzero_test_data): Likewise.
10645 (ctan_downward_test_data): Likewise.
10646 (ctan_upward_test_data): Likewise.
10647 (ctanh_test_data): Likewise.
10648 (ctanh_tonearest_test_data): Likewise.
10649 (ctanh_towardzero_test_data): Likewise.
10650 (ctanh_downward_test_data): Likewise.
10651 (ctanh_upward_test_data): Likewise.
10652 (erf_test_data): Likewise.
10653 (erfc_test_data): Likewise.
10654 (exp_test_data): Likewise.
10655 (exp_tonearest_test_data): Likewise.
10656 (exp_towardzero_test_data): Likewise.
10657 (exp_downward_test_data): Likewise.
10658 (exp_upward_test_data): Likewise.
10659 (exp10_test_data): Likewise.
10660 (exp2_test_data): Likewise.
10661 (expm1_test_data): Likewise.
10662 (fabs_test_data): Likewise.
10663 (fdim_test_data): Likewise.
10664 (finite_test_data): Likewise.
10665 (floor_test_data): Likewise.
10666 (fma_test_data): Likewise.
10667 (fma_towardzero_test_data): Likewise.
10668 (fma_downward_test_data): Likewise.
10669 (fma_upward_test_data): Likewise.
10670 (fmax_test_data): Likewise.
10671 (fmin_test_data): Likewise.
10672 (fmod_test_data): Likewise.
10673 (fpclassify_test_data): Likewise.
10674 (frexp_test_data): Likewise.
10675 (gamma_test_data): Likewise.
10676 (hypot_test_data): Likewise.
10677 (ilogb_test_data): Likewise.
10678 (isfinite_test_data): Likewise.
10679 (isgreater_test_data): Likewise.
10680 (isgreaterequal_test_data): Likewise.
10681 (isinf_test_data): Likewise.
10682 (isless_test_data): Likewise.
10683 (islessequal_test_data): Likewise.
10684 (islessgreater_test_data): Likewise.
10685 (isnan_test_data): Likewise.
10686 (isnormal_test_data): Likewise.
10687 (issignaling_test_data): Likewise.
10688 (isunordered_test_data): Likewise.
10689 (j0_test_data): Likewise.
10690 (j1_test_data): Likewise.
10691 (jn_test_data): Likewise.
10692 (ldexp_test_data): Likewise.
10693 (lgamma_test_data): Likewise.
10694 (lrint_test_data): Likewise.
10695 (lrint_tonearest_test_data): Likewise.
10696 (lrint_towardzero_test_data): Likewise.
10697 (lrint_downward_test_data): Likewise.
10698 (lrint_upward_test_data): Likewise.
10699 (llrint_test_data): Likewise.
10700 (llrint_tonearest_test_data): Likewise.
10701 (llrint_towardzero_test_data): Likewise.
10702 (llrint_downward_test_data): Likewise.
10703 (llrint_upward_test_data): Likewise.
10704 (log_test_data): Likewise.
10705 (log10_test_data): Likewise.
10706 (log1p_test_data): Likewise.
10707 (log2_test_data): Likewise.
10708 (logb_test_data): Likewise.
10709 (logb_downward_test_data): Likewise.
10710 (lround_test_data): Likewise.
10711 (llround_test_data): Likewise.
10712 (modf_test_data): Likewise.
10713 (nearbyint_test_data): Likewise.
10714 (nextafter_test_data): Likewise.
10715 (nexttoward_test_data): Likewise.
10716 (pow_test_data): Likewise.
10717 (pow_tonearest_test_data): Likewise.
10718 (pow_towardzero_test_data): Likewise.
10719 (pow_downward_test_data): Likewise.
10720 (pow_upward_test_data): Likewise.
10721 (remainder_test_data): Likewise.
10722 (remainder_tonearest_test_data): Likewise.
10723 (remainder_towardzero_test_data): Likewise.
10724 (remainder_downward_test_data): Likewise.
10725 (remainder_upward_test_data): Likewise.
10726 (remquo_test_data): Likewise.
10727 (rint_test_data): Likewise.
10728 (rint_tonearest_test_data): Likewise.
10729 (rint_towardzero_test_data): Likewise.
10730 (rint_downward_test_data): Likewise.
10731 (rint_upward_test_data): Likewise.
10732 (round_test_data): Likewise.
10733 (scalb_test_data): Likewise.
10734 (scalbn_test_data): Likewise.
10735 (scalbln_test_data): Likewise.
10736 (signbit_test_data): Likewise.
10737 (sin_test_data): Likewise.
10738 (sin_tonearest_test_data): Likewise.
10739 (sin_towardzero_test_data): Likewise.
10740 (sin_downward_test_data): Likewise.
10741 (sin_upward_test_data): Likewise.
10742 (sincos_test_data): Likewise.
10743 (sinh_test_data): Likewise.
10744 (sinh_tonearest_test_data): Likewise.
10745 (sinh_towardzero_test_data): Likewise.
10746 (sinh_downward_test_data): Likewise.
10747 (sinh_upward_test_data): Likewise.
10748 (sqrt_test_data): Likewise.
10749 (tan_test_data): Likewise.
10750 (tan_tonearest_test_data): Likewise.
10751 (tan_towardzero_test_data): Likewise.
10752 (tan_downward_test_data): Likewise.
10753 (tan_upward_test_data): Likewise.
10754 (tanh_test_data): Likewise.
10755 (tgamma_test_data): Likewise.
10756 (trunc_test_data): Likewise.
10757 (y0_test_data): Likewise.
10758 (y1_test_data): Likewise.
10759 (yn_test_data): Likewise.
10760 (significand_test_data): Likewise.
10761
10762 * math/gen-libm-test.pl (@functions): Remove variable.
10763 (generate_testfile): Don't handle START and END lines.
10764 * math/libm-test.inc (START): New macro.
10765 (END): Likewise.
10766 (END_COMPLEX): Likewise.
10767 (acos_test): Use END macro without arguments.
10768 (acos_test_tonearest): Likewise.
10769 (acos_test_towardzero): Likewise.
10770 (acos_test_downward): Likewise.
10771 (acos_test_upward): Likewise.
10772 (acosh_test): Likewise.
10773 (asin_test): Likewise.
10774 (asin_test_tonearest): Likewise.
10775 (asin_test_towardzero): Likewise.
10776 (asin_test_downward): Likewise.
10777 (asin_test_upward): Likewise.
10778 (asinh_test): Likewise.
10779 (atan_test): Likewise.
10780 (atanh_test): Likewise.
10781 (atan2_test): Likewise.
10782 (cabs_test): Likewise.
10783 (cacos_test): Use END_COMPLEX macro without arguments.
10784 (cacosh_test): Likewise.
10785 (carg_test): Use END macro without arguments.
10786 (casin_test): Use END_COMPLEX macro without arguments.
10787 (casinh_test): Likewise.
10788 (catan_test): Likewise.
10789 (catanh_test): Likewise.
10790 (cbrt_test): Use END macro without arguments.
10791 (ccos_test): Use END_COMPLEX macro without arguments.
10792 (ccosh_test): Likewise.
10793 (ceil_test): Use END macro without arguments.
10794 (cexp_test): Use END_COMPLEX macro without arguments.
10795 (cimag_test): Use END macro without arguments.
10796 (clog_test): Use END_COMPLEX macro without arguments.
10797 (clog10_test): Likewise.
10798 (conj_test): Likewise.
10799 (copysign_test): Use END macro without arguments.
10800 (cos_test): Likewise.
10801 (cos_test_tonearest): Likewise.
10802 (cos_test_towardzero): Likewise.
10803 (cos_test_downward): Likewise.
10804 (cos_test_upward): Likewise.
10805 (cosh_test): Likewise.
10806 (cosh_test_tonearest): Likewise.
10807 (cosh_test_towardzero): Likewise.
10808 (cosh_test_downward): Likewise.
10809 (cosh_test_upward): Likewise.
10810 (cpow_test): Use END_COMPLEX macro without arguments.
10811 (cproj_test): Likewise.
10812 (creal_test): Use END macro without arguments.
10813 (csin_test): Use END_COMPLEX macro without arguments.
10814 (csinh_test): Likewise.
10815 (csqrt_test): Likewise.
10816 (ctan_test): Likewise.
10817 (ctan_test_tonearest): Likewise.
10818 (ctan_test_towardzero): Likewise.
10819 (ctan_test_downward): Likewise.
10820 (ctan_test_upward): Likewise.
10821 (ctanh_test): Likewise.
10822 (ctanh_test_tonearest): Likewise.
10823 (ctanh_test_towardzero): Likewise.
10824 (ctanh_test_downward): Likewise.
10825 (ctanh_test_upward): Likewise.
10826 (erf_test): Use END macro without arguments.
10827 (erfc_test): Likewise.
10828 (exp_test): Likewise.
10829 (exp_test_tonearest): Likewise.
10830 (exp_test_towardzero): Likewise.
10831 (exp_test_downward): Likewise.
10832 (exp_test_upward): Likewise.
10833 (exp10_test): Likewise.
10834 (exp2_test): Likewise.
10835 (expm1_test): Likewise.
10836 (fabs_test): Likewise.
10837 (fdim_test): Likewise.
10838 (finite_test): Likewise.
10839 (floor_test): Likewise.
10840 (fma_test): Likewise.
10841 (fma_test_towardzero): Likewise.
10842 (fma_test_downward): Likewise.
10843 (fma_test_upward): Likewise.
10844 (fmax_test): Likewise.
10845 (fmin_test): Likewise.
10846 (fmod_test): Likewise.
10847 (fpclassify_test): Likewise.
10848 (frexp_test): Likewise.
10849 (gamma_test): Likewise.
10850 (hypot_test): Likewise.
10851 (ilogb_test): Likewise.
10852 (isfinite_test): Likewise.
10853 (isgreater_test): Likewise.
10854 (isgreaterequal_test): Likewise.
10855 (isinf_test): Likewise.
10856 (isless_test): Likewise.
10857 (islessequal_test): Likewise.
10858 (islessgreater_test): Likewise.
10859 (isnan_test): Likewise.
10860 (isnormal_test): Likewise.
10861 (issignaling_test): Likewise.
10862 (isunordered_test): Likewise.
10863 (j0_test): Likewise.
10864 (j1_test): Likewise.
10865 (jn_test): Likewise.
10866 (ldexp_test): Likewise.
10867 (lgamma_test): Likewise.
10868 (lrint_test): Likewise.
10869 (lrint_test_tonearest): Likewise.
10870 (lrint_test_towardzero): Likewise.
10871 (lrint_test_downward): Likewise.
10872 (lrint_test_upward): Likewise.
10873 (llrint_test): Likewise.
10874 (llrint_test_tonearest): Likewise.
10875 (llrint_test_towardzero): Likewise.
10876 (llrint_test_downward): Likewise.
10877 (llrint_test_upward): Likewise.
10878 (log_test): Likewise.
10879 (log10_test): Likewise.
10880 (log1p_test): Likewise.
10881 (log2_test): Likewise.
10882 (logb_test): Likewise.
10883 (logb_test_downward): Likewise.
10884 (lround_test): Likewise.
10885 (llround_test): Likewise.
10886 (modf_test): Likewise.
10887 (nearbyint_test): Likewise.
10888 (nextafter_test): Likewise.
10889 (nexttoward_test): Likewise.
10890 (pow_test): Likewise.
10891 (pow_test_tonearest): Likewise.
10892 (pow_test_towardzero): Likewise.
10893 (pow_test_downward): Likewise.
10894 (pow_test_upward): Likewise.
10895 (remainder_test): Likewise.
10896 (remainder_test_tonearest): Likewise.
10897 (remainder_test_towardzero): Likewise.
10898 (remainder_test_downward): Likewise.
10899 (remainder_test_upward): Likewise.
10900 (remquo_test): Likewise.
10901 (rint_test): Likewise.
10902 (rint_test_tonearest): Likewise.
10903 (rint_test_towardzero): Likewise.
10904 (rint_test_downward): Likewise.
10905 (rint_test_upward): Likewise.
10906 (round_test): Likewise.
10907 (scalb_test): Likewise.
10908 (scalbn_test): Likewise.
10909 (scalbln_test): Likewise.
10910 (signbit_test): Likewise.
10911 (sin_test): Likewise.
10912 (sin_test_tonearest): Likewise.
10913 (sin_test_towardzero): Likewise.
10914 (sin_test_downward): Likewise.
10915 (sin_test_upward): Likewise.
10916 (sincos_test): Likewise.
10917 (sinh_test): Likewise.
10918 (sinh_test_tonearest): Likewise.
10919 (sinh_test_towardzero): Likewise.
10920 (sinh_test_downward): Likewise.
10921 (sinh_test_upward): Likewise.
10922 (sqrt_test): Likewise.
10923 (tan_test): Likewise.
10924 (tan_test_tonearest): Likewise.
10925 (tan_test_towardzero): Likewise.
10926 (tan_test_downward): Likewise.
10927 (tan_test_upward): Likewise.
10928 (tanh_test): Likewise.
10929 (tgamma_test): Likewise.
10930 (trunc_test): Likewise.
10931 (y0_test): Likewise.
10932 (y1_test): Likewise.
10933 (yn_test): Likewise.
10934 (significand_test): Likewise.
10935
109362013-05-24 Ondřej Bílka <neleai@seznam.cz>
10937
10938 [BZ #15381]
10939 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10940
109412013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10942
10943 [BZ #14894]
10944 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10945 __ppc_mdoio and __ppc_mdoom.
10946 * manual/platform.texi: Document new functions __ppc_yield,
10947 __ppc_mdoio and __ppc_mdoom.
10948
109492013-05-22 Carlos O'Donell <carlos@redhat.com>
10950
10951 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10952 (main): Mention "tls" pseudo-hwcap is legacy.
10953 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10954
109552013-05-22 Joseph Myers <joseph@codesourcery.com>
10956
10957 * math/gen-libm-test.pl (parse_args): Output only string of
10958 arguments as text for test name, not full call or descriptions of
10959 tests for extra outputs.
10960 (generate_testfile): Do not pass function name to parse_args.
10961 Generate this_func variable from START.
10962 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10963 field to arg_str.
10964 (struct test_ff_f_data): Likewise.
10965 (test_ff_f_data_nexttoward): Likewise.
10966 (struct test_fi_f_data): Likewise.
10967 (struct test_fl_f_data): Likewise.
10968 (struct test_if_f_data): Likewise.
10969 (struct test_fff_f_data): Likewise.
10970 (struct test_c_f_data): Likewise.
10971 (struct test_f_f1_data): Likewise. Remove field extra_name.
10972 (struct test_fF_f1_data): Likewise.
10973 (struct test_ffI_f1_data): Likewise.
10974 (struct test_c_c_data): Rename test_name field to arg_str.
10975 (struct test_cc_c_data): Likewise.
10976 (struct test_f_i_data): Likewise.
10977 (struct test_ff_i_data): Likewise.
10978 (struct test_f_l_data): Likewise.
10979 (struct test_f_L_data): Likewise.
10980 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10981 and extra2_name.
10982 (COMMON_TEST_SETUP): New macro.
10983 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10984 (COMMON_TEST_CLEANUP): Likewise.
10985 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10986 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10987 macros.
10988 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10989 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10990 macros.
10991 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10992 (RUN_TEST_fff_f): Take argument string. Call new setup and
10993 cleanup macros.
10994 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10995 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10996 macros.
10997 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10998 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10999 macros.
11000 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11001 (RUN_TEST_fF_f1): Take argument string. Call new setup and
11002 cleanup macros.
11003 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11004 (RUN_TEST_fI_f1): Take argument string. Call new setup and
11005 cleanup macros.
11006 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11007 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
11008 cleanup macros.
11009 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11010 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
11011 macros.
11012 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
11013 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
11014 macros.
11015 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
11016 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
11017 macros.
11018 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
11019 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
11020 cleanup macros.
11021 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
11022 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
11023 cleanup macros.
11024 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
11025 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
11026 macros.
11027 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
11028 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
11029 cleanup macros.
11030 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
11031 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
11032 macros.
11033 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
11034 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
11035 macros.
11036 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
11037 (RUN_TEST_fFF_11): Take argument string. Call new setup and
11038 cleanup macros.
11039 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
11040
110412013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11042
11043 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
11044 to _sifields.sigfault.
11045 (si_addr_lsb): Define new macro.
11046 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11047 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11048 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
11049
110502013-05-03 Carlos O'Donell <carlos at redhat.com>
11051
11052 [BZ #15441]
11053 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
11054 returns -1.
11055 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
11056 null return -1.
11057 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
11058 loading the domain.
11059
110602013-05-22 Joseph Myers <joseph@codesourcery.com>
11061
11062 * math/gen-libm-test.pl (parse_args): Do not include expected
11063 result in test name.
11064 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
11065 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11066 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11067 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11068 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11070
110712013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11072
11073 * benchtests/Makefile: Sort function entries.
11074
11075 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
11076 tanh, asinh, acosh, atanh.
11077 * benchtests/acos-inputs: New file.
11078 * benchtests/acosh-inputs: New file.
11079 * benchtests/asin-inputs: New file.
11080 * benchtests/asinh-inputs: New file.
11081 * benchtests/atanh-inputs: New file.
11082 * benchtests/cosh-inputs: New file.
11083 * benchtests/log-inputs: New file.
11084 * benchtests/sinh-inputs: New file.
11085 * benchtests/tanh-inputs: New file.
11086
110872013-05-21 Dmitry V. Levin <ldv@altlinux.org>
11088
11089 [BZ #15339]
11090 * posix/tst-getaddrinfo4.c: New test.
11091 * posix/Makefile (tests): Add it.
11092
110932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11094
11095 [BZ #15339]
11096 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
11097 when no services were used.
11098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
11099 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
11100
111012013-05-21 Andreas Schwab <schwab@suse.de>
11102
11103 [BZ #15014]
11104 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
11105 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
11106 successful.
11107 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
11108 redundant variable declarations and reallocation of buffer when
11109 parsing as IPv6 address. Always set NSS status when called from
11110 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
11111 buffer too small. Correct computation of needed size.
11112 * nss/Makefile (tests): Add test-digits-dots.
11113 * nss/test-digits-dots.c: New test.
11114
111152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11116
11117 * benchtests/Makefile: Remove instructions for adding
11118 benchmark tests.
11119 * benchtests/README: New file to explain how to execute and
11120 enhance the benchmark tests.
11121
111222013-05-21 Andreas Schwab <schwab@suse.de>
11123
11124 [BZ #15493]
11125 * setjmp/Makefile (tests): Add tst-sigsetjmp.
11126 * setjmp/tst-sigsetjmp.c: New test.
11127
111282013-05-20 Ondřej Bílka <neleai@seznam.cz>
11129
11130 * sysdeps/x86_64/memset.S (memset): New implementation.
11131 (__bzero): Likewise.
11132 (__memset_tail): New function.
11133
111342013-05-20 Ondřej Bílka <neleai@seznam.cz>
11135
11136 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
11137 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
11138 __memcpy_sse2_unaligned ifunc selection.
11139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11140 Add memcpy-sse2-unaligned.S.
11141 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11142 Add: __memcpy_sse2_unaligned.
11143
111442013-05-19 Joseph Myers <joseph@codesourcery.com>
11145
11146 [BZ #15490]
11147 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11148 math_force_eval before restoring floating-point envrionment.
11149 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
11150 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
11151 Likewise.
11152 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
11153 <math_private.h>.
11154 (__nearbyintl): Use math_force_eval before restoring
11155 floating-point environment.
11156 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
11157
11158 * math/gen-libm-test.pl (special_functions): Remove.
11159 (parse_args): Don't handle TEST_extra. Handle functions with no
11160 return value.
11161 * math/libm-test.inc (struct test_sincos_data): Replace with
11162 struct test_fFF_11_data.
11163 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
11164 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
11165 (sincos_test_data): Change element type to struct
11166 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
11167 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
11168 RUN_TEST_LOOP_sincos.
11169 * math/README.libm-test: Don't mention special handling of
11170 individual functions.
11171 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
11172 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11173 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11174 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11175 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11177
11178 * math/gen-libm-test.pl (get_variable): Remove function.
11179 (parse_args): Don't show pointer parameters to call in test
11180 names. Use "extra output N" in test names for extra outputs
11181 rather than naming variables.
11182
111832013-05-18 Joseph Myers <joseph@codesourcery.com>
11184
11185 [BZ #15488]
11186 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
11187 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
11188 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
11189 double tests.
11190 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
11191 disable.
11192 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
11193 check_long_double.
11194
11195 * math/gen-libm-test.pl (@tests): Remove variable.
11196 ($count): Likewise.
11197 (new_test): Remove function.
11198 (show_exceptions): New function.
11199 (special_functions): Use show_exceptions instead of new_test.
11200 (parse_args): Likewise.
11201 (generate_testfile): Pass only function name in generated call to
11202 print_max_error or print_complex_max_error.
11203 (get_ulps): Do not handle complex tests specially.
11204 (output_test): Rename to ...
11205 (get_all_ulps_for_test): ... this. Return a string rather than
11206 printing to a file. Require ulps to be present.
11207 (output_ulps): Generate arrays rather than #defines.
11208 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
11209 (struct ulp_data): New type.
11210 (BUILD_COMPLEX_ULP): Remove macro.
11211 (compare_ulp_data): New function.
11212 (find_ulps): Likewise.
11213 (find_test_ulps): Likewise.
11214 (find_function_ulps): Likewise.
11215 (find_complex_function_ulps): Likewise.
11216 (print_max_error): Determine allowed ulps using
11217 find_function_ulps.
11218 (print_complex_max_error): Determine allowed ulps using
11219 find_complex_function_ulps.
11220 (check_float_internal): Determine max ulps using find_test_ulps.
11221 (check_float): Do not take max_ulp parameter. Update call to
11222 check_float_internal.
11223 (check_complex): Likewise.
11224 (check_int): Do not take max_ulp parameter.
11225 (check_long): Likewise.
11226 (check_bool): Likewise.
11227 (check_longlong): Likewise.
11228 (struct test_f_f_data): Remove max_ulp field.
11229 (struct test_ff_f_data): Likewise.
11230 (struct test_ff_f_data_nexttoward): Likewise.
11231 (struct test_fi_f_data): Likewise.
11232 (struct test_fl_f_data): Likewise.
11233 (struct test_if_f_data): Likewise.
11234 (struct test_fff_f_data): Likewise.
11235 (struct test_c_f_data): Likewise.
11236 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
11237 (struct test_fF_f1_data): Likewise.
11238 (struct test_ffI_f1_data): Likewise.
11239 (struct test_c_c_data): Remove max_ulp field.
11240 (struct test_cc_c_data): Likewise.
11241 (struct test_f_i_data): Likewise.
11242 (struct test_ff_i_data): Likewise.
11243 (struct test_f_l_data): Likewise.
11244 (struct test_f_L_data): Likewise.
11245 (struct test_sincos_data): Likewise.
11246 (RUN_TEST_f_f): Do not handle ulps.
11247 (RUN_TEST_LOOP_f_f): Likewise.
11248 (RUN_TEST_2_f): Likewise.
11249 (RUN_TEST_LOOP_2_f): Likewise.
11250 (RUN_TEST_fff_f): Likewise.
11251 (RUN_TEST_LOOP_fff_f): Likewise.
11252 (RUN_TEST_c_f): Likewise.
11253 (RUN_TEST_LOOP_c_f): Likewise.
11254 (RUN_TEST_f_f1): Likewise.
11255 (RUN_TEST_LOOP_f_f1): Likewise.
11256 (RUN_TEST_fF_f1): Likewise.
11257 (RUN_TEST_LOOP_fF_f1): Likewise.
11258 (RUN_TEST_fI_f1): Likewise.
11259 (RUN_TEST_LOOP_fI_f1): Likewise.
11260 (RUN_TEST_ffI_f1): Likewise.
11261 (RUN_TEST_LOOP_ffI_f1): Likewise.
11262 (RUN_TEST_c_c): Likewise.
11263 (RUN_TEST_LOOP_c_c): Likewise.
11264 (RUN_TEST_cc_c): Likewise.
11265 (RUN_TEST_LOOP_cc_c): Likewise.
11266 (RUN_TEST_f_i): Likewise.
11267 (RUN_TEST_LOOP_f_i): Likewise.
11268 (RUN_TEST_f_i_tg): Likewise.
11269 (RUN_TEST_LOOP_f_i_tg): Likewise.
11270 (RUN_TEST_ff_i_tg): Likewise.
11271 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11272 (RUN_TEST_f_b): Likewise.
11273 (RUN_TEST_LOOP_f_b): Likewise.
11274 (RUN_TEST_f_b_tg): Likewise.
11275 (RUN_TEST_LOOP_f_b_tg): Likewise.
11276 (RUN_TEST_f_l): Likewise.
11277 (RUN_TEST_LOOP_f_l): Likewise.
11278 (RUN_TEST_f_L): Likewise.
11279 (RUN_TEST_LOOP_f_L): Likewise.
11280 (RUN_TEST_sincos): Likewise.
11281 (RUN_TEST_LOOP_sincos): Likewise.
11282
112832013-05-17 Joseph Myers <joseph@codesourcery.com>
11284
11285 [BZ #15480]
11286 [BZ #15485]
11287 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
11288 main case of finite arguments, set rounding mode to FE_TONEAREST
11289 and discard exceptions.
11290 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
11291 exceptions.
11292 (remainder_tonearest_test_data): New variable.
11293 (remainder_test_tonearest): New function.
11294 (remainder_towardzero_test_data): New variable.
11295 (remainder_test_towardzero): New function.
11296 (remainder_downward_test_data): New variable.
11297 (remainder_test_downward): New function.
11298 (remainder_upward_test_data): New variable.
11299 (remainder_test_upward): New function.
11300 (main): Call the new test functions.
11301
11302 * math/libm-test.inc (struct test_f_f1_data): Remove field
11303 extra_init.
11304 (struct test_fF_f1_data): Likewise.
11305 (struct test_ffI_f1_data): Likewise.
11306 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
11307 based on value of EXTRA_EXPECTED.
11308 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11309 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
11310 EXTRA_VAR based on value of EXTRA_EXPECTED.
11311 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11312 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
11313 EXTRA_VAR based on value of EXTRA_EXPECTED.
11314 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11315 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
11316 EXTRA_VAR based on value of EXTRA_EXPECTED.
11317 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11318 * math/gen-libm-test.pl (parse_args): Don't output initializers
11319 for extra output values.
11320
11321 * math/libm-test.inc (check_int): Expect result to be exactly
11322 equal to expected value and do not handle ulps.
11323 (check_long): Likewise.
11324 (check_longlong): Likewise.
11325
11326 * math/libm-test.inc (ceil_test_data): Test for "inexact"
11327 exceptions.
11328 (cimag_test_data): Likewise.
11329 (conj_test_data): Likewise.
11330 (copysign_test_data): Likewise.
11331 (cproj_test_data): Likewise.
11332 (creal_test_data): Likewise.
11333 (fabs_test_data): Likewise.
11334 (fdim_test_data): Likewise.
11335 (finite_test_data): Likewise.
11336 (floor_test_data): Likewise.
11337 (fmax_test_data): Likewise.
11338 (fmin_test_data): Likewise.
11339 (fmod_test_data): Likewise.
11340 (fpclassify_test_data): Likewise.
11341 (frexp_test_data): Likewise.
11342 (ilogb_test_data): Likewise.
11343 (isfinite_test_data): Likewise.
11344 (isgreater_test_data): Likewise.
11345 (isgreaterequal_test_data): Likewise.
11346 (isinf_test_data): Likewise.
11347 (isless_test_data): Likewise.
11348 (islessequal_test_data): Likewise.
11349 (islessgreater_test_data): Likewise.
11350 (isnan_test_data): Likewise.
11351 (isnormal_test_data): Likewise.
11352 (issignaling_test_data): Likewise.
11353 (isunordered_test_data): Likewise.
11354 (ldexp_test_data): Likewise.
11355 (lrint_test_data): Likewise.
11356 (lrint_test_data) [TEST_FLOAT]: Disable one test.
11357 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
11358 (lrint_tonearest_test_data): Test for "inexact" exceptions.
11359 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11360 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
11361 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11362 test input.
11363 (lrint_towardzero_test_data): Test for "inexact" exceptions.
11364 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11365 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
11366 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
11367 that test input.
11368 (lrint_downward_test_data): Test for "inexact" exceptions.
11369 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11370 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
11371 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11372 test input.
11373 (lrint_upward_test_data): Test for "inexact" exceptions.
11374 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
11375 test input.
11376 (llrint_test_data): Test for "inexact" exceptions.
11377 (llrint_test_data) [TEST_FLOAT]: Disable one test.
11378 (llrint_tonearest_test_data): Test for "inexact" exceptions.
11379 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11380 (llrint_towardzero_test_data): Test for "inexact" exceptions.
11381 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11382 (llrint_downward_test_data): Test for "inexact" exceptions.
11383 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11384 (llrint_upward_test_data): Test for "inexact" exceptions.
11385 (logb_test_data): Likewise.
11386 (logb_downward_test_data): Likewise.
11387 (nextafter_test_data): Likewise.
11388 (nexttoward_test_data): Likewise.
11389 (remainder_test_data): Likewise.
11390 (remquo_test_data): Likewise.
11391 (scalbn_test_data): Likewise.
11392 (scalbln_test_data): Likewise.
11393 (signbit_test_data): Likewise.
11394 (sqrt_test_data): Likewise.
11395 (significand_test_data): Likewise.
11396
113972013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11398
11399 [BZ #15424]
11400 * benchtests/bench-modf.c (struct args): Mark arg0 as
11401 volatile.
11402 * scripts/bench.pl: Mark members of struct args as volatile.
11403
114042013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11405
11406 [BZ # 15497]
11407 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
11408 negative infinity on POWER6 or lower.
11409 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
11410
114112013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11412
11413 [BZ #15442]
11414 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
11415 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
11416 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
11417 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
11418 (_FP_SETQNAN): New macro.
11419 (_FP_SETQNAN_SEMIRAW): Likewise.
11420 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
11421 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
11422 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
11423 (FP_EXTEND): Use _FP_FRAC_SNANP.
11424 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
11425 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
11426 into account.
11427 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11428 New macro.
11429 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11430 Likewise.
11431
114322013-05-16 Joseph Myers <joseph@codesourcery.com>
11433
11434 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
11435 with DIVIDE_BY_ZERO_EXCEPTION.
11436 (gamma_test_data): Likewise.
11437 (lgamma_test_data): Likewise.
11438 (log_test_data): Likewise.
11439 (log10_test_data): Likewise.
11440 (log2_test_data): Likewise.
11441 (tgamma_test_data): Likewise.
11442
11443 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
11444 (acos_test_tonearest): Likewise.
11445 (acos_test_towardzero): Likewise.
11446 (acos_test_downward): Likewise.
11447 (acos_test_upward): Likewise.
11448 (acosh_test): Likewise.
11449 (asin_test): Likewise.
11450 (asin_test_tonearest): Likewise.
11451 (asin_test_towardzero): Likewise.
11452 (asin_test_downward): Likewise.
11453 (asin_test_upward): Likewise.
11454 (asinh_test): Likewise.
11455 (atan_test): Likewise.
11456 (atanh_test): Likewise.
11457 (atan2_test): Likewise.
11458 (cabs_test): Likewise.
11459 (cacos_test): Likewise.
11460 (cacosh_test): Likewise.
11461 (casin_test): Likewise.
11462 (casinh_test): Likewise.
11463 (catan_test): Likewise.
11464 (catanh_test): Likewise.
11465 (cbrt_test): Likewise.
11466 (ccos_test): Likewise.
11467 (ccosh_test): Likewise.
11468 (cexp_test): Likewise.
11469 (clog_test): Likewise.
11470 (clog10_test): Likewise.
11471 (cos_test): Likewise.
11472 (cos_test_tonearest): Likewise.
11473 (cos_test_towardzero): Likewise.
11474 (cos_test_downward): Likewise.
11475 (cos_test_upward): Likewise.
11476 (cosh_test): Likewise.
11477 (cosh_test_tonearest): Likewise.
11478 (cosh_test_towardzero): Likewise.
11479 (cosh_test_downward): Likewise.
11480 (cosh_test_upward): Likewise.
11481 (cpow_test): Likewise.
11482 (csin_test): Likewise.
11483 (csinh_test): Likewise.
11484 (csqrt_test): Likewise.
11485 (ctan_test): Likewise.
11486 (ctan_test_tonearest): Likewise.
11487 (ctan_test_towardzero): Likewise.
11488 (ctan_test_downward): Likewise.
11489 (ctan_test_upward): Likewise.
11490 (ctanh_test): Likewise.
11491 (ctanh_test_tonearest): Likewise.
11492 (ctanh_test_towardzero): Likewise.
11493 (ctanh_test_downward): Likewise.
11494 (ctanh_test_upward): Likewise.
11495 (erf_test): Likewise.
11496 (erfc_test): Likewise.
11497 (exp_test): Likewise.
11498 (exp_test_tonearest): Likewise.
11499 (exp_test_towardzero): Likewise.
11500 (exp_test_downward): Likewise.
11501 (exp_test_upward): Likewise.
11502 (exp10_test): Likewise.
11503 (exp2_test): Likewise.
11504 (expm1_test): Likewise.
11505 (fmod_test): Likewise.
11506 (gamma_test): Likewise.
11507 (hypot_test): Likewise.
11508 (j0_test): Likewise.
11509 (j1_test): Likewise.
11510 (jn_test): Likewise.
11511 (lgamma_test): Likewise.
11512 (log_test): Likewise.
11513 (log10_test): Likewise.
11514 (log1p_test): Likewise.
11515 (log2_test): Likewise.
11516 (logb_test_downward): Likewise.
11517 (pow_test): Likewise.
11518 (pow_test_tonearest): Likewise.
11519 (pow_test_towardzero): Likewise.
11520 (pow_test_downward): Likewise.
11521 (pow_test_upward): Likewise.
11522 (remainder_test): Likewise.
11523 (remquo_test): Likewise.
11524 (sin_test): Likewise.
11525 (sin_test_tonearest): Likewise.
11526 (sin_test_towardzero): Likewise.
11527 (sin_test_downward): Likewise.
11528 (sin_test_upward): Likewise.
11529 (sincos_test): Likewise.
11530 (sinh_test): Likewise.
11531 (sinh_test_tonearest): Likewise.
11532 (sinh_test_towardzero): Likewise.
11533 (sinh_test_downward): Likewise.
11534 (sinh_test_upward): Likewise.
11535 (sqrt_test): Likewise.
11536 (tan_test): Likewise.
11537 (tan_test_tonearest): Likewise.
11538 (tan_test_towardzero): Likewise.
11539 (tan_test_downward): Likewise.
11540 (tan_test_upward): Likewise.
11541 (tanh_test): Likewise.
11542 (tgamma_test): Likewise.
11543 (y0_test): Likewise.
11544 (y1_test): Likewise.
11545 (yn_test): Likewise.
11546
11547 * math/gen-libm-test.pl (adjust_arg): Remove function.
11548 (special_function): Remove argument $in_func. Only handle
11549 generating output for tables of tests, not inside functions.
11550 (parse_args): Likewise.
11551 (generate_testfile): Remove variable $in_func. Update call to
11552 parse_args.
11553 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11554 (MINUS_ZERO_INIT): Rename macro to minus_zero.
11555 (PLUS_INFTY_INIT): Rename macro to plus_infty.
11556 (MINUS_INFTY_INIT): Rename macro to minus_infty.
11557 (QNAN_VALUE_INIT): Rename macro to qnan_value.
11558 (MAX_VALUE_INIT): Rename macro to max_value.
11559 (MIN_VALUE_INIT): Rename macro to min_value.
11560 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11561 (plus_zero): Remove variable.
11562 (minus_zero): Likewise.
11563 (plus_infty): Likewise.
11564 (minus_infty): Likewise.
11565 (qnan_value): Likewise.
11566 (max_value): Likewise.
11567 (min_value): Likewise.
11568 (min_subnorm_value): Likewise.
11569
115702013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11571
11572 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11573 uint64_t or uint32_t usage.
11574 * crypt/sha256-block.c: Likewise.
11575 * crypt/sha256-crypt.c: Likewise.
11576 * crypt/sha256.c: Likewise.
11577 * crypt/sha512-block.c: Likewise.
11578 * crypt/sha512-crypt.c: Likewise.
11579 * crypt/sha512.c: Likewise.
11580 * debug/backtrace-tst.c: Likewise.
11581 * debug/pcprofiledump.c: Likewise.
11582 * elf/cache.c: Likewise.
11583 * elf/dl-cache.c: Likewise.
11584 * elf/dl-misc.c: Likewise.
11585 * elf/dl-profile.c: Likewise.
11586 * elf/dl-support.c: Likewise.
11587 * elf/ldconfig.c: Likewise.
11588 * elf/sprof.c: Likewise.
11589 * iconv/dummy-repertoire.c: Likewise.
11590 * iconv/iconv_charmap.c: Likewise.
11591 * iconv/skeleton.c: Likewise.
11592 * iconvdata/8bit-generic.c: Likewise.
11593 * iconvdata/cp737.h: Likewise.
11594 * iconvdata/cp775.h: Likewise.
11595 * iconvdata/ibm1008.h: Likewise.
11596 * iconvdata/ibm1025.h: Likewise.
11597 * iconvdata/ibm1046.h: Likewise.
11598 * iconvdata/ibm1097.h: Likewise.
11599 * iconvdata/ibm1112.h: Likewise.
11600 * iconvdata/ibm1122.h: Likewise.
11601 * iconvdata/ibm1123.h: Likewise.
11602 * iconvdata/ibm1124.h: Likewise.
11603 * iconvdata/ibm1129.h: Likewise.
11604 * iconvdata/ibm1130.h: Likewise.
11605 * iconvdata/ibm1132.h: Likewise.
11606 * iconvdata/ibm1133.h: Likewise.
11607 * iconvdata/ibm1137.h: Likewise.
11608 * iconvdata/ibm1140.h: Likewise.
11609 * iconvdata/ibm1141.h: Likewise.
11610 * iconvdata/ibm1142.h: Likewise.
11611 * iconvdata/ibm1143.h: Likewise.
11612 * iconvdata/ibm1144.h: Likewise.
11613 * iconvdata/ibm1145.h: Likewise.
11614 * iconvdata/ibm1146.h: Likewise.
11615 * iconvdata/ibm1147.h: Likewise.
11616 * iconvdata/ibm1148.h: Likewise.
11617 * iconvdata/ibm1149.h: Likewise.
11618 * iconvdata/ibm1153.h: Likewise.
11619 * iconvdata/ibm1154.h: Likewise.
11620 * iconvdata/ibm1155.h: Likewise.
11621 * iconvdata/ibm1156.h: Likewise.
11622 * iconvdata/ibm1157.h: Likewise.
11623 * iconvdata/ibm1158.h: Likewise.
11624 * iconvdata/ibm1160.h: Likewise.
11625 * iconvdata/ibm1161.h: Likewise.
11626 * iconvdata/ibm1162.h: Likewise.
11627 * iconvdata/ibm1163.h: Likewise.
11628 * iconvdata/ibm1164.h: Likewise.
11629 * iconvdata/ibm1166.h: Likewise.
11630 * iconvdata/ibm1167.h: Likewise.
11631 * iconvdata/ibm12712.h: Likewise.
11632 * iconvdata/ibm1390.h: Likewise.
11633 * iconvdata/ibm1399.h: Likewise.
11634 * iconvdata/ibm16804.h: Likewise.
11635 * iconvdata/ibm4517.h: Likewise.
11636 * iconvdata/ibm4899.h: Likewise.
11637 * iconvdata/ibm4909.h: Likewise.
11638 * iconvdata/ibm4971.h: Likewise.
11639 * iconvdata/ibm5347.h: Likewise.
11640 * iconvdata/ibm803.h: Likewise.
11641 * iconvdata/ibm856.h: Likewise.
11642 * iconvdata/ibm901.h: Likewise.
11643 * iconvdata/ibm902.h: Likewise.
11644 * iconvdata/ibm9030.h: Likewise.
11645 * iconvdata/ibm9066.h: Likewise.
11646 * iconvdata/ibm921.h: Likewise.
11647 * iconvdata/ibm922.h: Likewise.
11648 * iconvdata/ibm9448.h: Likewise.
11649 * iconvdata/isiri-3342.h: Likewise.
11650 * iconvdata/jis0201.h: Likewise.
11651 * include/link.h: Likewise.
11652 * include/netdb.h: Likewise.
11653 * inet/check_native.c: Likewise.
11654 * inet/check_pf.c: Likewise.
11655 * inet/getipv4sourcefilter.c: Likewise.
11656 * inet/getnameinfo.c: Likewise.
11657 * inet/getsourcefilter.c: Likewise.
11658 * inet/htonl.c: Likewise.
11659 * inet/setipv4sourcefilter.c: Likewise.
11660 * inet/setsourcefilter.c: Likewise.
11661 * inet/test-inet6_opt.c: Likewise.
11662 * inet/tst-network.c: Likewise.
11663 * locale/C-collate.c: Likewise.
11664 * locale/C-ctype.c: Likewise.
11665 * locale/C-time.c: Likewise.
11666 * locale/C-translit.h: Likewise.
11667 * locale/loadarchive.c: Likewise.
11668 * locale/programs/3level.h: Likewise.
11669 * locale/programs/charmap.c: Likewise.
11670 * locale/programs/charmap.h: Likewise.
11671 * locale/programs/ld-address.c: Likewise.
11672 * locale/programs/ld-collate.c: Likewise.
11673 * locale/programs/ld-ctype.c: Likewise.
11674 * locale/programs/ld-identification.c: Likewise.
11675 * locale/programs/ld-measurement.c: Likewise.
11676 * locale/programs/ld-messages.c: Likewise.
11677 * locale/programs/ld-monetary.c: Likewise.
11678 * locale/programs/ld-name.c: Likewise.
11679 * locale/programs/ld-numeric.c: Likewise.
11680 * locale/programs/ld-paper.c: Likewise.
11681 * locale/programs/ld-telephone.c: Likewise.
11682 * locale/programs/ld-time.c: Likewise.
11683 * locale/programs/linereader.c: Likewise.
11684 * locale/programs/locale.c: Likewise.
11685 * locale/programs/locarchive.c: Likewise.
11686 * locale/programs/locfile.h: Likewise.
11687 * locale/programs/repertoire.c: Likewise.
11688 * locale/programs/simple-hash.c: Likewise.
11689 * locale/programs/simple-hash.h: Likewise.
11690 * malloc/memusage.c: Likewise.
11691 * malloc/memusagestat.c: Likewise.
11692 * nis/nis_defaults.c: Likewise.
11693 * nis/nis_hash.c: Likewise.
11694 * nis/nis_print.c: Likewise.
11695 * nis/nis_xdr.c: Likewise.
11696 * nscd/connections.c: Likewise.
11697 * nscd/hstcache.c: Likewise.
11698 * nscd/nscd_gethst_r.c: Likewise.
11699 * nscd/nscd_getserv_r.c: Likewise.
11700 * nscd/nscd_helper.c: Likewise.
11701 * nscd/servicescache.c: Likewise.
11702 * nss/makedb.c: Likewise.
11703 * nss/nss_db/db-XXX.c: Likewise.
11704 * nss/nss_db/db-initgroups.c: Likewise.
11705 * nss/nss_db/db-netgrp.c: Likewise.
11706 * nss/nss_files/files-network.c: Likewise.
11707 * nss/nss_files/files-parse.c: Likewise.
11708 * posix/bug-regex5.c: Likewise.
11709 * posix/fnmatch_loop.c: Likewise.
11710 * posix/regcomp.c: Likewise.
11711 * posix/regexec.c: Likewise.
11712 * posix/tst-rfc3484-2.c: Likewise.
11713 * posix/tst-rfc3484-3.c: Likewise.
11714 * posix/tst-rfc3484.c: Likewise.
11715 * resolv/nss_dns/dns-canon.c: Likewise.
11716 * resolv/nss_dns/dns-network.c: Likewise.
11717 * resolv/res_init.c: Likewise.
11718 * resolv/res_mkquery.c: Likewise.
11719 * resolv/tst-aton.c: Likewise.
11720 * stdlib/cxa_atexit.c: Likewise.
11721 * stdlib/cxa_finalize.c: Likewise.
11722 * stdlib/gen-fpioconst.c: Likewise.
11723 * stdlib/strtol_l.c: Likewise.
11724 * string/tst-endian.c: Likewise.
11725 * sunrpc/auth_des.c: Likewise.
11726 * sunrpc/clnt_udp.c: Likewise.
11727 * sunrpc/rtime.c: Likewise.
11728 * sunrpc/svcauth_des.c: Likewise.
11729 * sunrpc/xdr.c: Likewise.
11730 * sunrpc/xdr_intXX_t.c: Likewise.
11731 * sunrpc/xdr_rec.c: Likewise.
11732 * sysdeps/generic/ldconfig.h: Likewise.
11733 * sysdeps/generic/ldsodefs.h: Likewise.
11734 * sysdeps/generic/memusage.h: Likewise.
11735 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11736 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11737 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11738 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11739 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11741 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11742 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11743 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11745 * sysdeps/posix/getaddrinfo.c: Likewise.
11746 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11747 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11748 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11749 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11750 * sysdeps/powerpc/test-gettimebase.c: Likewise.
11751 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11752 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11753 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11754 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11755 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11756 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11757 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11758 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11759 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11760 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11761 * sysdeps/x86_64/dl-tls.h: Likewise.
11762 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11763 * time/alt_digit.c: Likewise.
11764 * time/era.c: Likewise.
11765 * wcsmbs/tst-c16c32-1.c: Likewise.
11766
117672013-05-16 Joseph Myers <joseph@codesourcery.com>
11768
11769 * math/libm-test.inc (struct test_sincos_data): New type.
11770 (RUN_TEST_LOOP_sincos): New macro.
11771 (sincos_test_data): New variable.
11772 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11773
117742013-05-16 Richard Henderson <rth@redhat.com>
11775
11776 * math/atest-exp2.c (LIMB64): New macro.
11777 (CONSTSZ): New macro.
11778 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11779 (hexdig): Move ...
11780 (print_mpn_fp): ... to function scope.
11781 (read_mpn_hex): Remove.
11782 (get_log2): Remove.
11783 (exp2_mpn): Use mp_log2.
11784 (main): Use mp_exp1.
11785
117862013-05-16 Joseph Myers <joseph@codesourcery.com>
11787
11788 * math/libm-test.inc: Remove comment about not testing "inexact"
11789 exceptions.
11790 (INEXACT_EXCEPTION): New macro.
11791 (NO_INEXACT_EXCEPTION): Likewise.
11792 (INVALID_EXCEPTION_OK): Update value.
11793 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11794 (OVERFLOW_EXCEPTION_OK): Likewise.
11795 (UNDERFLOW_EXCEPTION_OK): Likewise.
11796 (IGNORE_ZERO_INF_SIGN): Likewise.
11797 (ERRNO_UNCHANGED): Likewise.
11798 (ERRNO_EDOM): Likewise.
11799 (ERRNO_ERANGE): Likewise.
11800 (test_exceptions): Handle testing "inexact" exceptions.
11801 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11802 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11803 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11804 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11805 INEXACT_EXCEPTION.
11806 (rint_towardzero_test_data): Likewise.
11807 (rint_downward_test_data): Likewise.
11808 (rint_upward_test_data): Likewise.
11809
11810 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11811 with OVERFLOW_EXCEPTION.
11812 (exp10_test_data): Likewise.
11813 (exp2_test_data): Likewise.
11814 (expm1_test_data): Likewise.
11815 (lgamma_test_data): Likewise.
11816 (pow_test_data): Likewise.
11817 (tgamma_test_data): Likewise.
11818 (yn_test_data): Remove duplicate test of overflow.
11819
11820 * math/libm-test.inc (struct test_cc_c_data): New type.
11821 (RUN_TEST_LOOP_cc_c): New macro.
11822 (cpow_test_data): New variable.
11823 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11824
11825 * math/libm-test.inc (struct test_f_L_data): New type.
11826 (RUN_TEST_LOOP_f_L): New macro.
11827 (llrint_test_data): New variable.
11828 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11829 (llrint_tonearest_test_data): New variable.
11830 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11831 (llrint_towardzero_test_data): New variable.
11832 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11833 (llrint_downward_test_data): New variable.
11834 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11835 (llrint_upward_test_data): New variable.
11836 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11837 (llround_test_data): New variable.
11838 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11839
118402013-05-13 Peter Collingbourne <pcc@google.com>
11841
11842 * math/atest-exp2.c (get_log2): Remove const attribute.
11843
118442013-05-15 Joseph Myers <joseph@codesourcery.com>
11845
11846 * math/libm-test.inc (struct test_f_l_data): New type.
11847 (RUN_TEST_LOOP_f_l): New macro.
11848 (lrint_test_data): New variable.
11849 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11850 (lrint_tonearest_test_data): New variable.
11851 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11852 (lrint_towardzero_test_data): New variable.
11853 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11854 (lrint_downward_test_data): New variable.
11855 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11856 (lrint_upward_test_data): New variable.
11857 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11858 (lround_test_data): New variable.
11859 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11860
118612013-05-15 Peter Collingbourne <pcc@google.com>
11862
11863 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11864 (EXTRACT_WORDS64) Use where appropriate.
11865 (INSERT_WORDS64) Likewise.
11866
11867 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11868 constraints with x constraints.
11869 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11870
11871 * malloc/obstack.c (_obstack_compat): Add initializer.
11872
118732013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11874
11875 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11876 si_trapno and add si_addr_lsb to _sifields.sigfault.
11877 (si_trapno): Remove macro.
11878 (si_addr_lsb): Define new macro.
11879 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11880
118812013-05-15 Joseph Myers <joseph@codesourcery.com>
11882
11883 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11884 instead of TEST_f_l.
11885 (llrint_test_tonearest): Likewise.
11886 (llrint_test_towardzero): Likewise.
11887 (llrint_test_downward): Likewise.
11888 (llrint_test_upward): Likewise.
11889 (llround_test): Likewise.
11890
11891 * math/libm-test.inc (struct test_f_i_data): Add comment.
11892 (RUN_TEST_LOOP_f_b): New macro.
11893 (RUN_TEST_LOOP_f_b_tg): Likewise.
11894 (finite_test_data): New variable.
11895 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11896 (isfinite_test_data): New variable.
11897 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11898 (isinf_test_data): New variable.
11899 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11900 (isnan_test_data): New variable.
11901 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11902 (isnormal_test_data): New variable.
11903 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11904 (issignaling_test_data): New variable.
11905 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11906 (signbit_test_data): New variable.
11907 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11908
11909 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11910 with INVALID_EXCEPTION.
11911 (acosh_test_data): Likewise.
11912 (asin_test_data): Likewise.
11913 (atanh_test_data): Likewise.
11914 (fmod_test_data): Likewise.
11915 (log_test_data): Likewise.
11916 (log10_test_data): Likewise.
11917 (log2_test_data): Likewise.
11918 (pow_test_data): Likewise.
11919 (sqrt_test_data): Likewise.
11920 (y0_test_data): Likewise.
11921 (y1_test_data): Likewise.
11922 (yn_test_data): Likewise.
11923
11924 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11925 function contents.
11926
11927 * math/libm-test.inc (struct test_ff_i_data): New type.
11928 (RUN_TEST_LOOP_ff_i_tg): New macro.
11929 (isgreater_test_data): New variable.
11930 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11931 (isgreaterequal_test_data): New variable.
11932 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11933 (isless_test_data): New variable.
11934 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11935 (islessequal_test_data): New variable.
11936 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11937 (islessgreater_test_data): New variable.
11938 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11939 (isunordered_test_data): New variable.
11940 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11941
119422013-05-14 David S. Miller <davem@davemloft.net>
11943
11944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11945
119462013-05-14 Joseph Myers <joseph@codesourcery.com>
11947
11948 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11949
11950 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11951 extra_test to int.
11952 (struct test_f_i_data): Change type of max_ulp to int.
11953
11954 * math/libm-test.inc (test_ffI_f1_data): New type.
11955 (RUN_TEST_LOOP_ffI_f1): New macro.
11956 (remquo_test_data): New variable.
11957 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11958
11959 * setjmp/tst-setjmp-fp.c: New file.
11960 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11961 (link-libm): New variable.
11962 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11963
11964 * math/libm-test.inc (struct test_f_i_data): New type.
11965 (RUN_TEST_LOOP_f_i): New macro.
11966 (RUN_TEST_LOOP_f_i_tg): Likewise.
11967 (fpclassify_test_data): New variable.
11968 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11969 (ilogb_test_data): New variable.
11970 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11971
11972 * math/libm-test.inc (scalbln_test): Correct function name in END
11973 call.
11974
11975 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11976 (RUN_TEST_LOOP_fI_f1): New macro.
11977 (frexp_test_data): New variable.
11978 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11979
11980 * math/libm-test.inc (struct test_fF_f1_data): New type.
11981 (RUN_TEST_LOOP_fF_f1): New macro.
11982 (modf_test_data): New variable.
11983 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11984
11985 * math/libm-test.inc (struct test_f_f1_data): New type.
11986 (RUN_TEST_LOOP_f_f1): New macro.
11987 (gamma_test_data): New variable.
11988 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11989 (lgamma_test_data): New variable.
11990 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11991
119922013-05-13 Carlos O'Donell <carlos@redhat.com>
11993
11994 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11995 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11996 (main): Comment "tls" pseudo-hwcap.
11997
119982013-05-13 Joseph Myers <joseph@codesourcery.com>
11999
12000 * math/libm-test.inc (struct test_fl_f_data): New type.
12001 (RUN_TEST_LOOP_fl_f): New variable.
12002 (scalbln_test_data): New variable.
12003 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12004
12005 * math/libm-test.inc (struct test_fi_f_data): New type.
12006 (RUN_TEST_LOOP_fi_f): New macro.
12007 (ldexp_test_data): New variable.
12008 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
12009 (scalbn_test_data): New variable.
12010 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
12011
12012 * math/libm-test.inc (struct test_c_f_data): New type.
12013 (RUN_TEST_LOOP_c_f): New macro.
12014 (cabs_test_data): New variable.
12015 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
12016 (carg_test_data): New variable.
12017 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
12018 (cimag_test_data): New variable.
12019 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
12020 (creal_test_data): New variable.
12021 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
12022
12023 * math/libm-test.inc (struct test_if_f_data): New type.
12024 (RUN_TEST_LOOP_if_f): New macro.
12025 (jn_test_data): New variable.
12026 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
12027 (yn_test_data): New variable.
12028 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
12029
12030 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
12031
120322013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12033
12034 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
12035 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
12036
120372013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12038
12039 * benchtests/Makefile (CPPFLAGS-nonlib): Add
12040 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
12041 (bench-deps): Add bench-timing.h.
12042 * benchtests-bench-skeleton.c: Include bench-timing.h.
12043 (main): Use TIMING_* macros instead of clock_gettime.
12044 * benchtests/bench-timing.h: New file.
12045
12046 [BZ #14582]
12047 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
12048 Renamed from _LIB_VERSION.
12049 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
12050
120512013-05-12 Joseph Myers <joseph@codesourcery.com>
12052
12053 * math/libm-test.inc (struct test_fff_f_data): New type.
12054 (RUN_TEST_LOOP_fff_f): New macro.
12055 (fma_test_data): New variable.
12056 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
12057 (fma_towardzero_test_data): New variable.
12058 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
12059 (fma_downward_test_data): New variable.
12060 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
12061 (fma_upward_test_data): New variable.
12062 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
12063
12064 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
12065 (struct test_c_c_data): New type.
12066 (RUN_TEST_LOOP_c_c): New macro.
12067 (cacos_test_data): New variable.
12068 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
12069 (cacosh_test_data): New variable.
12070 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
12071 (casin_test_data): New variable.
12072 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
12073 (casinh_test_data): New variable.
12074 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
12075 (catan_test_data): New variable.
12076 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
12077 (catanh_test_data): New variable.
12078 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
12079 (ccos_test_data): New variable.
12080 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
12081 (ccosh_test_data): New variable.
12082 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
12083 (cexp_test_data): New variable.
12084 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
12085 (clog_test_data): New variable.
12086 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
12087 (clog10_test_data): New variable.
12088 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
12089 (conj_test_data): New variable.
12090 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
12091 (cproj_test_data): New variable.
12092 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
12093 (csin_test_data): New variable.
12094 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
12095 (csinh_test_data): New variable.
12096 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
12097 (csqrt_test_data): New variable.
12098 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
12099 (ctan_test_data): New variable.
12100 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
12101 (ctan_tonearest_test_data): New variable.
12102 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12103 (ctan_towardzero_test_data): New variable.
12104 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12105 (ctan_downward_test_data): New variable.
12106 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12107 (ctan_upward_test_data): New variable.
12108 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12109 (ctanh_test_data): New variable.
12110 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
12111 (ctanh_tonearest_test_data): New variable.
12112 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12113 (ctanh_towardzero_test_data): New variable.
12114 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12115 (ctanh_downward_test_data): New variable.
12116 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12117 (ctanh_upward_test_data): New variable.
12118 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12119 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
12120 of BUILD_COMPLEX.
12121
12122 * math/libm-test.inc (struct test_ff_f_data): New type.
12123 (struct test_ff_f_data_nexttoward): Likewise.
12124 (RUN_TEST_LOOP_2_f): New macro.
12125 (RUN_TEST_LOOP_ff_f): Likewise.
12126 (atan2_test_data): New variable.
12127 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
12128 (copysign_test_data): New variable.
12129 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
12130 (fdim_test_data): New variable.
12131 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
12132 (fmax_test_data): New variable.
12133 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
12134 (fmin_test_data): New variable.
12135 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
12136 (fmod_test_data): New variable.
12137 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
12138 (hypot_test_data): New variable.
12139 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
12140 (nextafter_test_data): New variable.
12141 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
12142 (nexttoward_test_data): New variable.
12143 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
12144 (pow_test_data): New variable.
12145 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
12146 (pow_tonearest_test_data): New variable.
12147 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
12148 (pow_towardzero_test_data): New variable.
12149 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
12150 (pow_downward_test_data): New variable.
12151 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
12152 (pow_upward_test_data): New variable.
12153 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
12154 (remainder_test_data): New variable.
12155 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
12156 (scalb_test_data): New variable.
12157 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
12158 * sysdeps/i386/fpu/libm-test-ulps: Update.
12159
121602013-05-11 Joseph Myers <joseph@codesourcery.com>
12161
12162 * math/libm-test.inc (fma_test): Use max_value instead of local
12163 variable fltmax.
12164 (nextafter_test): Likewise.
12165
12166 * math/libm-test.inc (acos_towardzero_test_data): New variable.
12167 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12168 (acos_downward_test_data): New variable.
12169 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12170 (acos_upward_test_data): New variable.
12171 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12172 (acosh_test_data): New variable.
12173 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
12174 (asin_test_data): New variable.
12175 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
12176 (asin_tonearest_test_data): New variable.
12177 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12178 (asin_towardzero_test_data): New variable.
12179 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12180 (asin_downward_test_data): New variable.
12181 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12182 (asin_upward_test_data): New variable.
12183 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12184 (asinh_test_data): New variable.
12185 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
12186 (atan_test_data): New variable.
12187 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
12188 (atanh_test_data): New variable.
12189 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
12190 (cbrt_test_data): New variable.
12191 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
12192 (ceil_test_data): New variable.
12193 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
12194 (cos_test_data): New variable.
12195 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
12196 (cos_tonearest_test_data): New variable.
12197 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12198 (cos_towardzero_test_data): New variable.
12199 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12200 (cos_downward_test_data): New variable.
12201 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12202 (cos_upward_test_data): New variable.
12203 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12204 (cosh_test_data): New variable.
12205 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
12206 (cosh_tonearest_test_data): New variable.
12207 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12208 (cosh_towardzero_test_data): New variable.
12209 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12210 (cosh_downward_test_data): New variable.
12211 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12212 (cosh_upward_test_data): New variable.
12213 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12214 (erf_test_data): New variable.
12215 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
12216 (erfc_test_data): New variable.
12217 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
12218 (exp_test_data): New variable.
12219 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
12220 (exp_tonearest_test_data): New variable.
12221 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12222 (exp_towardzero_test_data): New variable.
12223 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12224 (exp_downward_test_data): New variable.
12225 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12226 (exp_upward_test_data): New variable.
12227 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12228 (exp10_test_data): New variable.
12229 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
12230 (exp2_test_data): New variable.
12231 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
12232 (expm1_test_data): New variable.
12233 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
12234 (fabs_test_data): New variable.
12235 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
12236 (floor_test_data): New variable.
12237 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
12238 (j0_test_data): New variable.
12239 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
12240 (j1_test_data): New variable.
12241 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
12242 (log_test_data): New variable.
12243 (log_test): Run tests with RUN_TEST_LOOP_f_f.
12244 (log10_test_data): New variable.
12245 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
12246 (log1p_test_data): New variable.
12247 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
12248 (log2_test_data): New variable.
12249 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
12250 (logb_test_data): New variable.
12251 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
12252 (logb_downward_test_data): New variable.
12253 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12254 (nearbyint_test_data): New variable.
12255 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
12256 (rint_test_data): New variable.
12257 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
12258 (rint_tonearest_test_data): New variable.
12259 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12260 (rint_towardzero_test_data): New variable.
12261 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12262 (rint_downward_test_data): New variable.
12263 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12264 (rint_upward_test_data): New variable.
12265 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12266 (round_test_data): New variable.
12267 (round_test): Run tests with RUN_TEST_LOOP_f_f.
12268 (sin_test_data): New variable.
12269 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
12270 (sin_tonearest_test_data): New variable.
12271 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12272 (sin_towardzero_test_data): New variable.
12273 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12274 (sin_downward_test_data): New variable.
12275 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12276 (sin_upward_test_data): New variable.
12277 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12278 (sinh_test_data): New variable.
12279 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
12280 (sinh_tonearest_test_data): New variable.
12281 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12282 (sinh_towardzero_test_data): New variable.
12283 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12284 (sinh_downward_test_data): New variable.
12285 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12286 (sinh_upward_test_data): New variable.
12287 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12288 (sqrt_test_data): New variable.
12289 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
12290 (tan_test_data): New variable.
12291 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
12292 (tan_tonearest_test_data): New variable.
12293 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12294 (tan_towardzero_test_data): New variable.
12295 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12296 (tan_downward_test_data): New variable.
12297 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12298 (tan_upward_test_data): New variable.
12299 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12300 (tanh_test_data): New variable.
12301 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
12302 (tgamma_test_data): New variable.
12303 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
12304 (trunc_test_data): New variable.
12305 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
12306 (y0_test_data): New variable.
12307 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
12308 (y1_test_data): New variable.
12309 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
12310 (significand_test_data): New variable.
12311 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
12312
123132013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
12314
12315 [BZ #12387]
12316 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
12317
123182013-05-10 Pino Toscano <toscano.pino@tiscali.it>
12319
12320 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
12321
123222013-05-10 Andreas Jaeger <aj@suse.de>
12323
12324 [BZ #15448]
12325 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
12326 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
12327
123282013-05-10 Joseph Myers <joseph@codesourcery.com>
12329
12330 * math/gen-libm-test.pl (adjust_arg): New function.
12331 (special_functions): Handle generating output in both functions
12332 and arrays.
12333 (parse_args): Likewise.
12334 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
12335 $in_func argument to parse_args.
12336 * math/libm-test.inc (struct test_f_f_data): New type.
12337 (IF_ROUND_INIT_): New macro.
12338 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
12339 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12340 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12341 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12342 (ROUND_RESTORE_): Likewise.
12343 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
12344 (ROUND_RESTORE_FE_TONEAREST): Likewise.
12345 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
12346 (ROUND_RESTORE_FE_UPWARD): Likewise.
12347 (RUN_TEST_LOOP_f_f): New macro.
12348 (acos_test_data): New variable.
12349 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
12350 (acos_tonearest_test_data): New variable.
12351 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12352
123532013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12354
12355 * benchtests/bench-skeleton.c (startup): Fix coding style.
12356
123572013-05-10 Joseph Myers <joseph@codesourcery.com>
12358
12359 [BZ #6809]
12360 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
12361 negative infinity argument.
12362 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
12363 negative infinity argument.
12364 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
12365 negative infinity argument.
12366 * math/libm-test.inc (tgamma_test): Expect errno to be set for
12367 domain errors.
12368
123692013-05-10 Florian Weimer <fweimer@redhat.com>
12370
12371 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
12372 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
12373 * iconv/iconv_prog.c (main): Likewise.
12374 * locale/programs/charmap-dir.c (charmap_readdir)
12375 (fopen_uncompressed): Likewise.
12376 * locale/programs/locfile.c (siblings_uncached)
12377 (write_locale_data): Use lstat64 instead of lstat.
12378 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
12379 stat.
12380
123812013-05-10 Andreas Jaeger <aj@suse.de>
12382
12383 [BZ #15395]
12384 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
12385 localization.
12386 Include <locale.h>.
12387
123882013-05-09 Carlos O'Donell <carlos@redhat.com>
12389
12390 * elf/dl-close.c (_dl_close_worker): Add comments.
12391
123922013-05-09 Joseph Myers <joseph@codesourcery.com>
12393
12394 [BZ #15359]
12395 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
12396 high part of pi/2.
12397 (__ieee754_rem_pio2l): Update comments.
12398
12399 [BZ #15429]
12400 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
12401 high part of pi/2.
12402 (__ieee754_rem_pio2l): Update comments.
12403
12404 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
12405 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
12406
12407 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
12408 M_PI_4l.
12409
12410 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
12411 (M_PI_34_LOG10El): Likewise.
12412 (M_PI2_LOG10El): Likewise.
12413 (M_PI4_LOG10El): Likewise.
12414 (M_PI_LOG10El): Likewise.
12415
124162013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12417
12418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12419
124202013-05-08 Joseph Myers <joseph@codesourcery.com>
12421
12422 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
12423 (MINUS_ZERO_INIT): Likewise.
12424 (PLUS_INFTY_INIT): Likewise.
12425 (MINUS_INFTY_INIT): Likewise.
12426 (QNAN_VALUE_INIT): Likewise.
12427 (MAX_VALUE_INIT): Likewise.
12428 (MIN_VALUE_INIT): Likewise.
12429 (MIN_SUBNORM_VALUE_INIT): Likewise.
12430 (plus_zero): Initialize with PLUS_ZERO_INIT.
12431 (minus_zero): Initialize with MINUS_ZERO_INIT.
12432 (plus_infty): Initialize with PLUS_INFTY_INIT.
12433 (minus_infty): Initialize with MINUS_INFTY_INIT.
12434 (qnan_value): Initialize with QNAN_VALUE_INIT.
12435 (max_value): Initialize with MAX_VALUE_INIT.
12436 (min_value): Initialize with MIN_VALUE_INIT.
12437 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
12438
12439 * math/libm-test.inc (RUN_TEST_if_f): New macro.
12440 (jn_test): Use TEST_if_f instead of TEST_ff_f.
12441 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
12442 (yn_test): Use TEST_if_f instead of TEST_ff_f.
12443
12444 * math/libm-test.inc (RUN_TEST_f_f): New macro.
12445 (RUN_TEST_2_f): Likewise.
12446 (RUN_TEST_ff_f): Likewise.
12447 (RUN_TEST_fi_f): Likewise.
12448 (RUN_TEST_fl_f): Likewise.
12449 (RUN_TEST_fff_f): Likewise.
12450 (RUN_TEST_c_f): Likewise.
12451 (RUN_TEST_f_f1): Likewise.
12452 (RUN_TEST_fF_f1): Likewise.
12453 (RUN_TEST_fI_f1): Likewise.
12454 (RUN_TEST_ffI_f1): Likewise.
12455 (RUN_TEST_c_c): Likewise.
12456 (RUN_TEST_cc_c): Likewise.
12457 (RUN_TEST_f_i): Likewise.
12458 (RUN_TEST_f_i_tg): Likewise.
12459 (RUN_TEST_ff_i_tg): Likewise.
12460 (RUN_TEST_f_b): Likewise.
12461 (RUN_TEST_f_b_tg): Likewise.
12462 (RUN_TEST_f_l): Likewise.
12463 (RUN_TEST_f_L): Likewise.
12464 (RUN_TEST_sincos): Likewise.
12465 * math/gen-libm-test.pl (new_test): Take new argument to indicate
12466 whether to show exceptions. Do not include ");\n" in return
12467 value.
12468 (special_functions): Output call to RUN_TEST_sincos instead of
12469 check_float calls. Update calls to new_test.
12470 (parse_args): Output call to single RUN_TEST_* macro instead of
12471 check_* calls and other assignments. Update calls to new_test.
12472
12473 [BZ #2546]
12474 [BZ #2560]
12475 [BZ #5159]
12476 [BZ #15426]
12477 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
12478 input to result for tgamma overflow.
12479 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
12480 (gamma_coeff): New variable.
12481 (NCOEFF): New macro.
12482 (gamma_positive): New function.
12483 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
12484 underflow here. Use gamma_positive instead of exp (lgamma) for
12485 other arguments.
12486 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
12487 (gamma_coeff): New variable.
12488 (NCOEFF): New macro.
12489 (gammaf_positive): New function.
12490 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
12491 underflow here. Use gamma_positive instead of exp (lgamma) for
12492 other arguments.
12493 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
12494 (gamma_coeff): New variable.
12495 (NCOEFF): New macro.
12496 (gammal_positive): New function.
12497 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
12498 underflow here. Use gamma_positive instead of exp (lgamma) for
12499 other arguments.
12500 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
12501 (gamma_coeff): New variable.
12502 (NCOEFF): New macro.
12503 (gammal_positive): New function.
12504 (__ieee754_gammal_r): Handle positive infinity, overflow and
12505 underflow here. Handle NaN the same as positive infinity. Remove
12506 check x < 0xffffffff for negative integers. Use gamma_positive
12507 instead of exp (lgamma) for other arguments.
12508 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
12509 (gamma_coeff): New variable.
12510 (NCOEFF): New macro.
12511 (gammal_positive): New function.
12512 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
12513 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12514 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12515 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
12516 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12517 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12518 * sysdeps/generic/math_private.h (__gamma_productf): New
12519 prototype.
12520 (__gamma_product): Likewise.
12521 (__gamma_productl): Likewise.
12522 * math/Makefile (libm-calls): Add gamma_product.
12523 * math/libm-test.inc (tgamma_test): Add more tests.
12524 * sysdeps/i386/fpu/libm-test-ulps: Update.
12525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12526
125272013-05-08 Ondřej Bílka <neleai@seznam.cz>
12528
12529 * benchtests/bench-skeleton.c (main): Preheat CPU.
12530
125312013-05-07 Aurelien Jarno <aurelien@aurel32.net>
12532
12533 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12534
125352013-05-07 Roland McGrath <roland@hack.frob.com>
12536
12537 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12538 and _dl_skip_args_internal.
12539
125402013-05-07 Carlos O'Donell <carlos@redhat.com>
12541
12542 * manual/message.texi (Message Translation): Talk about users.
12543 Message to key mapping impacts design.
12544
125452013-05-06 Roland McGrath <roland@hack.frob.com>
12546
12547 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12548
12549 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12550
12551 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12552 * sysdeps/wordsize-64/glob64.c: ... here.
12553
12554 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12555 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12556 New macros.
12557
12558 * debug/getlogin_r_chk.c: Moved to ...
12559 * login/getlogin_r_chk.c: ... here.
12560 * debug/Makefile (routines): Move getlogin_r_chk to ...
12561 * login/Makefile (routines): ... here.
12562 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12563 * login/Versions (libc: GLIBC_2.4): ... here.
12564
12565 * io/poll.c (__poll): Renamed from poll.
12566 Add libc_hidden_def.
12567 (poll): Define as weak alias.
12568
12569 * debug/ptsname_r_chk.c: Moved to ...
12570 * login/ptsname_r_chk.c: ... here.
12571 * debug/Makefile (routines): Move ptsname_r_chk to ...
12572 * login/Makefile (routines): ... here.
12573 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12574 * login/Versions (libc: GLIBC_2.4): ... here.
12575
12576 * posix/getlogin.c: Moved to ...
12577 * login/getlogin.c: ... here.
12578 * posix/getlogin_r.c: Moved to ...
12579 * login/getlogin_r.c: ... here.
12580 * posix/getlogin_r.c: Moved to ...
12581 * login/getlogin_r.c: ... here.
12582 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12583 * login/Makefile (routines): ... here.
12584 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12585 * login/Versions (libc: GLIBC_2.0): ... here.
12586
12587 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12588 (setrlimit): Define as weak alias.
12589
12590 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12591 Call __ names for open, ftruncate, and close.
12592 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12593 (truncate): Define as weak alias.
12594
125952013-05-06 Joseph Myers <joseph@codesourcery.com>
12596
12597 * math/gen-libm-test.pl (parse_args): Initialize x before each
12598 test of frexp, modf and remquo.
12599
12600 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12601 test signgam value.
12602
126032013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12604
12605 [BZ #15418]
12606 [BZ #15419]
12607 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12608 internal tests.
12609 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12610
126112013-05-06 Roland McGrath <roland@hack.frob.com>
12612
12613 * elf/dl-writev.h: New file.
12614 * elf/dl-misc.c: Include it.
12615 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12616 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12617
126182013-05-04 Joseph Myers <joseph@codesourcery.com>
12619
12620 * math/libm-test.inc (noXFails): Remove variable.
12621 (noXPasses): Likewise.
12622 (BUILD_COMPLEX_INT): Remove macro.
12623 (print_screen): Remove xfail argument.
12624 (print_screen_max_error): Likewise.
12625 (update_stats): Likewise.
12626 (print_max_error): Likewise. Update calls to other affected
12627 functions.
12628 (print_complex_max_error): Likewise.
12629 (test_single_exception): Update calls to print_screen.
12630 (test_single_errno): Likewise.
12631 (check_float_internal): Remove xfail argument. Update calls to
12632 other affected functions.
12633 (check_float): Likewise.
12634 (check_complex): Likewise.
12635 (check_int): Likewise.
12636 (check_long): Likewise.
12637 (check_bool): Likewise.
12638 (check_longlong): Likewise.
12639 (main): Don't print noXFails and noXPasses.
12640 * math/gen-libm-test.pl (top level): Don't mention expected
12641 failure handling in comment.
12642 (new_test): Don't handle expected failures.
12643 (parse_args): Don't mention expected failure handling in comment.
12644 (generate_testfile): Don't handle expected failures.
12645 (parse_ulps): Likewise.
12646 (print_ulps_file): Likewise.
12647 (get_failure): Remove function.
12648 (output_test): Don't handle expected failures.
12649 * make/README.libm-test: Don't mention expected failure handling.
12650
12651 * math/libm-test.inc (plus_zero): Make const. Add initializer.
12652 (minus_zero): Likewise.
12653 (plus_infty): Likewise.
12654 (minus_infty): Likewise.
12655 (qnan_value): Likewise.
12656 (max_value): Likewise.
12657 (min_value): Likewise.
12658 (min_subnorm_value): Likewise.
12659 (initialize): Do not initialize those variables dynamically.
12660
126612013-05-03 Roland McGrath <roland@hack.frob.com>
12662
12663 * io/open.c (__open_2): Moved to ...
12664 * io/open_2.c: ... this new file.
12665 * io/open64.c (__open64_2): Moved to ...
12666 * io/open64_2.c: ... this new file.
12667 * io/openat.c (__openat_2): Moved to ...
12668 * io/openat_2.c: ... this new file.
12669 * io/openat64.c (__openat64_2): Moved to ...
12670 * io/openat64_2.c: ... this new file.
12671 * io/Makefile (routines): Add them.
12672 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12673 * sysdeps/unix/sysv/linux/open_2.c: File removed.
12674 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12675 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12676 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12677 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12678 (__openat64): Add hidden_ver.
12679 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12680 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12681
12682 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12683 Separately conditionalize setting of GLRO(dl_sysinfo) so
12684 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12685 as well, but the actual setting is only under [NEED_DL_SYSINFO].
12686
126872013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12688
12689 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12690 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12691 definition.
12692 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12693 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12694 (_libc_vdso_platform_setup): Add __vdso_time initialization.
12695 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12696 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12697
126982013-05-03 Joseph Myers <joseph@codesourcery.com>
12699
12700 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12701 test signgam value.
12702
12703 * math/libm-test.inc (hypot_test): Do not use
12704 IGNORE_ZERO_INF_SIGN.
12705
127062013-05-03 Andreas Jaeger <aj@suse.de>
12707
12708 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12709 Linux 3.9.
12710 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12711 (PF_MAX): Adjust for VSOCK change.
12712
127132013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12714
12715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12716
127172013-05-02 Carlos O'Donell <carlos@redhat.com>
12718
12719 [BZ #15264]
12720 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12721 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12722 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12723
127242013-05-02 David S. Miller <davem@davemloft.net>
12725
12726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12727
127282013-05-01 Ondřej Bílka <neleai@seznam.cz>
12729
12730 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12731
127322013-05-01 Roland McGrath <roland@hack.frob.com>
12733
12734 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12735
127362013-05-01 Richard Smith <richard@metafoo.co.uk>
12737
12738 [BZ #14952]
12739 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12740 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12741 Use __attribute__ ((__gnu_inline__)).
12742 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12743 Don't use __attribute__ ((__gnu_inline__)).
12744
127452013-05-01 Joseph Myers <joseph@codesourcery.com>
12746
12747 [BZ #15423]
12748 * math/s_catan.c (__catan): Handle small real or imaginary part of
12749 input specially to avoid spurious underflow.
12750 * math/s_catanf.c (__catanf): Likewise.
12751 * math/s_catanh.c (__catanh): Likewise.
12752 * math/s_catanhf.c (__catanhf): Likewise.
12753 * math/s_catanhl.c (__catanhl): Likewise.
12754 * math/s_catanl.c (__catanl): Likewise.
12755 * math/libm-test.inc (catan_test): Add more tests.
12756 (catanh_test): Likewise.
12757 * sysdeps/i386/fpu/libm-test-ulps: Update.
12758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12759
127602013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12761
12762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12763
127642013-04-30 Joseph Myers <joseph@codesourcery.com>
12765
12766 [BZ #15416]
12767 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12768 accurately for denominator in atan2.
12769 * math/s_catanf.c (__catanf): Likewise.
12770 * math/s_catanh.c (__catanh): Likewise.
12771 * math/s_catanhf.c (__catanhf): Likewise.
12772 * math/s_catanhl.c (__catanhl): Likewise.
12773 * math/s_catanl.c (__catanl): Likewise.
12774 * math/libm-test.inc (catan_test): Add more tests.
12775 (catanh_test): Likewise.
12776 * sysdeps/i386/fpu/libm-test-ulps: Update.
12777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12778
127792013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12780
12781 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12782
12783 * benchtests/Makefile (bench): Remove slow benchmarks.
12784 * benchtests/atan-inputs: Add slow benchmark inputs.
12785 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12786 (BENCH_FUNC): Accept variant offset.
12787 (VARIANT): Define.
12788 * benchtests/bench-skeleton.c (main): Run benchmark for each
12789 variant.
12790 * benchtests/cos-inputs: Add slow benchmark inputs.
12791 * benchtests/exp-inputs: Likewise.
12792 * benchtests/pow-inputs: Likewise.
12793 * benchtests/sin-inputs: Likewise.
12794 * benchtests/slowatan-inputs: Remove.
12795 * benchtests/slowatan.c: Remove.
12796 * benchtests/slowcos-inputs: Remove.
12797 * benchtests/slowcos.c: Remove.
12798 * benchtests/slowexp-inputs: Remove.
12799 * benchtests/slowexp.c: Remove.
12800 * benchtests/slowpow-inputs: Remove.
12801 * benchtests/slowpow.c: Remove.
12802 * benchtests/slowsin-inputs: Remove.
12803 * benchtests/slowsin.c: Remove.
12804 * benchtests/slowtan-inputs: Remove.
12805 * benchtests/slowtan.c: Remove.
12806 * benchtests/tan-inputs: Add slow benchmark inputs.
12807 * scripts/bench.pl: Parse comments and directives.
12808
12809 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12810 in CPPFLAGS.
12811 ($(objpfx)bench-%.c): Remove *-ITER.
12812 * benchtests/bench-modf.c: Remove definition of ITER.
12813 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12814 (main): Loop for DURATION seconds instead of fixed number of
12815 iterations.
12816 * scripts/bench.pl: Don't expect iterations in parameters.
12817
128182013-04-29 Roland McGrath <roland@hack.frob.com>
12819
12820 * io/fchdir.c (__fchdir): Renamed from fchdir.
12821 (fchdir): Define as weak alias.
12822
128232013-04-29 Joseph Myers <joseph@codesourcery.com>
12824
12825 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12826 (ERRNO_EDOM): Likewise.
12827 (ERRNO_ERANGE): Likewise.
12828 (noErrnoTests): New variable.
12829 (init_max_error): Set errno to 0.
12830 (test_single_errno): New function.
12831 (test_errno): Likewise.
12832 (check_float_internal): Call test_errno. Set errno to 0.
12833 (check_complex): Refer to errno tests in comment.
12834 (check_int): Call test_errno. Set errno to 0.
12835 (check_long): Likewise.
12836 (check_bool): Likewise.
12837 (check_longlong): Likewise.
12838 (cos_test): Use ERRNO_* flags for errno tests instead of
12839 check_int.
12840 (expm1_test): Likewise.
12841 (fmod_test): Likewise.
12842 (ilogb_test): Likewise.
12843 (lgamma_test): Likewise.
12844 (pow_test): Likewise.
12845 (remainder_test): Likewise.
12846 (sin_test): Likewise.
12847 (tan_test): Likewise.
12848 (yn_test): Likewise.
12849 (initialize): Set errno to 0.
12850 (main): Print number of errno tests.
12851 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12852
128532013-04-29 Andreas Jaeger <aj@suse.de>
12854
12855 [BZ #15084]
12856 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12857 and RES_USEVC.
12858
12859 [BZ #15085]
12860 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12861 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12862 unimplemented.
12863
12864 [BZ #15380]
12865 * stdlib/random.c (__initstate): Return NULL if
12866 __initstate fails.
12867
12868 [BZ #15086]
12869 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12870 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12871 RES_SNGLKUPREOP.
12872
128732013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12874
12875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12876
128772013-04-29 Joseph Myers <joseph@codesourcery.com>
12878
12879 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12880 of individual tests.
12881 (casin_test): Likewise.
12882 (casinh_test): Likewise.
12883
128842013-04-27 Joseph Myers <joseph@codesourcery.com>
12885
12886 [BZ #15409]
12887 * math/s_catan.c (__catan): Handle arguments with large real or
12888 imaginary part separately without squaring.
12889 * math/s_catanf.c (__catanf): Likewise.
12890 * math/s_catanh.c (__catanh): Likewise.
12891 * math/s_catanhf.c (__catanhf): Likewise.
12892 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12893 and redefine.
12894 (__catanhl): Handle arguments with large real or imaginary part
12895 separately without squaring.
12896 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12897 and redefine.
12898 (__catanl): Handle arguments with large real or imaginary part
12899 separately without squaring.
12900 * math/libm-test.inc (catan_test): Add more tests.
12901 (catanh_test): Likewise.
12902 * sysdeps/i386/fpu/libm-test-ulps: Update.
12903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12904
129052013-04-27 Andreas Jaeger <aj@suse.de>
12906
12907 [BZ #15007]
12908 * stdlib/stdlib.h: Update guards for qecvt.
12909 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12910 <stdlib.h>.
12911
129122013-04-27 Allan McRae <allan@archlinux.org>
12913
12914 * sysdeps/i386/fpu/libm-test-ulps: Update.
12915
129162013-04-26 Joseph Myers <joseph@codesourcery.com>
12917
12918 [BZ #15406]
12919 * math/s_catan.c: Include <float.h>.
12920 (__catan): Ensure underflow exception occurs for underflowed
12921 result.
12922 * math/s_catanf.c: Include <float.h>.
12923 (__catanf): Ensure underflow exception occurs for underflowed
12924 result.
12925 * math/s_catanh.c: Include <float.h>.
12926 (__catanh): Ensure underflow exception occurs for underflowed
12927 result.
12928 * math/s_catanhf.c: Include <float.h>.
12929 (__catanhf): Ensure underflow exception occurs for underflowed
12930 result.
12931 * math/s_catanhl.c: Include <float.h>.
12932 (__catanhl): Ensure underflow exception occurs for underflowed
12933 result.
12934 * math/s_catanl.c: Include <float.h>.
12935 (__catanl): Ensure underflow exception occurs for underflowed
12936 result.
12937 * math/libm-test.inc (catan_test): Add more tests.
12938 (catanh_test): Likewise.
12939
12940 [BZ #15405]
12941 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12942 underflowed result.
12943 * math/s_ccoshf.c (__ccoshf): Likewise.
12944 * math/s_ccoshl.c (__ccoshl): Likewise.
12945 * math/s_csin.c (__csin): Likewise.
12946 * math/s_csinf.c (__csinf): Likewise.
12947 * math/s_csinh.c (__csinh): Likewise.
12948 * math/s_csinhf.c (__csinhf): Likewise.
12949 * math/s_csinhl.c (__csinhl): Likewise.
12950 * math/s_csinl.c (__csinl): Likewise.
12951 * math/libm-test.inc (ccos_test): Add more tests.
12952 (ccosh_test): Likewise.
12953 (csin_test): Likewise.
12954 (csinh_test): Likewise.
12955
129562013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12957
12958 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12959 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12960 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12961 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12962 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12963 powerpc/power5+/fpu folders.
12964 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12965
12966
129672013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12968
12969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12970
129712013-04-25 Joseph Myers <joseph@codesourcery.com>
12972
12973 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12974 additions to variable.
12975 [$(config-machine) = x86_64] (modules-names): Likewise.
12976 ($(objpfx)tst-audit3): Remove dependency.
12977 ($(objpfx)tst-audit3.out): Likewise.
12978 ($(objpfx)tst-audit4): Likewise.
12979 ($(objpfx)tst-audit4.out): Likewise.
12980 ($(objpfx)tst-audit5): Likewise.
12981 ($(objpfx)tst-audit5.out): Likewise.
12982 ($(objpfx)tst-audit6): Likewise.
12983 ($(objpfx)tst-audit6.out): Likewise.
12984 ($(objpfx)tst-audit7): Likewise.
12985 ($(objpfx)tst-audit7.out): Likewise.
12986 (tst-audit3-ENV): Remove variable.
12987 (tst-audit4-ENV): Likewise.
12988 (tst-audit5-ENV): Likewise.
12989 (tst-audit6-ENV): Likewise.
12990 (tst-audit7-ENV): Likewise.
12991 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12992 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12993 addition to variable.
12994 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12995 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12996 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12997 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12998 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12999 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13000 tst-audit3, tst-audit4 and tst-audit5.
13001 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13002 tst-audit6 and tst-audit7.
13003 [$(subdir) = elf] (modules-names): Add audit modules for those
13004 tests.
13005 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13006 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
13007 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
13008 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
13009 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
13010 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
13011 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
13012 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
13013 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
13014 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
13015 [$(subdir) = elf] (tst-audit3-ENV): New variable.
13016 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
13017 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
13018 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
13019 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
13020 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
13021 Likewise.
13022 [$(subdir) = elf && $(config-cflags-avx) = yes]
13023 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
13024 [$(subdir) = elf && $(config-cflags-avx) = yes]
13025 (CFLAGS-tst-auditmod4a.c): Likewise.
13026 [$(subdir) = elf && $(config-cflags-avx) = yes]
13027 (CFLAGS-tst-auditmod4b.c): Likewise.
13028 [$(subdir) = elf && $(config-cflags-avx) = yes]
13029 (CFLAGS-tst-auditmod6b.c): Likewise.
13030 [$(subdir) = elf && $(config-cflags-avx) = yes]
13031 (CFLAGS-tst-auditmod6c.c): Likewise.
13032 [$(subdir) = elf && $(config-cflags-avx) = yes]
13033 (CFLAGS-tst-auditmod7b.c): Likewise.
13034 * elf/tst-audit3.c: Move to ...
13035 * sysdeps/x86_64/tst-audit3.c: ... here.
13036 * elf/tst-audit4.c: Move to ...
13037 * sysdeps/x86_64/tst-audit4.c: ... here.
13038 * elf/tst-audit5.c: Move to ...
13039 * sysdeps/x86_64/tst-audit5.c: ... here.
13040 * elf/tst-audit6.c: Move to ...
13041 * sysdeps/x86_64/tst-audit6.c: ... here.
13042 * elf/tst-audit7.c: Move to ...
13043 * sysdeps/x86_64/tst-audit7.c: ... here.
13044 * elf/tst-auditmod3a.c: Move to ...
13045 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
13046 * elf/tst-auditmod3b.c: Move to ...
13047 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
13048 * elf/tst-auditmod4a.c: Move to ...
13049 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
13050 * elf/tst-auditmod4b.c: Move to ...
13051 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
13052 * elf/tst-auditmod5a.c: Move to ...
13053 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
13054 * elf/tst-auditmod5b.c: Move to ...
13055 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
13056 * elf/tst-auditmod6a.c: Move to ...
13057 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
13058 * elf/tst-auditmod6b.c: Move to ...
13059 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
13060 * elf/tst-auditmod6c.c: Move to ...
13061 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
13062 * elf/tst-auditmod7a.c: Move to ...
13063 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
13064 * elf/tst-auditmod7b.c: Move to ...
13065 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
13066
130672013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
13068
13069 [BZ #15366]
13070 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
13071 define unconditionally.
13072 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
13073 define unconditionally.
13074 (INT8_C, INT16_C, etc.): Likewise.
13075
130762013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
13077
13078 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
13079 __ehdr_start with hidden visibility.
13080
13081 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
13082
130832013-04-24 Carlos O'Donell <carlos@redhat.com>
13084
13085 * math/libm-test.inc (cos_test): Use accurate hex constants.
13086 (sincost_test): Likewise.
13087
130882013-04-24 Joseph Myers <joseph@codesourcery.com>
13089
13090 * math/libm-test.inc (catan_test): Add more tests.
13091 (catanh_test): Likewise.
13092
13093 * math/s_catanf.c (__catanf): Use suffixed floating-point
13094 constants.
13095 * math/s_catanhf.c (__catanhf): Likewise.
13096 * math/s_catanhl.c (__catanhl): Likewise.
13097 * math/s_catanl.c (__catanl): Likewise.
13098
13099 [BZ #15394]
13100 * math/s_catan.c (__catan): Calculate imaginary part of result
13101 with log1p not log unless computing log of number close to 0.
13102 * math/s_catanf.c (__catanf): Likewise.
13103 * math/s_catanl.c (__catanl): Likewise.
13104 * math/s_catanh.c (__catanh): Calculate real part of result with
13105 log1p not log unless computing log of number close to 0.
13106 * math/s_catanhf.c (__catanhf): Likewise.
13107 * math/s_catanhl.c (__catanhl): Likewise.
13108 * math/libm-test.inc (catan_test): Add more tests.
13109 (catanh_test): Likewise.
13110 * sysdeps/i386/fpu/libm-test-ulps: Update.
13111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13112
131132013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13114
13115 * benchtests/Makefile: Mention files in which fast and slow
13116 paths of math functions are implemented.
13117
131182013-04-23 Roland McGrath <roland@hack.frob.com>
13119
13120 * sysdeps/posix/timespec_get.c: New file.
13121
131222013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13123
13124 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
13125 POWER.
13126 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
13127 for POWER.
13128 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
13129 powerpc/power5/fpu folders.
13130 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
13131 * benchtests/Makefile: Add modf testcase.
13132 * benchtests/bench-modf.c: New file: Benchmark test for mo
13133
131342013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13135
13136 [BZ #14888]
13137 * time/Makefile (tests): Add tst-strptime-whitespace.
13138 * time/strptime_l.c (get_number): Use ISSPACE.
13139 (__strptime_internal): Likewise.
13140 * time/tst-strptime-whitespace.c: New test case.
13141
131422013-04-23 Andreas Schwab <schwab@linux-m68k.org>
13143
13144 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
13145 member.
13146 (_nss_files_init): Set it here.
13147
131482013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
13149
13150 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
13151 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
13152 unsigned.
13153
131542013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
13155
13156 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
13157
131582013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13159
13160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
13161 size just once.
13162
131632013-04-21 David S. Miller <davem@davemloft.net>
13164
13165 * po/ru.po: Update Russion translation from translation project.
13166
131672013-04-17 Adam Conrad <adconrad@0c3.net>
13168
13169 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
13170 and setfsgid.
13171
131722013-04-17 Carlos O'Donell <carlos@redhat.com>
13173
13174 * configure.in: Remove i386 configure warning. Remove i386 case.
13175 * configure: Regenerate.
13176 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
13177 Add example to error message.
13178 * sysdeps/i386/configure: Regenerate.
13179
131802013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13181
13182 * benchtests/Makefile (bench): Add cos, tan, slowcos and
13183 slowtan.
13184 * benchtests/cos-inputs: New file.
13185 * benchtests/slowcos-inputs: New file.
13186 * benchtests/slowcos.c: New file.
13187 * benchtests/slowtan-inputs: New file.
13188 * benchtests/slowtan.c: New file.
13189 * benchtests/tan-inputs: New file.
13190
131912013-04-16 Roland McGrath <roland@hack.frob.com>
13192
13193 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
13194 considered kosher.
13195
131962013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13197
13198 * benchtests/Makefile: Include cppflags-iterator.mk to add
13199 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
13200
13201 * Makefile.in (bench-clean): New target.
13202 * benchtests/Makefile (bench-clean): Likewise.
13203
132042013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
13205
13206 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
13207
132082013-04-15 Thomas Schwinge <thomas@codesourcery.com>
13209
13210 * stdio-common/tstdiomisc.c: Fix coding-style violation.
13211
132122013-04-15 Andreas Schwab <schwab@suse.de>
13213
13214 * nscd/grpcache.c (cache_addgr): Properly check for short write.
13215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13216 * nscd/pwdcache.c (cache_addpw): Likewise.
13217 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
13218 more than recsize.
13219
132202013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13221
13222 * benchtests/Makefile (bench): Write all output to
13223 bench-out.tmp together.
13224
132252013-04-15 Andreas Schwab <schwab@suse.de>
13226
13227 * nscd/nscd.c (main): Don't fork again after closing files.
13228
132292013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13230
13231 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
13232
13233 * benchtests/Rules (bench-deps): Collect dependencies into a
13234 single variable. Add Makefile to dependencies.
13235 ($(objpfx)bench-%.c): Depend on bench-deps.
13236
132372013-04-12 Roland McGrath <roland@hack.frob.com>
13238 Xavier Roche <roche+kml2@exalead.com>
13239
13240 [BZ #15361]
13241 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
13242 just that it's a file descriptor.
13243 * manual/llio.texi (Synchronizing AIO Operations): Update description
13244 for EBADF error from aio_fsync.
13245
132462013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13247
13248 * Rules (bench): Move target definition...
13249 * benchtests/Makefile: ... here.
13250
132512013-04-11 Carlos O'Donell <carlos@redhat.com>
13252
13253 * math/libm-test.inc (cos_test): Fix PI/2 test.
13254 (sincos_test): Likewise.
13255 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13256 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
13257
132582013-04-11 Andreas Schwab <schwab@suse.de>
13259
13260 [BZ #13988]
13261 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
13262 accept exponent character only when digits were seen.
13263 * stdio-common/Makefile (tests): Add bug26.
13264 * stdio-common/bug26.c: New file.
13265
13266 [BZ #14293]
13267 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
13268 non-freeable.
13269
132702013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13271
13272 * Makeconfig (rtld-prefix): Define built linker prefix.
13273 * Rules (run-bench): Use it.
13274 * math/Makefile (run-regen-ulps): Likewise.
13275
13276 * Rules (bench): Remove eval.
13277
132782013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13279 Roland McGrath <roland@hack.frob.com>
13280 Ondrej Bilka <neleai@seznam.cz>
13281
13282 [BZ #15346]
13283 * time/getdate.c: Include ctype.h and alloca.h.
13284 (__getdate_r): Trim leading and trailing spaces of input.
13285 * time/tst-getdate.c (tests): Add tests with leading and
13286 trailing spaces.
13287
132882013-04-08 Roland McGrath <roland@hack.frob.com>
13289
13290 [BZ #14280]
13291 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
13292 when computing value.
13293
132942013-04-06 Carlos O'Donell <carlos@redhat.com>
13295
13296 * math/README.libm-test (How can I generate "libm-test-ulps"?):
13297 Use testrun.sh to run libm tests.
13298
13299 [BZ #15309]
13300 * elf/dl-open.c (dl_open_worker): memset all of seen array.
13301
133022013-04-06 Marko Myllynen <myllynen@redhat.com>
13303
13304 [BZ #15264]
13305 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
13306
133072013-04-06 Carlos O'Donell <carlos@redhat.com>
13308
13309 * Makefile.in (regen-ulps): New target.
13310 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
13311 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
13312 [ifneq (no,$(PERL)] (regen-ulps): New target.
13313 [ifeq (no,$(PERL)] (regen-ulps): New target.
13314 * math/libm-test.inc (ulps_file_name): Define.
13315 (output_dir): New variable.
13316 (options): Add "output-dir" option.
13317 (parse_opt): Handle 'o' case.
13318 (main): If output_dir is non-NULL use it as a prefix
13319 otherwise use "".
13320 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
13321
133222013-04-06 Carlos O'Donell <carlos@redhat.com>
13323
13324 [BZ #10060, #10062]
13325 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
13326 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
13327 fail configure if __sync_val_compare_and_swap is not inlined.
13328 * sysdeps/i386/configure: Regenerate.
13329 * configure.in: Build for i686 when configured for i386.
13330 * configure: Regenerate.
13331 * README: Remove i386 reference.
13332
133332013-04-06 Carlos O'Donell <carlos@redhat.com>
13334
13335 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
13336 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13337
133382013-04-05 Thomas Schwinge <thomas@codesourcery.com>
13339
13340 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
13341 (lmsnanval): New variables.
13342 (F): Add conversion tests.
13343 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
13344 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
13345
13346 * stdio-common/tstdiomisc.c (F): Properly collect individual
13347 tests' results.
13348
13349 [BZ #14686, #15336]
13350 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
13351 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13352 Instead, use input NaN values or generate a qNaN by arithmetic
13353 operation. Also fix bugs to comply with the standard.
13354 * math/libm-test.inc (remainder_test): Add more tests.
13355
13356 [BZ #15335, #15342]
13357 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
13358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
13359 input NaN values or generate a qNaN by arithmetic operation.
13360
13361 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
13362 unreachable code.
13363
13364 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
13365 definitions.
13366
133672013-04-03 Joseph Myers <joseph@codesourcery.com>
13368
13369 [BZ #14478]
13370 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
13371 underflowed result.
13372 * math/s_cexpf.c (__cexpf): Likewise.
13373 * math/s_cexpl.c (__cexpl): Likewise.
13374 * math/libm-test.inc (cexp_test): Add more tests.
13375
133762013-04-03 Andreas Schwab <schwab@suse.de>
13377
13378 [BZ #15330]
13379 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
13380 order arrays from heap if bigger than alloca cutoff.
13381
133822013-04-03 Thomas Schwinge <thomas@codesourcery.com>
13383
13384 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
13385 (SNAN_TESTS_double): Refer to GCC PR56831.
13386 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
13387 GCC PR56828.
13388
133892013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13390
13391 * Rules (bench): Move bench.out after the run is complete.
13392
13393 * Rules (bench): Echo currently running benchmark.
13394
13395 * benchtests/Makefile (bench): Add atan and slowatan.
13396 * benchtests/atan-inputs: New file.
13397 * benchtests/slowatan-inputs: New file.
13398 * benchtests/slowatan.c: New file.
13399
13400 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
13401 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
13402 its value.
13403
13404 [BZ #15305]
13405 * sysdeps/unix/sysv/linux/kernel-features.h
13406 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
13407 __ASSUME_XFS_RESTRICTED_CHOWN.
13408 * sysdeps/unix/sysv/linux/pathconf.c
13409 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13410 Save and restore errno.
13411
134122013-04-02 Joseph Myers <joseph@codesourcery.com>
13413
13414 [BZ #15327]
13415 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
13416 arguments using __kernel_casinh.
13417 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
13418 arguments using __kernel_casinhf.
13419 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
13420 arguments using __kernel_casinhl.
13421 * math/libm-test.inc (cacosh_test): Add more tests.
13422 * sysdeps/i386/fpu/libm-test-ulps: Update.
13423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13424
134252013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13426
13427 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
13428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
13429
13430 * bench/Makefile (bench): Add sin and slowsin.
13431 * benchtests/sin-inputs: New file.
13432 * benchtests/slowsin-inputs: New file.
13433 * benchtests/slowsin.c: New file.
13434
13435 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
13436 (bench): Add slowexp and slowpow.
13437 (exp-ITER): Increase iterations.
13438 (pow-ITER): Likewise.
13439 * benchtests/exp-inputs: Change input.
13440 * benchtests/pow-inputs: Likewise.
13441 * benchtests/slowexp-inputs: New file.
13442 * benchtests/slowexp.c: New file.
13443 * benchtests/slowpow-inputs: New file.
13444 * benchtests/slowpow.c: New file.
13445
134462013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13447
13448 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
13449 instructions.
13450 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13451 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
13452 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13453 * benchtests/Makefile: Add rint benchtest.
13454 * benchtests/rint-inputs: Input for rint benchtest.
13455
134562013-04-02 Thomas Schwinge <thomas@codesourcery.com>
13457
13458 * Versions.def (libm): Add GLIBC_2.18.
13459 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
13460 hidden libm prototypes.
13461 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
13462 * math/Makefile (libm-calls): Add s_issignaling.
13463 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
13464 __issignalingf, __issignalingl. Adjust all libm.abilist files.
13465 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
13466 declaration.
13467 * math/math.h [__USE_GNU] (issignaling): New macro.
13468 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
13469 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
13470 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
13471 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
13474 * manual/arith.texi (issignaling): New section.
13475 * manual/libm-err-tab.pl (@all_functions): Update comment.
13476 * math/gen-libm-test.pl (parse_args): Apply special handling for
13477 issignaling.
13478 * math/libm-test.inc (print_float, issignaling_test): New
13479 functions.
13480 (check_float_internal): Add issignaling checks.
13481 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
13482 default definition.
13483 * sysdeps/powerpc/math-tests.h: New file.
13484 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
13485 tests.
13486 * math/test-snan.c (TEST_FUNC): Likewise.
13487
134882013-03-30 David S. Miller <davem@davemloft.net>
13489
13490 * po/de.po: Update from translation team.
13491
134922013-03-30 Joseph Myers <joseph@codesourcery.com>
13493
13494 [BZ #10357]
13495 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13496 imaginary part less than 1.0 and real part less than 0.5
13497 specially.
13498 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13499 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13500 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
13501 (cacos_test): Add more tests.
13502 (casin_test): Likewise.
13503 (casinh_test): Likewise.
13504 * sysdeps/i386/fpu/libm-test-ulps: Update.
13505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13506
135072013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13508
13509 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
13510 ONE with its value.
13511
13512 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
13513 (__pow_mp): Replace ONE and MONE with their values.
13514 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13515 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
13516 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13517 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13518 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13519 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13520
13521 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13522
13523 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13524 (__pow_mp): Replace ZERO and MZERO with their values.
13525 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13526 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13527 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13529 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13530 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13531 (__sqr): Likewise.
13532
13533 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13534
13535 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13536
135372013-03-28 Roland McGrath <roland@hack.frob.com>
13538
13539 * include/stdlib.h [!SHARED] (__call_tls_dtors):
13540 Declare with __attribute__ ((weak)).
13541 * stdlib/exit.c (__libc_atexit) [!SHARED]:
13542 Call __call_tls_dtors only if it's not NULL.
13543
135442013-03-28 Roland McGrath <roland@hack.frob.com>
13545
13546 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13547 didn't do it already, then set _dl_phdr and _dl_phnum based on the
13548 magic __ehdr_start linker symbol if it's defined.
13549 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13550 them up here if it was already done.
13551
13552 * elf/dl-support.c (_dl_phdr): Make pointer to const.
13553 (_dl_aux_init): Use const in cast when setting it.
13554 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13555 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13556 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13557
13558 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13559 Declare them here.
13560 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13561 * csu/libc-tls.c: Nor here.
13562 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13563
13564 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13565 (__libc_message): Never call vsyslog.
13566
135672013-03-28 Alan Modra <amodra@gmail.com>
13568
13569 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13570 Define as empty.
13571 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13572 Likewise.
13573
135742013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13575
13576 [BZ #15214]
13577 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13578 underflow.
13579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13580
135812013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13582
13583 [BZ #15304]
13584 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13585 Don't add gid passed as argument.
13586
13587 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13588
135892013-03-27 Joseph Myers <joseph@codesourcery.com>
13590
13591 [BZ #15307]
13592 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13593 imaginary part between 1.0 and 1.5 and real part less than 0.5
13594 specially.
13595 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13596 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13597 * math/libm-test.inc (cacos_test): Add more tests.
13598 (casin_test): Likewise.
13599 (casinh_test): Likewise.
13600 * sysdeps/i386/fpu/libm-test-ulps: Update.
13601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13602
136032013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13604
13605 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13606 constants.
13607 (norm): Likewise.
13608 (denorm): Likewise.
13609 (__dbl_mp): Likewise.
13610 (add_magnitudes): Likewise.
13611 (sub_magnitudes): Likewise.
13612 (__add): Likewise.
13613 (__sub): Likewise.
13614 (__mul): Likewise.
13615 (__sqr): Likewise.
13616 (__inv): Likewise.
13617 (__dvd): Likewise.
13618
13619 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13620 commented code.
13621 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13622 (__dubcos): Likewise.
13623 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13624 (__ieee754_acos): Likewise.
13625 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13626 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13627 (__exp1): Likewise.
13628 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13629 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13630 (log1): Likewise.
13631 (my_log2): Likewise.
13632 (checkint): Likewise.
13633 * sysdeps/ieee754/dbl-64/e_remainder.c
13634 (__ieee754_remainder): Likewise.
13635 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13636 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13637 (bsloww): Likewise.
13638 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13639
13640 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13641 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13642 MANTISSA_STORE_T to store computations on mantissa. Use
13643 macros for rounding and division.
13644 (denorm): Likewise.
13645 (__dbl_mp): Likewise.
13646 (add_magnitudes): Likewise.
13647 (sub_magnitudes): Likewise.
13648 (__mul): Likewise.
13649 (__sqr): Likewise.
13650 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13651 powers of two in terms of TWOPOW macro.
13652 (mp_no): Make type of mantissa as MANTISSA_T.
13653 [!RADIXI]: Define RADIXI.
13654 [!TWO52]: Define TWO52.
13655 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13656
136572013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13658
13659 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13660 llroundl symbol when building for PPC32.
13661
136622013-03-24 Mark H Weaver <mhw@netris.org>
13663
13664 * manual/arith.texi (Normalization Functions): Fix prototypes for
13665 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13666
136672013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13668
13669 [BZ #13889]
13670 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13671 high value to check if expl overflow.
13672 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13673 to check for underflow and overflow.
13674 * math/libm-test.inc: Add exp test.
13675
136762013-03-21 Dmitry V. Levin <ldv@altlinux.org>
13677
13678 [BZ #11120]
13679 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13680 with NOT_IN_libc.
13681
136822013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13683
13684 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13685 symbol.
13686
136872013-03-21 Thomas Schwinge <thomas@codesourcery.com>
13688
13689 * math/gen-libm-test.pl (parse_args, special_functions): Properly
13690 wrap blocks consisting of several statements.
13691
13692 * sysdeps/generic/math-tests.h: New file.
13693 * sysdeps/i386/fpu/math-tests.h: Likewise.
13694 * math/test-snan.c: Include it.
13695 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13696
136972013-03-21 Joseph Myers <joseph@codesourcery.com>
13698
13699 [BZ #15285]
13700 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13701 (__ieee754_j0l): Do not improve calculations using cos of twice
13702 input for inputs above LDBL_MAX / 2.0L.
13703 (__ieee754_y0l): Likewise.
13704 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13705 (__ieee754_j1l): Do not improve calculations using cos of twice
13706 input for inputs above LDBL_MAX / 2.0L.
13707 (__ieee754_y1l): Likewise.
13708 * math/libm-test.inc (j0_test): Add another test.
13709 (j1_test): Likewise.
13710 (y0_test): Likewise.
13711 (y1_test): Likewise.
13712 * sysdeps/i386/fpu/libm-test-ulps: Update.
13713
137142013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13715
13716 * Rules ($(objpfx)bench-%.c): Include code from a C source
13717 file.
13718
137192013-03-21 Joseph Myers <joseph@codesourcery.com>
13720
13721 [BZ #15287]
13722 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13723 imaginary part 1.0 and real part less than 0.5 specially.
13724 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13725 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13726 * math/libm-test.inc (cacos_test): Add more tests.
13727 (casin_test): Likewise.
13728 (casinh_test): Likewise.
13729 * sysdeps/i386/fpu/libm-test-ulps: Update.
13730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13731
137322013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13733
13734 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13735 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13736
137372013-03-20 Joseph Myers <joseph@codesourcery.com>
13738
13739 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13740 * config.make.in (config-cflags-sse4): Remove variable.
13741 (config-cflags-avx): Likewise.
13742 (config-cflags-sse2avx): Likewise.
13743 (config-cflags-novzeroupper): Likewise.
13744 (config-asflags-i686): Likewise.
13745 (have-mfma4): Likewise.
13746 (have-as-vis3): Likewise.
13747 (MIG): Likewise.
13748 * configure.in (MIG): Do not AC_SUBST.
13749 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13750 (libc_cv_cc_sse4): Do not AC_SUBST.
13751 (libc_cv_cc_avx): Likewise.
13752 (libc_cv_cc_sse2avx): Likewise.
13753 (libc_cv_cc_novzeroupper): Likewise.
13754 (libc_cv_cc_fma4): Likewise.
13755 (libc_cv_as_i686): Likewise.
13756 (libc_cv_sparc_as_vis3): Likewise.
13757 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13758 LIBC_CONFIG_VAR.
13759 (config-asflags-i686): Likewise.
13760 (config-cflags-avx): Likewise.
13761 (config-cflags-sse2avx): Likewise.
13762 (have-mfma4): Likewise.
13763 (config-cflags-novzeroupper): Likewise.
13764 * sysdeps/mach/configure.in (MIG): Likewise.
13765 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13766 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13767 LIBC_CONFIG_VAR.
13768 (config-cflags-avx): Likewise.
13769 (config-cflags-sse2avx): Likewise.
13770 (have-mfma4): Likewise.
13771 (config-cflags-novzeroupper): Likewise.
13772 * configure: Regenerated.
13773 * sysdeps/i386/configure: Likewise.
13774 * sysdeps/mach/configure: Likewise.
13775 * sysdeps/sparc/configure: Likewise.
13776 * sysdeps/x86_64/configure: Likewise.
13777
137782013-03-20 Roland McGrath <roland@hack.frob.com>
13779
13780 [BZ #14812]
13781 * locale/programs/localedef.c (options): Put N_ translation marker
13782 on argument names, not just descriptions.
13783
137842013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13785
13786 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13787
137882013-03-20 Ondřej Bílka <neleai@seznam.cz>
13789
13790 [BZ #14176]
13791 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13792
137932013-03-19 Roland McGrath <roland@hack.frob.com>
13794
13795 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13796 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13797 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13798 [!BEFORE_ABORT] (before_abort): New function.
13799 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13800 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13801 (writev_for_fatal): New function.
13802 (WRITEV_FOR_FATAL): New macro; call that.
13803 (backtrace_and_maps): New function.
13804 (BEFORE_ABORT): New macro; call that.
13805 (struct str_list): Type removed.
13806 (__libc_message, __libc_fatal): Functions removed.
13807 Include <sysdeps/posix/libc_fatal.c> instead.
13808
138092013-03-19 Joseph Myers <joseph@codesourcery.com>
13810
13811 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13812 constants.
13813 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13814 double constants.
13815
138162013-03-19 Andreas Schwab <schwab@suse.de>
13817
13818 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13819 * sysdeps/gnu/configure: Regenerate.
13820
13821 * configure.in: Substitute libc_cv_rtlddir.
13822 * configure: Regenerate.
13823 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13824 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13825 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13826 * elf/Makefile (install-others, CFLAGS-interp.c)
13827 (ldso_install, common-ldd-rewrite): Likewise.
13828 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13829 $(inst_slibdir)/$(rtld-installed-name).
13830 * scripts/rellns-sh: Add -p option.
13831 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13832 for source.
13833
138342013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13835
13836 * manual/nptl.texi: Renamed to ...
13837 * manual/threads.texi: ... this.
13838 * manual/Makefile (chapters): Update.
13839
138402013-03-18 Roland McGrath <roland@hack.frob.com>
13841
13842 [BZ #14812]
13843 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13844 on argument names, not just descriptions.
13845 * malloc/memusagestat.c (options): Likewise.
13846 * nss/getent.c (options): Likewise.
13847
138482013-03-18 Benno Schulenberg <bensberg@justemail.net>
13849
13850 [BZ #14812]
13851 * iconv/iconv_prog.c (options): Put N_ translation marker
13852 on argument names, not just descriptions.
13853 * iconv/iconvconfig.c (options): Likewise.
13854
138552013-03-18 Ondrej Bilka <neleai@seznam.cz>
13856
13857 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13858 implementation which is faster on all x86_64 architectures.
13859 Tested on AMD, Intel Nehalem, SNB, IVB.
13860 * sysdeps/x86_64/strnlen.S: Likewise.
13861
13862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13863 Remove all multiarch strlen and strnlen versions.
13864 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13865 Remove strlen and strnlen related parts.
13866
13867 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13868 Inline strlen part.
13869 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13870
13871 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13872 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13873 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13874 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13875 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13876 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13877
138782013-03-17 Carlos O'Donell <carlos@redhat.com>
13879
13880 * manual/memory.texi (Malloc Tunable Parameters):
13881 Sort parameters alphabetically. Add comments for missing entries.
13882
138832013-03-17 David S. Miller <davem@davemloft.net>
13884
13885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13886
138872013-03-16 Joseph Myers <joseph@codesourcery.com>
13888
13889 [BZ #15283]
13890 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13891 for arguments at most half maximum finite value.
13892 * math/libm-test.inc (j0_test): Add more tests.
13893 (j1_test): Likewise.
13894 (y0_test): Likewise.
13895 (y1_test): Likewise.
13896 * sysdeps/i386/fpu/libm-test-ulps: Update.
13897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13898
13899 [BZ #14155]
13900 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13901 1 / x and functions P and Q for arguments above 0x1p256L.
13902 (__ieee754_y0l): Likewise.
13903 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13904 (__ieee754_y1l): Likewise.
13905 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13906 (j1_test): Likewise.
13907 (y0_test): Likewise.
13908 (y1_test): Likewise.
13909
139102013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13911
13912 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13913 variable.
13914
139152013-03-15 Roland McGrath <roland@hack.frob.com>
13916
13917 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13918 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13919 zero since it's initialized to EXEC_PAGESIZE.
13920
13921 * sysdeps/unix/sysv/linux/ldsodefs.h
13922 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13923 * sysdeps/generic/ldsodefs.h: ... here.
13924
139252013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13926
13927 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13928
13929 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13930 math/test-snan.c.
13931 * math/test-snan.c: Renamed from
13932 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13933 * math/Makefile (tests): Add test-snan.
13934 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13935 test-powerpc-snan.
13936
13937 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13938 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13939 functions.
13940 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13941 __builtin_nan family of functions.
13942 * math/libm-test.inc (initialize): Initialize qnan_value with
13943 __builtin_nan family of functions.
13944 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13945 Remove variables.
13946 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13947 Remove functions.
13948 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13949 storage class. Initialize qNaN_var and sNaN_var with
13950 __builtin_nan and __builtin_nans families of functions,
13951 respectively.
13952
13953 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13954 (sqrt_test): Remove duplicate test with qNaN input.
13955 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13956 (round_test, signbit_test, significand_test): Note missing +/-Inf
13957 as well as qNaN tests.
13958
13959 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13960 qNaN_var. Fix a few strings, too.
13961 * math/libm-test.inc (nan_value): Rename to qnan_value.
13962 * math/gen-libm-test.pl (%beautify): Adjust to that.
13963 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13964 * math/test-misc.c (main): Likewise.
13965 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13966 to __qnan_bytes, and __qnan_union, respectively.
13967 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13968 Likewise.
13969 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13970 and lqnanval, respectively.
13971 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13972 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13973 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13974 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13975
13976 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13977 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13978 doubles.
13979
13980 * math/test-misc.c (main): Fix copy'n'pastos.
13981 * misc/tst-efgcvt.c (special): Likewise.
13982
13983 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13984 Remove declarations.
13985
139862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13987
13988 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13989 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13990 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13991 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13992
139932013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13994
13995 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13996 macro to return vdso values correctly in IFUNC implementations.
13997 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13998 Optimization by using IFUNC.
13999
140002013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14001 Richard Henderson <rth@redhat.com>
14002 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14003
14004 * Makefile.in (bench): New target.
14005 * NEWS: Mention the benchmark framework.
14006 * Rules (bench): Likewise.
14007 (binaries-bench): Generate binaries for functions to
14008 benchmark.
14009 * benchtests/Makefile: New makefile for benchmark tests.
14010 * benchtests/bench-skeleton.c: New skeleton file for benchmark
14011 programs.
14012 * benchtests/exp-inputs: New input file for EXP function.
14013 * benchtests/pow-inputs: New input file for POW function.
14014 * scripts/bench.pl: New script to generate source files for
14015 benchmark programs.
14016
140172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14018
14019 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14020 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
14021 computations on mantissa. Use macros for rounding and
14022 division.
14023 (denorm): Likewise.
14024 (__dbl_mp): Likewise.
14025 (add_magnitudes): Likewise.
14026 (sub_magnitudes): Likewise.
14027 (__mul): Likewise.
14028 (__sqr): Likewise.
14029 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14030 powers of two in terms of TWOPOW macro.
14031 (mp_no): Make type of mantissa as MANTISSA_T.
14032 [!RADIXI]: Define RADIXI.
14033 [!TWO52]: Define TWO52.
14034 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14035
14036 * manual/nptl.texi (cindex): Modify threads to pthreads.
14037
140382013-03-15 Joseph Myers <joseph@codesourcery.com>
14039
14040 * sysdeps/x86_64/preconfigure: Regenerated.
14041
140422013-03-14 Joseph Myers <joseph@codesourcery.com>
14043
14044 [BZ #14155]
14045 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
14046 0x1p28 and above.
14047 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
14048 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
14049 0x1p28 and above.
14050 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
14051 * math/libm-test.inc (j0_test): Do not allow one spurious
14052 underflow exception.
14053 (y1_test): Likewise.
14054
140552013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14056
14057 * manual/Makefile (chapters): Add nptl.
14058 * manual/debug.texi (Debugging Support): Add link to Threads
14059 chapter.
14060 * manual/nptl.texi: New file.
14061
14062 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
14063
140642013-03-14 Petr Baudis <pasky@ucw.cz>
14065
14066 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
14067 for non-NULL pointer before the memory validity test. Pointed
14068 out by Holger Brunck <holger.brunck@keymile.com>.
14069
140702013-03-13 Andreas Schwab <schwab@suse.de>
14071
14072 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
14073 instead of .os.
14074
140752013-03-13 Joseph Myers <joseph@codesourcery.com>
14076
14077 * timezone/zic.c: Update from tzcode 2013b.
14078
140792013-03-12 Carlos O'Donell <carlos@redhat.com>
14080
14081 * manual/install.texi (Configuring and compiling):
14082 Mention i686 and i586.
14083 * INSTALL: Regenerate.
14084
140852013-03-12 Roland McGrath <roland@hack.frob.com>
14086
14087 * sysdeps/init_array/elf-init.c: New file.
14088 * csu/elf-init.c
14089 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
14090 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
14091
14092 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
14093 __gmon_start__ as global, but as static with a .preinit_array pointer.
14094 * sysdeps/init_array/gmon-start.c: New file. Use that.
14095 * sysdeps/init_array/crti.S: New file, empty except for comments.
14096 * sysdeps/init_array/crtn.S: Likewise.
14097
140982013-03-11 Ondřej Bílka <neleai@seznam.cz>
14099
14100 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
14101 definining bcopy.
14102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14103 Remove Prefer_SSE_for_memop.
14104 * sysdeps/x86_64/multiarch/init-arch.h: Remove
14105 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
14106 HAS_PREFER_SSE_FOR_MEMOP.
14107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14108 memset-x86-64.
14109 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14110 Remove bzero, memset ifunc support.
14111 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
14112 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
14113 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14114 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14115
141162013-03-11 Andreas Schwab <schwab@suse.de>
14117
14118 [BZ #15234]
14119 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
14120 by SHLIB_COMPAT.
14121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
14122 (GLIBC_2.16): Remove pthread_atfork.
14123
141242013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14125
14126 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
14127 (ptestcases.h): Likewise.
14128
141292013-03-08 Roland McGrath <roland@hack.frob.com>
14130
14131 * Makeconfig ($(common-objpfx)config.status): Depend on
14132 sysdeps/*/preconfigure{,.in} too.
14133
141342013-03-08 Joseph Myers <joseph@codesourcery.com>
14135
14136 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
14137 (__free_hook): Use void * instead of __malloc_ptr_t.
14138 (__malloc_hook): Likewise.
14139 (__realloc_hook): Likewise.
14140 (__memalign_hook): Likewise.
14141 (__after_morecore_hook): Likewise.
14142 * malloc/arena.c (save_malloc_hook): Likewise.
14143 (save_free_hook): Likewise.
14144 * malloc/hooks.c (malloc_hook_ini): Likewise.
14145 (realloc_hook_ini): Likewise.
14146 (memalign_hook_ini): Likewise.
14147 * malloc/malloc.c (malloc_hook_ini): Likewise.
14148 (realloc_hook_ini): Likewise.
14149 (memalign_hook_ini): Likewise.
14150 (__free_hook): Likewise.
14151 (__malloc_hook): Likewise.
14152 (__realloc_hook): Likewise.
14153 (__memalign_hook): Likewise.
14154 (__libc_malloc): Likewise.
14155 (__libc_free): Likewise.
14156 (__libc_realloc): Likewise.
14157 (__libc_memalign): Likewise.
14158 (__libc_valloc): Likewise.
14159 (__libc_pvalloc): Likewise.
14160 (__libc_calloc): Likewise.
14161 (__posix_memalign): Likewise.
14162 * malloc/morecore.c (__sbrk): Likewise.
14163 (__default_morecore): Likewise.
14164
14165 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
14166
14167 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
14168 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
14169 __malloc_ptrdiff_t.
14170
14171 * malloc/malloc.h (__malloc_size_t): Remove macro.
14172 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
14173 __malloc_size_t.
14174 (old_memalign_hook): Likewise.
14175 (old_realloc_hook): Likewise.
14176 (struct hdr): Likewise.
14177 (flood): Likewise.
14178 (mallochook): Likewise.
14179 (memalignhook): Likewise.
14180 (reallochook): Likewise.
14181 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
14182 (tr_old_realloc_hook): Likewise.
14183 (tr_old_memalign_hook): Likewise.
14184 (tr_mallochook): Likewise.
14185 (tr_reallochook): Likewise.
14186 (tr_memalignhook): Likewise.
14187
141882013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14189
14190 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
14191 default_ldbl_pack and using as default implementation.
14192 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
14193 implementation.
14194 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
14195 redundant definition.
14196 (ldbl_insert_mantissa): Likewise.
14197 (ldbl_canonicalize): Likewise.
14198 (ldbl_nearbyint): Likewise.
14199 (ldbl_pack): Rename to ldbl_pack_ppc.
14200 (ldbl_unpack): Rename to ldbl_unpack_ppc.
14201 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
14202 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
14203
142042013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14205
14206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
14207 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
14208 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
14209 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
14210 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
14211 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
14212 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
14213 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
14214
142152013-03-07 Andreas Jaeger <aj@suse.de>
14216
14217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14218 bits/mman-linux.h.
14219
142202013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14221
14222 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
14223 Include mpa.h and declare __MPEXP.
14224 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
14225 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
14226 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
14227 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
14228 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
14229 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
14230 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
14231
14232 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
14233 (__slowpow): Use long double EXPL and LOGL functions to
14234 compute POW.
14235 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
14236 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
14237 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
14238 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
14239 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
14240 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
14241
14242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
14243 intermediate variable to calculate exponent.
14244 (__sqr): Likewise.
14245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14246 Likewise.
14247 (__sqr): Likewise.
14248
14249 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
14250 [!NO__SQR]: Define __sqr.
14251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
14252 and NO__SQR. Remove all code except __mul and __sqr. Include
14253 sysdeps/ieee754/dbl-64/mpa.c.
14254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14255
14256 [BZ #12723]
14257 * posix/Makefile (tests): Add tst-pathconf.
14258 * posix/tst-pathconf.c: New test case.
14259 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
14260 _PC_PIPE_BUF.
14261 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
14262
142632013-03-06 Patsy Franklin <pfrankli@redhat.com>
14264
14265 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
14266
142672013-03-06 Andreas Jaeger <aj@suse.de>
14268
14269 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
14270 definition via __MAP_ANONYMOUS.
14271
14272 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
14273 it's not part of Linux headers.
14274
14275 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
14276 (MAP_HUGE_MASK): Define.
14277
14278 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14279 Define.
14280 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14281 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14282 Define.
14283 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14284 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14285 Define.
14286 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14287 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
14288 Define.
14289 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14290
14291 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
14292 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
14293 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
14294 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
14295 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
14296 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
14297
14298 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14299 Handle f2fs.
14300
14301 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14302 Handle f2fs and efivarfs.
14303
14304 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
14305 f2fs.
14306
14307 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
14308 (EFIVARFS_MAGIC): Add.
14309 (F2FS_LINK_MAX): Add.
14310
143112013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14312
14313 * stdio-common/vfprintf.c: Replace __builtin_expect with
14314 __glibc_unlikely.
14315
143162013-03-06 Joseph Myers <joseph@codesourcery.com>
14317
14318 [BZ #13550]
14319 * sysdeps/generic/bp-sym.h: Remove file.
14320 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
14321 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
14322 <bp-sym.h> and <bp-asm.h>.
14323 (__longjmp): Don't use BP_SYM.
14324 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
14325 and <bp-asm.h>.
14326 (memcpy): Don't use BP_SYM.
14327 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
14328 <bp-sym.h> and <bp-asm.h>.
14329 (memcpy): Don't use BP_SYM.
14330 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
14331 <bp-asm.h>.
14332 (memcpy): Don't use BP_SYM.
14333 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
14334 <bp-asm.h>.
14335 (memset): Don't use BP_SYM.
14336 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14337 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14338 (__bzero): Don't use BP_SYM.
14339 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14340 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14341 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
14342 <bp-sym.h> and <bp-asm.h>.
14343 (memcmp): Don't use BP_SYM. Remove comment about bounded
14344 pointers.
14345 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
14346 <bp-sym.h> and <bp-asm.h>.
14347 (memcpy): Don't use BP_SYM.
14348 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
14349 <bp-sym.h> and <bp-asm.h>.
14350 (memset): Don't use BP_SYM.
14351 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14352 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14353 (__bzero): Don't use BP_SYM.
14354 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14355 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14356 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
14357 <bp-sym.h> and <bp-asm.h>.
14358 (strncmp): Don't use BP_SYM. Remove comment about bounded
14359 pointers.
14360 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
14361 <bp-sym.h> and <bp-asm.h>.
14362 (memcpy): Don't use BP_SYM.
14363 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
14364 <bp-sym.h> and <bp-asm.h>.
14365 (memset): Don't use BP_SYM.
14366 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14367 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14368 (__bzero): Don't use BP_SYM.
14369 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14370 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14371 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
14372 <bp-sym.h> and <bp-asm.h>.
14373 (__memchr): Don't use BP_SYM.
14374 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
14375 <bp-sym.h> and <bp-asm.h>.
14376 (memcmp): Don't use BP_SYM. Remove comment about bounded
14377 pointers.
14378 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
14379 <bp-sym.h> and <bp-asm.h>.
14380 (memcpy): Don't use BP_SYM.
14381 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
14382 <bp-sym.h> and <bp-asm.h>.
14383 (__mempcpy): Don't use BP_SYM.
14384 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
14385 <bp-sym.h> and <bp-asm.h>.
14386 (__memrchr): Don't use BP_SYM.
14387 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
14388 <bp-sym.h> and <bp-asm.h>.
14389 (memset): Don't use BP_SYM.
14390 (__bzero): Likewise.
14391 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
14392 <bp-sym.h> and <bp-asm.h>.
14393 (__rawmemchr): Don't use BP_SYM.
14394 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
14395 <bp-sym.h> and <bp-asm.h>.
14396 (__STRCMP): Don't use BP_SYM.
14397 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
14398 <bp-sym.h> and <bp-asm.h>.
14399 (strchr): Don't use BP_SYM.
14400 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
14401 <bp-sym.h> and <bp-asm.h>.
14402 (__strchrnul): Don't use BP_SYM.
14403 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
14404 <bp-sym.h> and <bp-asm.h>.
14405 (strlen): Don't use BP_SYM.
14406 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
14407 <bp-sym.h> and <bp-asm.h>.
14408 (strncmp): Don't use BP_SYM. Remove comment about bounded
14409 pointers.
14410 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
14411 <bp-sym.h> and <bp-asm.h>.
14412 (__strnlen): Don't use BP_SYM.
14413 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
14414 <bp-sym.h> and <bp-asm.h>.
14415 (__GI__setjmp): Don't use BP_SYM.
14416 (_setjmp): Likewise.
14417 (__sigsetjmp): Likewise.
14418 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
14419 (L(start_addresses)): Don't use BP_SYM.
14420 (_start): Likewise.
14421 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
14422 <bp-asm.h>.
14423 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
14424 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
14425 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14426 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14427 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
14428 <bp-asm.h>.
14429 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
14430 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
14431 about bounded pointers.
14432 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14433 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14434 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
14435 <bp-asm.h>.
14436 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
14437 about bounded pointers. Remove GKM FIXME comments.
14438 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14439 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
14440 <bp-asm.h>.
14441 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
14442 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
14443 Remove GKM FIXME comments.
14444 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14445 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14446 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
14447 <bp-asm.h>.
14448 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
14449 about bounded pointers. Remove GKM FIXME comment.
14450 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
14451 and <bp-asm.h>.
14452 (strncmp): Don't use BP_SYM. Remove comment about bounded
14453 pointers.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
14455 <bp-sym.h> and <bp-asm.h>.
14456 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
14458 <bp-sym.h> and <bp-asm.h>.
14459 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14460 comment.
14461
144622013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14463
14464 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
14465 call free(NULL).
14466
144672013-03-05 David S. Miller <davem@davemloft.net>
14468
14469 * po/es.po: Update from translation team.
14470
144712013-03-05 Andreas Jaeger <aj@suse.de>
14472
14473 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
14474 <bits/mman-linux.h>.
14475 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14476 is fine.
14477 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
14478 <bits/mman-linux.h> to end of file.
14479 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14480 is fine.
14481 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
14482 <bits/mman-linux.h> to end of file.
14483 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14484 is fine.
14485 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
14486 <bits/mman-linux.h> to end of file.
14487
14488 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
14489 (MCL_CURRENT, MCL_FUTURE): Define here.
14490
144912013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14492
14493 [BZ #15232]
14494 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
14495 attribute_hidden.
14496 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14497
144982013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14499
14500 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
14501 fourth parameter needed for rt_sigprocmask syscall.
14502 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14503 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14504 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14505 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14506 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14507 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
14508
145092013-03-04 Joseph Myers <joseph@codesourcery.com>
14510
14511 [BZ #13550]
14512 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
14513 comment about bounded pointers.
14514 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
14515 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
14516
145172013-03-04 Andreas Jaeger <aj@suse.de>
14518
14519 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14520 common definitions.
14521
14522 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14523 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14524 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14525 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14526 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14527 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14528
145292013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14530
14531 [BZ #15055]
14532 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14533 __ieee754_sqrl instead of __sqrl.
14534
145352013-03-01 Joseph Myers <joseph@codesourcery.com>
14536
14537 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14538 * sysdeps/powerpc/fpu_control.h: ... here.
14539 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14540 * sysdeps/powerpc/bits/fenvinline.h: ... here.
14541 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14542 * sysdeps/powerpc/bits/mathinline.h: ... here.
14543
145442013-03-01 Roland McGrath <roland@hack.frob.com>
14545
14546 * elf/dl-hwcaps.c (_dl_important_hwcaps):
14547 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14548 to just [NEED_DL_SYSINFO_DSO].
14549 * elf/dl-support.c: Likewise.
14550 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14551 * elf/rtld.c (dl_main): Likewise.
14552 * elf/setup-vdso.h (setup_vdso): Likewise.
14553 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14554 * sysdeps/unix/sysv/linux/dl-sysdep.c
14555 (_dl_discover_osversion): Likewise.
14556
145572013-03-01 Carlos O'Donell <carlos@redhat.com>
14558
14559 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14560 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14561
145622013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14563
14564 * NEWS: Mention libm performance improvements and non-x86 PI
14565 futex support.
14566
14567 * csu/libc-start.c (__pthread_initialize_minimal): Change
14568 function arguments.
14569 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14570
145712013-02-28 Joseph Myers <joseph@codesourcery.com>
14572
14573 [BZ #13550]
14574 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14575 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14576 <bp-sym.h> and <bp-asm.h>.
14577 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14578 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14579 and <bp-asm.h>.
14580 (memcpy): Don't use BP_SYM.
14581 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14582 <bp-asm.h>.
14583 (__mpn_add_n): Don't use BP_SYM.
14584 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14585 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14586 and <bp-asm.h>.
14587 (__mpn_addmul_1): Don't use BP_SYM.
14588 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14589 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14590 <bp-sym.h>.
14591 (_setjmp): Don't use BP_SYM.
14592 (__novmx_setjmp): Likewise.
14593 (__GI__setjmp): Likewise.
14594 (__vmx_setjmp): Likewise.
14595 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14596 <bp-sym.h>.
14597 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14598 (__bzero): Don't use BP_SYM.
14599 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14600 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14601 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14602 <bp-sym.h> and <bp-asm.h>.
14603 (memcpy): Don't use BP_SYM.
14604 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14605 <bp-sym.h> and <bp-asm.h>.
14606 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14607 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14608 <bp-sym.h> and <bp-asm.h>.
14609 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14610 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14611 <bp-asm.h>.
14612 (__mpn_lshift): Don't use BP_SYM.
14613 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14614 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14615 <bp-asm.h>.
14616 (memset): Don't use BP_SYM.
14617 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14618 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14619 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14620 <bp-asm.h>.
14621 (__mpn_mul_1): Don't use BP_SYM.
14622 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14623 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14624 <bp-sym.h> and <bp-asm.h>.
14625 (memcmp): Don't use BP_SYM.
14626 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14627 <bp-sym.h> and <bp-asm.h>.
14628 (memcpy): Don't use BP_SYM.
14629 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14630 <bp-sym.h> and <bp-asm.h>.
14631 (memset): Don't use BP_SYM.
14632 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14633 <bp-sym.h> and <bp-asm.h>.
14634 (strncmp): Don't use BP_SYM.
14635 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14636 <bp-sym.h> and <bp-asm.h>.
14637 (memcpy): Don't use BP_SYM.
14638 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14639 <bp-sym.h> and <bp-asm.h>.
14640 (memset): Don't use BP_SYM.
14641 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14642 <bp-sym.h> and <bp-asm.h>.
14643 (__memchr): Don't use BP_SYM.
14644 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14645 <bp-sym.h> and <bp-asm.h>.
14646 (memcmp): Don't use BP_SYM.
14647 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14648 <bp-sym.h> and <bp-asm.h>.
14649 (memcpy): Don't use BP_SYM.
14650 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14651 <bp-sym.h> and <bp-asm.h>.
14652 (__mempcpy): Don't use BP_SYM.
14653 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14654 <bp-sym.h> and <bp-asm.h>.
14655 (__memrchr): Don't use BP_SYM.
14656 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14657 <bp-sym.h> and <bp-asm.h>.
14658 (memset): Don't use BP_SYM.
14659 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14660 <bp-sym.h> and <bp-asm.h>.
14661 (__rawmemchr): Don't use BP_SYM.
14662 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14663 <bp-sym.h> and <bp-asm.h>.
14664 (__STRCMP): Don't use BP_SYM.
14665 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14666 <bp-sym.h> and <bp-asm.h>.
14667 (strchr): Don't use BP_SYM.
14668 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14669 <bp-sym.h> and <bp-asm.h>.
14670 (__strchrnul): Don't use BP_SYM.
14671 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14672 <bp-sym.h> and <bp-asm.h>.
14673 (strlen): Don't use BP_SYM.
14674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14675 <bp-sym.h> and <bp-asm.h>.
14676 (strncmp): Don't use BP_SYM.
14677 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14678 <bp-sym.h> and <bp-asm.h>.
14679 (__strnlen): Don't use BP_SYM.
14680 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14681 <bp-asm.h>.
14682 (__mpn_rshift): Don't use BP_SYM.
14683 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14684 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14685 <bp-sym.h> and <bp-asm.h>.
14686 (__sigsetjmp): Don't use BP_SYM.
14687 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14688 (L(start_addresses)): Don't use BP_SYM.
14689 (_start): Likewise.
14690 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14691 <bp-asm.h>.
14692 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14693 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14694 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14695 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14696 <bp-asm.h>.
14697 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14698 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14699 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14700 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14701 <bp-asm.h>.
14702 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14703 comments.
14704 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14705 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14706 <bp-asm.h>.
14707 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
14708 FIXME comments.
14709 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14710 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14711 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14712 <bp-asm.h>.
14713 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14714 comment.
14715 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14716 and <bp-asm.h>.
14717 (strncmp): Don't use BP_SYM,
14718 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14719 <bp-asm.h>.
14720 (__mpn_sub_n): Don't use BP_SYM.
14721 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14722 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14723 and <bp-asm.h>.
14724 (__mpn_submul_1): Don't use BP_SYM.
14725 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14727 <bp-sym.h> and <bp-asm.h>.
14728 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14730 <bp-sym.h> and <bp-asm.h>.
14731 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14732 comment.
14733
147342013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14735
14736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14737 Use ZK to minimize writes to Z.
14738 (sub_magnitudes): Simplify code a bit.
14739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14740 Use ZK to minimize writes to Z.
14741 (sub_magnitudes): Simplify code a bit.
14742
147432013-02-27 Roland McGrath <roland@hack.frob.com>
14744
14745 * csu/gmon-start.c: Add special exception to license text.
14746
147472013-02-27 Richard Henderson <rth@redhat.com>
14748
14749 * scripts/config.guess: Update from config.git.
14750 * scripts/config.sub: Likewise.
14751
147522013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14753
14754 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14755
14756 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14757
14758 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14759
14760 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14761
14762 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14763
147642013-02-26 Roland McGrath <roland@hack.frob.com>
14765
14766 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14767 [$(build-shared = yes].
14768
147692013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14770
14771 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14772 (__mul): Reduce iterations for calculating mantissa.
14773
14774 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14775 MPTWO.
14776 (__mpranred): Likewise.
14777
14778 [BZ #15160]
14779 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14780 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14781
147822013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14783
14784 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14785 Define __attribute__.
14786
147872013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14788
14789 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14790 unused.
14791 * posix/regex_internal.h (__attribute): Remove.
14792 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14793 (re_string_context_at): Likewise.
14794 (bitset_not): Use __attribute__ and mark function as possibly
14795 unused.
14796 (bitset_merge): Likewise.
14797 (bitset_mask): Likewise.
14798 (re_string_char_size_at): Likewise.
14799 (re_string_wchar_at): Likewise.
14800 (re_string_elem_size_at): Likewise.
14801
148022013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14803
14804 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14805 code.
14806 (cc32): Likewise.
14807
14808 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14809 (__acr): Likewise.
14810 (__cpy): Likewise.
14811 (norm): Likewise.
14812 (denorm): Likewise.
14813 (__dbl_mp): Likewise.
14814 (add_magnitudes): Likewise.
14815 (sub_magnitudes): Likewise.
14816 (__mul): Likewise.
14817 (__inv): Likewise.
14818
14819 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14820 style.
14821
14822 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14823 style.
14824
14825 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14826 code.
14827
14828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14829 up changes with default code.
14830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14831 Likewise.
14832
148332013-02-24 Allan McRae <allan@archlinux.org>
14834
14835 * manual/socket.texi (The Internet Namespace): Order menu items
14836 to match that in the file.
14837
14838 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14839 node listing of the info page menu.
14840
148412013-02-21 Joseph Myers <joseph@codesourcery.com>
14842
14843 [BZ #13550]
14844 * sysdeps/i386/bp-asm.h: Remove file.
14845 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14846 (PARMS): Do not use macros from bp-asm.h.
14847 (S1): Likewise.
14848 (S2): Likewise.
14849 (SIZE): Likewise.
14850 (__mpn_add_n): Do not use BP_SYM
14851 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14852 "bp-asm.h".
14853 (PARMS): Do not use macros from bp-asm.h.
14854 (S1): Likewise.
14855 (SIZE): Likewise.
14856 (__mpn_addmul_1): Do not use BP_SYM
14857 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14858 "bp-asm.h".
14859 (PARMS): Do not use macros from bp-asm.h.
14860 (SIGMSK): Likewise.
14861 (_setjmp): Likewise. Do not use BP_SYM.
14862 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14863 "bp-asm.h".
14864 (PARMS): Do not use macros from bp-asm.h.
14865 (SIGMSK): Likewise.
14866 (setjmp): Likewise. Do not use BP_SYM.
14867 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14868 "bp-asm.h".
14869 (PARMS): Do not use macros from bp-asm.h.
14870 (__frexp): Do not use BP_SYM.
14871 (frexp): Likewise.
14872 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14873 "bp-asm.h".
14874 (PARMS): Do not use macros from bp-asm.h.
14875 (__frexpf): Do not use BP_SYM.
14876 (frexpf): Likewise.
14877 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14878 "bp-asm.h".
14879 (PARMS): Do not use macros from bp-asm.h.
14880 (__frexpl): Do not use BP_SYM.
14881 (frexpl): Likewise.
14882 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14883 "bp-asm.h".
14884 (PARMS): Do not use macros from bp-asm.h.
14885 (__remquo): Do not use BP_SYM.
14886 (remquo): Likewise.
14887 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14888 "bp-asm.h".
14889 (PARMS): Do not use macros from bp-asm.h.
14890 (__remquof): Do not use BP_SYM.
14891 (remquof): Likewise.
14892 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14893 "bp-asm.h".
14894 (PARMS): Do not use macros from bp-asm.h.
14895 (__remquol): Do not use BP_SYM.
14896 (remquol): Likewise.
14897 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14898 "bp-asm.h".
14899 (PARMS): Do not use macros from bp-asm.h.
14900 (DEST): Likewise.
14901 (SRC): Likewise.
14902 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14903 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14904 "bp-asm.h".
14905 (PARMS): Do not use macros from bp-asm.h.
14906 (strlen): Do not use BP_SYM.
14907 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14908 "bp-asm.h".
14909 (PARMS): Do not use macros from bp-asm.h.
14910 (S1): Likewise.
14911 (S2): Likewise.
14912 (SIZE): Likewise.
14913 (__mpn_add_n): Do not use BP_SYM.
14914 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14915 "bp-asm.h".
14916 (PARMS): Do not use macros from bp-asm.h.
14917 (S1): Likewise.
14918 (SIZE): Likewise.
14919 (__mpn_addmul_1): Do not use BP_SYM.
14920 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14921 weak_alias.
14922 (bzero): Likewise.
14923 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14924 "bp-asm.h".
14925 (PARMS): Do not use macros from bp-asm.h.
14926 (S): Likewise.
14927 (SIZE): Likewise.
14928 (__mpn_lshift): Do not use BP_SYM.
14929 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14930 "bp-asm.h".
14931 (PARMS): Do not use macros from bp-asm.h.
14932 (DEST): Likewise.
14933 (SRC): Likewise.
14934 (LEN): Likewise.
14935 (memcpy): Likewise. Do not use BP_SYM.
14936 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14937 libc_hidden_def and weak_alias.
14938 (mempcpy): Do not use BP_SYM in weak_alias.
14939 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14940 "bp-asm.h".
14941 (PARMS): Do not use macros from bp-asm.h.
14942 (DEST): Likewise.
14943 (LEN): Likewise.
14944 [!BZERO_P] (CHR): Likewise.
14945 (memset): Likewise. Do not use BP_SYM.
14946 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14947 "bp-asm.h".
14948 (PARMS): Do not use macros from bp-asm.h.
14949 (S1): Likewise.
14950 (SIZE): Likewise.
14951 (__mpn_mul_1): Do not use BP_SYM.
14952 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14953 "bp-asm.h".
14954 (PARMS): Do not use macros from bp-asm.h.
14955 (S): Likewise.
14956 (SIZE): Likewise.
14957 (__mpn_rshift): Do not use BP_SYM.
14958 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14959 "bp-asm.h".
14960 (PARMS): Do not use macros from bp-asm.h.
14961 (STR): Likewise.
14962 (CHR): Likewise.
14963 (strchr): Likewise. Do not use BP_SYM.
14964 (index): Do not use BP_SYM in weak_alias.
14965 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14966 "bp-asm.h".
14967 (PARMS): Do not use macros from bp-asm.h.
14968 (DEST): Likewise.
14969 (SRC): Likewise.
14970 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14971 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14972 "bp-asm.h".
14973 (PARMS): Do not use macros from bp-asm.h.
14974 (strlen): Do not use BP_SYM.
14975 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14976 "bp-asm.h".
14977 (PARMS): Do not use macros from bp-asm.h.
14978 (S1): Likewise.
14979 (S2): Likewise.
14980 (SIZE): Likewise.
14981 (__mpn_sub_n): Do not use BP_SYM.
14982 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14983 "bp-asm.h".
14984 (PARMS): Do not use macros from bp-asm.h.
14985 (S1): Likewise.
14986 (SIZE): Likewise.
14987 (__mpn_submul_1): Do not use BP_SYM.
14988 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14989 "bp-asm.h".
14990 (PARMS): Do not use macros from bp-asm.h.
14991 (S1): Likewise.
14992 (S2): Likewise.
14993 (SIZE): Likewise.
14994 (__mpn_add_n): Do not use BP_SYM.
14995 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14996 weak_alias.
14997 (bzero): Likewise.
14998 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14999 "bp-asm.h".
15000 (PARMS): Do not use macros from bp-asm.h.
15001 (BLK2): Likewise.
15002 (LEN): Likewise.
15003 (memcmp): Do not use BP_SYM.
15004 (bcmp): Do not use BP_SYM in weak_alias.
15005 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15006 "bp-asm.h".
15007 (PARMS): Do not use macros from bp-asm.h.
15008 (DEST): Likewise.
15009 (SRC): Likewise.
15010 (LEN): Likewise.
15011 (memcpy): Likewise. Do not use BP_SYM.
15012 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
15013 "bp-asm.h".
15014 (PARMS): Do not use macros from bp-asm.h.
15015 (DEST): Likewise.
15016 (SRC): Likewise.
15017 (LEN): Likewise.
15018 (memmove): Likewise. Do not use BP_SYM.
15019 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
15020 "bp-asm.h".
15021 (PARMS): Do not use macros from bp-asm.h.
15022 (DEST): Likewise.
15023 (SRC): Likewise.
15024 (LEN): Likewise.
15025 (__mempcpy): Likewise. Do not use BP_SYM.
15026 (mempcpy): Do not use BP_SYM in weak_alias.
15027 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
15028 "bp-asm.h".
15029 (PARMS): Do not use macros from bp-asm.h.
15030 (DEST): Likewise.
15031 (LEN): Likewise.
15032 [!BZERO_P] (CHR): Likewise.
15033 (memset): Likewise. Do not use BP_SYM.
15034 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
15035 "bp-asm.h".
15036 (PARMS): Do not use macros from bp-asm.h.
15037 (STR2): Likewise.
15038 (strcmp): Do not use BP_SYM.
15039 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
15040 "bp-asm.h".
15041 (PARMS): Do not use macros from bp-asm.h.
15042 (STR): Likewise.
15043 (DELIM): Likewise.
15044 [USE_AS_STRTOK_R] (SAVE): Likewise.
15045 (FUNCTION): Likewise. Do not use BP_SYM.
15046 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
15047 aliases.
15048 (strtok_r): Likewise.
15049 (__GI___strtok_r): Likewise.
15050 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15051 (PARMS): Do not use macros from bp-asm.h.
15052 (S): Likewise.
15053 (SIZE): Likewise.
15054 (__mpn_lshift): Do not use BP_SYM.
15055 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15056 (PARMS): Do not use macros from bp-asm.h.
15057 (STR): Likewise.
15058 (CHR): Likewise.
15059 (__memchr): Do not use BP_SYM.
15060 (memchr): Do not use BP_SYM in weak_alias.
15061 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15062 (PARMS): Do not use macros from bp-asm.h.
15063 (BLK2): Likewise.
15064 (LEN): Likewise.
15065 (memcmp): Do not use BP_SYM.
15066 (bcmp): Do not use BP_SYM in weak_alias.
15067 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
15068 (PARMS): Do not use macros from bp-asm.h.
15069 (S1): Likewise.
15070 (SIZE): Likewise.
15071 (__mpn_mul_1): Do not use BP_SYM.
15072 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
15073 "bp-asm.h".
15074 (PARMS): Do not use macros from bp-asm.h.
15075 (STR): Likewise.
15076 (CHR): Likewise.
15077 (__rawmemchr): Do not use BP_SYM.
15078 (rawmemchr): Do not use BP_SYM in weak_alias.
15079 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15080 (PARMS): Do not use macros from bp-asm.h.
15081 (S): Likewise.
15082 (SIZE): Likewise.
15083 (__mpn_rshift): Do not use BP_SYM.
15084 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15085 (PARMS): Do not use macros from bp-asm.h.
15086 (SIGMSK): Likewise.
15087 (__sigsetjmp): Likewise. Do not use BP_SYM.
15088 * sysdeps/i386/start.S: Do not include "bp-sym.h".
15089 (_start): Do not use BP_SYM.
15090 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
15091 (PARMS): Do not use macros from bp-asm.h.
15092 (DEST): Likewise.
15093 (SRC): Likewise.
15094 (__stpcpy): Likewise. Do not use BP_SYM.
15095 (stpcpy): Do not use BP_SYM in weak_alias.
15096 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
15097 "bp-asm.h".
15098 (PARMS): Do not use macros from bp-asm.h.
15099 (DEST): Likewise.
15100 (SRC): Likewise.
15101 (LEN): Likewise.
15102 (__stpncpy): Likewise. Do not use BP_SYM.
15103 (stpncpy): Do not use BP_SYM in weak_alias.
15104 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15105 (PARMS): Do not use macros from bp-asm.h.
15106 (STR): Likewise.
15107 (CHR): Likewise.
15108 (strchr): Likewise. Do not use BP_SYM.
15109 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
15110 "bp-asm.h".
15111 (PARMS): Do not use macros from bp-asm.h.
15112 (STR): Likewise.
15113 (CHR): Likewise.
15114 (__strchrnul): Likewise. Do not use BP_SYM.
15115 (strchrnul): Do not use BP_SYM in weak_alias.
15116 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
15117 "bp-asm.h".
15118 (PARMS): Do not use macros from bp-asm.h.
15119 (STOP): Likewise.
15120 (strcspn): Do not use BP_SYM.
15121 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
15122 "bp-asm.h".
15123 (PARMS): Do not use macros from bp-asm.h.
15124 (STR): Likewise.
15125 (STOP): Likewise.
15126 (strpbrk): Likewise. Do not use BP_SYM.
15127 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
15128 "bp-asm.h".
15129 (PARMS): Do not use macros from bp-asm.h.
15130 (STR): Likewise.
15131 (CHR): Likewise.
15132 (strrchr): Likewise. Do not use BP_SYM.
15133 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
15134 (PARMS): Do not use macros from bp-asm.h.
15135 (SKIP): Likewise.
15136 (strspn): Do not use BP_SYM.
15137 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
15138 (PARMS): Do not use macros from bp-asm.h.
15139 (STR): Likewise.
15140 (DELIM): Likewise.
15141 (SAVE): Likewise.
15142 (FUNCTION): Likewise. Do not use BP_SYM.
15143 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
15144 aliases.
15145 (strtok_r): Likewise.
15146 (__GI___strtok_r): Likewise.
15147 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15148 (PARMS): Do not use macros from bp-asm.h.
15149 (S1): Likewise.
15150 (S2): Likewise.
15151 (SIZE): Likewise.
15152 (__mpn_sub_n): Do not use BP_SYM.
15153 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
15154 "bp-asm.h".
15155 (PARMS): Do not use macros from bp-asm.h.
15156 (S1): Likewise.
15157 (SIZE): Likewise.
15158 (__mpn_submul_1): Do not use BP_SYM.
15159 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
15160 <bp-sym.h>.
15161 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
15162 and <bp-asm.h>.
15163 (PARMS): Do not use macros from bp-asm.h.
15164 (FLAGS): Likewise.
15165 (PTID): Likewise.
15166 (TLS): Likewise.
15167 (CTID): Likewise.
15168 (__clone): Do not use BP_SYM.
15169 (clone): Do not use BP_SYM in weak_alias.
15170 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
15171 and <bp-asm.h>.
15172 (PARMS): Do not use macros from bp-asm.h.
15173 (LEN): Likewise.
15174 (__mmap64): Do not use BP_SYM.
15175 (mmap64): Do not use BP_SYM in weak_alias.
15176 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15177 <bp-sym.h> and <bp-asm.h>.
15178 (PARMS): Do not use macros from bp-asm.h.
15179 (__posix_fadvise64_l64): Do not use BP_SYM.
15180 * sysdeps/unix/sysv/linux/i386/semtimedop.S
15181 (PARMS): Do not use macros from bp-asm.h.
15182 (NSOPS): Likewise.
15183 (semtimedop): Do not use BP_SYM.
15184 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
15185 and <bp-asm.h>.
15186
151872013-02-21 Allan McRae <allan@archlinux.org>
15188
15189 * manual/message.texi (Charset conversion in gettext):
15190 Move @end statement to beginning of line.
15191
151922013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15193
15194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
15195 static.
15196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15197 Likewise.
15198
15199 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
15200 (denorm): Likewise.
15201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
15202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
15203
152042013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15205
15206 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
15207 tail-call to the resolved function if pltexit isn't needed.
15208
152092013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15210
15211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
15212 or Y being zero as being unlikely.
15213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15214 Likewise.
15215
152162013-02-20 Carlos O'Donell <carlos@redhat.com>
15217
15218 * manual/nss.texi (System Databases and Name Service Switch):
15219 Remove frobnicate @pxref.
15220
152212013-02-20 Thomas Schwinge <thomas@codesourcery.com>
15222
15223 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
15224 __attribute__ ((unused)) to __attribute__ ((__unused__)).
15225
152262013-02-20 Petr Machata <pmachata@redhat.com>
15227
15228 * elf/elf.h (R_ARM_TARGET1): New macro.
15229 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
15230 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
15231 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
15232 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
15233 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
15234 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
15235 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
15236 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
15237 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
15238 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
15239 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
15240 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
15241 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
15242 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
15243 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
15244 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
15245 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
15246 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
15247 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
15248 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
15249 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
15250 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
15251 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
15252 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
15253 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
15254 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
15255 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
15256 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
15257 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
15258 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
15259 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
15260 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
15261 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
15262 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
15263 (R_ARM_THM_GOT_BREL12): Likewise.
15264 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
15265 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
15266 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
15267 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
15268 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
15269 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
15270 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
15271 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
15272 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
15273
152742013-02-20 Thomas Schwinge <thomas@codesourcery.com>
15275
15276 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
15277 __attribute_used__ to __attribute__ ((unused)).
15278
152792013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15280
15281 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
15282 powerpc mpa.c.
15283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
15284 comment formatting.
15285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
15286
152872013-02-19 Joseph Myers <joseph@codesourcery.com>
15288
15289 [BZ #13550]
15290 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
15291 Remove macro.
15292 (ENTER): Remove both macro definitions.
15293 (LEAVE): Likewise.
15294 (CHECK_BOUNDS_LOW): Likewise.
15295 (CHECK_BOUNDS_HIGH): Likewise.
15296 (CHECK_BOUNDS_BOTH): Likewise.
15297 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
15298 (RETURN_BOUNDED_POINTER): Likewise.
15299 (RETURN_NULL_BOUNDED_POINTER): Likewise.
15300 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
15301 (POP_ERRNO_LOCATION_RETURN): Likewise.
15302 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
15303 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15304 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
15305 macros.
15306 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15307 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
15308 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
15309 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
15310 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
15311 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
15312 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
15313 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
15314 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
15315 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
15316 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
15317 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
15318 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15319 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
15320 removed macros.
15321 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15322 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
15323 macros.
15324 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15325 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
15326 * sysdeps/i386/i586/memset.S (memset): Likewise.
15327 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
15328 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15329 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
15330 macros.
15331 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15332 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
15333 Change uses of L(2) to L(out).
15334 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
15335 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
15336 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
15337 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15338 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
15339 removed macros.
15340 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15341 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
15342 macros.
15343 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15344 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
15345 (RETURN): Do not use macro LEAVE.
15346 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
15347 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
15348 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
15349 * sysdeps/i386/i686/memset.S (memset): Likewise.
15350 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
15351 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
15352 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15353 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
15354 Likewise.
15355 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15356 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
15357 L(1_2) and L(1_3) into L(1).
15358 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15359 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
15360 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15361 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
15362 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15363 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
15364 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
15365 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15366 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
15367 macros.
15368 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
15369 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15370 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
15371 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
15372 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
15373 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15374 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
15375 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
15376 * sysdeps/i386/strcspn.S (strcspn): Likewise.
15377 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
15378 * sysdeps/i386/strrchr.S (strrchr): Likewise.
15379 * sysdeps/i386/strspn.S (strspn): Likewise.
15380 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
15381 conditional code.
15382 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15383 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
15384 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15385 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
15386 L(1_3) into L(1_1).
15387 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
15388 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15389 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
15390 macros.
15391 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15392
153932013-02-19 Jakub Jelinek <jakub@redhat.com>
15394
15395 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
15396 macro.
15397
153982013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15399
15400 * math/atest-exp.c (exp_mpn): Remove ROUND.
15401 * math/atest-exp2.c (exp_mpn): Likewise.
15402 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
15403
15404 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
15405 * stdlib/tst-tls-atexit-lib.c: Likewise.
15406 * stdlib/tst-tls-atexit.c: Likewise.
15407
154082013-02-18 Mike Frysinger <vapier@gentoo.org>
15409
15410 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
15411 and __attribute_alloc_size__.
15412
154132013-02-18 Mike Frysinger <vapier@gentoo.org>
15414
15415 * include/programs/xmalloc.h: Change __attribute_alloc_size to
15416 __attribute_alloc_size__.
15417 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
15418 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
15419
154202013-02-18 Mike Frysinger <vapier@gentoo.org>
15421
15422 * include/programs/xmalloc.h: New file.
15423 * catgets/gencat.c: Include it.
15424 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
15425 * elf/pldd.c: Likewise.
15426 * iconv/iconv_charmap.c: Likewise.
15427 * iconv/iconvconfig.c: Likewise.
15428 * iconv/strtab.c: Likewise.
15429 * locale/programs/locale.c: Likewise.
15430 * locale/programs/localedef.h: Likewise.
15431 * locale/programs/simple-hash.c: Likewise.
15432 * nscd/nscd.h: Likewise.
15433 * nss/makedb.c: Likewise.
15434 * sysdeps/generic/ldconfig.h: Likewise.
15435
154362013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15437
15438 * Versions.def: Add GLIBC_2.18.
15439 * include/link.h (struct link_map): New member l_tls_dtor_count.
15440 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
15441 (__call_tls_dtors): Likewise.
15442 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
15443 __cxa_thread_atexit_impl.
15444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15445 Likewise.
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15447 Likewise.
15448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15449 Likewise.
15450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15451 Likewise.
15452 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
15454 Likewise.
15455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
15456 Likewise.
15457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15459 Likewise.
15460 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
15461 (tests): Add test case tst-tls-atexit.
15462 (modules-names): Add shared library for tst-tls-atexit.
15463 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
15464 (GLIBC_PRIVATE): Add __call_tls_dtors.
15465 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
15466 for libstdc++.
15467 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
15468 * stdlib/tst-tls-atexit.c: New test case.
15469 * stdlib/tst-tls-atexit-lib.c: New test case.
15470
15471 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
15472
15473 * elf/Versions (ld): Add _dl_find_dso_for_object.
15474 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
15475 * elf/dl-open.c (_dl_find_dso_for_object): New function.
15476 (dl_open_worker): Use _dl_find_dso_for_object.
15477 * elf/dl-sym.c (do_sym): Likewise.
15478 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
15479
154802013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15481
15482 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
15483 Syntactic changes only.
15484 (_dl_runtime_profile): Do a tail-call to the resolved function.
15485
154862013-02-17 Joseph Myers <joseph@codesourcery.com>
15487
15488 [BZ #13550]
15489 * sysdeps/x86_64/bp-asm.h: Remove file.
15490 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
15491 <bp-sym.h> and <bp-asm.h>.
15492 (__clone): Do not use BP_SYM.
15493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
15494 <bp-sym.h> and <bp-asm.h>.
15495 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15496 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
15497 "bp-asm.h".
15498 (_setjmp): Do not use BP_SYM.
15499 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
15500 "bp-asm.h".
15501 (setjmp): Do not use BP_SYM.
15502 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
15503 libc_hidden_def.
15504 (mempcpy): Do not use BP_SYM in weak_alias.
15505 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
15506 "bp-asm.h".
15507 (strchr): Do not use BP_SYM.
15508 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
15509 "bp-asm.h".
15510 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
15511 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
15512 (_start): Do not use BP_SYM.
15513 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
15514 "bp-asm.h".
15515 (strcat): Do not use BP_SYM.
15516 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
15517 "bp-asm.h".
15518 (STRCMP): Do not use BP_SYM.
15519 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15520 "bp-asm.h".
15521 (STRCPY): Do not use BP_SYM.
15522 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15523 "bp-asm.h".
15524 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15525 "bp-asm.h".
15526 (FUNCTION): Do not use BP_SYM.
15527 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15528 weak_alias.
15529 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15530
155312013-02-17 Andreas Jaeger <aj@suse.de>
15532
15533 * time/Versions: Sort entries.
15534 * string/Versions: Likewise.
15535 * resolv/Versions: Likewise.
15536 * posix/Versions: Likewise.
15537 * iconv/Versions: Likewise.
15538 * elf/Versions: Likewise.
15539 * wcsmbs/Versions: Likewise.
15540
155412013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15542
15543 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15544 loop termination condition.
15545
15546 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15547 variable to calculate EZ.
15548 (__sqr): Likewise.
15549
15550 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15551 the lower precision input.
15552
155532013-02-15 Joseph Myers <joseph@codesourcery.com>
15554
15555 [BZ #13550]
15556 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15557 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15558 (run-via-rtld-prefix): Do not handle %-bp tests.
15559 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15560 (all-object-suffixes): Remove .ob.
15561 (bppfx): Remove variable.
15562 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15563 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15564 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15565 [$(build-bounded) = yes] (libtype.ob): Likewise.
15566 * Makerules (elide-routines.ob): Remove variable.
15567 (do-tests-clean): Do not handle *-bp.out.
15568 (common-mostlyclean): Do not handle *-bp and *-bp.out.
15569 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15570 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15571 (tests): Do not include $(tests-bp.out).
15572 (xtests): Do not include $(xtests-bp.out).
15573 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15574 [$(build-bounded) = yes] ($(addprefix
15575 $(objpfx),$(binaries-bounded))): Remove rule.
15576 ($(objpfx)%-bp.out): Remove rule.
15577 * config.make.in (build-bounded): Remove variable.
15578 * crypt/Makefile [$(build-bounded) = yes]
15579 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15580 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15581 append to variable.
15582 [$(build-bounded) = yes] (install-lib): Likewise.
15583 [$(build-bounded) = yes] (generated): Likewise.
15584 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15585 Remove rule.
15586 * intl/Makefile [$(build-bounded) = yes]
15587 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15588 * math/Makefile [$(build-bounded) = yes]
15589 ($(tests:%=$(objpfx)%-bp): Likewise.
15590 * misc/Makefile [$(build-bounded) = yes]
15591 ($(objpfx)tst-tsearch-bp): Likewise.
15592 * nptl/Makeconfig (bounded-thread-library): Remove variable.
15593 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15594 Remove dependency.
15595 * string/Makefile (o-objects.ob): Remove variable.
15596 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15597 (CFLAGS-.ob): Remove variable.
15598 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15599 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15600 both definitions of variable.
15601 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15602 (ASFLAGS-.ob): Remove variable.
15603
156042013-02-14 Joseph Myers <joseph@codesourcery.com>
15605
15606 [BZ #13550]
15607 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15608 Remove __BOUNDED_POINTERS__ from condition.
15609 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15610 * string/bits/string2.h [!__NO_STRING_INLINES &&
15611 !__BOUNDED_POINTERS__]: Likewise.
15612 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15613 Likewise.
15614 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15615 Remove conditional code.
15616 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15617 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15618 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15619 condition.
15620
15621 [BZ #13550]
15622 * csu/libc-start.c: Do not include <bp-sym.h>.
15623 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15624 * elf/dl-open.c: Do not include <bp-sym.h>.
15625 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15626 * math/fegetenv.c: Do not include <bp-sym.h>.
15627 (fegetenv): Do not use BP_SYM in versioned symbols.
15628 * nptl/sysdeps/pthread/bits/libc-lockP.h
15629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15630 <bp-sym.h>.
15631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15632 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15634 (__pthread_mutex_destroy): Likewise.
15635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15636 (__pthread_mutex_lock): Likewise.
15637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15638 (__pthread_mutex_trylock): Likewise.
15639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15640 (__pthread_mutex_unlock): Likewise.
15641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15642 (__pthread_mutexattr_init): Likewise.
15643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15644 (__pthread_mutexattr_destroy): Likewise.
15645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15646 (__pthread_mutexattr_settype): Likewise.
15647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15648 (__pthread_rwlock_init): Likewise.
15649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15650 (__pthread_rwlock_destroy): Likewise.
15651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15652 (__pthread_rwlock_rdlock): Likewise.
15653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15654 (__pthread_rwlock_tryrdlock): Likewise.
15655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15656 (__pthread_rwlock_wrlock): Likewise.
15657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15658 (__pthread_rwlock_trywrlock): Likewise.
15659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15660 (__pthread_rwlock_unlock): Likewise.
15661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15662 (__pthread_key_create): Likewise.
15663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15664 (__pthread_setspecific): Likewise.
15665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15666 (__pthread_getspecific): Likewise.
15667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15668 Likewise.
15669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15670 (_pthread_cleanup_push_defer): Likewise.
15671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15672 (_pthread_cleanup_pop_restore): Likewise.
15673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15674 (pthread_setcancelstate): Likewise.
15675 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15676 <bp-sym.h>.
15677 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15678 (memchr): Do not use BP_SYM in weak_alias.
15679 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15680 (fegetenv): Do not use BP_SYM in versioned symbols.
15681 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15682 (fesetenv): Do not use BP_SYM in versioned symbols.
15683 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15684 (feupdateenv): Do not use BP_SYM in versioned symbols.
15685 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15686 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15687 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15688 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15689 (open64): Do not use BP_SYM in weak_alias.
15690 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15691 (fegetenv): Do not use BP_SYM in versioned symbols.
15692 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15693 (fesetenv): Do not use BP_SYM in versioned symbols.
15694 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15695 (feupdateenv): Do not use BP_SYM in versioned symbols.
15696 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15697 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15698 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15699 (feraiseexcept): Do not use BP_SYM in versioned symbols.
15700 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15701 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15702 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15703 <bp-sym.h>.
15704 (__libc_start_main): Do not use BP_SYM.
15705
157062013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15707
15708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15709 redundant return line.
15710 (norm): Likewise.
15711 (denorm): Likewise.
15712 (dbl_mp): Likewise.
15713 (sub_magnitudes): Likewise.
15714 (__add): Likewise.
15715 (__sub): Likewise.
15716 (__mul): Likewise.
15717 (__inv): Likewise.
15718 (__dvd): Likewise.
15719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15720 (norm): Likewise.
15721 (denorm): Likewise.
15722 (dbl_mp): Likewise.
15723 (sub_magnitudes): Likewise.
15724 (__add): Likewise.
15725 (__sub): Likewise.
15726 (__mul): Likewise.
15727 (__inv): Likewise.
15728 (__dvd): Likewise.
15729
15730 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15731 instead of __mul.
15732 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15733 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15734 (cc32): Likewise.
15735
15736 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15737 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15738 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15739 of __mul for squares.
15740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15741 function
15742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15743 Likewise.
15744 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15745 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15746
157472013-02-13 Joseph Myers <joseph@codesourcery.com>
15748
15749 [BZ #13550]
15750 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15751 code.
15752 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15753 prototype or function definition. Rename ubp_* variables and
15754 parameters. Remove argv definitions conditional on
15755 [__BOUNDED_POINTERS__].
15756 * debug/backtrace.c (__backtrace): Do not use __unbounded.
15757 * elf/dl-runtime.c (_dl_fixup): Likewise.
15758 * include/set-hooks.h (RUN_HOOK): Likewise.
15759 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15760 definition.
15761 * string/strcpy.c (strcpy): Do not use __unbounded.
15762 * sysdeps/generic/frame.h (struct layout): Likewise.
15763 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15764 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15765 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15766 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15767 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15768 (__backtrace): Likewise.
15769 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15770 use __ptrvalue.
15771 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15772 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15773 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15774 Likewise.
15775 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15776 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15777 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15778 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15779 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15780 Do not use __unbounded.
15781 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15782 Rename __unboundedrlimits parameter to rlimits in prototype.
15783 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15784 Do not use __unbounded.
15785 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15786 not use __ptrvalue.
15787 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15788 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15789 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15790 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15791 __ptrvalue or __unbounded.
15792 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15793 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15794 use __unbounded.
15795 (__new_msgctl): Do not use __ptrvalue.
15796 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15797 __unbounded.
15798 (__libc_msgrcv): Do not use __ptrvalue.
15799 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15800 startup_info): Do not use __unbounded.
15801 (__libc_start_main): Likewise. Rename ubp_* variables and
15802 parameters. Remove argv definitions conditional on
15803 [__BOUNDED_POINTERS__].
15804 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15805 __ptrvalue.
15806 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15807 use __unbounded.
15808 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15809 or __ptrvalue.
15810 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15811 use __unbounded.
15812 (__new_shmctl): Do not use __ptrvalue.
15813 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15814 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15815 Likewise.
15816 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15817 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15818 (__libc_sigaction): Likewise.
15819 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15820 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15821 Likewise.
15822 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15823
158242013-02-13 Ondřej Bílka <neleai@seznam.cz>
15825
15826 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15827
15828 * string/mempcpy.c: Implement by calling memcpy.
15829
158302013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15831
15832 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15833
15834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15835 evaluation.
15836
15837 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15838 values in the mantissa.
15839
15840 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15841 minimize writes to Z.
15842 (sub_magnitudes): Simplify code a bit.
15843
158442013-02-12 Roland McGrath <roland@hack.frob.com>
15845
15846 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15847 from the message. The linker prefixes all warnings with that already.
15848
158492013-02-12 Andreas Schwab <schwab@suse.de>
15850
15851 [BZ #15078]
15852 * posix/regexec.c (extend_buffers): Add parameter min_len.
15853 (check_matching): Pass minimum needed length.
15854 (clean_state_log_if_needed): Likewise.
15855 (get_subexp): Likewise.
15856 * posix/Makefile (tests): Add bug-regex34.
15857 (bug-regex34-ENV): Define.
15858 * posix/bug-regex34.c: New file.
15859
15860 [BZ #11561]
15861 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15862 elements compare against the byte sequence of it, not its name.
15863 * posix/Makefile (tests): Add bug-regex35.
15864 (bug-regex35-ENV): Define.
15865 * posix/bug-regex35.c: New file.
15866
158672013-02-11 Tom de Vries <tom@codesourcery.com>
15868
15869 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15870 comment.
15871 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15872 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15873 (CHECK_EOL): Add undef.
15874
158752013-02-11 Ondřej Bílka <neleai@seznam.cz>
15876
15877 * bits/stdlib-bsearch.h: New file.
15878 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15879 * stdlib/stdlib.h: Likewise.
15880
158812013-02-11 Roland McGrath <roland@hack.frob.com>
15882
15883 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15884 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15885 declaration.
15886 * manual/search.texi (Array Search Function): Add missing const in
15887 lfind prototype.
15888 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15889 declaration to use rlim_t.
15890 (Basic Scheduling Functions): Remove erroneous const from
15891 sched_getparam prototype. Remove erroneous * from
15892 sched_get_priority_max and sched_get_priority_min prototypes.
15893 (Resource Usage): Fix summary @comment on vtimes to refer to
15894 sys/vtimes.h rather than vtimes.h.
15895 Add missing *s in vtimes prototype.
15896 (Limits on Resources): Fix ulimit prototype to return long int.
15897 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15898 prototypes to use long int rather than double.
15899 (BSD Random): Fix initstate and setstate to use char *, not void *.
15900 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15901 prototype to make second argument 'struct aiocb64 *const[]'.
15902 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15903 (Status of AIO Operations): Remove erroneous const in aio_return and
15904 aio_return64 prototypes.
15905 (Synchronizing I/O): Fix sync prototype to return void.
15906 * manual/startup.texi (Suboptions): Remove an erroneous const in
15907 getsubopt prototype.
15908 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15909 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15910 use size_t rather than int.
15911 (Scanning All Users): Likewise for getpwent_r.
15912 (Setting Groups): Add missing const to setgroups prototype.
15913 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15914 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15915 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15916 'const void *' rather than 'const char *'.
15917 (Host Address Functions): Likewise for inet_ntop.
15918 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15919 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15920 ssize_t for return value.
15921 (Sending Data): Likewise for send, sendto, sendmsg.
15922 (Socket Option Functions): Add a missing const in setsockopt prototype.
15923 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15924 use wchar_t for the argument.
15925 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15926 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15927 take no arguments.
15928 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15929 double/float/long double for second argument.
15930 Fix return types of significand, significandf, significandl.
15931 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15932 argument in fchmod prototype.
15933 (File Owner): Use uid_t and gid_t in fchown prototype.
15934 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15935 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15936 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15937 use 'const struct dirent **' as argument types to CMP function pointer
15938 argument.
15939 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15940 (File Times): Fix summary magic @comment for struct utimbuf and utime
15941 to refer to utime.h, not time.h.
15942 * manual/string.texi (Argz Functions): Add missing const in
15943 argz_extract and argz_next prototypes.
15944 (Finding Tokens in a String): Likewise for basename.
15945 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15946 (Copying and Concatenation): Fix typo in wmemmove prototype.
15947 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15948 (Signal Stack): Remove erroneous const in sigstack prototype.
15949 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15950 prototype.
15951 (Simple Calendar Time): Likewise for stime.
15952 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15953 prototype.
15954 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15955 say sys/sysctl.h instead.
15956 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15957 and vsyslog prototypes.
15958
159592013-02-11 Tom de Vries <tom@codesourcery.com>
15960
15961 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15962 Remove.
15963
159642013-02-11 Roland McGrath <roland@hack.frob.com>
15965
15966 * misc/sys/mman.h: Fix typo in mremap comment.
15967
159682013-02-08 Roland McGrath <roland@hack.frob.com>
15969
15970 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15971 the '\0' terminator.
15972
159732013-02-08 Joseph Myers <joseph@codesourcery.com>
15974
15975 [BZ #13550]
15976 * debug/segfault.c: Don't include <bp-checks.h>.
15977 * sysdeps/generic/bp-checks.h: Remove file.
15978 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15979 (__GETDENTS): Don't use CHECK_N.
15980 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15981 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15982 (__getgroups): Don't use CHECK_N.
15983 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15984 (setgroups): Don't use CHECK_N.
15985 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15986 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15987 (__libc_msgrcv): Don't use CHECK_N.
15988 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15989 (__libc_msgsnd): Don't use CHECK_N.
15990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15991 <bp-checks.h>.
15992 (__libc_pread): Don't use CHECK_N.
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15994 include <bp-checks.h>.
15995 (__libc_pread64): Don't use CHECK_N.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15997 include <bp-checks.h>.
15998 (__libc_pwrite): Don't use CHECK_N.
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16000 include <bp-checks.h>.
16001 (__libc_pwrite64): Don't use CHECK_N.
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16003 <bp-checks.h>.
16004 (__libc_pread): Don't use CHECK_N.
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16006 include <bp-checks.h>.
16007 (__libc_pread64): Don't use CHECK_N.
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
16009 include <bp-checks.h>.
16010 (__libc_pwrite): Don't use CHECK_N.
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
16012 include <bp-checks.h>.
16013 (__libc_pwrite64): Don't use CHECK_N.
16014 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
16015 (do_pread): Don't use CHECK_N.
16016 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
16017 (do_pread64): Don't use CHECK_N.
16018 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
16019 (do_pwrite): Don't use CHECK_N.
16020 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
16021 (do_pwrite64): Don't use CHECK_N.
16022 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
16023 (__libc_readv): Don't use CHECK_N.
16024 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
16025 (semop): Don't use CHECK_N.
16026 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
16027 <bp-checks.h>.
16028 (semtimedop): Don't use CHECK_N.
16029 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
16030 (__libc_pread): Don't use CHECK_N.
16031 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
16032 <bp-checks.h>.
16033 (__libc_pread64): Don't use CHECK_N.
16034 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
16035 <bp-checks.h>.
16036 (__libc_pwrite): Don't use CHECK_N.
16037 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
16038 <bp-checks.h>.
16039 (__libc_pwrite64): Don't use CHECK_N.
16040 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
16041 <bp-checks.h>.
16042 (__libc_msgrcv): Don't use CHECK_N.
16043 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
16044 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
16045 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
16046 (__libc_writev): Don't use CHECK_N.
16047
160482013-02-08 Roland McGrath <roland@hack.frob.com>
16049
16050 * string/strcpy.c: Removed unused variable.
16051
16052 * Makeconfig (+sysdep-includes): Define with := rather than =.
16053 Use an existing include/ subdir of each sysdeps dir before it.
16054
160552013-02-08 Carlos O'Donell <carlos@redhat.com>
16056
16057 * nscd/connection.c (register_traced_file): Comment function.
16058 [HAVE_INOTIFY] (union __inev): Define.
16059 [HAVE_INOTIFY] (inotify_check_files): New function.
16060 [HAVE_INOTIFY] (clear_db_cache): Likewise.
16061 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
16062 clear_db_cache.
16063 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
16064
160652013-02-08 Carlos O'Donell <carlos@redhat.com>
16066
16067 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
16068 loaded if not already and that a failure is permanent.
16069
160702013-02-08 Carlos O'Donell <carlos@redhat.com>
16071
16072 [BZ #15006]
16073 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
16074 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
16075
160762013-02-08 Joseph Myers <joseph@codesourcery.com>
16077
16078 [BZ #13550]
16079 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
16080 (CHECK_1_NULL_OK): Likewise.
16081 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
16082 (__fxstat): Do not use CHECK_1.
16083 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
16084 <bp-checks.h>.
16085 (___fxstat64): Do not use CHECK_1.
16086 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16087 <bp-checks.h>.
16088 (__fxstatat): Do not use CHECK_1.
16089 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16090 <bp-checks.h>.
16091 (__fxstatat64): Do not use CHECK_1.
16092 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
16093 <bp-checks.h>.
16094 (__fxstat): Do not use CHECK_1.
16095 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16096 <bp-checks.h>.
16097 (__fxstatat): Do not use CHECK_1.
16098 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16099 <bp-checks.h>.
16100 (__getresgid): Do not use CHECK_1.
16101 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16102 <bp-checks.h>.
16103 (__getresuid): Do not use CHECK_1.
16104 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
16105 <bp-checks.h>.
16106 (__lxstat): Do not use CHECK_1.
16107 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16108 <bp-checks.h>.
16109 (__old_msgctl): Do not use CHECK_1.
16110 (__new_msgctl): Likewise.
16111 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
16112 <bp-checks.h>.
16113 (__new_setrlimit): Do not use CHECK_1.
16114 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16115 <bp-checks.h>.
16116 (__old_shmctl): Do not use CHECK_1.
16117 (__new_shmctl): Likewise.
16118 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
16119 <bp-checks.h>.
16120 (__xstat): Do not use CHECK_1.
16121 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
16122 (__lxstat): Do not use CHECK_1.
16123 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
16124 <bp-checks.h>.
16125 (___lxstat64): Do not use CHECK_1.
16126 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
16127 (__old_msgctl): Do not use CHECK_1.
16128 (__new_msgctl): Likewise.
16129 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
16130 <bp-checks.h>.
16131 (__gettimeofday): Do not use CHECK_1.
16132 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
16133 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
16134 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
16135 <bp-checks.h>.
16136 (__gettimeofday): Do not use CHECK_1.
16137 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
16138 (__old_shmctl): Do not use CHECK_1_NULL_OK.
16139 (__new_shmctl): Do not use CHECK_1.
16140 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
16141 <bp-checks.h>.
16142 (do_sigtimedwait): Do not use CHECK_1.
16143 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
16144 <bp-checks.h>.
16145 (do_sigwaitinfo): Do not use CHECK_1.
16146 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
16147 <bp-checks.h>.
16148 (msgctl): Do not use CHECK_1.
16149 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
16150 <bp-checks.h>.
16151 (shmctl): Do not use CHECK_1.
16152 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
16153 (ustat): Do not use CHECK_1.
16154 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
16155 <bp-checks.h>.
16156 (__fxstat): Do not use CHECK_1.
16157 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16158 <bp-checks.h>.
16159 (__fxstatat): Do not use CHECK_1.
16160 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
16161 <bp-checks.h>.
16162 (__lxstat): Do not use CHECK_1.
16163 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
16164 <bp-checks.h>.
16165 (__xstat): Do not use CHECK_1.
16166 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
16167 (__xstat): Do not use CHECK_1.
16168 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
16169 (___xstat64): Do not use CHECK_1.
16170
16171 [BZ #13550]
16172 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
16173 definitions.
16174 (CHECK_BOUNDS_HIGH): Likewise.
16175 * string/strcpy.c: Do not include <bp-checks.h>.
16176 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
16177
161782013-02-07 Roland McGrath <roland@hack.frob.com>
16179
16180 * nscd/nscd-client.h (__nscd_drop_map_ref):
16181 Add __attribute__ ((unused)).
16182 * nis/nss-nisplus.h (niserr2nss): Likewise.
16183
16184 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
16185 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
16186
16187 * csu/libc-tls.c (init_static_tls, init_slotinfo):
16188 Remove inline keyword.
16189 * include/rounding-mode.h (round_away): Likewise.
16190 * libio/wfileops.c (adjust_wide_data): Likewise.
16191 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
16192 (__m128i_strloadu_tolower): Likewise.
16193 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
16194 (__m128i_strloadu_tolower): Likewise.
16195 * time/mktime.c (ydhms_diff): Likewise.
16196 * locale/elem-hash.h (elem_hash): Likewise.
16197 * locale/setlocale.c (setdata): Likewise.
16198 * posix/regex_internal.h (re_string_char_size_at): Likewise.
16199 (re_string_wchar_at): Likewise.
16200 (bitset_not, bitset_merge, bitset_mask): Likewise.
16201 [!(__GNUC__ > 3)] (inline): Remove macro.
16202 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
16203 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
16204 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16205 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
16206 * string/memcmp.c (memcmp_bytes): Likewise.
16207 * locale/programs/locarchive.c (compute_hashval): Likewise.
16208 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
16209 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
16210 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
16211 * nss/getent.c (print_rpc, print_protocols): Likewise.
16212 (print_passwd, print_group, print_aliases): Likewise.
16213 * nis/nss-nisplus.h (niserr2nss): Likewise.
16214 * nscd/connections.c (restart_p): Likewise.
16215 Change return type to bool.
16216
162172013-02-05 Roland McGrath <roland@hack.frob.com>
16218
16219 * Makeconfig (all-Depend-files): Add existing
16220 $(sorted-subdirs:=/Depend) files.
16221 (all-subdirs): Remove nss.
16222 * sysdeps/unix/inet/Subdirs: Add it here instead.
16223 * hesiod/Depend: New file.
16224
16225 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
16226 instead of calling alloca.
16227
16228 * io/lseek.c (__lseek): Rename to __libc_lseek.
16229 Define __lseek as an alias.
16230
16231 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
16232
162332013-02-04 Carlos O'Donell <carlos@redhat.com>
16234
16235 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
16236 else clause and remove check for non-standard endianness.
16237
162382013-02-04 David S. Miller <davem@davemloft.net>
16239
16240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16241
162422013-02-04 Joseph Myers <joseph@codesourcery.com>
16243
16244 [BZ #13550]
16245 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
16246 (__ubp_memchr): Remove prototype.
16247 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
16248 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
16249 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
16250 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
16251 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
16252 Remove alias.
16253 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
16254 (__ubp_memchr): Likewise.
16255 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
16256 (__ubp_memchr): Likewise.
16257 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
16258 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
16259 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
16260 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
16261 CHECK_STRING.
16262 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16263 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
16264 (__getcwd): Do not use CHECK_STRING.
16265 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16266 <bp-checks.h>.
16267 (__real_chown): Do not use CHECK_STRING.
16268 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
16269 <bp-checks.h>.
16270 (fchownat): Do not use CHECK_STRING.
16271 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
16272 CHECK_STRING.
16273 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16274 <bp-checks.h>.
16275 (__lchown): Do not use CHECK_STRING.
16276 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16277 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16278 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16279 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16281 include <bp-checks.h>.
16282 (truncate64): Do not use CHECK_STRING.
16283 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16284 <bp-checks.h>.
16285 (__real_chown): Do not use CHECK_STRING.
16286 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16287 <bp-checks.h>.
16288 (__lchown): Do not use CHECK_STRING.
16289 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16290 <bp-checks.h>.
16291 (__chown): Do not use CHECK_STRING.
16292 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
16293 <bp-checks.h>.
16294 (truncate64): Do not use CHECK_STRING.
16295 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
16296 Likewise.
16297 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
16298 (__xmknod): Do not use CHECK_STRING.
16299 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16300 <bp-checks.h>.
16301 (__xmknodat): Do not use CHECK_STRING.
16302 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16303 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16304
163052013-02-04 Andreas Schwab <schwab@suse.de>
16306
16307 [BZ #14142]
16308 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
16309 * include/netdb.h: Likewise for h_errno.
16310 * elf/tst-stackguard1.c: Include <tls.h>.
16311
163122013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16313
16314 * elf/link.h (struct link_map): Extend the l_addr comment.
16315 * include/link.h (struct link_map): Likewise.
16316
163172013-02-01 Joseph Myers <joseph@codesourcery.com>
16318
16319 [BZ #13550]
16320 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
16321 (BOUNDED_1): Remove macro.
16322 * debug/backtrace.c: Don't include <bp-checks.h>.
16323 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
16324 (__backtrace): Likewise.
16325 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
16326 <bp-checks.h>.
16327 (__backtrace): Don't use BOUNDED_1.
16328 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
16329 <bp-checks.h>.
16330 (__backtrace): Don't use BOUNDED_1.
16331 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
16332 (__backtrace): Don't use BOUNDED_1.
16333 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
16334 (shmat): Don't use BOUNDED_N.
16335
163362013-01-31 Joseph Myers <joseph@codesourcery.com>
16337
16338 [BZ #13550]
16339 * sysdeps/generic/bp-start.h: Remove file.
16340 * csu/libc-start.c: Don't include <bp-start.h>.
16341 (LIBC_START_MAIN): Set up __environ directly instead of using
16342 INIT_ARGV_and_ENVIRON.
16343 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
16344 <bp-start.h>.
16345
16346 [BZ #13550]
16347 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
16348 definitions.
16349 (CHECK_FCNTL): Likewise.
16350 (CHECK_N_PAGES): Likewise.
16351
16352 [BZ #13550]
16353 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
16354 definitions.
16355 (CHECK_SIGSET_NULL_OK): Likewise.
16356 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
16357 <bp-checks.h>.
16358 (sigpending): Don't use CHECK_SIGSET.
16359 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
16360 <bp-checks.h>.
16361 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16362 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
16363 <bp-checks.h>.
16364 (do_sigsuspend): Don't use CHECK_SIGSET.
16365 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
16366 use CHECK_SIGSET.
16367 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
16368 (do_sigwait): Don't use CHECK_SIGSET.
16369 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
16370 use CHECK_SIGSET.
16371 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
16372 include <bp-checks.h>.
16373 (sigpending): Don't use CHECK_SIGSET.
16374 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
16375 include <bp-checks.h>.
16376 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16377 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
16378 <bp-checks.h>.
16379 (sigpending): Don't use CHECK_SIGSET.
16380 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
16381 <bp-checks.h>.
16382 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16383
16384 [BZ #13550]
16385 * sysdeps/generic/bp-semctl.h: Remove file.
16386 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
16387 <bp-checks.h> and <bp-semctl.h>.
16388 (__old_semctl): Don't use CHECK_SEMCTL.
16389 (__new_semctl): Likewise.
16390 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
16391 and <bp-semctl.h>.
16392 (__old_semctl): Don't use CHECK_SEMCTL.
16393 (__new_semctl): Likewise.
16394 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
16395 <bp-checks.h> and <bp-semctl.h>.
16396 (__old_semctl): Don't use CHECK_SEMCTL.
16397 (__new_semctl): Likewise.
16398 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
16399 <bp-checks.h> and <bp-semctl.h>.
16400 (semctl): Don't use CHECK_SEMCTL.
16401
16402 [BZ #13550]
16403 * Makerules (elide-bp-thunks): Remove variable.
16404 (elide-routines.oS): Don't use $(elide-bp-thunks).
16405 (elide-routines.os): Likewise.
16406 (elide-routines.o): Likewise.
16407 (elide-routines.op): Likewise.
16408 (elide-routines.og): Likewise.
16409 (objects): Don't use $(bp-thunks).
16410 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
16411 include.
16412 (common-generated): Do not add s-proto-bp.d.
16413 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
16414 (int): Likewise.
16415 (typ): Likewise.
16416 Do not generate makefile rules for bounded-pointer thunks.
16417 * sysdeps/generic/bp-thunks.h: Remove file.
16418 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
16419 * sysdeps/unix/s-proto-bp.S: Likewise.
16420
16421 [BZ #15062]
16422 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
16423 parts of result separately when argument is not close to line from
16424 -i to i and one part of argument is small.
16425 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16426 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16427 * math/libm-test.inc (cacos_test): Add more tests.
16428 (casin_test): Likewise.
16429 (casinh_test): Likewise.
16430 * sysdeps/i386/fpu/libm-test-ulps: Update.
16431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16432
164332013-01-31 David S. Miller <davem@davemloft.net>
16434
16435 * po/de.po: Update from translation team.
16436
164372013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
16438
16439 * time/tzfile.c: Include stdint.h for SIZE_MAX.
16440
164412013-01-25 Thomas Schwinge <thomas@codesourcery.com>
16442
16443 * configure.in (_AC_PROG_CC_C89): New definition.
16444 * configure: Regenerate.
16445
16446 * configure.in (AC_PROG_CPP): New definition.
16447 * configure: Regenerate.
16448
164492013-01-23 Joseph Myers <joseph@codesourcery.com>
16450
16451 * debug/tst-backtrace.h: New file.
16452 * debug/tst-backtrace2.c: Include tst-backtrace.h.
16453 (ret): Remove variable.
16454 (x): Likewise.
16455 (FAIL): Remove macro.
16456 (NO_INLINE): Likewise.
16457 (fn1): Use match function instead of strstr.
16458 * debug/tst-backtrace3.c: Include tst-backtrace.h.
16459 (ret): Remove variable.
16460 (x): Likewise.
16461 (FAIL): Remove macro.
16462 (NO_INLINE): Likewise.
16463 (fn): Use match function instead of strstr.
16464 * debug/tst-backtrace4.c: Include tst-backtrace.h.
16465 (ret): Remove variable.
16466 (x): Likewise.
16467 (FAIL): Remove macro.
16468 (NO_INLINE): Likewise.
16469 (handle_signal): Use match function instead of strstr.
16470 * debug/tst-backtrace5.c: Include tst-backtrace.h.
16471 (ret): Remove variable.
16472 (x): Likewise.
16473 (FAIL): Remove macro.
16474 (NO_INLINE): Likewise.
16475 (handle_signal): Use match function instead of strstr.
16476
164772013-01-23 Roland McGrath <roland@hack.frob.com>
16478
16479 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
16480
164812013-01-23 David S. Miller <davem@davemloft.net>
16482
16483 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
16484 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
16485 argument of CAS if possible.
16486 * sysdeps/sparc/sparc64/bits/atomic.h
16487 (__arch_compare_and_exchange_val_32_acq): Likewise.
16488 (__arch_compare_and_exchange_val_64_acq): Likewise.
16489
164902013-01-23 Pino Toscano <toscano.pino@tiscali.it>
16491
16492 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
16493 * sysdeps/posix/ulimit.c: ... this.
16494 Include <limits.h>.
16495 * sysdeps/unix/bsd/ulimit.c: Remove file.
16496
164972013-01-23 Adam Conrad <adconrad@0c3.net>
16498
16499 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
16500 (LDFLAGS-tst-array5): Likewise.
16501
165022013-01-23 Joseph Myers <joseph@codesourcery.com>
16503
16504 [BZ #15036]
16505 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
16506 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16507 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
16508 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
16509
165102013-01-21 David S. Miller <davem@davemloft.net>
16511
16512 * sysdeps/sparc/backtrace.c: New file.
16513 * sysdeps/sparc/sparc32/backtrace.h: New file.
16514 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
16515 * sysdeps/sparc/sparc64/backtrace.h: New file.
16516 * sysdeps/sparc/sparc64/backtrace.c: Delete.
16517 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16518 -funwind-tables.
16519
165202013-01-21 Andreas Schwab <schwab@suse.de>
16521
16522 [BZ #15020]
16523 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16524 closed its stdout.
16525
165262013-01-20 Andreas Schwab <schwab@linux-m68k.org>
16527
16528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16529 "mpa2.h".
16530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16531
165322013-01-18 Joseph Myers <joseph@codesourcery.com>
16533 Mark Mitchell <mark@codesourcery.com>
16534 Tom de Vries <tom@codesourcery.com>
16535 Paul Pluzhnikov <ppluzhnikov@google.com>
16536
16537 * debug/tst-backtrace2.c: New file.
16538 * debug/tst-backtrace3.c: Likewise.
16539 * debug/tst-backtrace4.c: Likewise.
16540 * debug/tst-backtrace5.c: Likewise.
16541 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16542 (CFLAGS-tst-backtrace3.c): Likewise.
16543 (CFLAGS-tst-backtrace4.c): Likewise.
16544 (CFLAGS-tst-backtrace5.c): Likewise.
16545 (LDFLAGS-tst-backtrace2): Likewise.
16546 (LDFLAGS-tst-backtrace3): Likewise.
16547 (LDFLAGS-tst-backtrace4): Likewise.
16548 (LDFLAGS-tst-backtrace5): Likewise.
16549 (tests): Add new tests tst-backtrace2, tst-backtrace3,
16550 tst-backtrace4 and tst-backtrace5.
16551
165522013-01-18 Anton Blanchard <anton@samba.org>
16553 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16554
16555 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16556 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16557 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16558 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16560 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16561 "+r" and remove output regs list as redundant. Add explicit inline
16562 asm to specify register of return val to work around compiler codegen
16563 bug. Remove (int) cast on return value. Add return type parameter to
16564 use in macro so that this macro does not truncate return value for
16565 64-bit values.
16566 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16567 pass to INTERNAL_VSYSCALL_NCS.
16568 (INLINE_VSYSCALL): Add 'long int' as return type to
16569 INTERNAL_VSYSCALL_NCS macro invocation.
16570 (INTERNAL_VSYSCALL): Add 'long int' as return type to
16571 INTERNAL_VSYSCALL_NCS macro invocation.
16572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16573
165742013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16575
16576 [BZ #14496]
16577 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16578 Fix application of SIMD FP exception mask.
16579
16580 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16581 mp_no from a power of two.
16582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16583 __mpexp_twomm1. Use __pow_mp.
16584
16585 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16586 multiplication.
16587
165882013-01-17 David S. Miller <davem@davemloft.net>
16589
16590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16591
165922013-01-17 Joseph Myers <joseph@codesourcery.com>
16593
16594 [BZ #15023]
16595 * include/complex.h: Condition contents on [!_COMPLEX_H].
16596 (__kernel_casinhf): New prototype.
16597 (__kernel_casinh): Likewise.
16598 (__kernel_casinhl): Likewise.
16599 * math/Makefile (libm_calls): Add k_casinh.
16600 * math/k_casinh.c: New file.
16601 * math/k_casinhf.c: Likewise.
16602 * math/k_casinhl.c: Likewise.
16603 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16604 finite nonzero arguments.
16605 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16606 finite nonzero arguments.
16607 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16608 finite nonzero arguments.
16609 * math/s_casinh.c: Do not include <float.h>.
16610 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16611 * math/s_casinhf.c: Do not include <float.h>.
16612 (__casinhf): Move code for finite nonzero arguments to
16613 k_casinhf.c.
16614 * math/s_casinhl.c: Do not include <float.h>.
16615 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16616 redefine.
16617 (__casinhl): Move code for finite nonzero arguments to
16618 k_casinhl.c.
16619 * math/libm-test.inc (cacos_test): Add more tests.
16620 * sysdeps/i386/fpu/libm-test-ulps: Update.
16621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16622
166232013-01-17 Pino Toscano <toscano.pino@tiscali.it>
16624
16625 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16626 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16627 [!HAVE_MREMAP]: Remove [defined linux] case.
16628 * malloc/arena.c: Do not include <malloc-sysdep.h>.
16629
166302013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16631
16632 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16633
166342013-01-17 H.J. Lu <hongjiu.lu@intel.com>
16635
16636 * elf/elf.h (R_386_SIZE32): New relocation.
16637 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16638 R_386_SIZE32.
16639 (elf_machine_rela): Likewise.
16640 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16641 R_X86_64_SIZE64 and R_X86_64_SIZE32.
16642
166432013-01-17 Joseph Myers <joseph@codesourcery.com>
16644
16645 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16646 (FP_FAST_FMA): Do not define.
16647 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16648 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16649 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16650 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16651 !_SOFT_FLOAT]: Likewise.
16652 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16653 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16654 value.
16655 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16656 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16657 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16658 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16659 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16660 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16661 file.
16662
166632013-01-16 Andreas Schwab <schwab@suse.de>
16664
16665 [BZ #14327]
16666 * include/stdlib.h (__mktemp): Add declaration.
16667 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16668 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16669
166702013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16671
16672 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16673 definitions.
16674 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16675 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16676 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16677 definitions here.
16678 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16679 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16680 definitions.
16681 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16682 and ONE.
16683 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16684 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16685 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16686 definitions.
16687 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16688 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16689 definitions.
16690 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16691
16692 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16693
166942013-01-15 David S. Miller <davem@davemloft.net>
16695
16696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16697 trunc{,f} to libm-sysdep_routes.
16698 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16700 file.
16701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16703 file.
16704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16705 file.
16706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16708 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16709 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16710 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16711 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16712 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16713 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16714
16715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16716 nearbyint{,f} to libm-sysdep_routes.
16717 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16719 New file.
16720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16721 file.
16722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16723 New file.
16724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16725 file.
16726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16728 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16729 file.
16730 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16731 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16732 file.
16733 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16734 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16735 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16736
16737 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16738 libc_feholdexcept and libc_fesetenv.
16739
167402013-01-15 Mike Frysinger <vapier@gentoo.org>
16741
16742 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16743
167442013-01-14 David S. Miller <davem@davemloft.net>
16745
16746 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16747 (SPARC_ASM_VIS2_IFUNC): Likewise.
16748 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16750 use of 'siam' instruction.
16751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16752 Likewise.
16753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16754 Likewise.
16755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16756 Likewise.
16757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16762 file.
16763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16764 file.
16765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16766 file.
16767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16768 file.
16769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16771 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16774 new VIS2 routines.
16775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16778 Likewise.
16779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16784 routines to libm-sysdep_routines.
16785 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16786
16787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16788 fdim/fdimf to libm-sysdep_routines.
16789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16790 file.
16791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16793 file.
16794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16797 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16798 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16799 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16800 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16801
168022013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16803
16804 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16805 to optimize copies.
16806
16807 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16810
16811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16812 local variable MPTWO.
16813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16814 Likewise.
16815
168162013-01-13 Mike Frysinger <vapier@gentoo.org>
16817
16818 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16819 GLOB_NOESCAPE.
16820
168212013-01-13 Mike Frysinger <vapier@gentoo.org>
16822
16823 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16824
168252013-01-13 Mike Frysinger <vapier@gentoo.org>
16826
16827 * manual/pattern.texi (glob_t): Document gl_flags.
16828 (glob64_t): Likewise.
16829
168302013-01-11 David S. Miller <davem@davemloft.net>
16831
16832 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16833 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16834 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
16835 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16836 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16837 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16838 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16839 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16840 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16841 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16842 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16843 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16844 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16845
16846 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16847 sparc V9 rather than using V8 code.
16848 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16849 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16850
16851 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16852 Move to...
16853 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16854 Here.
16855
168562013-01-11 Roland McGrath <roland@hack.frob.com>
16857
16858 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16859 not in the main loop.
16860 * configure: Regenerated.
16861
168622013-01-11 Joseph Myers <joseph@codesourcery.com>
16863
16864 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16865 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16866 to just #else.
16867 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16868 [!__GLIBC_HAVE_LONG_LONG] case.
16869 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16870 condition to just #else.
16871 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16872 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16873 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16874 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16875 unconditional.
16876 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16877 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16878 #elif condition to just #else.
16879 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16880 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16881 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16882 #elif condition to just #else.
16883
168842013-01-11 Steve Ellcey <sellcey@mips.com>
16885
16886 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16887 (EF_MIPS_ARCH_64): Fix value.
16888 (EF_MIPS_ARCH_32R2): New.
16889 (EF_MIPS_ARCH_64R2): New.
16890
168912013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16892
16893 * Makeconfig (+link-pie-before-libc): New.
16894 (+link-pie-after-libc): Likewise.
16895 (+link-pie-tests): Likewise.
16896 (+link-pie): Rewritten.
16897 (link-before-libc): Remove $(config-LDFLAGS).
16898 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16899 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16900 (config-LDFLAGS): Renamed to ...
16901 (rtld-LDFLAGS): This.
16902 (rtld-tests-LDFLAGS): New macro.
16903 (link-libc-rpath-link): Likewise.
16904 (link-libc-tests-rpath-link): Likewise.
16905 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16906 (link-libc): Prepand $(link-libc-rpath-link).
16907 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16908 (test-program-prefix): New macro.
16909 (test-via-rtld-prefix): Likewise.
16910 (test-program-cmd): Likewise.
16911 (host-test-program-cmd): Likewise.
16912 * Makefile ($(common-objpfx)testrun.sh): Replace
16913 $(run-program-prefix) with $(test-program-prefix).
16914 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16915 $(rtld-LDFLAGS).
16916 ($(common-objpfx)shlib.lds): Likewise.
16917 (build-module-helper): Likewise.
16918 ($(common-objpfx)format.lds): Likewise.
16919 * Rules (binaries-pie-tests): New.
16920 (binaries-pie-notests): Likewise.
16921 (binaries-pie): Rewritten.
16922 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16923 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16924 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16925 (make-test-out): Replace $(host-built-program-cmd) with
16926 $(host-test-program-cmd).
16927 * config.make.in (build-hardcoded-path-in-tests): New variable.
16928 * configure.in (--enable-hardcoded-path-in-tests): New configure
16929 option.
16930 (hardcoded_path_in_tests): New AC_SUBST.
16931 * configure: Regenerated.
16932 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16933 $(built-program-cmd) with $(test-program-cmd).
16934 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16935 (test_program_cmd): This.
16936 * elf/Makefile ($(objpfx)order.out): Run test with
16937 $(test-program-prefix).
16938 ($(objpfx)order2.out): Likewise.
16939 ($(objpfx)tst-initorder.out): Likewise.
16940 ($(objpfx)tst-initorder2.out): Likewise.
16941 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16942 $(test-program-cmd).
16943 ($(objpfx)tst-array1-static.out): Likewise.
16944 ($(objpfx)tst-array2.out): Likewise.
16945 ($(objpfx)tst-array3.out): Likewise.
16946 ($(objpfx)tst-array4.out): Likewise.
16947 ($(objpfx)tst-array5.out): Likewise.
16948 ($(objpfx)tst-array5-static.out): Likewise.
16949 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16950 $(test-program-cmd).
16951 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16952 $(run-program-prefix) with $(test-program-prefix).
16953 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16954 (test_program_prefix): This.
16955 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16956 $(run-program-prefix) with $(test-program-prefix).
16957 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16958 (test_program_prefix): This.
16959 * iconvdata/tst-tables.sh: Likewise.
16960 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16961 $(run-program-prefix) with $(test-program-prefix).
16962 ($(objpfx)tst-translit.out): Likewise.
16963 ($(objpfx)tst-gettext2.out): Likewise.
16964 ($(objpfx)tst-gettext4.out): Likewise.
16965 ($(objpfx)tst-gettext6.out): Likewise.
16966 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16967 (test_program_prefix): This.
16968 * intl/tst-gettext2.sh: Likewise.
16969 * intl/tst-gettext4.sh Likewise.
16970 * intl/tst-gettext6.sh: Likewise.
16971 * intl/tst-translit.sh: Likewise.
16972 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16973 with $(test-program-cmd).
16974 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16975 $(run-program-prefix) with $(test-program-prefix).
16976 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16977 (test_program_prefix): This.
16978 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16979 $(run-program-prefix) with $(test-program-prefix).
16980 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16981 (test_program_prefix): This.
16982 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16983 * posix/Makefile ($(objpfx)globtest.out): Replace
16984 $(run-via-rtld-prefix) and $(test-wrapper) with
16985 $(test-program-prefix) and $(test-via-rtld-prefix).
16986 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16987 $(test-program-prefix).
16988 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16989 $(host-test-program-cmd).
16990 (tst-spawn-ARGS): Likewise.
16991 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16992 $(test-program-prefix).
16993 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16994 (test_via_rtld_prefix): This.
16995 (test_wrapper): Renamed to ...
16996 (test_program_prefix): This.
16997 (run_program_prefix): Replaced by test_program_prefix.
16998 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16999 (test_program_prefix): This.
17000 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17001 with $(host-test-program-cmd).
17002 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17003 $(run-program-prefix) with $(test-program-prefix).
17004 ($(objpfx)tst-printf.out): Likewise.
17005 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17006 $(test-program-cmd).
17007 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
17008 (test_program_prefix): This.
17009 * stdio-common/tst-unbputc.sh: Likewise.
17010 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
17011 $(run-program-prefix) with $(test-program-prefix).
17012 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
17013 (test_program_prefix): This.
17014 * string/Makefile ($(objpfx)tst-svc.out): Replace
17015 $(built-program-cmd) with $(test-program-cmd).
17016
170172013-01-11 Andreas Jaeger <aj@suse.de>
17018
17019 [BZ #15003]
17020 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
17021 value. Sync with Linux 3.7.
17022
170232013-01-10 David S. Miller <davem@davemloft.net>
17024
17025 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
17026 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17027 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17028
170292013-01-10 Roland McGrath <roland@hack.frob.com>
17030
17031 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
17032 never set.
17033 * configure: Regenerated.
17034
170352013-01-10 David S. Miller <davem@davemloft.net>
17036
17037 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17038 sparc V9 rather than using V8 code.
17039 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17040 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17041
170422013-01-10 Roland McGrath <roland@hack.frob.com>
17043
17044 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
17045 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
17046 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
17047 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
17048 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
17049 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
17050 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
17051 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
17052 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
17053 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
17054 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
17055 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
17056 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
17057 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
17058 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
17059 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
17060 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
17061 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
17062 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
17063 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
17064 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
17065 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
17066 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
17067 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
17068 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
17069 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
17070 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
17071
170722013-01-10 David S. Miller <davem@davemloft.net>
17073
17074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17075
170762013-01-10 H.J. Lu <hongjiu.lu@intel.com>
17077
17078 * posix/Makefile (tests-static): New variable.
17079 (tests): Add $(tests-static).
17080 (tst-exec-static-ARGS): New variable.
17081 (tst-spawn-static-ARGS): Likewise.
17082 * posix/tst-exec-static.c: New file.
17083 * posix/tst-spawn-static.c: Likewise.
17084 * posix/tst-exec.c: Support run directly.
17085 * posix/tst-spawn.c: Likewise.
17086
170872013-01-10 Joseph Myers <joseph@codesourcery.com>
17088
17089 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
17090 long.
17091 * math/bits/mathcalls.h (llrint): Likewise.
17092 (llround): Likewise.
17093 * stdlib/stdlib.h (struct drand48_data): Likewise.
17094 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
17095 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
17096 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
17097 Likewise.
17098 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
17099 Likewise.
17100 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
17101 (elf_greg_t): Likewise.
17102 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
17103 (__jmp_buf): Likewise.
17104 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
17105 definitions.
17106 (llrint): Likewise, for all definitions.
17107 (llrintl): Likewise.
17108
17109 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
17110 Remove [__GNUC__] condition.
17111 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
17112 condition to just [__USE_ISOC99].
17113 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
17114
171152013-01-10 H.J. Lu <hongjiu.lu@intel.com>
17116
17117 [BZ #14200]
17118 * sysdeps/unix/sysv/linux/x86/bits/environments.h
17119 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
17120 defined.
17121 (_POSIX_V6_ILP32_OFF32): Likewise.
17122 (_XBS5_ILP32_OFF32): Likewise.
17123 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
17124 (__ILP32_OFFBIG_LDFLAGS): Likewise.
17125
171262013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17127
17128 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
17129
17130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
17131 doubles __mpexp_twomm1. Adjust usage.
17132 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
17133 Remove.
17134
171352013-01-10 Andreas Schwab <schwab@suse.de>
17136
17137 [BZ #14964]
17138 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
17139 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
17140
171412013-01-09 David S. Miller <davem@davemloft.net>
17142
17143 [BZ #15003]
17144 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
17145 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
17146 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
17147 TCP_FASTOPEN): Define.
17148 (tcp_repair_opt): New structure.
17149 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
17150 enum values.
17151 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
17152 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
17153 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
17154 (tcp_cookie_transactions): New structure.
17155
171562013-01-09 Anton Blanchard <anton@samba.org>
17157
17158 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
17159 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
17160 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
17161 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17162
171632013-01-09 Joseph Myers <joseph@codesourcery.com>
17164
17165 * include/features.h (__USE_ANSI): Remove.
17166
171672013-01-09 Roland McGrath <roland@hack.frob.com>
17168
17169 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
17170
17171 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
17172
171732013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
17174
17175 * sysdeps/s390/fpu/libm-test-ulps: Update.
17176
17177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17178
17179 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
17180 (__acr): Likewise.
17181 (__cpy): Likewise.
17182 (norm): Likewise.
17183 (denorm): Likewise.
17184 (__mp_dbl): Likewise.
17185 (__dbl_mp): Likewise.
17186 (add_magnitudes): Likewise.
17187 (sub_magnitudes): Likewise.
17188 (__add): Likewise.
17189 (__sub): Likewise.
17190 (__mul): Likewise.
17191 (__inv): Likewise.
17192 (__dvd): Likewise.
17193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
17194 (__acr): Likewise.
17195 (__cpy): Likewise.
17196 (norm): Likewise.
17197 (denorm): Likewise.
17198 (__mp_dbl): Likewise.
17199 (__dbl_mp): Likewise.
17200 (add_magnitudes): Likewise.
17201 (sub_magnitudes): Likewise.
17202 (__add): Likewise.
17203 (__sub): Likewise.
17204 (__mul): Likewise.
17205 (__inv): Likewise.
17206 (__dvd): Likewise.
17207 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
17208 (__acr): Likewise.
17209 (__cpy): Likewise.
17210 (norm): Likewise.
17211 (denorm): Likewise.
17212 (__mp_dbl): Likewise.
17213 (__dbl_mp): Likewise.
17214 (add_magnitudes): Likewise.
17215 (sub_magnitudes): Likewise.
17216 (__add): Likewise.
17217 (__sub): Likewise.
17218 (__mul): Likewise.
17219 (__inv): Likewise.
17220 (__dvd): Likewise.
17221
172222013-01-08 Joseph Myers <joseph@codesourcery.com>
17223
17224 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
17225 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
17226 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
17227 2 && __USE_EXTERN_INLINES]: Likewise.
17228
172292013-01-08 Andreas Jaeger <aj@suse.de>
17230
17231 [BZ# 14985]
17232 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
17233 Remove.
17234 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
17235 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
17236
172372013-01-07 Anton Blanchard <anton@samba.org>
17238
17239 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
17240 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17241 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
17242 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17243 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17244 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17245 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
17246 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17248 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17249 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17250 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17251 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17252 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17253 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17254 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17255 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17256 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17257 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17258 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17259 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17260 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
17261 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17262 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17263 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
17264 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17265 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17266 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17267 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
17268 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17269 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17271 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17272 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17273 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17274 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17275 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17276 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17277 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
17278 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17279 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
17280 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17281 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17282
172832013-01-07 Joseph Myers <joseph@codesourcery.com>
17284
17285 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
17286 (__MALLOC_PMT): Likewise.
17287 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
17288 [__GNUC__], only on [_LIBC].
17289 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
17290 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
17291 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
17292 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
17293 forward declaration.
17294 (realloc_hook_ini): Likewise.
17295 (memalign_hook_ini): Likewise.
17296 (__libc_memalign): Do not use __MALLOC_PMT in variable
17297 declaration.
17298 (__libc_valloc): Likewise.
17299 (__libc_pvalloc): Likewise.
17300 (__libc_calloc): Likewise.
17301 (__posix_memalign): Likewise.
17302
17303 [BZ #14996]
17304 * math/s_casinh.c: Include <float.h>.
17305 (__casinh): Do not do computation with squaring and square root
17306 for large arguments.
17307 * math/s_casinhf.c: Include <float.h>.
17308 (__casinhf): Do not do computation with squaring and square root
17309 for large arguments.
17310 * math/s_casinhl.c: Include <float.h>.
17311 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
17312 (__casinhl): Do not do computation with squaring and square root
17313 for large arguments.
17314 * math/libm-test.inc (casin_test): Add more tests.
17315 (casinh_test): Likewise.
17316 * sysdeps/i386/fpu/libm-test-ulps: Update.
17317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17318
173192013-01-04 H.J. Lu <hongjiu.lu@intel.com>
17320
17321 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
17322 (__x86_64_raw_data_cache_size): Likewise.
17323 (__x86_64_data_cache_size_half): Likewise.
17324 (__x86_64_raw_data_cache_size_half): Likewise.
17325 (__x86_64_shared_cache_size): Likewise.
17326 (__x86_64_raw_shared_cache_size): Likewise.
17327 (__x86_64_shared_cache_size_half): Likewise.
17328 (__x86_64_raw_shared_cache_size_half): Likewise.
17329 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
17330 to ...
17331 (__x86_data_cache_size): This.
17332 (__x86_64_raw_data_cache_size): Renamed to ...
17333 (__x86_raw_data_cache_size): This.
17334 (__x86_64_data_cache_size_half): Renamed to ...
17335 (__x86_data_cache_size_half): This.
17336 (__x86_64_raw_data_cache_size_half): Renamed to ...
17337 (__x86_raw_data_cache_size_half): This.
17338 (__x86_64_shared_cache_size): Renamed to ...
17339 (__x86_shared_cache_size): This.
17340 (__x86_64_raw_shared_cache_size): Renamed to ...
17341 (__x86_raw_shared_cache_size): This.
17342 (__x86_64_shared_cache_size_half): Renamed to ...
17343 (__x86_shared_cache_size_half): This.
17344 (__x86_64_raw_shared_cache_size_half): Renamed to ...
17345 (__x86_raw_shared_cache_size_half): This.
17346 * sysdeps/x86_64/memcpy.S: Updated.
17347 * sysdeps/x86_64/memset.S: Likewise.
17348 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17349 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17350 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17351
173522013-01-04 David S. Miller <davem@davemloft.net>
17353
17354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17355
173562013-01-04 Andreas Schwab <schwab@linux-m68k.org>
17357
17358 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
17359 1 to avoid redefinition warning.
17360 (__USE_GNU): Don't define.
17361 (init_signaling_nan): Protoize.
17362
17363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17364
173652013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17366
17367 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
17368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
17369 (__cpymn): Likewise.
17370 (norm): Remove commented code.
17371 (denorm): Likewise.
17372 (__mp_dbl): Likewise.
17373 (__inv): Likewise.
17374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
17375 (__cpymn): Likewise.
17376 (norm): Remove commented code.
17377 (denorm): Likewise.
17378 (__mp_dbl): Likewise.
17379 (__inv): Likewise.
17380
17381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
17382 mp_no value for 1.0 and 2.0.
17383 (norm): Use RADIXI instead of radixi.d.
17384 (denorm): Likewise.
17385 (__mul): Use 0.0 instead of zero.d.
17386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
17387 mp_no value for 1.0 and 2.0.
17388 (norm): Use RADIXI instead of radixi.d.
17389 (denorm): Likewise.
17390 (__mul): Use 0.0 instead of zero.d.
17391
173922013-01-04 Joseph Myers <joseph@codesourcery.com>
17393
17394 [BZ #14994]
17395 * math/s_casinh.c (__casinh): Reduce finite argument to first
17396 quadrant then set signs of results at the end.
17397 * math/s_casinhf.c (__casinhf): Likewise.
17398 * math/s_casinhl.c (__casinhl): Likewise.
17399 * math/libm-test.inc (casin_test): Add more tests.
17400 (casinh_test): Likewise.
17401 * sysdeps/i386/fpu/libm-test-ulps: Update.
17402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17403
174042013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17405
17406 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
17407
17408 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
17409
17410 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
17411 declarations.
17412 (denorm): Likewise.
17413 (__mp_dbl): Likewise.
17414 (__inv): Likewise.
17415
17416 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
17417 and adjust the header comment.
17418
17419 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
17420 variable name from declaration.
17421
174222013-01-03 H.J. Lu <hongjiu.lu@intel.com>
17423
17424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17425 Initialize COMMON_CPUID_INDEX_7 element.
17426 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
17427 (CPUID_RTM): Likewise.
17428 (HAS_RTM): Likewise.
17429 (COMMON_CPUID_INDEX_7): New enum.
17430
174312013-01-03 Andreas Schwab <schwab@linux-m68k.org>
17432
17433 [BZ #14981]
17434 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
17435 size is zero, record memory as freed.
17436
174372013-01-03 Andreas Jaeger <aj@suse.de>
17438
17439 * po/ia.po: Add new Interlingua translation.
17440
174412012-01-03 Allan McRae <allan@archlinux.org>
17442
17443 * locale/programs/localedef.c: Fix description of '--posix' flag.
17444
174452013-01-02 Joseph Myers <joseph@codesourcery.com>
17446
17447 * NEWS: Update dates in second copyright notice.
17448 * README: Update copyright dates in example.
17449 * manual/libc.texinfo: Update copyright dates.
17450 * scripts/test-installation.pl: Update copyright date in --version
17451 output.
17452
17453 * hurd/ctty-input.c: Fix copyright notice formatting.
17454 * hurd/ctty-output.c: Likewise.
17455 * hurd/dtable.c: Likewise.
17456 * hurd/hurd-raise.c: Likewise.
17457 * hurd/hurdprio.c: Likewise.
17458 * hurd/msgportdemux.c: Likewise.
17459 * misc/sys/file.h: Likewise.
17460 * misc/sys/ioctl.h: Likewise.
17461 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17462 * sysdeps/mach/hurd/chdir.c: Likewise.
17463 * sysdeps/mach/hurd/fchdir.c: Likewise.
17464 * sysdeps/mach/hurd/rename.c: Likewise.
17465 * sysdeps/mach/hurd/rmdir.c: Likewise.
17466 * sysdeps/mach/hurd/seekdir.c: Likewise.
17467 * sysdeps/mach/hurd/setsid.c: Likewise.
17468 * sysdeps/posix/wait3.c: Likewise.
17469
17470 * All files with FSF copyright notices: Update copyright dates
17471 using scripts/update-copyrights.
17472 * intl/plural.c: Regenerated.
17473 * locale/programs/charmap-kw.h: Likewise.
17474 * locale/programs/locfile-kw.h: Likewise.
17475
174762013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17477
17478 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
17479 four values.
17480
17481 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
17482 calculation loop and add branch prediction.
17483
17484 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
17485 check access beyond bounds of m1np.
17486
17487 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17488 MPTWO.
17489 (__inv): Remove local variable MPTWO to use the global
17490 constant.
17491 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
17492 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17493 variable MPTWO.
17494 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
17495 MP3HALFS static const.
17496
174972013-01-01 David S. Miller <davem@davemloft.net>
17498
17499 * po/ca.po: Update from translation team.
17500
175012013-01-01 Joseph Myers <joseph@codesourcery.com>
17502
17503 * scripts/update-copyrights: New file.
17504 * Makeconfig: Reformat copyright notice.
17505 * ctype/ctype.h: Likewise.
17506 * debug/swprintf_chk.c: Likewise.
17507 * elf/dl-cache.c: Likewise.
17508 * elf/dl-debug.c: Likewise.
17509 * elf/dl-object.c: Likewise.
17510 * grp/initgroups.c: Likewise.
17511 * hurd/Makefile: Likewise.
17512 * hurd/hurd/signal.h: Likewise.
17513 * hurd/hurdfault.c: Likewise.
17514 * hurd/hurdioctl.c: Likewise.
17515 * hurd/hurdlookup.c: Likewise.
17516 * hurd/intr-msg.c: Likewise.
17517 * iconv/gconv_open.c: Likewise.
17518 * libio/swprintf.c: Likewise.
17519 * locale/lc-ctype.c: Likewise.
17520 * locale/nl_langinfo.c: Likewise.
17521 * mach/Machrules: Likewise.
17522 * mach/Makefile: Likewise.
17523 * malloc/obstack.h: Likewise.
17524 * manual/Makefile: Likewise.
17525 * manual/tsort.awk: Likewise.
17526 * misc/bits/stab.def: Likewise.
17527 * nis/nis_print_group_entry.c: Likewise.
17528 * nis/nis_table.c: Likewise.
17529 * nis/nss_compat/compat-pwd.c: Likewise.
17530 * nis/nss_compat/compat-spwd.c: Likewise.
17531 * po/Makefile: Likewise.
17532 * posix/fnmatch.c: Likewise.
17533 * posix/regex.h: Likewise.
17534 * resolv/Makefile: Likewise.
17535 * resolv/nss_dns/dns-network.c: Likewise.
17536 * resolv/res_hconf.c: Likewise.
17537 * scripts/gen-sorted.awk: Likewise.
17538 * soft-fp/soft-fp.h: Likewise.
17539 * stdio-common/printf.h: Likewise.
17540 * stdlib/monetary.h: Likewise.
17541 * stdlib/random.c: Likewise.
17542 * stdlib/random_r.c: Likewise.
17543 * sysdeps/generic/Makefile: Likewise.
17544 * sysdeps/gnu/Makefile: Likewise.
17545 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17550 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17553 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17555 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17556 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17557 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17558 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17559 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17560 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17561 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17562 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17563 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17564 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17565 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17566 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17567 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17571 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17573 * sysdeps/mach/hurd/errnos.awk: Likewise.
17574 * sysdeps/mach/hurd/fork.c: Likewise.
17575 * sysdeps/mach/hurd/getcwd.c: Likewise.
17576 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17577 * sysdeps/mach/hurd/mmap.c: Likewise.
17578 * sysdeps/mach/hurd/utimes.c: Likewise.
17579 * sysdeps/mach/hurd/xmknod.c: Likewise.
17580 * sysdeps/posix/profil.c: Likewise.
17581 * sysdeps/posix/readdir_r.c: Likewise.
17582 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17583 * sysdeps/powerpc/bits/setjmp.h: Likewise.
17584 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17585 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17587 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17588 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17589 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17591 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17592 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17593 * sysdeps/pthread/lio_listio.c: Likewise.
17594 * sysdeps/sparc/dl-procinfo.h: Likewise.
17595 * sysdeps/unix/i386/sysdep.S: Likewise.
17596 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17597 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17598 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17599 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17601 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17602 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17603 * sysdeps/unix/sysv/linux/speed.c: Likewise.
17604 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17605 * sysdeps/wordsize-32/divdi3.c: Likewise.
17606 * time/sys/time.h: Likewise.
17607 * wcsmbs/Makefile: Likewise.
17608
176092013-01-01 David S. Miller <davem@davemloft.net>
17610
17611 * po/fr.po: Update from translation team.
17612
17613 * catgets/gencat.c: Update copyright year.
17614 * csu/version.c: Likewise.
17615 * debug/catchsegv.sh: Likewise.
17616 * debug/pcprofiledump.c: Likewise.
17617 * debug/xtrace.sh: Likewise.
17618 * elf/ldconfig.c: Likewise.
17619 * elf/ldd.bash.in: Likewise.
17620 * elf/pldd.c: Likewise.
17621 * elf/sotruss.ksh: Likewise.
17622 * elf/sprof.c: Likewise.
17623 * iconv/iconv_prog.c: Likewise.
17624 * iconv/iconvconfig.c: Likewise.
17625 * locale/programs/locale.c: Likewise.
17626 * locale/programs/localedef.c: Likewise.
17627 * login/programs/pt_chown.c: Likewise.
17628 * malloc/memusage.sh: Likewise.
17629 * malloc/memusagestat.c: Likewise.
17630 * malloc/mtrace.pl: Likewise.
17631 * nscd/nscd.c: Likewise.
17632 * nss/getent.c: Likewise.
17633 * nss/makedb.c: Likewise.
17634 * posix/getconf.c: Likewise.
17635
176362012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17637
17638 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17639 numbers.
17640
176412012-12-30 Mike Frysinger <vapier@gentoo.org>
17642
17643 * math/bits/mathcalls.h (modf): Use __nonnull.
17644
176452012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17646
17647 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17648 (split): Use macro CN instead of the bare value.
17649 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17650 could be used.
17651 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17652 instead of the bare value.
17653 (power1): Likewise.
17654
176552012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17656
17657 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17658 __ATAN_TWOM.
17659 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17660
17661 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17662 their values.
17663 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17664 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17665 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17666 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17667
176682012-12-28 Andreas Jaeger <aj@suse.de>
17669
17670 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
17671 values are from Linux 3.7.
17672
17673 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17674 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
17675
176762012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17677
17678 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
17679 TRUE case.
17680
17681 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17682 (norm): Likewise.
17683 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17684 variables with preprocessor constants.
17685 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17686 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17687 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17688
176892012-12-27 Bruno Haible <bruno@clisp.org>
17690
17691 [BZ #14317]
17692 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17693 only if needed.
17694
176952012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17696
17697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17698 and use variable directly.
17699 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17700
17701 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17702 MPONE.
17703 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17704 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17705 variable MPONE.
17706 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17707 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17708 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17709 include directive. Remove local variable MPONE.
17710 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17711 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17712 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17713
177142012-12-25 David S. Miller <davem@davemloft.net>
17715
17716 * version.h (RELEASE): Set to "development".
17717 (VERSION): Set to "2.17.90".
17718 * NEWS: Add 2.18 section.
17719
177202012-12-21 David S. Miller <davem@davemloft.net>
17721
17722 * po/hr.po: Update from translation team.
17723
177242012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17725
17726 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17727
177282012-12-19 Steve Ellcey <sellcey@mips.com>
17729
17730 * NEWS: Mention new memcpy for MIPS.
17731
177322012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17733
17734 * manual/contrib.texi (Contributors): Spelling correction.
17735
177362012-12-15 David S. Miller <davem@davemloft.net>
17737
17738 * po/ru.po: Update from translation team.
17739
177402012-12-13 David S. Miller <davem@davemloft.net>
17741
17742 * NEWS: Mention IFUNC testsuite enhancements.
17743
17744 * po/pl.po: Update from translation team.
17745 * po/bg.po: Likewise.
17746
17747 * manual/contrib.texi (Contributors): Update entries for Hongjiu
17748 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
17749
177502012-12-11 David S. Miller <davem@davemloft.net>
17751
17752 * po/sv.po: Update from translation team.
17753
17754 * po/vi.po: Update from translation team.
17755
17756 * po/cs.po: Update from translation team.
17757
17758 * po/de.po: Update from translation team.
17759 * po/eo.po: Likewise.
17760 * po/nl.po: Likewise.
17761
177622012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17763
17764 [BZ #14246]
17765 * manual/argp.texi (Argp Helper Functions): Move node to follow
17766 Argp Parsing State.
17767
17768 [BZ #14872]
17769 * manual/conf.texi (Limits on File System Capacity): Mention if
17770 terminating null is included in the max size.
17771
177722012-12-10 Andreas Jaeger <aj@suse.de>
17773
17774 * po/cs.po: Update from translation team.
17775
177762012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17777
17778 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17779 void pointer and cast to uintptr_t.
17780 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17781 path.
17782 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17783 * sysdeps/s390/s390-64/memset.S: Likewise.
17784
177852012-12-08 Benno Schulenberg <bensberg@justemail.net>
17786
17787 [BZ #14833]
17788 * menual/message.texi (Message Translation): Fix typos.
17789 (Helper programs for gettext): Likewise.
17790
177912012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17792
17793 [BZ #14898]
17794 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17795 Change to -1.
17796
177972012-12-07 David S. Miller <davem@davemloft.net>
17798
17799 * po/libc.pot: Update.
17800
178012012-12-07 Richard Henderson <rth@redhat.com>
17802
17803 [BZ #10114]
17804 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17805 normal/normal case to before the switch.
17806 (_FP_DIV): Likewise.
17807
178082012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17809 Mike Frysinger <vapier@gentoo.org>
17810
17811 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17812 check for __NR_fadvise64_64.
17813
178142012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17815
17816 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17817 0, not just to plain "0" as a statement.
17818 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17819 with cw.
17820
178212012-12-06 Joseph Myers <joseph@codesourcery.com>
17822
17823 * NEWS: Use sourceware.org in Bugzilla URL.
17824
178252012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17826
17827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17828 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17829
17830 * stdio-common/tst-put-error.c (do_test): Add newline to the
17831 padded test to ensure flush.
17832
178332012-12-05 Jeff Law <law@redhat.com>
17834
17835 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17836
178372012-12-05 Joseph Myers <joseph@codesourcery.com>
17838
17839 * README: Don't refer to ports add-on as distributed separately.
17840 Mention AArch64 in list of systems supported in the ports add-on.
17841
17842 * LICENSES: Add more non-FSF copyright and license notices.
17843
17844 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17845 ((unused)).
17846
17847 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17848
17849 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17850 10000 as width of padded output.
17851
178522012-12-04 Joseph Myers <joseph@codesourcery.com>
17853
17854 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17855
17856 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17857 variable LX with __attribute__ ((unused)).
17858 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17859 Likewise.
17860 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17861 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17862 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17863 with __attribute__ ((unused)).
17864
178652012-12-04 David S. Miller <davem@abraco.davemloft.net>
17866
17867 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17868
178692012-12-04 Joseph Myers <joseph@codesourcery.com>
17870
17871 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17872 (CFLAGS-nldbl-acos.c): New variable.
17873 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17874 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17875 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17876 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17877 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17878 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17879 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17880 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17881 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17882 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17883 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17884 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17885 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17886 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17887 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17888 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17889 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17890 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17891 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17892 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17893 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17894 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17895 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17896 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17897 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17898 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17899 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17900 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17901 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17902 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17903 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17904 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17905 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17906 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17907 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17908 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17909 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17910 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17911 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17912 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17913 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17914 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17915 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17916 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17917 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17918 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17919 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17920 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17921 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17922 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17923 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17924 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17925 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17926 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17927 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17928 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17929 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17930 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17931 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17932 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17933 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17934 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17935 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17936 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17937 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17938 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17939 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17940 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17941 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17942 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17943 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17944 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17945 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17946 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17947 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17948 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17949 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17950 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17951 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17952 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17953 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17954 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17955 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17956 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17957 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17958 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17959 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17960 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17961 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17962 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17963 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17964 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17965 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17966 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17967 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17968 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17969 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17970
17971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17972 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17973
17974 [BZ #14914]
17975 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17976 whole low double instead of just low 47 bits when splitting values
17977 into two parts.
17978
179792012-12-03 Allan McRae <allan@archlinux.org>
17980
17981 * manual/stdio.texi (Predefined Printf Handlers): Remove
17982 @hsep and @vsep usage.
17983
179842012-12-03 Mike Frysinger <vapier@gentoo.org>
17985
17986 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17987 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17988
179892012-12-03 Jeff Law <law@redhat.com>
17990
17991 * time/sys/time.h (settimeofday): Do not mark TV argument
17992 as __nonnull.
17993
179942012-12-01 Mike Frysinger <vapier@gentoo.org>
17995
17996 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17997 when currently writing and seek to current position when not.
17998 * libio/Makefile (tests): Remove bug-fclose1.
17999 * libio/bug-fclose1.c: Delete.
18000
180012012-12-01 Joseph Myers <joseph@codesourcery.com>
18002
18003 * manual/arith.texi (feenableexcept): Fix typo.
18004 (fedisableexcept): Likewise.
18005
180062012-11-30 Roland McGrath <roland@hack.frob.com>
18007
18008 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
18009 second, differently-typed declaration, rather than a cast.
18010
180112012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18012
18013 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
18014 * include/rpc/svc.h: ... here.
18015
180162012-11-30 Aurelien Jarno <aurel32@debian.org>
18017
18018 [BZ #13013]
18019 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
18020 depending n and resplen2 to catch cases where answer
18021 equals answerp2.
18022
180232012-11-29 Carlos O'Donell <carlos@systemhalted.org>
18024
18025 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
18026 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
18027
180282012-11-29 Mike Frysinger <vapier@gentoo.org>
18029
18030 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
18031
180322012-11-29 Roland McGrath <roland@hack.frob.com>
18033
18034 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
18035
180362012-11-28 Jeff Law <law@redhat.com>
18037
18038 [BZ #13761]
18039 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
18040 dataset_temporary. Track alloca usage into alloca_used.
18041 If dataset is large allocate and release it via malloc/free.
18042
180432012-06-04 Florian Weimer <fweimer@redhat.com>
18044
18045 [BZ #14197]
18046 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
18047
180482012-11-28 David S. Miller <davem@davemloft.net>
18049
18050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18051
180522012-11-28 Joseph Myers <joseph@codesourcery.com>
18053
18054 [BZ #14803]
18055 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
18056 of pi/2 rounded to nearest to 64 bits.
18057 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
18058 nearest to 64 bits.
18059 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
18060 bits.
18061
180622012-11-28 Jeff Law <law@redhat.com>
18063 Martin Osvald <mosvald@redhat.com>
18064
18065 [BZ #14889]
18066 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
18067 * sunrpc/svc.c: Include time.h.
18068 (__svc_accept_failed): New function.
18069 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
18070 any reason other than EINTR, call __svc_accept_failed.
18071 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
18072 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
18073
180742012-11-28 Andreas Schwab <schwab@suse.de>
18075
18076 * scripts/abilist.awk: Also handle indirect functions in .opd
18077 section.
18078
180792012-11-28 Joseph Myers <joseph@codesourcery.com>
18080
18081 [BZ #13881]
18082 * sysdeps/x86/fpu/powl_helper.c: New file.
18083 * sysdeps/x86/fpu/Makefile: Likewise.
18084 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
18085 (p3): New object.
18086 (__ieee754_powl): Use __powl_helper for finite arguments except
18087 integer exponents below 8.
18088 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
18089 (p3): New object.
18090 (__ieee754_powl): Use __powl_helper for finite arguments except
18091 integer exponents below 8.
18092 * math/libm-test.inc (pow_test): Add more tests and enable some
18093 previously disabled tests.
18094 * sysdeps/i386/fpu/libm-test-ulps: Update.
18095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18096
180972012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18098 Carlos O'Donell <carlos_odonell@mentor.com>
18099
18100 * nss/makedb.c (is_prime): Assert that input is odd and greater
18101 than 4. Note that fact in a comment too.
18102 (next_prime): Add 4 to input.
18103
181042012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18105
18106 [BZ #11741]
18107 * libio/Makefile (tests): Add test case tst-fwrite-error.
18108 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
18109 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18110 * libio/tst-fwrite-error.c: New test case.
18111
181122012-11-26 H.J. Lu <hongjiu.lu@intel.com>
18113
18114 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
18115 before casting to void *.
18116 * include/libc-internal.h (__pointer_type): New macro.
18117 (__integer_if_pointer_type_sub): Likewise.
18118 (__integer_if_pointer_type): Likewise.
18119 (cast_to_integer): Likewise.
18120 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
18121 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
18122 before casting to atomic64_t.
18123 (atomic_exchange_acq): Likewise.
18124 (__arch_exchange_and_add_body): Likewise.
18125 (__arch_add_body): Likewise.
18126 (atomic_add_negative): Likewise.
18127 (atomic_add_zero): Likewise.
18128
181292012-11-26 Joseph Myers <joseph@codesourcery.com>
18130
18131 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
18132 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
18133 (add_fdes): Likewise.
18134 (linear_search_fdes): Likewise.
18135 (binary_search_unencoded_fdes): Likewise.
18136
181372012-11-26 Andreas Schwab <schwab@linux-m68k.org>
18138
18139 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
18140
181412012-11-24 Adam Conrad <adconrad@0c3.net>
18142
18143 * configure.in: Autodetect C++ header directories.
18144 * configure: Regenerated.
18145
181462012-11-23 Mike Frysinger <vapier@gentoo.org>
18147
18148 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
18149
181502012-11-23 Andreas Schwab <schwab@linux-m68k.org>
18151
18152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18153
181542012-11-22 Joseph Myers <joseph@codesourcery.com>
18155
18156 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
18157 LDBL_MANT_DIG == 106]: Disable some tests.
18158 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
18159 Likewise.
18160 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
18161 Likewise.
18162
18163 [BZ #14871]
18164 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
18165 input for small inputs. Return +/- pi/2 for large inputs.
18166 * math/libm-test.inc (atan_test): Add more tests.
18167
18168 * sysdeps/generic/unwind-dw2-fde-glibc.c
18169 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
18170 __attribute__ ((unused)).
18171
18172 [BZ #14645]
18173 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
18174 x * y if x and y are nonzero and z is zero.
18175
18176 [BZ #14811]
18177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
18178 nonzero exponents with absolute value below 0x1p-117 to +/-
18179 0x1p-117.
18180
18181 [BZ #14869]
18182 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
18183 up arguments below 2**-450, not just those below 2**-500.
18184 * math/libm-test.inc (hypot_test): Add another test.
18185
18186 [BZ #14868]
18187 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
18188 Return a+b for ratio over 2**120, not 2**60.
18189 * math/libm-test.inc (hypot_test): Add another test.
18190
18191 * math/libm-test.inc (clog_test): Use
18192 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
18193 (clog10_test): Likewise.
18194
18195 [BZ #6778]
18196 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
18197
181982012-11-22 Andreas Schwab <schwab@suse.de>
18199
18200 * sysdeps/i386/fpu/libm-test-ulps: Update.
18201
182022012-11-22 Pino Toscano <toscano.pino@tiscali.it>
18203
18204 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
18205 printf output with newline.
18206
182072012-11-21 H.J. Lu <hongjiu.lu@intel.com>
18208
18209 [BZ #14865]
18210 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
18211 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
18212 -z nodlopen, -z initfirst and -z execstack support.
18213 * configure: Regenerated.
18214
18215 * elf/elf.h (DF_1_NODIRECT): New macro.
18216 (DF_1_IGNMULDEF): Likewise.
18217 (DF_1_NOKSYMS): Likewise.
18218 (DF_1_NOHDR): Likewise.
18219 (DF_1_EDITED): Likewise.
18220 (DF_1_NORELOC): Likewise.
18221 (DF_1_SYMINTPOSE): Likewise.
18222 (DF_1_GLOBAUDIT): Likewise.
18223 (DF_1_SINGLETON): Likewise.
18224 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
18225 DT_1_SUPPORTED_MASK bits.
18226 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
18227
182282012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
18229
18230 * sysdeps/unix/make-syscalls.sh: Document prefixes.
18231
182322012-11-20 Thomas Schwinge <thomas@codesourcery.com>
18233
18234 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
18235 macro.
18236
18237 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
18238 (sendmmsg): Move declarations...
18239 * socket/sys/socket.h: ... here.
18240 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
18241 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
18242 include it from...
18243 * socket/recvmmsg.c: ... this new file.
18244 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
18245 (sendmmsg): Rename to __sendmmsg, create weak alias and make
18246 definition of __sendmmsg hidden.
18247 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18248 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
18249 Move ENOSYS stub into and include it from...
18250 * socket/sendmmsg.c: ... this new file.
18251 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
18252 (sysdep_routines): Move recvmmsg and sendmmsg...
18253 * socket/Makefile (routines): ... here.
18254 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
18255 (GLIBC_PRIVATE): Add __sendmmsg.
18256 * include/sys/socket.h (__sendmmsg): Add declarations.
18257 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
18258 sendmmsg.
18259
182602012-11-20 Joseph Myers <joseph@codesourcery.com>
18261
18262 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
18263 variable I1 with __attribute__ ((unused)).
18264 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18265
182662012-11-19 Joseph Myers <joseph@codesourcery.com>
18267
18268 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
18269 DUMMY variables with __attribute__ ((unused)).
18270
18271 * bits/byteswap.h: Include <bits/types.h>.
18272 (__bswap_64): Use __uint64_t instead of unsigned long long int.
18273
182742012-11-19 Pino Toscano <toscano.pino@tiscali.it>
18275
18276 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
18277 string_t. Do not manually set errno.
18278 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
18279 length with __strnlen. Make sure to both set errno and return it on
18280 failure.
18281
182822012-11-19 David S. Miller <davem@davemloft.net>
18283
18284 With help from Joseph Myers.
18285 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
18286 very large arguments properly.
18287 * math/libm-test.inc (atan_test): New tests.
18288 (atan2_test): New tests.
18289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18291
182922012-11-19 Joseph Myers <joseph@codesourcery.com>
18293
18294 [BZ #14856]
18295 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
18296 Define to 3.
18297
18298 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
18299 [POSIX] (EADDRNOTAVAIL): Likewise.
18300 [POSIX] (EAFNOSUPPORT): Likewise.
18301 [POSIX] (EALREADY): Likewise.
18302 [POSIX] (ECONNABORTED): Likewise.
18303 [POSIX] (ECONNREFUSED): Likewise.
18304 [POSIX] (ECONNRESET): Likewise.
18305 [POSIX] (EDESTADDRREQ): Likewise.
18306 [POSIX] (EDQUOT): Likewise.
18307 [POSIX] (EHOSTUNREACH): Likewise.
18308 [POSIX] (EIDRM): Likewise.
18309 [POSIX] (EISCONN): Likewise.
18310 [POSIX] (ELOOP): Likewise.
18311 [POSIX] (EMULTIHOP): Likewise.
18312 [POSIX] (ENETDOWN): Likewise.
18313 [POSIX] (ENETUNREACH): Likewise.
18314 [POSIX] (ENOBUFS): Likewise.
18315 [POSIX] (ENODATA): Likewise.
18316 [POSIX] (ENOLINK): Likewise.
18317 [POSIX] (ENOMSG): Likewise.
18318 [POSIX] (ENOPROTOOPT): Likewise.
18319 [POSIX] (ENOSR): Likewise.
18320 [POSIX] (ENOSTR): Likewise.
18321 [POSIX] (ENOTCONN): Likewise.
18322 [POSIX] (ENOTSOCK): Likewise.
18323 [POSIX] (EOPNOTSUPP): Likewise.
18324 [POSIX] (EOVERFLOW): Likewise.
18325 [POSIX] (EPROTO): Likewise.
18326 [POSIX] (EPROTONOSUPPORT): Likewise.
18327 [POSIX] (EPROTOTYPE): Likewise.
18328 [POSIX] (ESTALE): Likewise.
18329 [POSIX] (ETIME): Likewise.
18330 [POSIX] (ETXTBSY): Likewise.
18331 [POSIX] (EWOULDBLOCK): Likewise.
18332 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
18333 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
18334 [POSIX] (SEEK_CUR): Likewise.
18335 [POSIX] (SEEK_END): Likewise.
18336 [POSIX || UNIX98] (mode_t): Do not require.
18337 [POSIX] (off_t): Likewise.
18338 [POSIX] (pid_t): Likewise.
18339 [POSIX] (sys/stat.h): Do not allow header.
18340 [POSIX] (unistd.h): Likewise.
18341 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
18342 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
18343 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
18344 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
18345 require.
18346 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
18347 sigevent): Specify elements.
18348 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
18349 entry.
18350 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
18351 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
18352
18353 * conform/data/cpio.h-data [POSIX]: Disable whole file.
18354 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
18355 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
18356 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
18357 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
18358 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
18359 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
18360 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
18361 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
18362 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
18363 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
18364 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
18365 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
18366 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
18367 Likewise.
18368 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
18369 Likewise.
18370 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
18371 Likewise.
18372 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
18373 Likewise.
18374 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
18375 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
18376 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
18377 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
18378 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
18379 Specify lower bound on value.
18380 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
18381 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
18382 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
18383 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
18384 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
18385 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
18386 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
18387 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
18388 value.
18389 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
18390 as optional.
18391 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
18392 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
18393 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
18394 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
18395 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
18396 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
18397 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
18398 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
18399 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
18400 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
18401 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
18402 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
18403 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
18404 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
18405 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
18406 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
18407 entry.
18408 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
18409 optional.
18410 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
18411 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
18412 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
18413 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
18414 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
18415 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
18416 Likewise.
18417 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
18418 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
18419 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
18420 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
18421 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
18422 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
18423 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
18424 as optional.
18425 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
18426 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
18427 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
18428 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
18429 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
18430 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
18431 specify as optional.
18432 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
18433 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
18434 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
18435 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
18436 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
18437 [XPG3] (NL_LANGMAX): Likewise.
18438 [POSIX || XPG3] (NL_MSGMAX): Likewise.
18439 [POSIX || XPG3] (NL_NMAX): Likewise.
18440 [POSIX || XPG3] (NL_SETMAX): Likewise.
18441 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
18442 [XPG3] (NZERO): Likewise.
18443 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
18444 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
18445 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
18446 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
18447 (REG_ERANGE): Expect.
18448 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
18449 optional-constant.
18450 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
18451 Use (void) in prototype.
18452 [POSIX] (*_t): Allow.
18453 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
18454 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
18455 (WRDE_BADVAL): Expect.
18456
18457 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
18458 expect.
18459 [XPG3 || XPG4] (O_RSYNC): Likewise.
18460 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
18461 Likewise.
18462 [XPG3 || XPG4] (pthread_sigmask): Likewise.
18463 [XPG3 || XPG4] (sigqueue): Likewise.
18464 [XPG3 || XPG4] (sigtimedwait): Likewise.
18465 [XPG3 || XPG4] (sigwaitinfo): Likewise.
18466 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
18467 [XPG3 || XPG4] (vsnprintf): Likewise.
18468 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
18469 Likewise.
18470 [XPG3 || XPG4] (blksize_t): Likewise.
18471 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
18472 Likewise.
18473 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
18474 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18475 [XPG3 || XPG4] (struct itimerspec): Likewise.
18476 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
18477 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
18478 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
18479 [XPG3 || XPG4] (clockid_t): Likewise.
18480 [XPG3 || XPG4] (timer_t): Likewise.
18481 [XPG3 || XPG4] (clock_getres): Likewise.
18482 [XPG3 || XPG4] (clock_gettime): Likewise.
18483 [XPG3 || XPG4] (clock_settime): Likewise.
18484 [XPG3 || XPG4] (nanosleep): Likewise.
18485 [XPG3 || XPG4] (timer_create): Likewise.
18486 [XPG3 || XPG4] (timer_delete): Likewise.
18487 [XPG3 || XPG4] (timer_gettime): Likewise.
18488 [XPG3 || XPG4] (timer_getoverrun): Likewise.
18489 [XPG3 || XPG4] (timer_settime): Likewise.
18490 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
18491 [XPG3 || XPG4] (getlogin_r): Likewise.
18492 [XPG3 || XPG4] (pread): Likewise.
18493 [XPG3 || XPG4] (pthread_atfork): Likewise.
18494 [XPG3 || XPG4] (pwrite): Likewise.
18495
18496 [BZ #14835]
18497 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
18498 <bits/siginfo.h>.
18499
185002012-11-19 Pino Toscano <toscano.pino@tiscali.it>
18501
18502 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
18503 finalizing MALLSTREAM.
18504
18505 * sysdeps/mach/hurd/syncfs.c: New file.
18506
185072012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18508
18509 [BZ #14719]
18510 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18511 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
18512 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
18513 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
18514 (_nss_dns_gethostbyname4_r): Likewise.
18515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
18516 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
18517
185182012-11-19 Peng Haitao <penght@cn.fujitsu.com>
18519
18520 [BZ #13763]
18521 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18522
185232012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
18524
18525 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18526 * elf/cache.c (print_entry): Print ",AArch64" for
18527 FLAG_AARCH64_LIB64
18528
18529 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18530 * elf/cache.c (print_entry): Print ",hard-float" for
18531 FLAG_ARM_LIBHF.
18532
185332012-11-18 David S. Miller <davem@davemloft.net>
18534
18535 With help from Joseph Myers.
18536 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18537 cutoff to 2**-13.
18538 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18539 cutoff to 2**-25.
18540 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18541 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18542 small.
18543 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18544 * math/libm-test.inc (y0_test): New tests.
18545 (y1_test): New tests.
18546 * sysdeps/i386/fpu/libm-test-ulps: Update.
18547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18549
185502012-11-18 Andreas Schwab <schwab@linux-m68k.org>
18551
18552 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18553 64-bit targets.
18554 * configure: Regenerated.
18555
185562012-11-17 David S. Miller <davem@davemloft.net>
18557
18558 [BZ #14811]
18559 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18560 nonzero exponents with absolute value below 0x1p-128 to +/-
18561 0x1p-128.
18562
185632012-11-17 Joseph Myers <joseph@codesourcery.com>
18564
18565 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18566
18567 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18568
18569 * posix/getconf-speclist.c: New file.
18570 * posix/posix-envs.def: Likewise.
18571 * posix/confstr.c (START_ENV_GROUP): New macro.
18572 (END_ENV_GROUP): Likewise.
18573 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18574 (KNOWN_PRESENT_ENV_STRING): Likewise.
18575 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18576 (UNKNOWN_ENVIRONMENT): Likewise.
18577 (confstr): Include posix-envs.def instead of handling
18578 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18579 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18580 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18581 (END_ENV_GROUP): Likewise.
18582 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18583 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18584 (UNKNOWN_ENVIRONMENT): Likewise.
18585 (__sysconf): Include posix-envs.def instead of handling associated
18586 cases directly here.
18587 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18588 preprocessing getconf-speclist.c rather than running getconf or
18589 generating empty file.
18590
185912012-11-16 Pino Toscano <toscano.pino@tiscali.it>
18592
18593 * scripts/check-local-headers.sh: Ignore 'mach' headers.
18594
185952012-11-16 Andrej Lajovic <natrij@gmail.com>
18596
18597 [BZ #14672]
18598 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18599
186002012-11-16 David S. Miller <davem@davemloft.net>
18601
18602 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18603 smaller than LDBL_EPSILON/2.0L, just return xm1.
18604
186052012-11-16 H.J. Lu <hongjiu.lu@intel.com>
18606
18607 * elf/tst-array1.c (init): Set constructor priority to 1000.
18608 (fini): Set destructor priority to 1000.
18609 * elf/tst-array2dep.c: Likewise.
18610
186112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18612
18613 [BZ #11741]
18614 * libio/fileops.c (_IO_new_file_write): Correctly return error.
18615 (_IO_new_file_xsputn): Also return EOF if none of the input
18616 data was written when overflow failed.
18617 * libio/iopadn.c (_IO_padn): Likewise.
18618 * libio/iowpadn.c (_IO_wpadn): Likewise.
18619 * stdio-common/tst-put-error.c: Add copyright notice.
18620 (do_test): Add case for printing padded string.
18621 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18622 _IO_padn returned error.
18623 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18624 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18625 return EOF.
18626
186272012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18628
18629 * libio/libioP.h: Add comment note that the references to C++
18630 bits are now obsolete.
18631
186322012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18633
18634 * math/libm-test.inc (check_complex): Use asprintf.
18635
186362012-11-14 Joseph Myers <joseph@codesourcery.com>
18637
18638 * debug/pcprofiledump.c (print_version): Update copyright year.
18639 * malloc/memusagestat.c (print_version): Likewise.
18640
186412012-11-14 H.J. Lu <hongjiu.lu@intel.com>
18642
18643 [BZ #14831]
18644 * elf/Makefile (tests): Add tst-audit8.
18645 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18646 ($(objpfx)tst-audit8.out): New target.
18647 (tst-audit8-ENV): New variable.
18648 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18649 audit if l_reloc_result is NULL.
18650 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18651 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18652 * elf/tst-audit8.c: New file.
18653
186542012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18655
18656 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18657 * misc/Makefile (CFLAGS-select.c): Define.
18658 * posix/Makefile (CFLAGS-pause.c): Define.
18659
186602012-11-13 David S. Miller <davem@davemloft.net>
18661
18662 * crypt/Makefile: Move test targets after toplevel Rules
18663 inclusion. Grab any necessary sysdep routines when linking.
18664 * crypt/md5.c (md5_process_block): Remove define, we will always
18665 name it __md5_process_block.
18666 (md5_finish_ctx): Update md5_process_block call.
18667 (md5_stream): Likewise.
18668 (md5_process_bytes): Likewise.
18669 (md5_process_block): Rename to __md5_process_block and move to ...
18670 * crypt/md5-block.c: ... here.
18671 * crypt/sha256.c (sha256_process_block): Move to ...
18672 * crypt/sha256-block.c: ... here.
18673 * crypt/sha512.c (sha512_process_block): Move to ...
18674 * crypt/sha512-block.c: ... here.
18675 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18676 path.
18677 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18678 * sysdeps/sparc/sparc64/multiarch/Makefile
18679 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18680 crypt subdir.
18681 (localedef-aux): Add md5 crypto assembler when in locale subdir.
18682 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18683 multiarch changes.
18684 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18685 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18686 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18687 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18688 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18689 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18690 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18691 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18692 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18693 file.
18694 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18695 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18696 file.
18697 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18698
186992012-11-13 Joseph Myers <joseph@codesourcery.com>
18700
18701 * timezone/tzselect.ksh: Update from tzcode git revision
18702 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18703 * timezone/zdump.c: Likewise.
18704 * timezone/zic.c: Likewise.
18705 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18706 in TZVERSION setting, not $(PKGVERSION).
18707 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
18708 REPORT_BUGS_TO settings.
18709
18710 [BZ #14838]
18711 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18712 macro.
18713
187142012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18715
18716 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18717 detection to immediately after _FP_ROUND().
18718 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18719 bits are 0.
18720
187212012-11-11 David S. Miller <davem@davemloft.net>
18722
18723 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18724 inttypes.h
18725 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18726 __close rather than their public counterparts.
18727
187282012-11-10 Joseph Myers <joseph@codesourcery.com>
18729
18730 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18731 file.
18732 [UNIX98] (sem_timedwait): Do not expect.
18733 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18734 [XPG4 || UNIX98] (sockatmark): Do not expect.
18735 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18736 (clock_getcpuclockid): Do not expect.
18737 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18738 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18739 Do not expect.
18740 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18741 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18742 [UNIX98] (vwscanf): Likewise.
18743 [UNIX98] (vswscanf): Likewise.
18744
187452012-11-09 Joseph Myers <joseph@codesourcery.com>
18746
18747 * timezone/version.h: Remove file.
18748 * timezone/README: Do not refer to version.h.
18749 * timezone/Makefile ($(objpfx)zic.o): New dependency on
18750 $(objpfx)version.h.
18751 ($(objpfx)zdump.o): Likewise.
18752 ($(objpfx)version.h): New target.
18753
18754 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18755 2012i.
18756 * timezone/README: Don't mention modification to tzselect.ksh.
18757 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18758 work on unmodified tzselect.ksh. Substitute version numbers in
18759 tzselect.ksh.
18760
18761 * Makefile (format-me): Remove.
18762 (INSTALL): Adjust indentation. Use commands directly instead of
18763 using $(format-me).
18764
18765 * aclocal.m4 (ACX_PKGVERSION): New macro.
18766 (ACX_BUGURL): Likewise.
18767 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18768 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18769 (REPORT_BUGS_TO): Likewise.
18770 * configure: Regenerated.
18771 * config.h.in (PKGVERSION): New macro.
18772 (REPORT_BUGS_TO): Likewise.
18773 * config.make.in (PKGVERSION): New variable.
18774 (PKGVERSION_TEXI): Likewise.
18775 (REPORT_BUGS_TO): Likewise.
18776 (REPORT_BUGS_TEXI): Likewise.
18777 * Makefile (format-me): Use -I$(common-objpfx)manual.
18778 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18779 ($(common-objpfx)manual/%): New target.
18780 (manual/%): Remove target.
18781 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18782 (print_version): Use PKGVERSION.
18783 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18784 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18785 and REPORT_BUGS_TO.
18786 ($(objpfx)xtrace): Likewise.
18787 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18788 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18789 (print_version): Use PKGVERSION.
18790 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18791 (do_version): Use PKGVERSION.
18792 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18793 REPORT_BUGS_TO.
18794 (common-ldd-rewrite): Likewise.
18795 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18796 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18797 (print_version): Use PKGVERSION.
18798 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18799 * elf/pldd.c (argp_program_bug_address): Remove variable.
18800 (more_help): New function.
18801 (argp): Use more_help.
18802 (print_version): Use PKGVERSION.
18803 * elf/sln.c (main): Use PKGVERSION.
18804 (usage): Use REPORT_BUGS_TO.
18805 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18806 (top level): Use PKGVERSION.
18807 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18808 (print_version): Use PKGVERSION.
18809 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18810 (print_version): Use PKGVERSION.
18811 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18812 (print_version): Use PKGVERSION.
18813 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18814 (print_version): Use PKGVERSION.
18815 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18816 (print_version): Use PKGVERSION.
18817 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18818 (print_version): Use PKGVERSION.
18819 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18820 and BUGURL.
18821 ($(objpfx)memusage): Likewise.
18822 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18823 (do_version): Use PKGVERSION.
18824 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18825 (print_version): Use PKGVERSION.
18826 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18827 ($PKGVERSION): New variable.
18828 ($REPORT_BUGS_TO): Likewise.
18829 (usage): Use $REPORT_BUGS_TO.
18830 (top level): Use $PKGVERSION.
18831 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18832 ($(objpfx)pkgvers.texi): New rule.
18833 ($(objpfx)stamp-pkgvers): Likewise.
18834 * manual/install.texi: Include pkgvers.texi.
18835 (--with-pkgversion): Document new configure option.
18836 (--with-bugurl): Likewise.
18837 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18838 than necessarily for this particular distribution. Use
18839 REPORT_BUGS_TO for where to report bugs.
18840 * INSTALL: Regenerated.
18841 * manual/libc.texinfo: Include pkgvers.texi.
18842 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18843 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18844 (print_version): Use PKGVERSION.
18845 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18846 (print_version): Use PKGVERSION.
18847 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18848 (print_version): Use PKGVERSION.
18849 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18850 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18851 macro.
18852 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18853 (print_version): Use PKGVERSION.
18854 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18855 (print_version): Use PKGVERSION.
18856 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18857 and PKGVERSION.
18858
18859 * timezone/checktab.awk: Update from tzcode 2012i.
18860 * timezone/ialloc.c: Likewise.
18861 * timezone/private.h: Likewise.
18862 * timezone/scheck.c: Likewise.
18863 * timezone/tzfile.h: Likewise.
18864 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18865 (TZVERSION): Hardcode tzcode version number.
18866 * timezone/zdump.c: Update from tzcode 2012i.
18867 * timezone/zic.c: Likewise.
18868 * timezone/version.h: New file.
18869 * timezone/README: Describe version.h. Update upstream location.
18870
18871 [BZ #14824]
18872 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18873 (mktemp): Enable declaration.
18874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18878 Likewise.
18879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18880 Likewise.
18881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18882 Likewise.
18883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18884 Likewise.
18885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18886 Likewise.
18887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18888 Likewise.
18889
18890 [BZ #14821]
18891 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18892 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18893 for copies of such integer values.
18894 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18895 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18896
188972012-11-09 Andreas Jaeger <aj@suse.de>
18898
18899 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18900 definitions and declarations that are provided by
18901 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18902
189032012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18904
18905 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18906 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18907 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18908 definition.
18909
189102012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18911
18912 * elf/elf.h: Update comment before AArch64 relocations.
18913
189142012-11-07 David S. Miller <davem@davemloft.net>
18915
18916 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18917 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18918 (__start_context): Declare.
18919 (__makecontext_ret): Delete.
18920 (__makecontext): Hook up __start_context instead of
18921 __makecontext_ret.
18922 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18923 (sysdep_routines): Add __start_context when in stdlib.
18924
189252012-11-07 Joseph Myers <joseph@codesourcery.com>
18926
18927 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18928 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18929 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18930 hardcoded "nm".
18931 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18932 (READELF): New variable. Use it instead of hardcoded "readelf".
18933
189342012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18935
18936 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18937 * sysdeps/x86/Makefile: Here.
18938 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18939 * sysdeps/x86/tst-xmmymm.sh: This.
18940
189412012-11-07 Joseph Myers <joseph@codesourcery.com>
18942
18943 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18944 expectations.
18945 [UNIX98] (pthread_barrier_t): Do not expect.
18946 [UNIX98] (pthread_barrierattr_t): Likewise.
18947 [UNIX98] (pthread_spinlock_t): Likewise.
18948 [UNIX98] (pthread_barrier_destroy): Likewise.
18949 [UNIX98] (pthread_barrier_init): Likewise.
18950 [UNIX98] (pthread_barrier_wait): Likewise.
18951 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18952 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18953 [UNIX98] (pthread_barrierattr_init): Likewise.
18954 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18955 [UNIX98] (pthread_getcpuclockid): Likewise.
18956 [UNIX98] (pthread_mutex_timedlock): Likewise.
18957 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18958 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18959 [UNIX98] (pthread_sigmask): Likewise.
18960 [UNIX98] (pthread_spin_destroy): Likewise.
18961 [UNIX98] (pthread_spin_init): Likewise.
18962 [UNIX98] (pthread_spin_lock): Likewise.
18963 [UNIX98] (pthread_spin_trylock): Likewise.
18964 [UNIX98] (pthread_spin_unlock): Likewise.
18965 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18966 Do not expect.
18967 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18968 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18969 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18970 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18971 [XPG3 || XPG4] (pthread_key_t): Likewise.
18972 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18973 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18974 [XPG3 || XPG4] (pthread_once_t): Likewise.
18975 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18976 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18977 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18978 [XPG3 || XPG4] (pthread_t): Likewise.
18979
18980 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18981 not expect.
18982 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18983
18984 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18985 Change function return type to int.
18986
18987 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18988 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18989 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18990 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18991 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18992 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18993 [!POSIX] (posix_madvise): Likewise.
18994 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18995 && !UNIX98].
18996 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18997 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18998 (mode_t): Likewise.
18999 (posix_mem_offset): Likewise.
19000 (posix_typed_mem_get_info): Likewise.
19001 (posix_typed_mem_open): Likewise.
19002
19003 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19004 Change condition to [XOPEN2K8].
19005
19006 * conform/conformtest.pl: Preprocess allow-header data with -x c
19007 instead of from stdin.
19008 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
19009 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
19010 [C99-based standards] (cerfc): Likewise.
19011 [C99-based standards] (cexp2): Likewise.
19012 [C99-based standards] (cexpm1): Likewise.
19013 [C99-based standards] (clog10): Likewise.
19014 [C99-based standards] (clog1p): Likewise.
19015 [C99-based standards] (clog2): Likewise.
19016 [C99-based standards] (clgamma): Likewise.
19017 [C99-based standards] (ctgamma): Likewise.
19018 [C99-based standards] (cerff): Likewise.
19019 [C99-based standards] (cerfcf): Likewise.
19020 [C99-based standards] (cexp2f): Likewise.
19021 [C99-based standards] (cexpm1f): Likewise.
19022 [C99-based standards] (clog10f): Likewise.
19023 [C99-based standards] (clog1pf): Likewise.
19024 [C99-based standards] (clog2f): Likewise.
19025 [C99-based standards] (clgammaf): Likewise.
19026 [C99-based standards] (ctgammaf): Likewise.
19027 [C99-based standards] (cerfl): Likewise.
19028 [C99-based standards] (cerfcl): Likewise.
19029 [C99-based standards] (cexp2l): Likewise.
19030 [C99-based standards] (cexpm1l): Likewise.
19031 [C99-based standards] (clog10l): Likewise.
19032 [C99-based standards] (clog1pl): Likewise.
19033 [C99-based standards] (clog2l): Likewise.
19034 [C99-based standards] (clgammal): Likewise.
19035 [C99-based standards] (ctgammal): Likewise.
19036 * conform/data/inttypes.h-data [C99-based standards]: Include
19037 stdint.h-data. Remove all expectations for stdint.h contents.
19038 [C99-based standards] (PRI*): Do not allow.
19039 [C99-based standards] (SCN*): Likewise.
19040 [C99-based standards] (*_t): Likewise.
19041 [C99-based-standards] (PRId8): Expect macro.
19042 [C99-based-standards] (PRIi8): Likewise.
19043 [C99-based-standards] (PRIo8): Likewise.
19044 [C99-based-standards] (PRIu8): Likewise.
19045 [C99-based-standards] (PRIx8): Likewise.
19046 [C99-based-standards] (PRIX8): Likewise.
19047 [C99-based-standards] (SCNd8): Likewise.
19048 [C99-based-standards] (SCNi8): Likewise.
19049 [C99-based-standards] (SCNo8): Likewise.
19050 [C99-based-standards] (SCNu8): Likewise.
19051 [C99-based-standards] (SCNx8): Likewise.
19052 [C99-based-standards] (PRIdLEAST8): Likewise.
19053 [C99-based-standards] (PRIiLEAST8): Likewise.
19054 [C99-based-standards] (PRIoLEAST8): Likewise.
19055 [C99-based-standards] (PRIuLEAST8): Likewise.
19056 [C99-based-standards] (PRIxLEAST8): Likewise.
19057 [C99-based-standards] (PRIXLEAST8): Likewise.
19058 [C99-based-standards] (SCNdLEAST8): Likewise.
19059 [C99-based-standards] (SCNiLEAST8): Likewise.
19060 [C99-based-standards] (SCNoLEAST8): Likewise.
19061 [C99-based-standards] (SCNuLEAST8): Likewise.
19062 [C99-based-standards] (SCNxLEAST8): Likewise.
19063 [C99-based-standards] (PRIdFAST8): Likewise.
19064 [C99-based-standards] (PRIiFAST8): Likewise.
19065 [C99-based-standards] (PRIoFAST8): Likewise.
19066 [C99-based-standards] (PRIuFAST8): Likewise.
19067 [C99-based-standards] (PRIxFAST8): Likewise.
19068 [C99-based-standards] (PRIXFAST8): Likewise.
19069 [C99-based-standards] (SCNdFAST8): Likewise.
19070 [C99-based-standards] (SCNiFAST8): Likewise.
19071 [C99-based-standards] (SCNoFAST8): Likewise.
19072 [C99-based-standards] (SCNuFAST8): Likewise.
19073 [C99-based-standards] (SCNxFAST8): Likewise.
19074 [C99-based-standards] (PRId16): Likewise.
19075 [C99-based-standards] (PRIi16): Likewise.
19076 [C99-based-standards] (PRIo16): Likewise.
19077 [C99-based-standards] (PRIu16): Likewise.
19078 [C99-based-standards] (PRIx16): Likewise.
19079 [C99-based-standards] (PRIX16): Likewise.
19080 [C99-based-standards] (SCNd16): Likewise.
19081 [C99-based-standards] (SCNi16): Likewise.
19082 [C99-based-standards] (SCNo16): Likewise.
19083 [C99-based-standards] (SCNu16): Likewise.
19084 [C99-based-standards] (SCNx16): Likewise.
19085 [C99-based-standards] (PRIdLEAST16): Likewise.
19086 [C99-based-standards] (PRIiLEAST16): Likewise.
19087 [C99-based-standards] (PRIoLEAST16): Likewise.
19088 [C99-based-standards] (PRIuLEAST16): Likewise.
19089 [C99-based-standards] (PRIxLEAST16): Likewise.
19090 [C99-based-standards] (PRIXLEAST16): Likewise.
19091 [C99-based-standards] (SCNdLEAST16): Likewise.
19092 [C99-based-standards] (SCNiLEAST16): Likewise.
19093 [C99-based-standards] (SCNoLEAST16): Likewise.
19094 [C99-based-standards] (SCNuLEAST16): Likewise.
19095 [C99-based-standards] (SCNxLEAST16): Likewise.
19096 [C99-based-standards] (PRIdFAST16): Likewise.
19097 [C99-based-standards] (PRIiFAST16): Likewise.
19098 [C99-based-standards] (PRIoFAST16): Likewise.
19099 [C99-based-standards] (PRIuFAST16): Likewise.
19100 [C99-based-standards] (PRIxFAST16): Likewise.
19101 [C99-based-standards] (PRIXFAST16): Likewise.
19102 [C99-based-standards] (SCNdFAST16): Likewise.
19103 [C99-based-standards] (SCNiFAST16): Likewise.
19104 [C99-based-standards] (SCNoFAST16): Likewise.
19105 [C99-based-standards] (SCNuFAST16): Likewise.
19106 [C99-based-standards] (SCNxFAST16): Likewise.
19107 [C99-based-standards] (PRId32): Likewise.
19108 [C99-based-standards] (PRIi32): Likewise.
19109 [C99-based-standards] (PRIo32): Likewise.
19110 [C99-based-standards] (PRIu32): Likewise.
19111 [C99-based-standards] (PRIx32): Likewise.
19112 [C99-based-standards] (PRIX32): Likewise.
19113 [C99-based-standards] (SCNd32): Likewise.
19114 [C99-based-standards] (SCNi32): Likewise.
19115 [C99-based-standards] (SCNo32): Likewise.
19116 [C99-based-standards] (SCNu32): Likewise.
19117 [C99-based-standards] (SCNx32): Likewise.
19118 [C99-based-standards] (PRIdLEAST32): Likewise.
19119 [C99-based-standards] (PRIiLEAST32): Likewise.
19120 [C99-based-standards] (PRIoLEAST32): Likewise.
19121 [C99-based-standards] (PRIuLEAST32): Likewise.
19122 [C99-based-standards] (PRIxLEAST32): Likewise.
19123 [C99-based-standards] (PRIXLEAST32): Likewise.
19124 [C99-based-standards] (SCNdLEAST32): Likewise.
19125 [C99-based-standards] (SCNiLEAST32): Likewise.
19126 [C99-based-standards] (SCNoLEAST32): Likewise.
19127 [C99-based-standards] (SCNuLEAST32): Likewise.
19128 [C99-based-standards] (SCNxLEAST32): Likewise.
19129 [C99-based-standards] (PRIdFAST32): Likewise.
19130 [C99-based-standards] (PRIiFAST32): Likewise.
19131 [C99-based-standards] (PRIoFAST32): Likewise.
19132 [C99-based-standards] (PRIuFAST32): Likewise.
19133 [C99-based-standards] (PRIxFAST32): Likewise.
19134 [C99-based-standards] (PRIXFAST32): Likewise.
19135 [C99-based-standards] (SCNdFAST32): Likewise.
19136 [C99-based-standards] (SCNiFAST32): Likewise.
19137 [C99-based-standards] (SCNoFAST32): Likewise.
19138 [C99-based-standards] (SCNuFAST32): Likewise.
19139 [C99-based-standards] (SCNxFAST32): Likewise.
19140 [C99-based-standards] (PRId64): Likewise.
19141 [C99-based-standards] (PRIi64): Likewise.
19142 [C99-based-standards] (PRIo64): Likewise.
19143 [C99-based-standards] (PRIu64): Likewise.
19144 [C99-based-standards] (PRIx64): Likewise.
19145 [C99-based-standards] (PRIX64): Likewise.
19146 [C99-based-standards] (SCNd64): Likewise.
19147 [C99-based-standards] (SCNi64): Likewise.
19148 [C99-based-standards] (SCNo64): Likewise.
19149 [C99-based-standards] (SCNu64): Likewise.
19150 [C99-based-standards] (SCNx64): Likewise.
19151 [C99-based-standards] (PRIdLEAST64): Likewise.
19152 [C99-based-standards] (PRIiLEAST64): Likewise.
19153 [C99-based-standards] (PRIoLEAST64): Likewise.
19154 [C99-based-standards] (PRIuLEAST64): Likewise.
19155 [C99-based-standards] (PRIxLEAST64): Likewise.
19156 [C99-based-standards] (PRIXLEAST64): Likewise.
19157 [C99-based-standards] (SCNdLEAST64): Likewise.
19158 [C99-based-standards] (SCNiLEAST64): Likewise.
19159 [C99-based-standards] (SCNoLEAST64): Likewise.
19160 [C99-based-standards] (SCNuLEAST64): Likewise.
19161 [C99-based-standards] (SCNxLEAST64): Likewise.
19162 [C99-based-standards] (PRIdFAST64): Likewise.
19163 [C99-based-standards] (PRIiFAST64): Likewise.
19164 [C99-based-standards] (PRIoFAST64): Likewise.
19165 [C99-based-standards] (PRIuFAST64): Likewise.
19166 [C99-based-standards] (PRIxFAST64): Likewise.
19167 [C99-based-standards] (PRIXFAST64): Likewise.
19168 [C99-based-standards] (SCNdFAST64): Likewise.
19169 [C99-based-standards] (SCNiFAST64): Likewise.
19170 [C99-based-standards] (SCNoFAST64): Likewise.
19171 [C99-based-standards] (SCNuFAST64): Likewise.
19172 [C99-based-standards] (SCNxFAST64): Likewise.
19173 [C99-based-standards] (PRIdMAX): Likewise.
19174 [C99-based-standards] (PRIiMAX): Likewise.
19175 [C99-based-standards] (PRIoMAX): Likewise.
19176 [C99-based-standards] (PRIuMAX): Likewise.
19177 [C99-based-standards] (PRIxMAX): Likewise.
19178 [C99-based-standards] (PRIXMAX): Likewise.
19179 [C99-based-standards] (SCNdMAX): Likewise.
19180 [C99-based-standards] (SCNiMAX): Likewise.
19181 [C99-based-standards] (SCNoMAX): Likewise.
19182 [C99-based-standards] (SCNuMAX): Likewise.
19183 [C99-based-standards] (SCNxMAX): Likewise.
19184 [C99-based-standards] (PRIdPTR): Likewise.
19185 [C99-based-standards] (PRIiPTR): Likewise.
19186 [C99-based-standards] (PRIoPTR): Likewise.
19187 [C99-based-standards] (PRIuPTR): Likewise.
19188 [C99-based-standards] (PRIxPTR): Likewise.
19189 [C99-based-standards] (PRIXPTR): Likewise.
19190 [C99-based-standards] (SCNdPTR): Likewise.
19191 [C99-based-standards] (SCNiPTR): Likewise.
19192 [C99-based-standards] (SCNoPTR): Likewise.
19193 [C99-based-standards] (SCNuPTR): Likewise.
19194 [C99-based-standards] (SCNxPTR): Likewise.
19195 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
19196 allow.
19197 * conform/data/stdint.h-data: Update comments to clarify
19198 requirements.
19199 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
19200 type.
19201 [C99-based standards] (INT8_MAX): Likewise.
19202 [C99-based standards] (INT16_MIN): Likewise.
19203 [C99-based standards] (INT16_MAX): Likewise.
19204 [C99-based standards] (INT32_MIN): Likewise.
19205 [C99-based standards] (INT32_MAX): Likewise.
19206 [C99-based standards] (INT64_MIN): Likewise.
19207 [C99-based standards] (INT64_MAX): Likewise.
19208 [C99-based standards] (UINT8_MAX): Likewise.
19209 [C99-based standards] (UINT16_MAX): Likewise.
19210 [C99-based standards] (UINT32_MAX): Likewise.
19211 [C99-based standards] (UINT64_MAX): Likewise.
19212 [C99-based standards] (INT_LEAST8_MIN): Likewise.
19213 [C99-based standards] (INT_LEAST8_MAX): Likewise.
19214 [C99-based standards] (INT_LEAST16_MIN): Likewise.
19215 [C99-based standards] (INT_LEAST16_MAX): Likewise.
19216 [C99-based standards] (INT_LEAST32_MIN): Likewise.
19217 [C99-based standards] (INT_LEAST32_MAX): Likewise.
19218 [C99-based standards] (INT_LEAST64_MIN): Likewise.
19219 [C99-based standards] (INT_LEAST64_MAX): Likewise.
19220 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
19221 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
19222 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
19223 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
19224 [C99-based standards] (INT_FAST8_MIN): Likewise.
19225 [C99-based standards] (INT_FAST8_MAX): Likewise.
19226 [C99-based standards] (INT_FAST16_MIN): Likewise.
19227 [C99-based standards] (INT_FAST16_MAX): Likewise.
19228 [C99-based standards] (INT_FAST32_MIN): Likewise.
19229 [C99-based standards] (INT_FAST32_MAX): Likewise.
19230 [C99-based standards] (INT_FAST64_MIN): Likewise.
19231 [C99-based standards] (INT_FAST64_MAX): Likewise.
19232 [C99-based standards] (UINT_FAST8_MAX): Likewise.
19233 [C99-based standards] (UINT_FAST16_MAX): Likewise.
19234 [C99-based standards] (UINT_FAST32_MAX): Likewise.
19235 [C99-based standards] (UINT_FAST64_MAX): Likewise.
19236 [C99-based standards] (INTPTR_MIN): Likewise.
19237 [C99-based standards] (INTPTR_MAX): Likewise.
19238 [C99-based standards] (UINTPTR_MAX): Likewise.
19239 [C99-based standards] (INTMAX_MIN): Likewise.
19240 [C99-based standards] (INTMAX_MAX): Likewise.
19241 [C99-based standards] (UINTMAX_MAX): Likewise.
19242 [C99-based standards] (PTRDIFF_MIN): Likewise.
19243 [C99-based standards] (PTRDIFF_MAX): Likewise.
19244 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
19245 [C99-based standards] (SIZE_MAX): Likewise.
19246 [C99-based standards] (WCHAR_MAX): Likewise.
19247 [C99-based standards] (WINT_MAX): Likewise.
19248 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
19249 constraint on value.
19250 [C99-based standards] (WCHAR_MIN): Likewise.
19251 [C99-based standards] (WINT_MIN): Likewise.
19252 [C99-based standards] (*_t): Allow.
19253 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
19254 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
19255 Include math.h-data and complex.h-data. Remove all expectations
19256 of math.h and complex.h contents.
19257 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
19258 at end of line.
19259 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
19260 (struct tm): Expect tag.
19261 [C99-based-standards] (wcstof): Expect function.
19262 [C99-based-standards] (wcstold): Likewise.
19263 [C99-based-standards] (wcstoll): Likewise.
19264 [C99-based-standards] (wcstoull): Likewise.
19265 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
19266 macro-int-constant. Specify type.
19267 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
19268 constraint on value.
19269 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
19270 Specify type.
19271 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
19272 Specify value.
19273 [ISO C standards]: Do not allow headers.
19274 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
19275 wcs[abcdefghijklmnopqrstuvwxyz]*.
19276 [ISO C standards] (*_t): Do not allow.
19277 * conform/data/wctype.h-data [C99-based standards] (iswblank):
19278 Expect function.
19279 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
19280 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
19281 Specify type.
19282 [ISO C standards]: Do not allow headers.
19283 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
19284 is[abcdefghijklmnopqrstuvwxyz]*.
19285 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
19286 to[abcdefghijklmnopqrstuvwxyz]*.
19287 [ISO C standards] (*_t): Do not allow.
19288 * conform/data/stdalign.h-data: New file.
19289 * conform/data/stdbool.h-data: Likewise.
19290 * conform/data/stdnoreturn.h-data: Likewise.
19291
192922012-11-07 Roland McGrath <roland@hack.frob.com>
19293
19294 [BZ #14815]
19295 * manual/filesys.texi (Directory Entries): Typo fix.
19296 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
19297
192982012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19299
19300 * elf/elf.h (EM_AARCH64): New macro.
19301 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
19302 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
19303 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
19304 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
19305 (R_AARCH64_TLSDESC): Likewise.
19306 (NT_ARM_TLS): Likewise.
19307 (NT_ARM_HW_BREAK): Likewise.
19308 (NT_ARM_HW_WATCH): Likewise.
19309
193102012-11-07 Joseph Myers <joseph@codesourcery.com>
19311
19312 [BZ #14811]
19313 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
19314 (__ieee754_powl): Saturate nonzero exponents with absolute value
19315 below 0x1p-79 to +/- 0x1p-79.
19316 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
19317 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
19318 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
19319 nonzero exponents with absolute value below 0x1p-32 to +/-
19320 0x1p-32.
19321 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
19322 (__ieee754_powl): Saturate nonzero exponents with absolute value
19323 below 0x1p-79 to +/- 0x1p-79.
19324 * math/libm-test.inc (pow_test): Add more tests.
19325
193262012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19327
19328 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
19329 _dl_s390_cap_flags with kernel. Increase string length.
19330 (_dl_s390_platforms): Add z196 and zEC12.
19331
193322012-11-07 Joseph Myers <joseph@codesourcery.com>
19333
19334 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
19335 Change XOPEN21K to XOPEN2K.
19336
193372012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
19338
19339 * string/memmove.c: Use memcpy when possible.
19340
193412012-11-06 Andreas Jaeger <aj@suse.de>
19342
19343 * po/eo.po: Update from translation team.
19344
193452012-11-06 Joseph Myers <joseph@codesourcery.com>
19346
19347 [BZ #14793]
19348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
19349 exponent and small x and y exponents, scale x or y up. Increase
19350 by 2 the exponent used in scaling up.
19351 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19352 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19353 * math/libm-test.inc (fma_test): Add more tests.
19354 (fma_test_towardzero): Likewise.
19355 (fma_test_downward): Likewise.
19356 (fma_test_upward): Likewise.
19357
193582012-11-05 Joseph Myers <joseph@codesourcery.com>
19359
19360 [BZ #14805]
19361 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
19362 fenv_t *.
19363
19364 [BZ #14801]
19365 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
19366 namespace for names of struct fields.
19367 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
19368 fenv_t fields.
19369 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19370 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
19371
193722012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19373
19374 [BZ #3665]
19375 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
19376
193772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
19378
19379 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
19380 PTR_DEMANGLE.
19381
19382 [BZ #5246]
19383 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
19384 PTR_DEMANGLE.
19385
193862012-11-04 Joseph Myers <joseph@codesourcery.com>
19387
19388 [BZ #14797]
19389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
19390 definitely overflow as x * y not x * y + z.
19391 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19392 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19393 * math/libm-test.inc (fma_test): Add more tests.
19394 (fma_test_towardzero): Likewise.
19395 (fma_test_downward): Likewise.
19396 (fma_test_upward): Likewise.
19397
193982012-11-04 Thomas Schwinge <thomas@codesourcery.com>
19399
19400 [BZ #157]
19401
19402 * include/stub-tag.h: Remove file.
19403 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
19404 '#include' of it.
19405 * manual/maint.texi (Porting): Don't reference it.
19406 * Makerules ($(objpfx)stubs): Likewise.
19407 * dirent/closedir.c: Don't include <stub-tag.h>.
19408 * dirent/dirfd.c: Likewise.
19409 * dirent/fdopendir.c: Likewise.
19410 * dirent/getdents.c: Likewise.
19411 * dirent/getdents64.c: Likewise.
19412 * dirent/opendir.c: Likewise.
19413 * dirent/readdir.c: Likewise.
19414 * dirent/readdir64.c: Likewise.
19415 * dirent/readdir64_r.c: Likewise.
19416 * dirent/readdir_r.c: Likewise.
19417 * dirent/rewinddir.c: Likewise.
19418 * dirent/seekdir.c: Likewise.
19419 * dirent/telldir.c: Likewise.
19420 * gmon/profil.c: Likewise.
19421 * grp/setgroups.c: Likewise.
19422 * inet/if_index.c: Likewise.
19423 * io/access.c: Likewise.
19424 * io/chdir.c: Likewise.
19425 * io/chmod.c: Likewise.
19426 * io/chown.c: Likewise.
19427 * io/close.c: Likewise.
19428 * io/dup.c: Likewise.
19429 * io/dup2.c: Likewise.
19430 * io/dup3.c: Likewise.
19431 * io/euidaccess.c: Likewise.
19432 * io/faccessat.c: Likewise.
19433 * io/fchdir.c: Likewise.
19434 * io/fchmod.c: Likewise.
19435 * io/fchmodat.c: Likewise.
19436 * io/fchown.c: Likewise.
19437 * io/fchownat.c: Likewise.
19438 * io/fcntl.c: Likewise.
19439 * io/flock.c: Likewise.
19440 * io/fstatfs.c: Likewise.
19441 * io/fstatfs64.c: Likewise.
19442 * io/fstatvfs.c: Likewise.
19443 * io/fstatvfs64.c: Likewise.
19444 * io/futimens.c: Likewise.
19445 * io/fxstat.c: Likewise.
19446 * io/fxstat64.c: Likewise.
19447 * io/fxstatat.c: Likewise.
19448 * io/fxstatat64.c: Likewise.
19449 * io/getcwd.c: Likewise.
19450 * io/isatty.c: Likewise.
19451 * io/lchmod.c: Likewise.
19452 * io/lchown.c: Likewise.
19453 * io/link.c: Likewise.
19454 * io/linkat.c: Likewise.
19455 * io/lseek.c: Likewise.
19456 * io/lseek64.c: Likewise.
19457 * io/lxstat64.c: Likewise.
19458 * io/mkdir.c: Likewise.
19459 * io/mkdirat.c: Likewise.
19460 * io/mkfifo.c: Likewise.
19461 * io/mkfifoat.c: Likewise.
19462 * io/open.c: Likewise.
19463 * io/open64.c: Likewise.
19464 * io/openat.c: Likewise.
19465 * io/openat64.c: Likewise.
19466 * io/pipe.c: Likewise.
19467 * io/pipe2.c: Likewise.
19468 * io/poll.c: Likewise.
19469 * io/posix_fadvise.c: Likewise.
19470 * io/posix_fadvise64.c: Likewise.
19471 * io/posix_fallocate.c: Likewise.
19472 * io/posix_fallocate64.c: Likewise.
19473 * io/read.c: Likewise.
19474 * io/readlink.c: Likewise.
19475 * io/readlinkat.c: Likewise.
19476 * io/rmdir.c: Likewise.
19477 * io/sendfile.c: Likewise.
19478 * io/sendfile64.c: Likewise.
19479 * io/statfs.c: Likewise.
19480 * io/statfs64.c: Likewise.
19481 * io/statvfs.c: Likewise.
19482 * io/statvfs64.c: Likewise.
19483 * io/symlink.c: Likewise.
19484 * io/symlinkat.c: Likewise.
19485 * io/ttyname.c: Likewise.
19486 * io/ttyname_r.c: Likewise.
19487 * io/umask.c: Likewise.
19488 * io/unlink.c: Likewise.
19489 * io/unlinkat.c: Likewise.
19490 * io/utime.c: Likewise.
19491 * io/utimensat.c: Likewise.
19492 * io/write.c: Likewise.
19493 * io/xmknod.c: Likewise.
19494 * io/xmknodat.c: Likewise.
19495 * io/xstat.c: Likewise.
19496 * io/xstat64.c: Likewise.
19497 * login/getpt.c: Likewise.
19498 * login/grantpt.c: Likewise.
19499 * login/unlockpt.c: Likewise.
19500 * math/e_acoshl.c: Likewise.
19501 * math/e_acosl.c: Likewise.
19502 * math/e_asinl.c: Likewise.
19503 * math/e_atan2l.c: Likewise.
19504 * math/e_atanhl.c: Likewise.
19505 * math/e_coshl.c: Likewise.
19506 * math/e_expl.c: Likewise.
19507 * math/e_fmodl.c: Likewise.
19508 * math/e_gammal_r.c: Likewise.
19509 * math/e_hypotl.c: Likewise.
19510 * math/e_j0l.c: Likewise.
19511 * math/e_j1l.c: Likewise.
19512 * math/e_jnl.c: Likewise.
19513 * math/e_lgammal_r.c: Likewise.
19514 * math/e_log10l.c: Likewise.
19515 * math/e_log2l.c: Likewise.
19516 * math/e_logl.c: Likewise.
19517 * math/e_powl.c: Likewise.
19518 * math/e_rem_pio2l.c: Likewise.
19519 * math/e_sinhl.c: Likewise.
19520 * math/e_sqrtl.c: Likewise.
19521 * math/fclrexcpt.c: Likewise.
19522 * math/fedisblxcpt.c: Likewise.
19523 * math/feenablxcpt.c: Likewise.
19524 * math/fegetenv.c: Likewise.
19525 * math/fegetexcept.c: Likewise.
19526 * math/fegetround.c: Likewise.
19527 * math/feholdexcpt.c: Likewise.
19528 * math/fesetenv.c: Likewise.
19529 * math/fesetround.c: Likewise.
19530 * math/feupdateenv.c: Likewise.
19531 * math/fgetexcptflg.c: Likewise.
19532 * math/fraiseexcpt.c: Likewise.
19533 * math/fsetexcptflg.c: Likewise.
19534 * math/ftestexcept.c: Likewise.
19535 * math/k_cosl.c: Likewise.
19536 * math/k_rem_pio2l.c: Likewise.
19537 * math/k_sinl.c: Likewise.
19538 * math/k_tanl.c: Likewise.
19539 * math/s_asinhl.c: Likewise.
19540 * math/s_atanl.c: Likewise.
19541 * math/s_cbrtl.c: Likewise.
19542 * math/s_erfl.c: Likewise.
19543 * math/s_expm1l.c: Likewise.
19544 * math/s_log1pl.c: Likewise.
19545 * math/s_tanhl.c: Likewise.
19546 * misc/acct.c: Likewise.
19547 * misc/brk.c: Likewise.
19548 * misc/chflags.c: Likewise.
19549 * misc/chroot.c: Likewise.
19550 * misc/fchflags.c: Likewise.
19551 * misc/fgetxattr.c: Likewise.
19552 * misc/flistxattr.c: Likewise.
19553 * misc/fremovexattr.c: Likewise.
19554 * misc/fsetxattr.c: Likewise.
19555 * misc/fsync.c: Likewise.
19556 * misc/ftruncate.c: Likewise.
19557 * misc/futimes.c: Likewise.
19558 * misc/futimesat.c: Likewise.
19559 * misc/getdomain.c: Likewise.
19560 * misc/getdtsz.c: Likewise.
19561 * misc/gethostid.c: Likewise.
19562 * misc/gethostname.c: Likewise.
19563 * misc/getloadavg.c: Likewise.
19564 * misc/getpagesize.c: Likewise.
19565 * misc/getsysstats.c: Likewise.
19566 * misc/getxattr.c: Likewise.
19567 * misc/gtty.c: Likewise.
19568 * misc/ioctl.c: Likewise.
19569 * misc/lgetxattr.c: Likewise.
19570 * misc/listxattr.c: Likewise.
19571 * misc/llistxattr.c: Likewise.
19572 * misc/lremovexattr.c: Likewise.
19573 * misc/lsetxattr.c: Likewise.
19574 * misc/lutimes.c: Likewise.
19575 * misc/madvise.c: Likewise.
19576 * misc/mincore.c: Likewise.
19577 * misc/mlock.c: Likewise.
19578 * misc/mlockall.c: Likewise.
19579 * misc/mmap.c: Likewise.
19580 * misc/mprotect.c: Likewise.
19581 * misc/msync.c: Likewise.
19582 * misc/munlock.c: Likewise.
19583 * misc/munlockall.c: Likewise.
19584 * misc/munmap.c: Likewise.
19585 * misc/preadv.c: Likewise.
19586 * misc/preadv64.c: Likewise.
19587 * misc/ptrace.c: Likewise.
19588 * misc/pwritev.c: Likewise.
19589 * misc/pwritev64.c: Likewise.
19590 * misc/readv.c: Likewise.
19591 * misc/reboot.c: Likewise.
19592 * misc/remap_file_pages.c: Likewise.
19593 * misc/removexattr.c: Likewise.
19594 * misc/revoke.c: Likewise.
19595 * misc/select.c: Likewise.
19596 * misc/setdomain.c: Likewise.
19597 * misc/setegid.c: Likewise.
19598 * misc/seteuid.c: Likewise.
19599 * misc/sethostid.c: Likewise.
19600 * misc/sethostname.c: Likewise.
19601 * misc/setregid.c: Likewise.
19602 * misc/setreuid.c: Likewise.
19603 * misc/setxattr.c: Likewise.
19604 * misc/sstk.c: Likewise.
19605 * misc/stty.c: Likewise.
19606 * misc/swapoff.c: Likewise.
19607 * misc/swapon.c: Likewise.
19608 * misc/sync.c: Likewise.
19609 * misc/syncfs.c: Likewise.
19610 * misc/syscall.c: Likewise.
19611 * misc/truncate.c: Likewise.
19612 * misc/ualarm.c: Likewise.
19613 * misc/usleep.c: Likewise.
19614 * misc/ustat.c: Likewise.
19615 * misc/utimes.c: Likewise.
19616 * misc/vhangup.c: Likewise.
19617 * misc/writev.c: Likewise.
19618 * posix/_exit.c: Likewise.
19619 * posix/alarm.c: Likewise.
19620 * posix/execve.c: Likewise.
19621 * posix/fexecve.c: Likewise.
19622 * posix/fork.c: Likewise.
19623 * posix/fpathconf.c: Likewise.
19624 * posix/getaddrinfo.c: Likewise.
19625 * posix/getegid.c: Likewise.
19626 * posix/geteuid.c: Likewise.
19627 * posix/getgid.c: Likewise.
19628 * posix/getgroups.c: Likewise.
19629 * posix/getlogin.c: Likewise.
19630 * posix/getlogin_r.c: Likewise.
19631 * posix/getpgid.c: Likewise.
19632 * posix/getpid.c: Likewise.
19633 * posix/getppid.c: Likewise.
19634 * posix/getresgid.c: Likewise.
19635 * posix/getresuid.c: Likewise.
19636 * posix/getsid.c: Likewise.
19637 * posix/getuid.c: Likewise.
19638 * posix/glob64.c: Likewise.
19639 * posix/nanosleep.c: Likewise.
19640 * posix/pathconf.c: Likewise.
19641 * posix/pause.c: Likewise.
19642 * posix/posix_madvise.c: Likewise.
19643 * posix/pread.c: Likewise.
19644 * posix/pread64.c: Likewise.
19645 * posix/pwrite.c: Likewise.
19646 * posix/pwrite64.c: Likewise.
19647 * posix/sched_getaffinity.c: Likewise.
19648 * posix/sched_getp.c: Likewise.
19649 * posix/sched_gets.c: Likewise.
19650 * posix/sched_primax.c: Likewise.
19651 * posix/sched_primin.c: Likewise.
19652 * posix/sched_rr_gi.c: Likewise.
19653 * posix/sched_setaffinity.c: Likewise.
19654 * posix/sched_setp.c: Likewise.
19655 * posix/sched_sets.c: Likewise.
19656 * posix/sched_yield.c: Likewise.
19657 * posix/setgid.c: Likewise.
19658 * posix/setlogin.c: Likewise.
19659 * posix/setpgid.c: Likewise.
19660 * posix/setresgid.c: Likewise.
19661 * posix/setresuid.c: Likewise.
19662 * posix/setsid.c: Likewise.
19663 * posix/setuid.c: Likewise.
19664 * posix/sleep.c: Likewise.
19665 * posix/spawni.c: Likewise.
19666 * posix/sysconf.c: Likewise.
19667 * posix/times.c: Likewise.
19668 * posix/wait.c: Likewise.
19669 * posix/wait3.c: Likewise.
19670 * posix/wait4.c: Likewise.
19671 * posix/waitpid.c: Likewise.
19672 * resolv/gai_sigqueue.c: Likewise.
19673 * resource/getpriority.c: Likewise.
19674 * resource/getrlimit.c: Likewise.
19675 * resource/getrusage.c: Likewise.
19676 * resource/nice.c: Likewise.
19677 * resource/setpriority.c: Likewise.
19678 * resource/setrlimit.c: Likewise.
19679 * resource/ulimit.c: Likewise.
19680 * rt/aio_cancel.c: Likewise.
19681 * rt/aio_fsync.c: Likewise.
19682 * rt/aio_read.c: Likewise.
19683 * rt/aio_sigqueue.c: Likewise.
19684 * rt/aio_suspend.c: Likewise.
19685 * rt/aio_write.c: Likewise.
19686 * rt/clock_getres.c: Likewise.
19687 * rt/clock_gettime.c: Likewise.
19688 * rt/clock_nanosleep.c: Likewise.
19689 * rt/clock_settime.c: Likewise.
19690 * rt/lio_listio.c: Likewise.
19691 * rt/mq_close.c: Likewise.
19692 * rt/mq_getattr.c: Likewise.
19693 * rt/mq_notify.c: Likewise.
19694 * rt/mq_open.c: Likewise.
19695 * rt/mq_receive.c: Likewise.
19696 * rt/mq_send.c: Likewise.
19697 * rt/mq_setattr.c: Likewise.
19698 * rt/mq_timedreceive.c: Likewise.
19699 * rt/mq_timedsend.c: Likewise.
19700 * rt/mq_unlink.c: Likewise.
19701 * rt/shm_open.c: Likewise.
19702 * rt/shm_unlink.c: Likewise.
19703 * rt/timer_create.c: Likewise.
19704 * rt/timer_delete.c: Likewise.
19705 * rt/timer_getoverr.c: Likewise.
19706 * rt/timer_gettime.c: Likewise.
19707 * rt/timer_settime.c: Likewise.
19708 * setjmp/__longjmp.c: Likewise.
19709 * setjmp/setjmp.c: Likewise.
19710 * signal/kill.c: Likewise.
19711 * signal/killpg.c: Likewise.
19712 * signal/raise.c: Likewise.
19713 * signal/sigaction.c: Likewise.
19714 * signal/sigaltstack.c: Likewise.
19715 * signal/sigblock.c: Likewise.
19716 * signal/sigignore.c: Likewise.
19717 * signal/sigintr.c: Likewise.
19718 * signal/signal.c: Likewise.
19719 * signal/sigpause.c: Likewise.
19720 * signal/sigpending.c: Likewise.
19721 * signal/sigqueue.c: Likewise.
19722 * signal/sigreturn.c: Likewise.
19723 * signal/sigset.c: Likewise.
19724 * signal/sigsetmask.c: Likewise.
19725 * signal/sigstack.c: Likewise.
19726 * signal/sigsuspend.c: Likewise.
19727 * signal/sigtimedwait.c: Likewise.
19728 * signal/sigvec.c: Likewise.
19729 * signal/sigwait.c: Likewise.
19730 * signal/sigwaitinfo.c: Likewise.
19731 * signal/sysv_signal.c: Likewise.
19732 * socket/accept.c: Likewise.
19733 * socket/accept4.c: Likewise.
19734 * socket/bind.c: Likewise.
19735 * socket/connect.c: Likewise.
19736 * socket/getpeername.c: Likewise.
19737 * socket/getsockname.c: Likewise.
19738 * socket/getsockopt.c: Likewise.
19739 * socket/isfdtype.c: Likewise.
19740 * socket/listen.c: Likewise.
19741 * socket/recv.c: Likewise.
19742 * socket/recvfrom.c: Likewise.
19743 * socket/recvmsg.c: Likewise.
19744 * socket/send.c: Likewise.
19745 * socket/sendmsg.c: Likewise.
19746 * socket/sendto.c: Likewise.
19747 * socket/setsockopt.c: Likewise.
19748 * socket/shutdown.c: Likewise.
19749 * socket/sockatmark.c: Likewise.
19750 * socket/socket.c: Likewise.
19751 * socket/socketpair.c: Likewise.
19752 * stdio-common/ctermid.c: Likewise.
19753 * stdio-common/cuserid.c: Likewise.
19754 * stdio-common/remove.c: Likewise.
19755 * stdio-common/rename.c: Likewise.
19756 * stdio-common/renameat.c: Likewise.
19757 * stdio-common/tempname.c: Likewise.
19758 * stdlib/getcontext.c: Likewise.
19759 * stdlib/makecontext.c: Likewise.
19760 * stdlib/setcontext.c: Likewise.
19761 * stdlib/swapcontext.c: Likewise.
19762 * stdlib/system.c: Likewise.
19763 * streams/fattach.c: Likewise.
19764 * streams/fdetach.c: Likewise.
19765 * streams/getmsg.c: Likewise.
19766 * streams/getpmsg.c: Likewise.
19767 * streams/putmsg.c: Likewise.
19768 * streams/putpmsg.c: Likewise.
19769 * sysdeps/unix/bsd/getpt.c: Likewise.
19770 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19771 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19772 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19774 Likewise.
19775 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19776 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19777 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19778 * sysvipc/msgctl.c: Likewise.
19779 * sysvipc/msgget.c: Likewise.
19780 * sysvipc/msgrcv.c: Likewise.
19781 * sysvipc/msgsnd.c: Likewise.
19782 * sysvipc/semctl.c: Likewise.
19783 * sysvipc/semget.c: Likewise.
19784 * sysvipc/semop.c: Likewise.
19785 * sysvipc/semtimedop.c: Likewise.
19786 * sysvipc/shmat.c: Likewise.
19787 * sysvipc/shmctl.c: Likewise.
19788 * sysvipc/shmdt.c: Likewise.
19789 * sysvipc/shmget.c: Likewise.
19790 * termios/tcdrain.c: Likewise.
19791 * termios/tcflow.c: Likewise.
19792 * termios/tcflush.c: Likewise.
19793 * termios/tcgetattr.c: Likewise.
19794 * termios/tcgetpgrp.c: Likewise.
19795 * termios/tcsendbrk.c: Likewise.
19796 * termios/tcsetattr.c: Likewise.
19797 * termios/tcsetpgrp.c: Likewise.
19798 * time/adjtime.c: Likewise.
19799 * time/clock.c: Likewise.
19800 * time/getitimer.c: Likewise.
19801 * time/gettimeofday.c: Likewise.
19802 * time/setitimer.c: Likewise.
19803 * time/settimeofday.c: Likewise.
19804 * time/stime.c: Likewise.
19805 * time/time.c: Likewise.
19806
198072012-11-04 Pino Toscano <toscano.pino@tiscali.it>
19808
19809 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19810 /usr/old/bin.
19811
19812 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19813 instead of spaces.
19814 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19815
198162012-11-03 Joseph Myers <joseph@codesourcery.com>
19817
19818 [BZ #14796]
19819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19820 FE_TONEAREST before applying Dekker multiplication and Knuth
19821 addition. Clear inexact exceptions and check for exact zero
19822 results afterwards.
19823 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19824 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19825 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19826 * math/libm-test.inc (fma_test): Add more tests.
19827 (fma_test_towardzero): Likewise.
19828 (fma_test_downward): Likewise.
19829 (fma_test_upward): Likewise.
19830 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19831 function.
19832 (libc_fesetround): New macro.
19833 (libc_fesetroundf): Likewise.
19834 (libc_fesetroundl): Likewise.
19835 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19836 function.
19837 (libc_fesetround_387): Likewise.
19838 (libc_fesetroundf): New macro.
19839 (libc_fesetround): Likewise.
19840 (libc_fesetroundl): Likewise.
19841 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19842 function.
19843 (libc_fesetroundf): New macro.
19844 (libc_fesetround): Likewise.
19845 (libc_fesetroundl): Likewise.
19846 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19847 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19848 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19849 libm_hidden_ver.
19850 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19851 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19852 libm_hidden_def.
19853 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19854 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19855 libm_hidden_ver.
19856 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19857 libm_hidden_def.
19858
19859 [BZ #3439]
19860 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19861 integer constant usable in #if and use that to give value to enum
19862 constant.
19863 (FE_DIVBYZERO): Likewise.
19864 (FE_UNDERFLOW): Likewise.
19865 (FE_OVERFLOW): Likewise.
19866 (FE_INVALID): Likewise.
19867 (FE_INVALID_SNAN): Likewise.
19868 (FE_INVALID_ISI): Likewise.
19869 (FE_INVALID_IDI): Likewise.
19870 (FE_INVALID_ZDZ): Likewise.
19871 (FE_INVALID_IMZ): Likewise.
19872 (FE_INVALID_COMPARE): Likewise.
19873 (FE_INVALID_SOFTWARE): Likewise.
19874 (FE_INVALID_SQRT): Likewise.
19875 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19876 (FE_TONEAREST): Likewise.
19877 (FE_TOWARDZERO): Likewise.
19878 (FE_UPWARD): Likewise.
19879 (FE_DOWNWARD): Likewise.
19880 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19881 (FE_DIVBYZERO): Likewise.
19882 (FE_OVERFLOW): Likewise.
19883 (FE_UNDERFLOW): Likewise.
19884 (FE_INEXACT): Likewise.
19885 (FE_TONEAREST): Likewise.
19886 (FE_DOWNWARD): Likewise.
19887 (FE_UPWARD): Likewise.
19888 (FE_TOWARDZERO): Likewise.
19889 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19890 (FE_UNDERFLOW): Likewise.
19891 (FE_OVERFLOW): Likewise.
19892 (FE_DIVBYZERO): Likewise.
19893 (FE_INVALID): Likewise.
19894 (FE_TONEAREST): Likewise.
19895 (FE_TOWARDZERO): Likewise.
19896 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19897 (FE_OVERFLOW): Likewise.
19898 (FE_UNDERFLOW): Likewise.
19899 (FE_DIVBYZERO): Likewise.
19900 (FE_INEXACT): Likewise.
19901 (FE_TONEAREST): Likewise.
19902 (FE_TOWARDZERO): Likewise.
19903 (FE_UPWARD): Likewise.
19904 (FE_DOWNWARD): Likewise.
19905 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19906 (FE_DIVBYZERO): Likewise.
19907 (FE_OVERFLOW): Likewise.
19908 (FE_UNDERFLOW): Likewise.
19909 (FE_INEXACT): Likewise.
19910 (FE_TONEAREST): Likewise.
19911 (FE_DOWNWARD): Likewise.
19912 (FE_UPWARD): Likewise.
19913 (FE_TOWARDZERO): Likewise.
19914
199152012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19916
19917 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19918
199192012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19920
19921 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19922 commands. Quote $PWD.
19923 (blacklist_exports): Don't use remove_newlines. Replace "declare
19924 -x" by "export".
19925 (remove_newlines): Remove.
19926
199272012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19928
19929 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19930 * stdlib/stdlib.h (atof): Moved to ...
19931 * include/bits/stdlib-float.h: Here. New file.
19932 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19933 * stdlib/bits/stdlib-float.h: New file.
19934 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19935 -mno-sse -mno-mmx.
19936 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19937 <xmmintrin.h>.
19938
199392012-11-02 Joseph Myers <joseph@codesourcery.com>
19940
19941 * conform/conformtest.pl (@headers): Add fenv.h.
19942 * conform/data/fenv.h-data: New file.
19943 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19944 include of <math/fenv.h>.
19945
19946 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19947 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19948 && !UNIX98]. Enables tests for XOPEN2K8.
19949 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19950 POSIX2008]: Likewise.
19951
19952 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19953 (struct rusage): Do not expect type or its members.
19954
19955 [BZ #3439]
19956 * math/math.h (FP_NAN): Define macro to integer constant usable in
19957 #if and use that to give value to enum constant.
19958 (FP_INFINITE): Likewise.
19959 (FP_ZERO): Likewise.
19960 (FP_SUBNORMAL): Likewise.
19961 (FP_NORMAL): Likewise.
19962
199632012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19964
19965 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19966 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19967 arguments.
19968
199692012-11-02 Roland McGrath <roland@hack.frob.com>
19970
19971 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19972 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19973 autoconf-time if not.
19974 * configure.in: Remove AC_PREREQ.
19975
199762012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19977
19978 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19979 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19980 of the internal implementation.
19981
199822012-11-02 Joseph Myers <joseph@codesourcery.com>
19983
19984 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19985 except include of <misc/sys/syslog.h>.
19986
199872012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19988
19989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19990 function returns with a NULL context exit with zero.
19991
199922012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19993
19994 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19995
199962012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19997
19998 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19999 (run_program_cmd): This.
20000 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20001 (tst_langinfo): New variable. Use it.
20002
200032012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
20004
20005 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20006 floating point opcodes.
20007
200082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20009
20010 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
20011 variable.
20012
20013 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20014
20015 * sysdeps/mach/hurd/powerpc: Remove directory.
20016 * sysdeps/mach/powerpc: Likewise.
20017
200182012-11-01 Andreas Schwab <schwab@linux-m68k.org>
20019
20020 * scripts/check-local-headers.sh: Ignore c++ headers.
20021
200222012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20023
20024 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
20025 __libc_cleanup_region_start argument.
20026
200272012-11-01 Joseph Myers <joseph@codesourcery.com>
20028
20029 [BZ #14784]
20030 [BZ #14785]
20031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
20032 x * y using scaling, not as x * y + z.
20033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20034 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20035 * math/libm-test.inc (fma_test): Add more tests.
20036 (fma_test_towardzero): Likewise.
20037 (fma_test_downward): Likewise.
20038 (fma_test_upward): Likewise.
20039
200402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20041
20042 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
20043
200442012-10-31 Joseph Myers <joseph@codesourcery.com>
20045
20046 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
20047 New variable.
20048
200492012-10-31 Thomas Schwinge <thomas@codesourcery.com>
20050
20051 * rt/tst-shm.c (worker): Correct checking for mmap failure.
20052
200532012-10-31 Andreas Schwab <schwab@linux-m68k.org>
20054
20055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20056 Fix sort order.
20057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20058 Likewise.
20059
200602012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20061
20062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20063 Fix the order of the list for glibc 2.17.
20064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20065 Likewise.
20066
200672012-10-31 Andreas Schwab <schwab@linux-m68k.org>
20068
20069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20070
200712012-10-31 Joseph Myers <joseph@codesourcery.com>
20072
20073 [BZ #14610]
20074 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
20075 for low part of x being zero before using __atanl (y).
20076 * math/libm-test.inc (atan2_test): Add another test.
20077
20078 * manual/install.texi (Configuring and compiling): Document
20079 general use of test-wrapper and test-wrapper-env.
20080 * INSTALL: Regenerated.
20081
20082 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
20083 (__fma): Do not extract and scale down low bits on after-rounding
20084 systems when result rounded to normal precision would have normal
20085 exponent.
20086 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
20087 (__fmal): Do not extract and scale down low bits on after-rounding
20088 systems when result rounded to normal precision would have normal
20089 exponent.
20090 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
20091 (__fmal): Do not extract and scale down low bits on after-rounding
20092 systems when result rounded to normal precision would have normal
20093 exponent.
20094 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
20095 macro.
20096 (fma_test): Add more tests.
20097 (fma_test_towardzero): Likewise.
20098 (fma_test_downward): Likewise.
20099 (fma_test_upward): Likewise.
20100
201012012-10-30 H.J. Lu <hongjiu.lu@intel.com>
20102
20103 * sysdeps/i386/tininess.h: Renamed to ...
20104 * sysdeps/x86/tininess.h: This.
20105 * sysdeps/x86_64/tininess.h: Removed.
20106
201072012-10-30 Joseph Myers <joseph@codesourcery.com>
20108
20109 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
20110 input. Use $(build-program-cmd).
20111 ($(objpfx)tst-array1-static.out): Likewise.
20112 ($(objpfx)tst-array2.out): Likewise.
20113 ($(objpfx)tst-array3.out): Likewise.
20114 ($(objpfx)tst-array4.out): Likewise.
20115 ($(objpfx)tst-array5.out): Likewise.
20116 ($(objpfx)tst-array5-static.out): Likewise.
20117
201182012-10-30 Chris Metcalf <cmetcalf@tilera.com>
20119
20120 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
20121 if defined.
20122
20123 * nss/nsswitch.h (nss_interface_function): Provide new
20124 macro for use with NSS functions.
20125 * grp/initgroups.c: Use new macro.
20126 * nss/getXXbyYY.c: Likewise.
20127 * nss/getXXbyYY_r.c: Likewise.
20128 * nss/getXXent.c: Likewise.
20129 * nss/getXXent_r.c: Likewise.
20130 * sysdeps/posix/getaddrinfo.c: Likewise.
20131
201322012-10-30 Andreas Jaeger <aj@suse.de>
20133
20134 * po/ru.po: Update Russion translation from translation project.
20135
201362012-10-30 Joseph Myers <joseph@codesourcery.com>
20137
20138 [BZ #14152]
20139 [BZ #14783]
20140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
20141 result and shift together with sticky bit instead of replicating
20142 round-to-nearest rounding.
20143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20145 * math/libm-test.inc (fma_test): Add more tests. Do not permit
20146 missing underflow exceptions.
20147 (fma_test_towardzero): Add more tests.
20148 (fma_test_downward): Likewise.
20149 (fma_test_upward): Likewise.
20150
20151 [BZ #14047]
20152 * sysdeps/generic/tininess.h: New file.
20153 * sysdeps/i386/tininess.h: Likewise.
20154 * sysdeps/sh/tininess.h: Likewise.
20155 * sysdeps/x86_64/tininess.h: Likewise.
20156 * stdlib/tst-strtod-underflow.c: Likewise.
20157 * stdlib/tst-tininess.c: Likewise.
20158 * stdlib/strtod_l.c: Include <tininess.h>.
20159 (round_and_return): Do not set errno for exact underflow cases.
20160 Force an underflow exception when setting errno for underflow.
20161 Determine underflow based on rounding to normal precision if
20162 TININESS_AFTER_ROUNDING.
20163 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
20164 ERANGE for exact underflow cases.
20165 * stdlib/Makefile (tests): Add tst-tininess and
20166 tst-strtod-underflow.
20167 ($(objpfx)tst-tininess): Use $(link-libm).
20168 ($(objpfx)tst-strtod-underflow): Likewise.
20169
201702012-10-30 Andreas Jaeger <aj@suse.de>
20171
20172 [BZ#14767]
20173 * elf/Makefile (tests): Remove conditional for have-initfini-array
20174 since this is now always required and the variable does not exist
20175 anymore.
20176 (tests-static): Likewise.
20177 (modules-names): Likewise.
20178
20179 * po/eo.po: Add Esperanto translation from translation project.
20180
20181 * elf/tst-array1.c (fini_array): Make writeable so that it can be
20182 merged with constructor/destructor.
20183 (init_array): Likewise.
20184 * elf/tst-array2dep.c (fini_array): Likewise.
20185 (init_array): Likewise.
20186
201872012-10-29 Mike Frysinger <vapier@gentoo.org>
20188
20189 * manual/message.texi: Delete @cartouche tags.
20190
201912012-10-29 Pino Toscano <toscano.pino@tiscali.it>
20192
20193 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
20194 EOPNOTSUPP.
20195 * sysdeps/mach/hurd/fsync.c: Likewise.
20196
20197 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
20198 [_POSIX_REALTIME_SIGNALS]: Change condition to
20199 [_POSIX_REALTIME_SIGNALS > 0].
20200
202012012-10-27 Andreas Jaeger <aj@suse.de>
20202
20203 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
20204 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
20205 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
20206 [__WORDSIZE != 64]: Likewise.
20207
202082012-10-26 H.J. Lu <hongjiu.lu@intel.com>
20209
20210 * iconvdata/tst-table.sh: Remove ${SHELL}.
20211 * iconvdata/tst-tables.sh: Likewise.
20212
202132012-10-25 David S. Miller <davem@davemloft.net>
20214
20215 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20216 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
20217 of strtoull.
20218
20219 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
20220 ifunc-impl-list.c
20221 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20222 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
20223 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
20224 file.
20225
202262012-10-25 Roland McGrath <roland@hack.frob.com>
20227
20228 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20229 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
20230 __getdirentries.
20231
202322012-10-25 Joseph Myers <joseph@codesourcery.com>
20233 Jim Blandy <jimb@codesourcery.com>
20234
20235 * scripts/cross-test-ssh.sh: New file.
20236 * manual/install.texi (Configuring and compiling): Document use of
20237 cross-test-ssh.sh.
20238 * INSTALL: Regenerated.
20239
202402012-10-25 Pino Toscano <toscano.pino@tiscali.it>
20241
20242 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
20243 EOPNOTSUPP.
20244
202452012-10-25 Joseph Myers <joseph@codesourcery.com>
20246
20247 * Makeconfig (run-program-prefix): Fix comment.
20248
202492012-10-24 Joseph Myers <joseph@codesourcery.com>
20250 Jim Blandy <jimb@codesourcery.com>
20251
20252 * Makeconfig (test-wrapper): New variable,
20253 (test-wrapper-env): Likewise.
20254 [$(cross-compiling) = yes && $(test-wrapper) != ""]
20255 (run-built-tests): Define to yes.
20256 (run-program-prefix): Use $(test-wrapper).
20257 (built-program-cmd): Likewise.
20258 * Rules (make-test-out): Use $(test-wrapper-env) and
20259 $(host-built-program-cmd).
20260 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
20261 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
20262 tst-pathopt.sh.
20263 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
20264 $(test-wrapper-env) to tst-rtld-load-self.sh.
20265 ($(objpfx)order2.out): Use $(test-wrapper).
20266 ($(objpfx)tst-initorder.out): Likewise.
20267 ($(objpfx)tst-initorder2.out): Likewise.
20268 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
20269 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
20270 (test_wrapper_env): New variable. Use it to run ld.so.
20271 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
20272 Use it to run ld.so.
20273 (test_wrapper_env): Likewise.
20274 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
20275 $(test-wrapper) to run-iconv-test.sh.
20276 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
20277 (ICONV): Use $test_wrapper.
20278 * posix/Makefile ($(objpfx)globtest.out): Pass
20279 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
20280 globtest.sh, not $(run-program-prefix).
20281 * posix/globtest.sh (run_via_rtld_prefix): New variable.
20282 (test_wrapper): Likewise.
20283 (test_wrapper_env): Likewise. Use it to run globtest with HOME
20284 set together with run_via_rtld_prefix.
20285 (run_program_prefix): Define in terms of test_wrapper and
20286 run_via_rtld_prefix.
20287
202882012-10-24 Roland McGrath <roland@hack.frob.com>
20289
20290 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
20291 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
20292 Targets removed.
20293
20294 [BZ #14743]
20295 * include/time.h: Remove librt_hidden_proto (clock_gettime).
20296 Declare __clock_getres, __clock_gettime, __clock_settime,
20297 __clock_nanosleep, and __clock_getcpuclockid.
20298 * rt/clock_gettime.c: Define __clock_gettime as an alias.
20299 Remove librt_hidden_def (clock_gettime).
20300 * sysdeps/unix/clock_gettime.c: Likewise.
20301 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
20302 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
20303 * rt/clock_getres.c: Define __clock_getres as an alias.
20304 * sysdeps/posix/clock_getres.c: Likewise.
20305 * rt/clock_settime.c: Define __clock_settime as an alias.
20306 * sysdeps/unix/clock_settime.c: Likewise.
20307 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
20308 * sysdeps/unix/clock_nanosleep.c: Likewise.
20309 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
20310 * rt/clock-compat.c: New file.
20311 * rt/Makefile (librt-routines): Add clock-compat and move
20312 $(clock-routines) to ...
20313 (routines): ... here, new variable.
20314 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
20315 Don't add get_clockfreq here.
20316 * rt/Versions (libc: GLIBC_2.17): New version set.
20317 Add clock_* symbols here.
20318 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
20319 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
20320 (GLIBC_2.17): Add clock_* symbols.
20321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20323 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20325 Likewise.
20326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20327 Likewise.
20328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20332 * NEWS: Mention the move.
20333
20334 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20335 Use __open, __read, __close rather than their public counterparts.
20336 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20337 (__get_clockfreq_via_cpuinfo): Likewise.
20338 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
20339 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
20340
20341 * config.h.in (HAVE_IFUNC): New #undef.
20342 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
20343 was successful.
20344 * configure: Regenerated.
20345
203462012-10-24 Mike Frysinger <vapier@gentoo.org>
20347
20348 * configure.in: Move READELF check to start of file.
20349 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
20350 libc_cv_asm_gnu_indirect_function in the process.
20351 * configure: Regenerated.
20352
203532012-10-24 Mike Frysinger <vapier@gentoo.org>
20354
20355 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
20356 send the output to /dev/null.
20357 (libc_cv_cc_with_libunwind): Likewise.
20358 (libc_cv_as_noexecstack): Likewise.
20359 * configure: Regenerate.
20360
203612012-10-24 Joseph Myers <joseph@codesourcery.com>
20362
20363 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
20364
20365 * posix/globtest.sh (TMPDIR): Do not set.
20366 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
20367 (testout): Likewise.
20368
203692012-10-24 Andreas Jaeger <aj@suse.de>
20370
20371 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
20372 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
20373 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
20374 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
20375 posix_fadvise64, posix_fallocate64.
20376
20377 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
20378 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
20379 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
20380 Likewise.
20381 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
20382 Likewise.
20383 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
20384
20385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
20386 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
20387 <bits/fcntl-linux.h>.
20388 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
20389
20390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
20391 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
20392 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
20393 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
20394 [__WORDSIZE != 64]: Likewise.
20395
203962012-10-23 Joseph Myers <joseph@codesourcery.com>
20397
20398 * Makeconfig (run-built-tests): New variable.
20399 * Rules [$(cross-compiling) = yes]: Change condition to
20400 [$(run-built-tests) = no].
20401 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
20402 to [$(run-built-tests) = yes].
20403 * elf/Makefile [$(cross-compiling) = no]: Likewise
20404 * grp/Makefile [$(cross-compiling) = no]: Likewise.
20405 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
20406 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
20407 * intl/Makefile [$(cross-compiling) = no]: Likewise.
20408 * io/Makefile [$(cross-compiling) = no]: Likewise.
20409 * libio/Makefile [$(cross-compiling) = no]: Likewise.
20410 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
20411 * misc/Makefile [$(cross-compiling) = no]: Likewise.
20412 * posix/Makefile [$(cross-compiling) = no]: Likewise.
20413 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
20414 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
20415 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
20416 * string/Makefile [$(cross-compiling) = no]: Likewise.
20417
20418 * posix/Makefile ($(objpfx)globtest.out): Pass
20419 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
20420 $(rtld-installed-name).
20421 * posix/globtest.sh (elf_objpfx): Remove variable.
20422 (rtld_installed_name): Likewise.
20423 (library_path): Likewise.
20424 (run_program_prefix): New variable. Use for running globtest
20425 binary.
20426
204272012-10-23 Jim Blandy <jimb@codesourcery.com>
20428 Joseph Myers <joseph@codesourcery.com>
20429
20430 * Makeconfig (host-built-program-cmd): New variable.
20431 * elf/Makefile (tst-stackguard1-ARGS): Use
20432 $(host-built-program-cmd).
20433 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
20434 (tst-spawn-ARGS): Likewise.
20435 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
20436
204372012-10-23 Joseph Myers <joseph@codesourcery.com>
20438 Jim Blandy <jimb@codesourcery.com>
20439
20440 * Makeconfig (run-via-rtld-prefix): New variable.
20441 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
20442 (built-program-cmd): Likewise.
20443
204442012-10-22 Andreas Jaeger <aj@suse.de>
20445
20446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
20447 __O_RSYNC if it exists, otherwise to O_SYNC.
20448
204492012-10-22 Jim Blandy <jimb@codesourcery.com>
20450 Joseph Myers <joseph@codesourcery.com>
20451
20452 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
20453 /dev/null.
20454 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
20455 from /dev/null
20456 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
20457 /dev/null.
20458
204592012-10-22 Andreas Jaeger <aj@suse.de>
20460
20461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
20462 Define always.
20463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
20464
20465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20466 bits/fcntl-linux.h.
20467
20468 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
20469 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
20470
20471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
20472 to __O_LARGEFILE.
20473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
20474 to __O_LARGEFILE.
20475
204762012-10-21 Jim Blandy <jimb@codesourcery.com>
20477 Joseph Myers <joseph@codesourcery.com>
20478
20479 * config.make.in (NM): New variable.
20480
204812012-10-21 Andreas Jaeger <aj@suse.de>
20482
20483 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
20484 definitions and declarations that are provided by
20485 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20486
204872012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20488
20489 [BZ #14683]
20490 * elf/Makefile (tests-static): Add tst-leaks1-static.
20491 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
20492 ($(objpfx)tst-leaks1-static): New rule.
20493 ($(objpfx)tst-leaks1-static-mem): Likewise.
20494 (tst-leaks1-static-ENV): New macro.
20495 * elf/dl-open.c (dl_open_worker): Check the main application
20496 only if SHARED is defined.
20497 * elf/tst-leaks1-static.c: New file.
20498
204992012-10-20 Andreas Jaeger <aj@suse.de>
20500
20501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
20502 generic values for Linux.
20503 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
20504 and declarations that are provided by <bits/fcntl-linux.h> and
20505 include <bits/fcntl-linux.h>.
20506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20508
205092012-10-20 Roland McGrath <roland@hack.frob.com>
20510
20511 * io/fcntl.h: Move include of <bits/types.h> to the top and
20512 include it unconditionally.
20513
205142012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20515
20516 * wcsmbs/Makefile (tests-ifunc): New variable.
20517 (tests): Add $(tests-ifunc).
20518 * wcsmbs/test-wcschr-ifunc.c: New file.
20519 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20520 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20521 * wcsmbs/test-wcslen-ifunc.c: Likewise.
20522 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20523 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20524
20525 * string/Makefile (tests-ifunc): New variable.
20526 (tests): Add $(tests-ifunc).
20527 * string/test-memccpy.c (TEST_NAME): New macro.
20528 * string/test-memchr.c (TEST_NAME): Likewise.
20529 * string/test-memcmp.c (TEST_NAME): Likewise.
20530 * string/test-memcpy.c (TEST_NAME): Likewise.
20531 * string/test-memmem.c (TEST_NAME): Likewise.
20532 * string/test-memmove.c (TEST_NAME): Likewise.
20533 * string/test-memset.c (TEST_NAME): Likewise.
20534 * string/test-rawmemchr.c (TEST_NAME): Likewise.
20535 * string/test-stpcpy.c (TEST_NAME): Likewise.
20536 * string/test-stpncpy.c (TEST_NAME): Likewise.
20537 * string/test-strcasecmp.c (TEST_NAME): Likewise.
20538 * string/test-strcasestr.c (TEST_NAME): Likewise.
20539 * string/test-strcat.c (TEST_NAME): Likewise.
20540 * string/test-strchr.c (TEST_NAME): Likewise.
20541 * string/test-strcmp.c(TEST_NAME): Likewise.
20542 * string/test-strcpy.c (TEST_NAME): Likewise.
20543 * string/test-strcspn.c (TEST_NAME): Likewise.
20544 * string/test-strlen.c (TEST_NAME): Likewise.
20545 * string/test-strncasecmp.c (TEST_NAME): Likewise.
20546 * string/test-strncmp.c (TEST_NAME): Likewise.
20547 * string/test-strncpy.c (TEST_NAME): Likewise.
20548 * string/test-strnlen.c (TEST_NAME): Likewise.
20549 * string/test-strpbrk.c (TEST_NAME): Likewise.
20550 * string/test-strrchr.c (TEST_NAME): Likewise.
20551 * string/test-strspn.c (TEST_NAME): Likewise.
20552 * string/test-strstr.c (TEST_NAME): Likewise.
20553 * string/test-bcopy-ifunc.c: New file.
20554 * string/test-bzero-ifunc.c: Likewise.
20555 * string/test-memccpy-ifunc.c: Likewise.
20556 * string/test-memchr-ifunc.c: Likewise.
20557 * string/test-memcmp-ifunc.c: Likewise.
20558 * string/test-memcpy-ifunc.c: Likewise.
20559 * string/test-memmem-ifunc.c: Likewise.
20560 * string/test-memmove-ifunc.c: Likewise.
20561 * string/test-mempcpy-ifunc.c: Likewise.
20562 * string/test-memset-ifunc.c: Likewise.
20563 * string/test-rawmemchr-ifunc.c: Likewise.
20564 * string/test-stpcpy-ifunc.c: Likewise.
20565 * string/test-stpncpy-ifunc.c: Likewise.
20566 * string/test-strcasecmp-ifunc.c: Likewise.
20567 * string/test-strcasestr-ifunc.c: Likewise.
20568 * string/test-strcat-ifunc.c: Likewise.
20569 * string/test-strchr-ifunc.c: Likewise.
20570 * string/test-strchrnul-ifunc.c: Likewise.
20571 * string/test-strcmp-ifunc.c: Likewise.
20572 * string/test-strcpy-ifunc.c: Likewise.
20573 * string/test-strcspn-ifunc.c: Likewise.
20574 * string/test-strlen-ifunc.c: Likewise.
20575 * string/test-strncasecmp-ifunc.c: Likewise.
20576 * string/test-strncat-ifunc.c: Likewise.
20577 * string/test-strncmp-ifunc.c: Likewise.
20578 * string/test-strncpy-ifunc.c: Likewise.
20579 * string/test-strnlen-ifunc.c: Likewise.
20580 * string/test-strpbrk-ifunc.c: Likewise.
20581 * string/test-strrchr-ifunc.c: Likewise.
20582 * string/test-strspn-ifunc.c: Likewise.
20583 * string/test-strstr-ifunc.c: Likewise.
20584
20585 * debug/Makefile (tests-ifunc): New variable.
20586 (tests): Add $(tests-ifunc).
20587 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20588 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20589 * debug/test-stpcpy_chk-ifunc.c: New file.
20590 * debug/test-strcpy_chk-ifunc.c: Likewise.
20591
205922012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20593
20594 [BZ #13601]
20595 * elf/dl-load.c (open_verify): Retry read if the entire ELF
20596 header is not read in.
20597
205982012-10-19 Joseph Myers <joseph@codesourcery.com>
20599
20600 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
20601 script to $(SHELL) as $<. Pass $(common-objpfx) to script
20602 directly. Pass built executable to script as
20603 $(built-program-cmd).
20604 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
20605 $testprogram without using LD_LIBRARY_PATH and $ldso.
20606
20607 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20608 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20609 $(rtld-installed-name).
20610 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20611 (rtld_installed_name): Likewise.
20612 (library_path): Likewise.
20613 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
20614 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20615 $(run-program-prefix) to tst-tables.sh.
20616 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
20617 it to run tst-table-from and tst-table-to.
20618 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20619 Pass it to tst-table.sh.
20620 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20621 $(run-program-prefix) to tst-gettext.sh.
20622 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20623 tst-translit.sh.
20624 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20625 tst-gettext2.sh.
20626 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
20627 to run tst-gettext.
20628 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
20629 to run tst-gettext2.
20630 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
20631 to run tst-translit.
20632 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20633 $(run-program-prefix) to tst-mtrace.sh.
20634 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
20635 to run tst-mtrace.
20636 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20637 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20638 $(rtld-installed-name).
20639 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20640 (rtld_installed_name): Likewise.
20641 (run_program_prefix): New variable. Use it to run wordexp-test.
20642
20643 * Makeconfig (ARCH): Remove all definitions.
20644 (machine): Likewise.
20645 [ARCH]: Remove conditional code.
20646 [!objdir]: Give error.
20647 [!objdir] (objpfx): Remove.
20648 [!objdir] (common-objpfx): Likewise.
20649 [!objdir] (common-objdir): Likewise.
20650 * configure.in (config_makefile): Remove. Hardcode Makefile in
20651 AC_CONFIG_FILES call.
20652 * configure: Regenerated.
20653
20654 [BZ #13888]
20655 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20656 or TMPDIR.
20657 (testout): Likewise.
20658
20659 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20660 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20661 $(rtld-installed-name).
20662 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20663 (rtld_installed_name): Likwise.
20664 (runit): Remove function.
20665 (run_getconf): New variable, Use it for running getconf binary.
20666
206672012-10-18 H.J. Lu <hongjiu.lu@intel.com>
20668
20669 [BZ #14716]
20670 * string/test-memmem.c (check_result): New function.
20671 (do_one_test): Use it.
20672 (check1): New function.
20673 (test_main): Use it.
20674
206752012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
20676
20677 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20678
206792012-10-18 Joseph Myers <joseph@codesourcery.com>
20680
20681 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20682 (_G_LSEEK64): Likewise.
20683 (_G_MMAP64): Likewise.
20684 (_G_FSTAT64): Likewise.
20685 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20686 (_G_LSEEK64): Likewise.
20687 (_G_MMAP64): Likewise.
20688 (_G_FSTAT64): Likewise.
20689 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20690 unconditional. Call __mmap64 directly.
20691 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20692 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
20693 __lseek64 directly.
20694 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20695 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
20696 __mmap64 directly.
20697 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20698 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
20699 __lseek64 directly.
20700 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20701 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
20702 __lseek64 directly.
20703 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20704 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
20705 __lseek64 directly.
20706 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20707 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
20708 __fxstat64 directly.
20709 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20710 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20711 unconditional.
20712 (freopen64) [!_G_OPEN64]: Remove conditional code.
20713 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20714 unconditional.
20715 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20716 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20717 unconditional.
20718 (ftello64) [!_G_LSEEK64]: Remove conditional code.
20719 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20720 unconditional.
20721 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20722 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20723 unconditional.
20724 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20725 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20726 unconditional.
20727 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20728 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20729 unconditional.
20730 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20731 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20732 unconditional.
20733 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20734
207352012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20736
20737 [BZ #12140]
20738 * manual/memory.texi (Malloc Tunable Parameters): Add note
20739 about free list pointers overwriting some perturb bytes.
20740 Wording suggested by Roland McGrath.
20741
207422012-10-17 Joseph Myers <joseph@codesourcery.com>
20743
20744 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20745 (lgamma_test): Likewise.
20746 (tgamma_test): Likewise.
20747
207482012-10-16 Florian Weimer <fweimer@redhat.com>
20749
20750 [BZ #14700]
20751 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20752 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20753
207542012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
20755
20756 * NEWS: Mention BZ #14716.
20757 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20758 when removing AVAILABLE1_USES_J macro.
20759
207602012-10-12 H.J. Lu <hongjiu.lu@intel.com>
20761
20762 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20763 (__bswap_64): __uint64_t for unsigned 64-bit int.
20764
207652012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20766
20767 * include/string.h (memmem): Declare libc hidden alias.
20768 * string/memmem.c (memmem): Define libc hidden alias.
20769 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20770 __read, __close instead of open, read, close.
20771
207722012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20773
20774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20775 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20776 global and hidden.
20777 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20778 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20779 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20780 Likewise.
20781 (__rawmemchr_sse2): Likewise.
20782 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20783 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20784 (__strchr_sse2): Likewise.
20785 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20786 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20787 (__strcasecmp_sse2): Likewise.
20788 (__strncasecmp_sse2): Likewise.
20789 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20790 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20791 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20792 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20793 (__strrchr_sse2): Likewise.
20794 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20795 ifunc-impl-list.c.
20796 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20797 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20798 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20799 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20800 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20801 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20802 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20803 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20804 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20805 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20806 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20807 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20808 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20809 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20810 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20811 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20812 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20813 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20814 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20815 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20816 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20817 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20818 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20819 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20820 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20821 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20822 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20823 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20824 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20825 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20826
20827 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20828 global and hidden.
20829 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20830 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20831 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20832 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20833 Likewise.
20834 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20835 Likewise.
20836 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20837 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20838 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20839 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20840 ifunc-impl-list.c.
20841 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20842 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20843 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20844 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20845 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20846 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20847 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20848 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20849 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20850 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20851 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20852 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20853 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20854 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20855 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20856 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20857 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20858 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20859 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20860 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20861 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20862 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20863 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20864 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20865 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20866 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20867 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20868 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20869 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20870 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20871 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20872 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20873 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20874 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20875 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20876 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20877 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20878 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20879 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20880 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20881 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20882
20883 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20884 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20885 * include/ifunc-impl-list.h: New file.
20886 * misc/ifunc-impl-list.c: Likewise.
20887 * misc/Makefile (routines): Add ifunc-impl-list.
20888 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20889 * string/test-string.h: Include <ifunc-impl-list.h>.
20890 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20891 impl_array): New variables.
20892 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20893 are defined.
20894 (test_init): Call __libc_ifunc_impl_list to initialize
20895 func_list if TEST_IFUNC and TEST_NAME are defined.
20896
20897 * string/Makefile (strop-tests): Add bcopy and bzero.
20898 * string/test-bcopy.c: New file.
20899 * string/test-bzero.c: Likewise.
20900 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20901 defined.
20902 * string/test-memset.c: Support bzero test if TEST_BZERO is
20903 defined.
20904 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20905 __libc_memmove.
20906 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20907 __libc_memset.
20908 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20909 of memset.
20910
209112012-10-10 Joseph Myers <joseph@codesourcery.com>
20912
20913 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20914 * configure: Regenerated.
20915
20916 * Makeconfig (+link-static-before-libc): Don't include
20917 $(link-static-libc).
20918
20919 * libio/libio.h (_IO_pos_t): Remove.
20920
209212012-10-10 Alexandre Oliva <aoliva@redhat.com>
20922
20923 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20924 McGrath.
20925
209262012-10-10 Alexandre Oliva <aoliva@redhat.com>
20927
20928 * crypt/crypt-entry.c: Include fips-private.h.
20929 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20930 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20931 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20932 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20933
209342012-10-10 Alexandre Oliva <aoliva@redhat.com>
20935
20936 * crypt/crypt-private.h: Include stdbool.h.
20937 (_ufc_setup_salt_r): Return bool.
20938 * crypt/crypt-entry.c: Include errno.h.
20939 (__crypt_r): Return NULL with EINVAL for bad salt.
20940 * crypt/crypt_util.c (bad_for_salt): New.
20941 (_ufc_setup_salt_r): Check that salt is long enough and within
20942 the specified alphabet.
20943 * crypt/badsalttest.c: New file.
20944 * crypt/Makefile (tests): Add it.
20945 ($(objpfx)badsalttest): New.
20946
209472012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20948
20949 * NEWS: Add entry for BZ #14602.
20950
209512012-10-09 Joseph Myers <joseph@codesourcery.com>
20952
20953 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20954 type-generic.
20955 * math/libm-test.inc: Update comment listing what functions and
20956 macros are tested.
20957 (isgreater_test): New function.
20958 (isgreaterequal_test): Likewise.
20959 (isless_test): Likewise.
20960 (islessequal_test): Likewise.
20961 (islessgreater_test): Likewise.
20962 (isunordered_test): Likewise.
20963 (main): Call the new functions.
20964
209652012-10-09 Roland McGrath <roland@hack.frob.com>
20966
20967 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20968 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20969 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20970 * sysdeps/i386/configure: Regenerated.
20971 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20972 * sysdeps/mach/configure: Regenerated.
20973 * sysdeps/mach/hurd/configure: Regenerated.
20974 * sysdeps/powerpc/configure: Regenerated.
20975 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20976 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20977 * sysdeps/s390/s390-32/configure: Regenerated.
20978 * sysdeps/s390/s390-64/configure: Regenerated.
20979 * sysdeps/sh/configure: Regenerated.
20980 * sysdeps/sparc/configure: Regenerated.
20981 * sysdeps/unix/sysv/linux/configure: Regenerated.
20982 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20983 * sysdeps/x86_64/configure: Regenerated.
20984
20985 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20986 defined. Don't check if MAP is NULL.
20987
209882012-10-09 Joseph Myers <joseph@codesourcery.com>
20989
20990 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20991 (_G_stat64): Likewise.
20992 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20993 (_G_stat64): Likewise.
20994 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20995 instead of struct _G_stat64.
20996 * libio/fileops.c (mmap_remap_check): Likewise.
20997 (decide_maybe_mmap): Likewise.
20998 (_IO_new_file_seekoff): Likewise.
20999 (_IO_file_stat): Likewise.
21000 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21001 _G_off64_t.
21002 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21003 instead of struct _G_stat64.
21004 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21005
210062012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
21007
21008 [BZ #14602]
21009 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21010 Replace with ...
21011 (CHECK_EOL): New macro.
21012 (two_way_short_needle): Check beginning of haystack for EOL. Use
21013 CHECK_EOL.
21014 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21015 Replace with CHECK_EOL.
21016 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21017 Replace with CHECK_EOL.
21018
210192012-10-08 Joseph Myers <joseph@codesourcery.com>
21020
21021 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
21022 type-generic.
21023 * math/libm-test.inc: Update comment listing what functions and
21024 macros are tested.
21025 (finite_test): New function.
21026 (isinf_test): Likewise.
21027 (isnan_test): Likewise.
21028 (fpclassify_test): Test subnormal input.
21029 (isfinite_test): Likewise.
21030 (isnormal_test): Likewise.
21031 (main): Call the new functions.
21032
210332012-10-08 Jonathan Nieder <jrnieder@gmail.com>
21034
21035 [BZ #14660]
21036 * Makerules (%.dynsym): Force C locale when running
21037 $(OBJDUMP) --dynamic-syms.
21038
210392012-10-08 Andreas Schwab <schwab@linux-m68k.org>
21040
21041 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
21042 <stdint.h>.
21043
210442012-10-06 David S. Miller <davem@davemloft.net>
21045
21046 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
21047 upper 32-bits of the length value in %o2 since we use branch-on-register
21048 tests which consider the entire 64-bit register.
21049
210502012-10-06 H.J. Lu <hongjiu.lu@intel.com>
21051
21052 * string/test-strstr.c (check2): Add a test for page boundary.
21053
210542012-10-05 David S. Miller <davem@davemloft.net>
21055
21056 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
21057 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
21058 file.
21059 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21060 sysdep_routines.
21061 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21062 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
21063 and bzero when HWCAP_SPARC_CRYPTO is present.
21064
210652012-10-05 H.J. Lu <hongjiu.lu@intel.com>
21066
21067 [BZ #14602]
21068 * string/test-strstr.c (check2): New function.
21069 (test_main): Call check2.
21070
21071 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
21072 and bug-strchr1.
21073 * string/bug-strcasestr1.c (do_test): Moved to ...
21074 * string/test-strcasestr.c (check1): Here. New function.
21075 (do_one_test): Break out result checking code into ...
21076 (check_result): This. New function.
21077 (do_one_test): Call check_result.
21078 (test_main): Call check1.
21079 * string/bug-strchr1.c (do_test): Moved to ...
21080 * string/test-strchr.c (check1): Here. New function.
21081 (do_one_test): Break out result checking code into ...
21082 (check_result): This. New function.
21083 (do_one_test): Call check_result.
21084 (test_main): Call check1.
21085 * string/bug-strstr1.c (main): Moved to ...
21086 * string/test-strstr.c (check1): Here. New function.
21087 (do_one_test): Break out result checking code into ...
21088 (check_result): This. New function.
21089 (do_one_test): Call check_result.
21090 (test_main): Call check1.
21091 * string/bug-strcasestr1.c: Removed.
21092 * string/bug-strchr1.c: Likewise.
21093 * string/bug-strstr1.c: Likewise.
21094
21095 * elf/Makefile (dl-routines): Add hwcaps.
21096 * elf/dl-support.c (_dl_important_hwcaps): Removed.
21097 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
21098 (_dl_important_hwcaps): Moved to ...
21099 * elf/dl-hwcaps.c: Here. New file.
21100 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
21101
21102 [BZ #14557]
21103 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
21104 if IS_IN_rtld isn't defined.
21105
21106 * elf/dl-support.c (_dl_sysinfo_map): New.
21107 Include "get-dynamic-info.h" and "setup-vdso.h".
21108 (_dl_non_dynamic_init): Call setup_vdso.
21109 * elf/dynamic-link.h: Don't include <assert.h>.
21110 (elf_get_dynamic_info): Moved to ...
21111 * elf/get-dynamic-info.h: Here. New file.
21112 * elf/dynamic-link.h: Include "get-dynamic-info.h".
21113 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
21114 * elf/setup-vdso.h: Here. New file.
21115 * elf/rtld.c: Include "setup-vdso.h".
21116 (dl_main): Call setup_vdso.
21117
211182012-10-05 Joseph Myers <joseph@codesourcery.com>
21119
21120 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
21121 creal in comment listing functions tested. List finite, isinf,
21122 isnan, isless, islessequal, isgreater, isgreaterequal,
21123 islessgreater, isunordered, lgamma_r and pow10 as functions and
21124 macros not tested. Mention which functions not tested are aliases
21125 for other functions. Fix typo. Note that signs of NaNs are not
21126 tested.
21127
21128 * scripts/config.guess: Update from config.git.
21129 * scripts/config.sub: Likewise.
21130
211312012-10-04 Roland McGrath <roland@hack.frob.com>
21132
21133 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
21134 * misc/madvise.c (madvise): Renamed to __madvise.
21135 Make madvise a weak alias.
21136 * include/sys/mman.h: Declare __madvise.
21137 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
21138 * sysdeps/unix/syscalls.list
21139 (madvise): Make __madvise the strong name, and madvise a weak alias.
21140 * sysdeps/unix/sysv/linux/syscalls.list
21141 (madvise, mmap): Remove redundant entries.
21142 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
21143 * malloc/malloc.c (mtrim): Likewise.
21144 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
21145
211462012-10-03 Roland McGrath <roland@hack.frob.com>
21147
21148 * sysdeps/mach/hurd/dl-cache.c: File removed.
21149 * config.h.in (USE_LDCONFIG): New #undef.
21150 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
21151 * configure: Regenerated.
21152 * elf/Makefile (dl-routines): Add dl-cache only under
21153 [$(use-ldconfig) = yes].
21154 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
21155 cache on [USE_LDCONFIG].
21156 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
21157 [USE_LDCONFIG].
21158 * elf/rtld.c (dl_main): Likewise.
21159
211602012-10-03 Pino Toscano <toscano.pino@tiscali.it>
21161
21162 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
21163 _SC_LEVEL4_CACHE_LINESIZE.
21164
211652012-10-03 Roland McGrath <roland@hack.frob.com>
21166
21167 * sysdeps/unix/bsd/confstr.h: File removed.
21168
211692012-10-02 Alexandre Oliva <aoliva@redhat.com>
21170
21171 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
21172 sys/sdt-config.h.
21173
211742012-10-02 Roland McGrath <roland@hack.frob.com>
21175
21176 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
21177 Make 'mapoff' field ElfW(Off) rather than off_t.
21178
211792012-10-02 Dmitry V. Levin <ldv@altlinux.org>
21180
21181 * nscd/Makefile: Remove nscd-cflags and all its users.
21182 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
21183 (CFLAGS-nonlib): Add compiler flags for nscd modules.
21184
21185 [BZ #10631]
21186 * malloc.c (malloc_printerr): Clarify error message.
21187
211882012-10-02 H.J. Lu <hongjiu.lu@intel.com>
21189
21190 [BZ #14648]
21191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21192 Set bit_FMA_Usable if FMA is supported.
21193 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
21194 macro.
21195 (bit_FMA4_Usable): Updated.
21196 (index_FMA_Usable): New macro.
21197 (CPUID_FMA): Likewise
21198 (HAS_FMA): Defined with bit_FMA_Usable.
21199
212002012-10-01 Roland McGrath <roland@hack.frob.com>
21201
21202 * bits/types.h (__swblk_t): Type removed.
21203 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
21204 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
21205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21206 (__SWBLK_T_TYPE): Likewise.
21207 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21208 (__SWBLK_T_TYPE): Likewise.
21209 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21210 (__SWBLK_T_TYPE): Likewise.
21211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21212 (__SWBLK_T_TYPE): Likewise.
21213
212142012-10-01 Patsy Franklin <pfrankli@redhat.com>
21215 Honza Horak <hhorak@redhat.com>
21216
21217 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
21218 (xdr_mapname): Use YPMAXMAP as maxsize.
21219 (xdr_peername): Use YPMAXPEER as maxsize.
21220 (xdr_keydat): Use YPAXRECORD as maxsize.
21221 (xdr_valdat): Use YPMAXRECORD as maxsize.
21222
212232012-10-01 Roland McGrath <roland@hack.frob.com>
21224
21225 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
21226
21227 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
21228 * csu/init-first.c: ... here.
21229 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
21230 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21231 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21232 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21233 * sysdeps/i386/init-first.c: File removed.
21234 * sysdeps/sh/init-first.c: File removed.
21235
212362012-10-01 Joseph Myers <joseph@codesourcery.com>
21237
21238 [BZ #14645]
21239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
21240 if x * y might underflow to zero and z is zero.
21241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21242 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21243 * math/libm-test.inc (min_subnorm_value): New variable.
21244 (fma_test): Add more tests.
21245 (fma_test_towardzero): Likewise.
21246 (fma_test_downward): Likewise
21247 (fma_test_upward): Likewise.
21248 (initialize): Set min_subnorm_value.
21249
212502012-09-29 Joseph Myers <joseph@codesourcery.com>
21251
21252 [BZ #14638]
21253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
21254 0 + 0.
21255 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
21256 mode for addition resulting in exact zero.
21257 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
21258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
21259 exact 0 + 0.
21260 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21261 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21262 * math/libm-test.inc (fma_test): Add more tests.
21263 (fma_test_towardzero): New function.
21264 (fma_test_downward): Likewise.
21265 (fma_test_upward): Likewise.
21266 (main): Call the new functions.
21267
212682012-09-28 David S. Miller <davem@davemloft.net>
21269
21270 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
21271
212722012-09-28 Roland McGrath <roland@hack.frob.com>
21273
21274 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
21275 instead of SIGALRM.
21276
21277 * sysdeps/gnu/_G_config.h: Moved to ...
21278 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
21279 * sysdeps/mach/hurd/_G_config.h: Moved to ...
21280 * sysdeps/generic/_G_config.h: ... here.
21281
21282 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
21283
21284 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
21285
21286 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
21287 Conditionalize target on [libnss_test1.so-version].
21288
21289 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
21290
21291 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
21292 (elfobjdir): Move out of conditionals.
21293
21294 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
21295 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
21296 (__nss_lookup_function): Conditionalize label remove_from_tree on
21297 [!DO_STATIC_NSS || SHARED], matching its only use.
21298
212992012-09-28 David S. Miller <davem@davemloft.net>
21300
21301 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
21302 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
21303 file.
21304 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21305 sysdep_routines.
21306 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
21308 when HWCAP_SPARC_CRYPTO is present.
21309
213102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
21311
21312 * io/tst-mknodat.c: Create a FIFO instead of a socket.
21313
213142012-09-28 Andreas Schwab <schwab@linux-m68k.org>
21315
21316 [BZ #6530]
21317 * stdio-common/vfprintf.c (process_string_arg): Revert
21318 2000-07-22 change.
21319
213202011-09-28 Jonathan Nieder <jrnieder@gmail.com>
21321
21322 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
21323 for testcase.
21324 * stdio-common/tst-sprintf.c: Include <locale.h>
21325 (main): Test sprintf's handling of incomplete multibyte
21326 characters.
21327
213282012-09-28 H.J. Lu <hongjiu.lu@intel.com>
21329
21330 * elf/dl-runtime.c (VERSYMIDX): Removed.
21331 * elf/dl-version.c (VERSYMIDX): Likewise.
21332 * elf/do-rel.h (VERSYMIDX): Likewise.
21333 (VALIDX): Likewise.
21334 * elf/dynamic-link.h (VERSYMIDX): Likewise.
21335 * elf/rtld.c (VALIDX): Likewise.
21336 (ADDRIDX): Likewise.
21337 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
21338 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
21339 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
21340 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
21341 (VALIDX): Likewise.
21342 (ADDRIDX): Likewise.
21343
213442012-09-28 Pino Toscano <toscano.pino@tiscali.it>
21345
21346 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
21347
213482012-09-28 Dmitry V. Levin <ldv@altlinux.org>
21349
21350 [BZ #11438]
21351 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
21352 to global scope.
21353 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
21354 addresses are in the same scope as 192.0.2/24.
21355 * posix/gai.conf: Document new scope table defaults.
21356
213572012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21358
21359 [BZ #5298]
21360 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
21361 for ftell. Compute offsets from write pointers instead.
21362 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21363
213642012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21365
21366 [BZ #14543]
21367 * libio/Makefile (tests): New test case tst-fseek.
21368 * libio/tst-fseek.c: New test case to verify that fseek/ftell
21369 combination works in wide mode.
21370 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
21371 state when the external buffer state changes.
21372
213732012-09-27 David S. Miller <davem@davemloft.net>
21374
21375 [BZ #14376]
21376 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
21377 pass reloc->r_addend in as the 'high' argument to
21378 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
21379
21380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21381
213822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
21383
21384 * rt/tst-aio2.c: Include <pthread.h>.
21385 * rt/tst-aio3.c: Likewise.
21386
213872012-09-27 Steve Ellcey <sellcey@mips.com>
21388
21389 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
21390
213912012-09-27 H.J. Lu <hongjiu.lu@intel.com>
21392
21393 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
21394 contents on [SHARED].
21395
213962012-09-26 Marek Polacek <polacek@redhat.com>
21397
21398 [BZ #14530]
21399 [BZ #13741]
21400 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
21401 for C++ and GCC <4.3 as well as for non GCC compilers.
21402
214032012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21404
21405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21406
214072012-09-25 Roland McGrath <roland@hack.frob.com>
21408
21409 * Makefile.in (all, install): Declare with .PHONY.
21410 Reported by Michael Hope <michael.hope@linaro.org>.
21411
214122012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21413
21414 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
21415 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
21416 system header.
21417 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
21418 Likewise.
21419 (sydep_routines): Add the new and the internal functions.
21420 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
21421 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
21422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
21423 (GLIBC_2.17): Add the new function.
21424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21425 (GLIBC_2.17): Likewise.
21426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
21427 (GLIBC_2.17): Likewise.
21428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
21429 (GLIBC_2.17): Likewise.
21430 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
21431
214322012-09-25 Alan Modra <amodra@gmail.com>
21433
21434 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
21435 Add release barrier before setting once_control to say
21436 initialisation is done. Add hints on lwarx. Use macro in
21437 place of isync.
21438 (clear_once_control): Add release barrier.
21439
214402012-09-25 Joseph Myers <joseph@codesourcery.com>
21441
21442 [BZ #13629]
21443 * math/s_clog.c (__clog): Handle more values close to |z| = 1
21444 specially.
21445 * math/s_clog10.c (__clog10): Likewise.
21446 * math/s_clog10f.c (__clog10f): Likewise.
21447 * math/s_clog10l.c (__clog10l): Likewise.
21448 * math/s_clogf.c (__clogf): Likewise.
21449 * math/s_clogl.c (__clogl): Likewise.
21450 * math/Makefile (libm-calls): Add x2y2m1.
21451 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
21452 (__x2y2m1): Likewise.
21453 (__x2y2m1l): Likewise.
21454 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
21455 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
21456 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
21457 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21458 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
21459 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
21460 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
21461 * sysdeps/i386/fpu/libm-test-ulps: Update.
21462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21463
21464 [BZ #14621]
21465 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
21466 int as type of variable DEPTH.
21467 (glob): Use size_t instead of int as type of variables NEWCOUNT
21468 and OLD_PATHC.
21469
214702012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21471
21472 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21473 Add s_sincosf-sse2.
21474 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
21475 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
21476 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
21477 macros for using routine as __sincosf_ia32.
21478 Use macro for function declaration and weak_alias.
21479 * sysdeps/i386/fpu/libm-test-ulps: Update.
21480
21481 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
21482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21483
21484 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
21485 subnormal argument.
21486 * math/s_cexpf.c (__cexpf): Likewise.
21487 * math/s_csinf.c (__csinf): Likewise.
21488 * math/s_csinhf.c (__csinhf): Likewise.
21489 * math/s_ctanf.c (__ctanf): Likewise.
21490 * math/s_ctanhf.c (__ctanhf): Likewise.
21491 * math/s_ccosh.c (__ccoshf): Likewise.
21492 * math/s_cexp.c (__cexpl): Likewise.
21493 * math/s_csin.c (__csin): Likewise.
21494 * math/s_csinh.c (__csinh): Likewise.
21495 * math/s_ctan.c (__ctan): Likewise.
21496 * math/s_ctanh.c (ctanh): Likewise.
21497 * math/s_ccoshl.c (__ccoshl): Likewise.
21498 * math/s_cexpl.c (__cexpl): Likewise.
21499 * math/s_csinl.c (__csinl): Likewise.
21500 * math/s_csinhl.c (__csinhl): Likewise.
21501 * math/s_ctanl.c (__ctanl): Likewise.
21502 * math/s_ctanhl.c (__ctanhl): Likewise.
21503
215042012-09-25 Joseph Myers <joseph@codesourcery.com>
21505
21506 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
21507 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
21508 (_IO_off_t): Define to __off_t, not _G_off_t.
21509 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
21510 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
21511 (_IO_wint_t): Define to wint_t, not _G_wint_t.
21512 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
21513 type of __dummy and __dummy2 fields.
21514 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
21515 (_G_ssize_t): Likewise.
21516 (_G_off_t): Likewise.
21517 (_G_pid_t): Likewise.
21518 (_G_uid_t): Likewise.
21519 (_G_wchar_t): Likewise.
21520 (_G_wint_t): Likewise.
21521 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21522 (_G_ssize_t): Likewise.
21523 (_G_off_t): Likewise.
21524 (_G_pid_t): Likewise.
21525 (_G_uid_t): Likewise.
21526 (_G_wchar_t): Likewise.
21527 (_G_wint_t): Likewise.
21528 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21529 (_G_ssize_t): Likewise.
21530 (_G_off_t): Likewise.
21531 (_G_pid_t): Likewise.
21532 (_G_uid_t): Likewise.
21533 (_G_wchar_t): Likewise.
21534 (_G_wint_t): Likewise.
21535
215362012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21537
21538 * malloc/arena.c: Include malloc-sysdep.h.
21539 (shrink_heap): Use check_may_shrink_heap to decide if madvise
21540 is sufficient to shrink the heap or an unmap is needed.
21541 * sysdeps/generic/malloc-sysdep.h: New file. Define
21542 new function check_may_shrink_heap.
21543 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
21544 new function check_may_shrink_heap.
21545
215462012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21547
21548 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21549 comments.
21550
215512012-09-24 Dmitry V. Levin <ldv@altlinux.org>
21552
21553 * catgets/test-gencat.sh: Add "set -e".
21554 * elf/tst-pathopt.sh: Likewise.
21555 * grp/tst_fgetgrent.sh: Likewise.
21556 * iconvdata/run-iconv-test.sh: Likewise.
21557 * intl/tst-gettext.sh: Likewise.
21558 * intl/tst-gettext2.sh: Likewise.
21559 * intl/tst-gettext4.sh: Likewise.
21560 * intl/tst-gettext6.sh: Likewise.
21561 * intl/tst-translit.sh: Likewise.
21562 * io/ftwtest-sh: Likewise.
21563 * libio/test-freopen.sh: Likewise.
21564 * malloc/tst-mtrace.sh: Likewise.
21565 * posix/globtest.sh: Likewise.
21566 * posix/tst-getconf.sh: Likewise.
21567 * posix/wordexp-tst.sh: Likewise.
21568 * stdio-common/tst-printf.sh: Likewise.
21569 * stdio-common/tst-unbputc.sh: Likewise.
21570 * stdlib/tst-fmtmsg.sh: Likewise.
21571 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21572 * catgets/Makefile: Do not specify -e option when running
21573 testsuite shell scripts.
21574 * elf/Makefile: Likewise.
21575 * grp/Makefile: Likewise.
21576 * iconvdata/Makefile: Likewise.
21577 * intl/Makefile: Likewise.
21578 * io/Makefile: Likewise.
21579 * libio/Makefile: Likewise.
21580 * malloc/Makefile: Likewise.
21581 * posix/Makefile: Likewise.
21582 * stdio-common/Makefile: Likewise.
21583 * stdlib/Makefile: Likewise.
21584 * sysdeps/x86_64/Makefile: Likewise.
21585
21586 * io/ftwtest-sh: Add copyright header.
21587 * posix/globtest.sh: Likewise.
21588 * posix/tst-getconf.sh: Likewise.
21589 * posix/wordexp-tst.sh: Likewise.
21590 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21591
215922012-09-24 H.J. Lu <hongjiu.lu@intel.com>
21593
21594 [BZ #13679]
21595 * Makeconfig (+link): Defined as $(+link-static) if
21596 $(build-shared) isn't yes.
21597 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21598 isn't yes.
21599 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21600
21601 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21602
21603 [BZ #14562]
21604 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21605 new chunk size with MALLOC_ALIGN_MASK.
21606
216072012-09-24 Joseph Myers <joseph@codesourcery.com>
21608
21609 [BZ #5044]
21610 * stdio-common/printf_fphex.c: Include <stdbool.h> and
21611 <rounding-mode.h>.
21612 (__printf_fphex): Determine rounding using get_rounding_mode and
21613 round_away.
21614 * stdio-common/tst-printf-round.c (struct hex_test): New
21615 structure.
21616 (hex_tests): New variable.
21617 (test_hex_in_one_mode): New function.
21618 (do_test): Also run tests for hex float output.
21619
216202012-09-21 Joseph Myers <joseph@codesourcery.com>
21621
21622 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21623 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21624 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21625 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21626 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21627 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21628 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21629 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21630
216312012-09-20 Joseph Myers <joseph@codesourcery.com>
21632
21633 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21634 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21635 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21636 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21637
216382012-09-19 Dmitry V. Levin <ldv@altlinux.org>
21639
21640 [BZ #14579]
21641 * elf/rtld.c (dl_main): Limit the check for self loading to normal
21642 mode only.
21643 * elf/tst-rtld-load-self.sh: New test.
21644 * elf/Makefile: Run it.
21645
216462012-09-18 Joseph Myers <joseph@codesourcery.com>
21647
21648 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21649 (tst-writev-ENV): Remove.
21650 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21651
216522012-09-17 Chris Metcalf <cmetcalf@tilera.com>
21653
21654 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21655
216562012-09-17 Joseph Myers <joseph@codesourcery.com>
21657
21658 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21659 unconditional.
21660 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21661 Likewise.
21662 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21663 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21664 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21665 Likewise.
21666
216672012-09-14 H.J. Lu <hongjiu.lu@intel.com>
21668
21669 [BZ #14587]
21670 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21671 * config.make.in (have-cpp-asm-debuginfo): Removed.
21672 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21673 * configure: Regenerated.
21674
216752012-09-14 Joseph Myers <joseph@codesourcery.com>
21676
21677 [BZ #5044]
21678 * stdio-common/printf_fp.c: Include <stdbool.h> and
21679 <rounding-mode.h>.
21680 (___printf_fp): Determine rounding using get_rounding_mode and
21681 round_away.
21682 * stdio-common/tst-printf-round.c: New file.
21683 * stdio-common/Makefile (tests): Add tst-printf-round.
21684 (link-libm): New variable.
21685 ($(objpfx)tst-printf-round): Depend in $(link-libm).
21686
216872012-09-13 H.J. Lu <hongjiu.lu@intel.com>
21688
21689 [BZ #14576]
21690 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21691 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21692 Likewise.
21693 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21694 Likewise.
21695
216962012-09-13 Joseph Myers <joseph@codesourcery.com>
21697
21698 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21699 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21700 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21701 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21702
217032012-09-12 Joseph Myers <joseph@codesourcery.com>
21704
21705 [BZ #14518]
21706 * include/rounding-mode.h: New file.
21707 * sysdeps/generic/get-rounding-mode.h: Likewise.
21708 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21709 * stdlib/strtod_l.c: Include <rounding-mode.h>.
21710 (MAX_VALUE): New macro.
21711 (MIN_VALUE): Likewise.
21712 (overflow_value): New function.
21713 (underflow_value): Likewise.
21714 (round_and_return): Use overflow_value and underflow_value to
21715 determine return values in overflow and underflow cases. Use
21716 round_away to determine rounding depending on rounding mode.
21717 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21718 determine return values in overflow and underflow cases.
21719 * stdlib/tst-strtod-round.c: Include <fenv.h>.
21720 (struct test_results): New structure.
21721 (struct test): Use struct test_results to store expected results
21722 for all rounding modes.
21723 (TEST): Include expected results for all rounding modes.
21724 (test_in_one_mode): New function.
21725 (do_test): Use test_in_one_mode to compute and check results.
21726 Check results for all rounding modes.
21727 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21728 $(link-libm).
21729
217302012-12-09 Allan McRae <allan@archlinux.org>
21731
21732 * sysdeps/i386/fpu/libm-test-ulps: Update
21733
217342012-09-11 Joseph Myers <joseph@codesourcery.com>
21735
21736 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21737 (_G_int32_t): Likewise.
21738 (_G_uint16_t): Likewise.
21739 (_G_uint32_t): Likewise.
21740 (_G_HAVE_BOOL): Likewise.
21741 (_G_HAVE_ATEXIT): Likewise.
21742 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21743 (_G_HAVE_IO_FILE_OPEN): Likewise.
21744 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21745 (_G_int32_t): Likewise.
21746 (_G_uint16_t): Likewise.
21747 (_G_uint32_t): Likewise.
21748 (_G_HAVE_BOOL): Likewise.
21749 (_G_HAVE_ATEXIT): Likewise.
21750 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21751 (_G_HAVE_IO_FILE_OPEN): Likewise.
21752 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21753 (_G_int32_t): Likewise.
21754 (_G_uint16_t): Likewise.
21755 (_G_uint32_t): Likewise.
21756 (_G_HAVE_BOOL): Likewise.
21757 (_G_HAVE_ATEXIT): Likewise.
21758 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21759 (_G_HAVE_IO_FILE_OPEN): Likewise.
21760
217612012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21762
21763 * csu/libc-tls.c: Update copyright years.
21764
217652012-09-10 Joseph Myers <joseph@codesourcery.com>
21766
21767 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21768 [!_G_USING_THUNKS]: Remove conditional code.
21769 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21770 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21771
21772 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21773 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21774 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21775 (_G_VTABLE_LABEL_PREFIX): Likewise.
21776 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21777 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21778 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21779 (_G_VTABLE_LABEL_PREFIX): Likewise.
21780 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21781 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21782 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21783 (_G_VTABLE_LABEL_PREFIX): Likewise.
21784 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21785
217862012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21787
21788 * libio/Makefile: Include ../Makeconfig before tests.
21789 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21790 only if $(build-shared) is yes.
21791
21792 * iconv/gconv_db.c: Update copyright years.
21793
217942012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21795
21796 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21797 unwind info if defined PIC. Fix special cases description.
21798 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21799
21800 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21801 DP_HI_MASK entry.
21802 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21803
218042012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21805
21806 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21807
21808 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21809 is NULL.
21810
21811 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21812 (LDLIBS-tst-chk4): This.
21813 (LDFLAGS-tst-chk5): Renamed to ...
21814 (LDLIBS-tst-chk5): This.
21815 (LDFLAGS-tst-chk6): Renamed to ...
21816 (LDLIBS-tst-chk6): This.
21817 (LDFLAGS-tst-lfschk4): Renamed to ...
21818 (LDLIBS-tst-lfschk4): This.
21819 (LDFLAGS-tst-lfschk5): Renamed to ...
21820 (LDLIBS-tst-lfschk5): This.
21821 (LDFLAGS-tst-lfschk6): Renamed to ...
21822 (LDLIBS-tst-lfschk6): This.
21823
21824 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21825 on $(common-objpfx)soversions.mk.
21826
218272012-09-07 Joseph Myers <joseph@codesourcery.com>
21828
21829 [BZ #10014]
21830 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21831 example host name.
21832
218332012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21834
21835 * malloc/arena.c (arena_get_retry): New function that gets
21836 another arena for the caller to try its request on.
21837 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21838 current arena cannot fulfill the request.
21839 (__libc_memalign): Likewise.
21840 (__libc_memalign): Likewise.
21841 (__libc_pvalloc): Likewise.
21842 (__libc_calloc): Likewise.
21843
218442012-09-05 John Tobey <john.tobey@gmail.com>
21845
21846 [BZ #13542]
21847 * manual/arith.texi (Operations on Complex): Fix description
21848 of carg branch cut.
21849
218502012-09-06 Joseph Myers <joseph@codesourcery.com>
21851
21852 [BZ #10014]
21853 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21854 host name.
21855
21856 [BZ #10038]
21857 * manual/memory.texi (Memory): Make order of menu items match
21858 order of sections.
21859
218602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21861
21862 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21863 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21864 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21865
218662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21867
21868 * csu/libc-tls.c (static_dtv): Renamed to ...
21869 (_dl_static_dtv): This. Make it global.
21870 (_dl_initial_dtv): Removed.
21871 (__libc_setup_tls): Updated.
21872 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21873 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21874 DL_INITIAL_DTV.
21875
218762012-09-06 Petr Machata <pmachata@redhat.com>
21877
21878 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21879 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21880 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21881 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21882
218832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21884
21885 [BZ #14545]
21886 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21887 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21888 freeing dtv[-1].
21889
218902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21891
21892 [BZ #14544]
21893 * Makeconfig (link-static-before-libc): Replace $(+prector)
21894 with $(+prectorT).
21895 (link-static-after-libc): Replace $(+postctor) with
21896 $(+postctorT).
21897 (link-bounded): Replace $(+prector)/$(+postctor) with
21898 $(+prectorT)/$(+postctorT).
21899 (+prectorT): New macro.
21900 (+postctorT): Likewise.
21901
219022012-09-06 Joseph Myers <joseph@codesourcery.com>
21903
21904 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21905 (round_str): Handle values above the maximum for IBM long double
21906 as inexact.
21907 * stdlib/tst-strtod-round.c (tests): Regenerated.
21908
219092012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21910
21911 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21912 assembler flag.
21913 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21914 zarch_nohighgprs around the zarch optimized routines.
21915 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21916 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21917 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21918 for zarch.
21919
219202012-09-05 David S. Miller <davem@davemloft.net>
21921
21922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21923
21924 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21925 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21926 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21927 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21928 entries.
21929
219302012-09-05 Alexandre Oliva <aoliva@redhat.com>
21931
21932 * malloc/arena.c: Fold copyright years.
21933 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21934
219352012-09-05 Alexandre Oliva <aoliva@redhat.com>
21936
21937 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21938
219392012-09-05 Alexandre Oliva <aoliva@redhat.com>
21940
21941 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21942
219432012-09-05 Alexandre Oliva <aoliva@redhat.com>
21944
21945 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21946 change internal state upon failure.
21947
219482012-09-05 Alexandre Oliva <aoliva@redhat.com>
21949
21950 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21951 * malloc/memusage.c (mmap): Likewise.
21952 (mmap64, mremap): Likewise. Adjust name in comment.
21953
219542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21955
21956 * libio/fileops.c: Fix typos in comments.
21957 * libio/oldfileops.c: Likewise.
21958 * libio/wfileops.c: Likewise.
21959
219602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21961
21962 [BZ #1349]
21963 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21964 (tst-malloc-usable-ENV): Set environment for test case.
21965 * malloc/hooks.c (malloc_check_get_size): New function to get
21966 requested size.
21967 * malloc/malloc.c (musable): Use malloc_check_get_size.
21968 * malloc/tst-malloc-usable.c: New test case.
21969
219702012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21971
21972 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21973
219742012-09-05 Allan McRae <allan@archlinux.org>
21975
21976 [BZ #13966]
21977 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21978 determine header location.
21979 * configure: Regenerated.
21980
219812012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21982
21983 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21984 float format.
21985 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21986 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21987 format.
21988 (test): Regenerate.
21989
219902012-09-04 David S. Miller <davem@davemloft.net>
21991
21992 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21993 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21994 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21995
219962012-09-04 Florian Weimer <fweimer@redhat.com>
21997
21998 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21999 failures.
22000
22001 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22002
220032012-09-04 Joseph Myers <joseph@codesourcery.com>
22004
22005 [BZ #9914]
22006 * libio/iogetdelim.c: Include <limits.h>.
22007 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
22008 + len + 1 would overflow.
22009
220102012-09-03 Andreas Jaeger <aj@suse.de>
22011
22012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22013 * sysdeps/i386/fpu/libm-test-ulps: Update.
22014
220152012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22016
22017 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22018 Add s_sinf-sse2, s_conf-sse2.
22019
22020 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
22021 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
22022 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
22023 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
22024
22025 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
22026 for using routine as __sinf_ia32.
22027 Use macro for function declaration and weak_alias.
22028 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
22029 for using routine as __cosf_ia32.
22030 Use macro for function declaration and weak_alias.
22031
22032 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
22033 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
22034
22035 * sysdeps/x86_64/fpu/s_sinf.S: New file.
22036 * sysdeps/x86_64/fpu/s_cosf.S: New file.
22037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22038
22039 * math/libm-test.inc (cos_test): Add more test cases.
22040 (sin_test): Likewise.
22041 (sincos_test): Likewise.
22042
220432012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22044
22045 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22046 (IFUNC_RESOLVE): Make pointers to the specialized implementations
22047 hidden.
22048 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22049
220502012-09-02 H.J. Lu <hongjiu.lu@intel.com>
22051
22052 [BZ #14538]
22053 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
22054 first element of the GOT.
22055 (elf_machine_load_address): Return the difference between
22056 the runtime address of _DYNAMIC and elf_machine_dynamic ().
22057
220582012-09-01 Allan McRae <allan@archlinux.org>
22059
22060 [BZ #13412]
22061 * configure.in (AWK): Require gawk version 3.0 or later.
22062 * configure: Regenerated.
22063
220642012-09-01 Joseph Myers <joseph@codesourcery.com>
22065
22066 * sysdeps/unix/sysv/linux/kernel-features.h
22067 (__ASSUME_POSIX_CPU_TIMERS): Remove.
22068 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22069 [__NR_clock_getres]: Make code unconditional.
22070 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
22071 (clock_getcpuclockid): Remove code left unreachable by removal of
22072 conditionals.
22073 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
22074 code unconditional.
22075 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22076 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22077 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
22078 Make code unconditional.
22079 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22080 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22081 * sysdeps/unix/sysv/linux/clock_settime.c
22082 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
22083 conditional code.
22084 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
22085 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22086
220872012-08-29 H.J. Lu <hongjiu.lu@intel.com>
22088
22089 [BZ #14476]
22090 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
22091 scripts/test-installation.pl.
22092
22093 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
22094 and $ld_so_version if it is set.
22095
220962012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22097
22098 [BZ #14516]
22099 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
22100 failure if reading from procfs failed.
22101 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
22102
221032012-08-27 Joseph Myers <joseph@codesourcery.com>
22104
22105 * sysdeps/unix/sysv/linux/kernel-features.h
22106 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
22107 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22108 Remove conditional code.
22109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22110 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
22111 Remove conditional code.
22112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22113 * sysdeps/unix/sysv/linux/i386/fxstat.c
22114 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22116 * sysdeps/unix/sysv/linux/i386/fxstatat.c
22117 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22119 * sysdeps/unix/sysv/linux/i386/lxstat.c
22120 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22121 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22122 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
22123 Remove conditional code.
22124 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22125 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22126 Remove conditional code.
22127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22128 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
22129 <kernel-features.h>.
22130 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
22131 Remove.
22132 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
22133 Remove conditional code.
22134 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22135 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
22136 Remove conditional.
22137
221382012-08-27 Mike Frysinger <vapier@gentoo.org>
22139
22140 [BZ #5400]
22141 * NEWS: Add fixed bug number.
22142
221432012-08-27 Joseph Myers <joseph@codesourcery.com>
22144
22145 [BZ #14519]
22146 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
22147 underflowing exponent in case of negative sign.
22148 * stdlib/tst-strtod-round-data: Add more tests.
22149 * stdlib/tst-strtod-round.c (tests): Regenerated.
22150
22151 [BZ #3479]
22152 * stdlib/strtod_l.c (NDIG): Remove.
22153 (HEXNDIG): Likewise.
22154 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
22155 smallest representable value.
22156 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
22157 lie within an exact representation of 1/2 ulp of the result.
22158 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
22159 unconditionally.
22160 (TENS_P9_IDX): Define unconditionally.
22161 (TENS_P9_SIZE): Likewise.
22162 (TENS_P10_IDX): Likewise.
22163 (TENS_P10_SIZE): Likewise.
22164 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
22165 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
22166 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
22167 entries for 10^2^13 and 10^2^14.
22168 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
22169 (TENS_P13_IDX): Define.
22170 (TENS_P13_SIZE): Likewise.
22171 (TENS_P14_IDX): Likewise.
22172 (TENS_P14_SIZE): Likewise.
22173 (_fpioconst_pow10): Change array size to
22174 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
22175 unconditional.
22176 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
22177 1024]: Add entries for 10^2^13 and 10^2^14.
22178 [LAST_POW10 > _LAST_POW10]: Remove #error.
22179 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
22180 (_fpioconst_pow10): Change array size to
22181 FPIOCONST_POW10_ARRAY_SIZE.
22182 * stdlib/gen-fpioconst.c: New file.
22183 * stdlib/gen-tst-strtod-round.c: Likewise.
22184 * stdlib/tst-strtod-round-data: Likewise.
22185 * stdlib/tst-strtod-round.c: Likewise.
22186 * stdlib/Makefile (tests): Add tst-strtod-round.
22187
22188 [BZ #14459]
22189 * stdlib/strtod_l.c: Include <stdint.h>.
22190 (NDEBUG): Do not define.
22191 (round_and_return): Change EXPONENT parameter to type intmax_t.
22192 Rearrange calculations to avoid internal overflow possibilities.
22193 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
22194 Rearrange calculations to avoid internal overflow possibilities.
22195 Assert that number fits inside MPNSIZE limbs.
22196 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
22197 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
22198 calculations and add assertions to avoid internal overflow
22199 possibilities. Add casts to avoid signed/unsigned operations.
22200 * stdlib/tst-strtod-overflow.c: New file.
22201 * stdlib/Makefile (tests): Add tst-strtod-overflow.
22202
222032012-08-25 Marek Polacek <polacek@redhat.com>
22204
22205 * time/time.h: Fix some typos in comments.
22206
222072012-08-23 Roland McGrath <roland@hack.frob.com>
22208
22209 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
22210 * posix/tst-rfc3484-2.c: Likewise.
22211 * posix/tst-rfc3484-3.c: Likewise.
22212
222132012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
22214
22215 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
22216 (EF_ARM_ABI_FLOAT_HARD): Likewise.
22217
222182012-08-23 Joseph Myers <joseph@codesourcery.com>
22219
22220 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
22221 #include of fxstatat64.c.
22222
222232012-08-22 Roland McGrath <roland@hack.frob.com>
22224
22225 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
22226 * shadow/getspent_r.c: Likewise.
22227 * shadow/getspnam.c: Likewise.
22228 * shadow/getspnam_r.c: Likewise.
22229 * gshadow/getsgent.c: Likewise.
22230 * gshadow/getsgent_r.c: Likewise.
22231 * gshadow/getsgnam.c: Likewise.
22232 * gshadow/getsgnam_r.c: Likewise.
22233 * inet/getnetbyad.c: Likewise.
22234 * inet/getnetbyad_r.c: Likewise.
22235 * inet/getnetbynm.c: Likewise.
22236 * inet/getnetbynm_r.c: Likewise.
22237 * inet/getnetent.c: Likewise.
22238 * inet/getnetent_r.c: Likewise.
22239 * inet/getproto.c: Likewise.
22240 * inet/getproto_r.c: Likewise.
22241 * inet/getprtent.c: Likewise.
22242 * inet/getprtent_r.c: Likewise.
22243 * inet/getprtname.c: Likewise.
22244 * inet/getprtname_r.c: Likewise.
22245 * inet/getrpcbyname.c: Likewise.
22246 * inet/getrpcbyname_r.c: Likewise.
22247 * inet/getrpcbynumber.c: Likewise.
22248 * inet/getrpcbynumber_r.c: Likewise.
22249 * inet/getrpcent.c: Likewise.
22250 * inet/getrpcent_r.c: Likewise.
22251 * inet/getaliasent.c: Likewise.
22252 * inet/getaliasent_r.c: Likewise.
22253 * inet/getaliasname.c: Likewise.
22254 * inet/getaliasname_r.c: Likewise.
22255 * nscd/getgrgid_r.c: Likewise.
22256 * nscd/getgrnam_r.c: Likewise.
22257 * nscd/gethstbyad_r.c: Likewise.
22258 * nscd/gethstbynm3_r.c: Likewise.
22259 * nscd/getpwnam_r.c: Likewise.
22260 * nscd/getpwuid_r.c: Likewise.
22261 * nscd/getsrvbynm_r.c: Likewise.
22262 * nscd/getsrvbypt_r.c: Likewise.
22263 * nscd/gai.c: Likewise.
22264
22265 * configure.in (build_nscd): New substituted variable, set
22266 by --disable-build-nscd and defaults to $use_nscd.
22267 * configure: Regenerated.
22268 * config.make.in (build-nscd): New substituted variable.
22269 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
22270 Change conditional to require [$(build-nscd) = yes] as well.
22271 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
22272
22273 [BZ# 13696]
22274 * configure.in (use_nscd): New substituted variable, set by
22275 --disable-nscd. If enabled, define USE_NSCD.
22276 * configure: Regenerated.
22277 * config.h.in: Add USE_NSCD.
22278 * config.make.in (use-nscd): New substituted variable.
22279 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22280 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
22281 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
22282 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
22283 (CFLAGS-getgrnam_r.c): Likewise.
22284 (CFLAGS-initgroups.c): Likewise.
22285 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
22286 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
22287 Variables removed.
22288 * inet/getnetgrent_r.c
22289 (nscd_setnetgrent): New function, broken out of ...
22290 (setnetgrent): ... here. Call it.
22291 (innetgr): Conditionalize nscd bits on [USE_NSCD].
22292 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
22293 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
22294 * nscd/Makefile (routines, aux): Move definitions after include of
22295 Makeconfig. Conditionalize on [$(use-nscd) != no].
22296 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
22297 Conditionalize on [USE_NSCD].
22298 (is_nscd, nscd_init_cb): Likewise.
22299 (nss_load_library): Conditionalize init callback on [USE_NSCD].
22300 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
22301 * nss/nss_db/db-init.c: Likewise.
22302 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
22303 [USE_NSCD].
22304 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
22305 (make_request): Use it.
22306 (cache_valid_p): New function.
22307 (__check_pf): Use it.
22308 * NEWS: Add item for --disable-nscd.
22309
223102012-08-22 Dmitry V. Levin <ldv@altlinux.org>
22311
22312 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
22313 to support sed >= 4.2.1-20-ga9bf076.
22314 * configure: Regenerated.
22315
223162012-08-22 Roland McGrath <roland@hack.frob.com>
22317
22318 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
22319 Conditionalize whole body on [IREL].
22320
223212012-08-22 Jeff Law <law@redhat.com>
22322
22323 [BZ #14505]
22324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
22325 if the family is PF_UNSPEC.
22326
223272012-08-22 Mike Frysinger <vapier@gentoo.org>
22328
22329 * Makerules (lib-version): Rename from V.
22330 (install-lib-nosubdir): Change V to lib-version.
22331
223322012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
22333
22334 [BZ #14252]
22335 * powerpc32/power6/wcschr.c: New file.
22336 * powerpc32/power6/wcscpy.c: New file.
22337 * powerpc32/power6/wcsrchr.c: New file.
22338 * powerpc64/power6/wcschr.c: New file.
22339 * powerpc64/power6/wcscpy.c: New file.
22340 * powerpc64/power6/wcsrchr.c: New file.
22341
223422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
22343
22344 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
22345 (two_way_short_needle): Use it.
22346 * string/strstr.c (AVAILABLE1_USES_J): Define.
22347 * string/strcasestr.c: Likewise.
22348
22349 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
22350 array references.
22351 * string/strcasestr.c (TOLOWER): Make side-effect safe.
22352
22353 [BZ #11607]
22354 * NEWS: Add an entry.
22355 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
22356 define their defaults.
22357 (two_way_short_needle): Detect end-of-string on-the-fly.
22358 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
22359 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
22360 * string/bug-strcasestr1.c: New test.
22361 * string/Makefile: Run it.
22362
223632012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
22364
22365 [BZ #11607]
22366 * string/str-two-way.h (two_way_short_needle): Optimize matching of
22367 the first character.
22368
223692012-08-21 Roland McGrath <roland@hack.frob.com>
22370
22371 * csu/elf-init.c (__libc_csu_irel): Function removed.
22372 * csu/libc-start.c (apply_irel): New function.
22373 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
22374
223752012-08-21 Joseph Myers <joseph@codesourcery.com>
22376
22377 * sysdeps/unix/sysv/linux/kernel-features.h
22378 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
22379 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22380 <kernel-features.h>.
22381 [__NR_fadvise64_64]: Make code unconditional.
22382 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
22383 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22384 !__NR_fadvise64_64)]: Likewise.
22385 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22386 !__NR_fadvise64_64))]: Likewise.
22387 [__NR_fadvise64]: Make code unconditional.
22388 [!__NR_fadvise64]: Remove conditional code.
22389 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
22390 <kernel-features.h>.
22391 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22392 unconditional.
22393 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22394 conditional code.
22395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
22396 not include <kernel-features.h>.
22397 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22398 unconditional.
22399 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22400 conditional code.
22401 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
22402 include <kernel-features.h>.
22403 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22404 unconditional.
22405 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22406 conditional code.
22407
224082012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22409
22410 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
22411 slight instruction rearrangements per scrollpipe analysis.
22412 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22413
224142012-08-20 Roland McGrath <roland@hack.frob.com>
22415
22416 * manual/syslog.texi (syslog; vsyslog, closelog):
22417 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
22418 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
22419
22420 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
22421 DSOCAPS to match condition on defining it.
22422
224232012-08-20 Joseph Myers <joseph@codesourcery.com>
22424
22425 * sysdeps/unix/sysv/linux/kernel-features.h
22426 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
22427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
22428 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22429 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
22431 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22432 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
22434 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22435 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22436
22437 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
22438 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
22439
22440 * sysdeps/unix/sysv/linux/kernel-features.h
22441 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
22442 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
22443 unconditional.
22444 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22445 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
22446 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22447 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22448 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
22449 Make code unconditional.
22450 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22451 (__mmap64) [!__NR_mmap2]: Likewise.
22452 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
22453 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22454 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22455 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
22456 [__NR_mmap2]: Make code unconditional.
22457 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22458 (__mmap64) [!__NR_mmap2]: Likewise.
22459
224602012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22461
22462 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
22463
224642012-08-18 Andreas Jaeger <aj@suse.de>
22465
22466 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
22467
224682012-08-18 Mike Frysinger <vapier@gentoo.org>
22469
22470 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
22471 * include/unistd.h (__have_sock_cloexec): Likewise.
22472 (__have_pipe2): Likewise.
22473 (__have_dup3): Likewise.
22474
224752012-08-18 Mike Frysinger <vapier@gentoo.org>
22476
22477 [BZ #9685]
22478 * include/unistd.h (__have_pipe2): Change define into an extern int.
22479 (__have_dup3): Likewise.
22480 * socket/have_sock_cloexec.c: Include fcntl.h.
22481 (__have_pipe2): New variable.
22482 (__have_dup3): Likewise.
22483
224842012-08-17 Mike Frysinger <vapier@gentoo.org>
22485
22486 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
22487
224882012-08-17 Marek Polacek <polacek@redhat.com>
22489
22490 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
22491 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
22492
224932012-08-17 Roland McGrath <roland@hack.frob.com>
22494
22495 * configure.in: Add AC_SUBST for sysheaders.
22496 * configure: Regenerated.
22497 * config.make.in (sysheaders): New substituted variable.
22498
22499 * sysdeps/unix/mkfifo.c: Moved ...
22500 * sysdeps/posix/mkfifo.c: ... here.
22501 * sysdeps/unix/mkfifoat.c: Moved ...
22502 * sysdeps/posix/mkfifoat.c: ... here.
22503
22504 * sysdeps/unix/utime.c: Moved ...
22505 * sysdeps/posix/utime.c: ... here.
22506
22507 * sysdeps/unix/time.c: Moved ...
22508 * sysdeps/posix/time.c: ... here.
22509 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
22510 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
22511
22512 * sysdeps/unix/nice.c: Moved ...
22513 * sysdeps/posix/nice.c: ... here.
22514
22515 * sysdeps/unix/alarm.c: Moved ...
22516 * sysdeps/posix/alarm.c: ... here.
22517
22518 * intl/Makefile ($(codeset_mo)): Depend on the input file.
22519
225202012-08-17 Jeff Law <law@redhat.com>
22521
22522 * intl/Makefile (codeset_mo): New variable.
22523 ($(codeset_mo)): New target.
22524 (tst-codeset.out): Depend on that. Remove explicit rule.
22525 (tst-gettext3.out, tst-gettext5.out): Likewise.
22526 (LOCPATH-ENV, tst-codeset-ENV): New variables.
22527 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22528 * intl/tst-codeset.sh: Remove.
22529 * intl/tst-gettext3.sh: Likewise.
22530 * intl/tst-gettext5.sh: Likewise.
22531
225322012-08-17 Roland McGrath <roland@hack.frob.com>
22533
22534 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
22535 * sysdeps/unix/syscalls.list: ... here.
22536
22537 * sysdeps/posix/getaddrinfo.c
22538 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22539 (gaiconf_init, gaiconf_reload): Use them.
22540 [!_STATBUF_ST_NSEC]
22541 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22542 Define using time_t rather than struct timespec.
22543
22544 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22545 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22546 Macros removed.
22547 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22548 [!NO_THREADS].
22549 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22550 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22551 Likewise.
22552
22553 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22554 __libc_cleanup_push argument.
22555
22556 * bits/param.h: New file.
22557 * misc/sys/param.h: New file.
22558 * include/sys/param.h: New file.
22559 * misc/Makefile (headers): Add bits/param.h.
22560 * sysdeps/generic/sys/param.h: File removed.
22561 * sysdeps/unix/sysv/linux/bits/param.h: New file.
22562 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22563 * sysdeps/mach/hurd/bits/param.h: New file.
22564 * sysdeps/mach/hurd/sys/param.h: File removed.
22565
22566 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22567 last change.
22568
22569 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22570 [_IO_MTSAFE_IO].
22571 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22572 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22573 New macros.
22574
22575 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22576 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22577 rather than -D_IO_MTSAFE_IO conditionally.
22578 * stdio-common/Makefile (CPPFLAGS): Likewise.
22579 * wcsmbs/Makefile (CPPFLAGS): Likewise.
22580 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22581 Use $(libio-mtsafe).
22582 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22583 of -D_IO_MTSAFE_IO.
22584 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22585 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22586 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22587 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22588 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22589 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22590 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22591 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22592 (CFLAGS-fread_u_chk.c): Likewise.
22593 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22594 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22595 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22596 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22597 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22598 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22599 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22600 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22601 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22602
22603 * libio/Makefile: Test [$(libc-reentrant) = yes]
22604 instead of [$(filter %REENTRANT, $(defines)) nonempty].
22605
22606 * Makeconfig
22607 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22608 * sysdeps/pthread/configure: File removed.
22609 * sysdeps/pthread/Makeconfig: New file.
22610 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22611 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22612
226132012-08-16 Gary Benson <gbenson@redhat.com>
22614
22615 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22616 unmapping the first object in a namespace.
22617
226182012-08-16 Roland McGrath <roland@hack.frob.com>
22619
22620 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22621 (__internal_setnetgrent): ... this. Add internal_function to
22622 definition. Add libc_hidden_def.
22623 (setnetgrent): Update caller.
22624 (internal_endnetgrent): Renamed to ...
22625 (__internal_endnetgrent): ... this. Add internal_function to
22626 definition. Add libc_hidden_def.
22627 (endnetgrent): Update caller.
22628 (internal_getnetgrent_r): Renamed to ...
22629 (__internal_getnetgrent_r): ... this. Add internal_function to
22630 definition. Add libc_hidden_def.
22631 (__getnetgrent_r): Update caller.
22632 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
22633
226342012-08-16 Joseph Myers <joseph@codesourcery.com>
22635
22636 * stdlib/longlong.h: Update from GCC.
22637
226382012-08-16 Roland McGrath <roland@hack.frob.com>
22639
22640 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22641 on _QL, which is set by umul_ppmm but never used.
22642 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22643 variables, which are set by GMP macros but never used.
22644 * stdio-common/_itowa.c (_itowa): Likewise.
22645 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22646 * stdlib/mod_1.c (mpn_mod_1): Likewise.
22647
226482012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
22649
22650 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22651 struct La_sh_regs is not constant.
22652 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22653 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22654 and struct La_sparc64_regs are not constant.
22655
226562012-08-16 Joseph Myers <joseph@codesourcery.com>
22657
22658 * sysdeps/unix/sysv/linux/kernel-features.h
22659 (__ASSUME_POSIX_TIMERS): Remove.
22660 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22661 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22662 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22663 Make code unconditional.
22664 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22665 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22666 Make code unconditional.
22667 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22668 * sysdeps/unix/sysv/linux/clock_nanosleep.c
22669 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22670 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22671 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22672 Make code unconditional.
22673 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22674 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22675 (__libc_missing_posix_timers): Remove.
22676
226772012-08-15 Roland McGrath <roland@hack.frob.com>
22678
22679 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22680 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22681
22682 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22683
22684 * elf/dl-sym.c: Include <stdlib.h>.
22685
22686 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22687 constants, which avoids warnings in 32-bit builds.
22688
22689 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22690 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22691
22692 * misc/lseek.c: File moved to ...
22693 * io/lseek.c: ... here.
22694
22695 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22696
22697 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22698 shifting LEN more than 31 bits at once.
22699
227002012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22701
22702 [BZ #14195]
22703 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22704 segmentation fault for a case of two empty input strings.
22705 * string/test-strncasecmp.c (check1): Renamed to...
22706 (bz12205): ...this.
22707 (bz14195): Add new testcase for two empty input strings and N > 0.
22708 (test_main): Call new testcase, adapt for renamed function.
22709
227102012-08-15 Andreas Jaeger <aj@suse.de>
22711
22712 [BZ #14090]
22713 * crypt/md5test2.c: New test, based on test supplied by Serge
22714 Belyshev <belyshev@depni.sinp.msu.ru>.
22715 * crypt/Makefile (xtests): Add md5test-giant..
22716 * crypt/Makefile ($(objpfx)md5test-giant): Add.
22717
227182012-08-15 Paul Eggert <eggert@cs.ucla.edu>
22719
22720 [BZ #14090]
22721 * crypt/md5.c (md5_process_block): Don't assume the buffer
22722 length is less than 2**32.
22723 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22724 length is less than 2**64.
22725
227262012-08-15 Roland McGrath <roland@hack.frob.com>
22727
22728 * string/str-two-way.h: Include <sys/param.h>.
22729 (MAX): Macro removed.
22730
22731 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22732 Move #define and #undef of memmove to just before and after
22733 including <string.h>.
22734
22735 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22736 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22737 and after including <string.h>. Move declarations of
22738 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22739 to before #include "string/memmove.c".
22740
22741 * include/dirent.h: Declare __getdirentries.
22742
22743 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22744 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22745
227462012-08-14 Mike Frysinger <vapier@gentoo.org>
22747
22748 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22749 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22750 * sysdeps/i386/configure: Regenerated.
22751 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22752 STABS_CURRENT_FILE, and STABS_FUN.
22753 (END): Remove call to STABS_FUN_END.
22754 (STABS_CURRENT_FILE1): Delete.
22755 (STABS_CURRENT_FILE): Likewise.
22756 (STABS_FUN): Likewise.
22757 (STABS_FUN_END): Likewise.
22758 (STABS_FUN2): Likewise.
22759 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22760 * sysdeps/x86_64/configure: Regenerated.
22761
227622012-08-14 Roland McGrath <roland@hack.frob.com>
22763
22764 * elf/dl-open.c: Include <atomic.h>.
22765 * elf/dl-lookup.c: Likewise.
22766
227672012-08-14 Joseph Myers <joseph@codesourcery.com>
22768
22769 * sysdeps/unix/sysv/linux/kernel-features.h
22770 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22771 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22772 unconditionally.
22773 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22774 unconditionally.
22775 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22776 condition on __ASSUME_CLONE_THREAD_FLAGS.
22777
227782012-08-14 Andreas Jaeger <aj@suse.de>
22779
22780 * sysdeps/i386/fpu/libm-test-ulps: Update.
22781
227822012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22783
22784 * include/atomic.h (atomic_exchange_and_add): Split into ...
22785 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22786 New atomic macros.
22787
227882012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22789
22790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22791
227922012-08-13 Jeff Law <law@redhat.com>
22793
22794 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22795 null byte in the output string.
22796
227972012-08-10 Joseph Myers <joseph@codesourcery.com>
22798
22799 * sysdeps/unix/sysv/linux/kernel-features.h
22800 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22801 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22802 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22803 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22804 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22805 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22806 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22807
228082012-08-09 Jeff Law <law@redhat.com>
22809
22810 [BZ #13939]
22811 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22812 When avoid_arena is set, don't retry in the that arena. Pick the
22813 next one, whatever it might be.
22814 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22815 (arena_lock): Pass in new parameter to arena_get2.
22816 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22817 arena_get2.
22818 (__libc_malloc): Unify retrying after main arena failure with
22819 __libc_memalign version.
22820 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22821
228222012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22823
22824 [BZ #14166]
22825 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22826 to __redirect_strstr.
22827 (__strstr_sse42): Use typeof __redirect_strstr.
22828 (__strstr_ia32): Likewise.
22829 (__libc_strstr): New prototype.
22830 (strstr): Renamed to ...
22831 (__libc_strstr): This.
22832 (strstr): New strong alias of __libc_strstr.
22833 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22834 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22835 __redirect_time.
22836 Include <time.h>.
22837 (__libc_time): New prototype.
22838 (time_ifunc): Replace time with __libc_time.
22839 (time): New strong alias and hidden definition of __libc_time.
22840 (__GI_time): Remove strong alias.
22841 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22842 Include <stddef.h>.
22843 (memmove): Redefined to __redirect_memmove.
22844 (__memmove_sse2): Use typeof __redirect_memmove.
22845 (__memmove_ssse3): Likewise.
22846 (__memmove_ssse3_back): Likewise.
22847 (__libc_memmove): New prototype.
22848 (memmove): Renamed to ...
22849 (__libc_memmove): This.
22850 (memmove): New strong alias of __libc_memmove.
22851
228522012-08-08 Mark Salter <msalter@redhat.com>
22853
22854 * elf/elf.h
22855 (R_MN10300_TLS_GD): Define.
22856 (R_MN10300_TLS_LD): Likewise.
22857 (R_MN10300_TLS_LDO): Likewise.
22858 (R_MN10300_TLS_GOTIE): Likewise.
22859 (R_MN10300_TLS_IE): Likewise.
22860 (R_MN10300_TLS_LE): Likewise.
22861 (R_MN10300_TLS_DTPMOD): Likewise.
22862 (R_MN10300_TLS_DTPOFF): Likewise.
22863 (R_MN10300_TLS_TPOFF): Likewise.
22864 (R_MN10300_SYM_DIFF): Likewise.
22865 (R_MN10300_ALIGN): Likewise.
22866 (R_MN10300_NUM): Update.
22867
228682012-08-08 Joseph Myers <joseph@codesourcery.com>
22869
22870 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22871 Remove.
22872
228732012-08-08 Roland McGrath <roland@hack.frob.com>
22874
22875 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22876
22877 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22878 sysdeps/unix -> sysdeps/posix move.
22879 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22880
228812012-08-07 Allan McRae <allan@archlinux.org>
22882
22883 [BZ #14303]
22884 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22885 (SUNOS_CPP): Likewise.
22886 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22887 not found.
22888 (open_input): Call CPP using execvp.
22889
228902012-08-07 Joseph Myers <joseph@codesourcery.com>
22891
22892 * sysdeps/unix/sysv/linux/kernel-features.h
22893 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22894 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22895 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22896 (__ASSUME_WAITID_SYSCALL): Likewise.
22897 * sysdeps/unix/sysv/linux/dl-execstack.c
22898 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22899 code unconditional.
22900 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22901 conditional code.
22902 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22903 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22904 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22905 code.
22906 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22907 unconditional.
22908 [__ASSUME_WAITID_SYSCALL]: Likewise.
22909 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22910
229112012-08-07 Roland McGrath <roland@hack.frob.com>
22912
22913 * sysdeps/unix/closedir.c: Renamed to ...
22914 * sysdeps/posix/closedir.c: ... here.
22915 * sysdeps/unix/dirfd.c: Renamed to ...
22916 * sysdeps/posix/dirfd.c: ... here.
22917 * sysdeps/unix/dirstream.h: Renamed to ...
22918 * sysdeps/posix/dirstream.h: ... here.
22919 * sysdeps/unix/fdopendir.c: Renamed to ...
22920 * sysdeps/posix/fdopendir.c: ... here.
22921 * sysdeps/unix/opendir.c: Renamed to ...
22922 * sysdeps/posix/opendir.c: ... here.
22923 * sysdeps/unix/readdir.c: Renamed to ...
22924 * sysdeps/posix/readdir.c: ... here.
22925 * sysdeps/unix/readdir_r.c: Renamed to ...
22926 * sysdeps/posix/readdir_r.c: ... here.
22927 * sysdeps/unix/rewinddir.c: Renamed to ...
22928 * sysdeps/posix/rewinddir.c: ... here.
22929 * sysdeps/unix/seekdir.c: Renamed to ...
22930 * sysdeps/posix/seekdir.c: ... here.
22931 * sysdeps/unix/telldir.c: Renamed to ...
22932 * sysdeps/posix/telldir.c: ... here.
22933 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22934 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22935 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22936 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22937
22938 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22939 * bits/fcntl.h: ... here.
22940
22941 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22942 not 0.
22943 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22944 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22945 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22946 (struct flock): Move l_start, l_len to the beginning.
22947 Use __pid_t for l_pid.
22948 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22949 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22950 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22951 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22952 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22953 [__USE_LARGEFILE64] (struct flock64): New type.
22954 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22955
22956 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22957 * bits/dirent.h: ... here.
22958
22959 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22960 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22961
229622012-08-07 Joseph Myers <joseph@codesourcery.com>
22963
22964 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22965 Change from 2.6.0 to 2.6.16.
22966 * sysdeps/unix/sysv/linux/configure: Regenerated.
22967 * sysdeps/unix/sysv/linux/kernel-features.h
22968 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22969 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22970 version.
22971 (__ASSUME_UTIMES): Likewise.
22972 (__ASSUME_CLONE_STOPPED): Remove.
22973 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22974 architectures, not kernel version.
22975 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22976 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22977 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22978 (__ASSUME_WAITID_SYSCALL): Likewise.
22979 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22980 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22981 * README: State 2.6.16 as minimum Linux kernel version. Do not
22982 refer to older versions.
22983
229842012-08-06 Roland McGrath <roland@hack.frob.com>
22985
22986 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22987 Define alphasort64 as an alias.
22988 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22989 Define versionsort64 as an alias.
22990 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22991 Define scandir64 as an alias.
22992 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22993 Define scandirat64 as an alias.
22994 * dirent/alphasort64.c (alphasort64):
22995 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22996 * dirent/versionsort64.c: Likewise.
22997 * dirent/scandir64.c: Likewise.
22998 * dirent/scandirat64.c: Likewise.
22999 * sysdeps/wordsize-64/alphasort.c: File removed.
23000 * sysdeps/wordsize-64/alphasort64.c: File removed.
23001 * sysdeps/wordsize-64/scandir.c: File removed.
23002 * sysdeps/wordsize-64/scandir64.c: File removed.
23003 * sysdeps/wordsize-64/scandirat.c: File removed.
23004 * sysdeps/wordsize-64/scandirat64.c: File removed.
23005 * sysdeps/wordsize-64/versionsort.c: File removed.
23006 * sysdeps/wordsize-64/versionsort64.c: File removed.
23007 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
23008 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
23009 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
23010 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
23011 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
23012 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
23013 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
23014 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
23015
23016 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
23017 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23018 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
23019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23020 [defined __arch64__ || defined __sparcv9]
23021 (__INO_T_MATCHES_INO64_T): New macro.
23022 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23023 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
23024 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
23025 * sysdeps/unix/sysv/linux/bits/dirent.h
23026 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
23027 (_DIRENT_MATCHES_DIRENT64): New macro.
23028
23029 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
23030 Define lockf64 as an alias.
23031 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
23032 Define fseeko64 as an alias.
23033 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
23034 Define ftello64 as an alias.
23035 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
23036 Define _IO_fgetpos64 and fgetpos64 as aliases.
23037 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
23038 Define _IO_fsetpos64 and fsetpos64 as aliases.
23039 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
23040 Conditionalize body on this.
23041 * libio/fseeko64.c: Likewise.
23042 * libio/ftello64.c: Likewise.
23043 * libio/iofgetpos64.c: Likewise.
23044 * libio/iofsetpos64.c: Likewise.
23045 * sysdeps/wordsize-64/lockf.c: File removed.
23046 * sysdeps/wordsize-64/lockf64.c: File removed.
23047 * sysdeps/wordsize-64/fseeko.c: File removed.
23048 * sysdeps/wordsize-64/fseeko64.c: File removed.
23049 * sysdeps/wordsize-64/ftello.c: File removed.
23050 * sysdeps/wordsize-64/ftello64.c: File removed.
23051 * sysdeps/wordsize-64/iofgetpos.c: File removed.
23052 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
23053 * sysdeps/wordsize-64/iofsetpos.c: File removed.
23054 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
23055 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
23056 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
23057 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
23058 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
23059 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
23060 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
23061 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
23062 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
23063 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
23064 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
23065
23066 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23068 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
23069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23070 [defined __arch64__ || defined __sparcv9]
23071 (__OFF_T_MATCHES_OFF64_T): New macro.
23072 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23073 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23075 (__OFF_T_MATCHES_OFF64_T): New macro.
23076
230772012-08-06 H.J. Lu <hongjiu.lu@intel.com>
23078
23079 * stdlib/secure-getenv.c (__secure_getenv): Replace
23080 GLIBC_2_16 with GLIBC_2_17.
23081
230822012-08-06 H.J. Lu <hongjiu.lu@intel.com>
23083
23084 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
23085 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23086
230872012-08-03 David S. Miller <davem@davemloft.net>
23088
23089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23090
230912012-08-03 Joseph Myers <joseph@codesourcery.com>
23092
23093 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
23094 Remove.
23095 (__ASSUME_CORRECT_SI_PID): Likewise.
23096 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
23097 (__ASSUME_TMPFS_NAME): Likewise.
23098 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
23099 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
23100 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
23101 (HAVE_AUX_SECURE): Make definition unconditional.
23102 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
23103 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
23104
231052012-08-03 Roland McGrath <roland@hack.frob.com>
23106
23107 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
23108 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
23109 * sysdeps/mach/hurd/eloop-threshold.h: New file.
23110 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23111 __eloop_threshold instead of SYMLOOP_MAX.
23112
23113 * sysdeps/generic/eloop-threshold.h: New file.
23114 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
23115 of MAXSYMLINKS.
23116 * elf/chroot_canon.c (chroot_canon): Likewise.
23117
231182012-08-03 Joseph Myers <joseph@codesourcery.com>
23119
23120 [BZ #13717]
23121 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23122 Change to 2.6.0 everywhere.
23123 * sysdeps/unix/sysv/linux/configure: Regenerated.
23124 * sysdeps/unix/sysv/linux/kernel-features.h
23125 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
23126 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
23127 kernel versions.
23128 (__ASSUME_POSIX_TIMERS): Define unconditionally.
23129 (__ASSUME_FUTEX_REQUEUE): Remove.
23130 (__ASSUME_STATFS64): Define unconditionally.
23131 (__ASSUME_AT_SECURE): Likewise.
23132 (__ASSUME_CORRECT_SI_PID): Likewise.
23133 (__ASSUME_TGKILL): Define without depending on kernel version for
23134 i386.
23135 (__ASSUME_UTIMES): Likewise.
23136 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
23137 kernel version.
23138 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
23139 (__ASSUME_TMPFS_NAME): Likewise.
23140 * README: Update reference to Linux kernel versions.
23141
231422012-08-02 Marek Polacek <polacek@redhat.com>
23143
23144 [BZ# 14150]
23145 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
23146 libc_cv_asm_type_prefix with %.
23147 * configure: Regenerated.
23148 * include/libc-symbols.h: Remove comment about
23149 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
23150 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
23151 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
23152 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
23153 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
23154 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
23155 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
23156 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
23157 * elf/tst-unique2mod1.c: Likewise.
23158 * elf/tst-unique1mod2.c: Likewise.
23159 * elf/tst-unique1mod1.c: Likewise.
23160 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
23161 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
23162 Replace ASM_TYPE_DIRECTIVE with .type.
23163 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23164 * sysdeps/i386/sysdep.h: Likewise.
23165 * sysdeps/x86_64/sysdep.h: Likewise.
23166 * sysdeps/sh/sysdep.h: Likewise.
23167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23168 Do not define ASM_TYPE_DIRECTIVE.
23169 * sysdeps/powerpc/sysdep.h: Likewise.
23170 * sysdeps/powerpc/powerpc32/sysdep.h:
23171 Replace ASM_TYPE_DIRECTIVE with .type.
23172 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23173 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23174 * sysdeps/i386/fpu/e_powf.S: Likewise.
23175 * sysdeps/i386/fpu/e_expl.S: Likewise.
23176 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23177 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23178 * sysdeps/i386/fpu/e_pow.S: Likewise.
23179 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23180 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23181 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23182 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23183 * sysdeps/i386/fpu/e_log2.S: Likewise.
23184 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23185 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23186 * sysdeps/i386/fpu/e_powl.S: Likewise.
23187 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23188 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23189 * sysdeps/i386/fpu/e_logl.S: Likewise.
23190 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23191 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23192 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23193 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23194 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23195 * sysdeps/i386/fpu/e_log.S: Likewise.
23196 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23197 * sysdeps/i386/fpu/e_logf.S: Likewise.
23198 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23199 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23200 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23201 * sysdeps/i386/fpu/e_log10.S: Likewise.
23202 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23203 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23204 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23205 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23206 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23207 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23208 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23209 * sysdeps/i386/i686/strtok.S: Likewise.
23210 * sysdeps/i386/i386-mcount.S: Likewise.
23211 * sysdeps/i386/strtok.S: Likewise.
23212 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
23213 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23214 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23215 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23216 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23217 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23218 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23219 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23220 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23221 * sysdeps/x86_64/_mcount.S: Likewise.
23222 * sysdeps/x86_64/strtok.S: Likewise.
23223 * sysdeps/sh/_mcount.S: Likewise.
23224
232252012-08-01 Roland McGrath <roland@hack.frob.com>
23226
23227 * libio/iofopen.c: Include <fcntl.h>.
23228 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
23229 (_IO_fopen64, fopen64): Define as aliases.
23230 * libio/iofopen64.c: Include <fcntl.h>.
23231 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
23232 Conditionalize body on this.
23233 * sysdeps/wordsize-64/iofopen.c: File removed.
23234 * sysdeps/wordsize-64/iofopen64.c: File removed.
23235
232362012-08-01 Marek Polacek <polacek@redhat.com>
23237
23238 * libc/Makeconfig: Use elf in place of binfmt-subdir.
23239 Use dlfcn directly instead of a variable.
23240 (binfmt-subdir): Do not define.
23241 (dlfcn): Likewise.
23242
232432012-08-01 Joseph Myers <joseph@codesourcery.com>
23244
23245 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
23246 Remove all definitions.
23247 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
23248 <kernel-features.h>.
23249 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
23250 (miss_F_GETOWN_EX): Remove all definitions.
23251 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
23252 macro definition.
23253 [!__ASSUME_FCNTL64]: Remove conditional code.
23254 [__ASSUME_FCNTL64]: Make code unconditional.
23255 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
23256 <kernel-features.h>.
23257 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
23258 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
23259 (lockf64) [__NR_fcntl64]: Make code unconditional.
23260 (lockf64) [__ASSUME_FCNTL64]: Likewise.
23261
23262 * sysdeps/unix/sysv/linux/kernel-features.h
23263 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
23264 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
23265 Make code unconditional.
23266 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23267 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
23269 [__NR_vfork]: Make code unconditional.
23270 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23271 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
23273 [__NR_vfork]: Make code unconditional.
23274 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23275 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23276
232772012-08-01 Roland McGrath <roland@hack.frob.com>
23278
23279 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
23280 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
23281
23282 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23283 Define mkstemp64 as an alias.
23284 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23285 Define mkstemps64 as an alias.
23286 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23287 Define mkostemp64 as an alias.
23288 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23289 Define mkostemps64 as an alias.
23290 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
23291 Conditionalize body on this.
23292 * misc/mkostemp64.c: Likewise.
23293 * misc/mkostemps64.c: Likewise.
23294 * misc/mkstemps64.c: Likewise.
23295 * sysdeps/wordsize-64/mkstemp64.c: File removed.
23296 * sysdeps/wordsize-64/mkostemp64.c: File removed.
23297 * sysdeps/wordsize-64/mkostemp.c: File removed.
23298 * sysdeps/wordsize-64/mkstemp.c: File removed.
23299 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
23300 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
23301 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
23302 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
23303
23304 [BZ #14138]
23305 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
23306 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
23307 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
23308 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
23309
23310 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
23311 compat_symbol macros from <shlib-compat.h> rather than the underlying
23312 default_symbol_version and symbol_version macros, so that DEFAULT
23313 lines in shlib-versions are respected.
23314 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
23315
233162012-08-01 Florian Weimer <fweimer@redhat.com>
23317
23318 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
23319 Declare with warn_unused_result.
23320 (setgid, setregid, setegid, setresgid): Likewise.
23321 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
23322 Likewise.
23323 * WUR-REPORT: Remove set*id functions.
23324
233252012-07-31 Pino Toscano <toscano.pino@tiscali.it>
23326
23327 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
23328
233292012-07-31 Roland McGrath <roland@hack.frob.com>
23330
23331 [BZ #10191]
23332 * include/sys/socket.h (__libc_accept, __libc_accept4):
23333 Add attribute_hidden.
23334 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
23335
23336 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
23337 use of PTR_MANGLE.
23338 * inet/getnetgrent_r.c (setup): Likewise.
23339
23340 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
23341
233422012-07-31 David S. Miller <davem@davemloft.net>
23343
23344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23345
233462012-07-31 Joseph Myers <joseph@codesourcery.com>
23347
23348 [BZ #13629]
23349 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
23350 value between 1.0 and 2.0 and smaller part has absolute value less
23351 than 1.0.
23352 * math/s_clog10.c (__clog10): Likewise.
23353 * math/s_clog10f.c (__clog10f): Likewise.
23354 * math/s_clog10l.c (__clog10l): Likewise.
23355 * math/s_clogf.c (__clogf): Likewise.
23356 * math/s_clogl.c (__clogl): Likewise.
23357 * math/libm-test.inc (clog_test): Add more tests.
23358 (clog10_test): Likewise.
23359 * sysdeps/i386/fpu/libm-test-ulps: Update.
23360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23361
233622012-07-31 Florian Weimer <fweimer@redhat.com>
23363
23364 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
23365 Exit with zero in case no suitable GID is found, and write a
23366 message to standard error.
23367
233682012-07-30 Roland McGrath <roland@hack.frob.com>
23369
23370 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
23371 rather than to 1.
23372 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
23373 (MAXPATHLEN): Removed.
23374 (NOGROUP, NODEV): New macros.
23375 (setbit, clrbit, isset, isclr): New macros.
23376 (howmany, roundup, powerof2): New macros.
23377 (DEV_BSIZE): New macro.
23378
23379 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
23380 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
23381
23382 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
23383 definition on [!__NO_LONG_DOUBLE_MATH].
23384
23385 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
23386 PTR_MANGLE and PTR_DEMANGLE.
23387
23388 * socket/accept4.c (accept4): Rename to __libc_accept4.
23389 Define accept4 as a weak alias.
23390
23391 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
23392 on [_DIRENT_HAVE_D_TYPE].
23393 * io/ftw.c (ftw_dir): Likewise.
23394
23395 * io/xmknod.c (__xmknod): Don't check PATH for being null.
23396
23397 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
23398
23399 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
23400 Use the BSD numbers rather than the arbitrary ones we had.
23401 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
23402 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
23403 (SIGXCPU, SIGXFSZ): New macros.
23404 (_NSIG): Now 32.
23405
23406 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
23407 initializer on [_LIBC_REENTRANT].
23408
23409 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
23410 definitions inside [_POSIX_MAPPED_FILES].
23411
23412 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
23413
23414 * dirent/opendir.c: Include <fcntl.h>.
23415
23416 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
23417 (__libc_getspecific): Likewise.
23418 (__libc_key_create): Likewise.
23419
23420 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
23421 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
23422 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
23423 (tmpfile64): Define as alias.
23424 * sysdeps/wordsize-64/tmpfile.c: File removed.
23425 * sysdeps/wordsize-64/tmpfile64.c: File removed.
23426 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
23427 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
23428
23429 * stdio-common/vfscanf.c: Include <stdbool.h>.
23430 * nss/makedb.c: Likewise.
23431 * stdio-common/_i18n_number.h: Likewise.
23432 * argp/argp-help.c: Likewise.
23433 * posix/wordexp.c: Likewise.
23434 * sysdeps/posix/spawni.c: Likewise.
23435 * nss/nss_files/files-initgroups.c: Likewise.
23436 * stdio-common/reg-modifier.c: Include <stdlib.h>.
23437 * nss/nss_files/files-initgroups.c: Likewise.
23438 * nss/nss_db/db-netgrp.c: Likewise.
23439 * nss/nss_db/db-initgroups.c: Likewise.
23440 * io/fchmodat.c: Include <sys/stat.h>.
23441
23442 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
23443 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
23444
23445 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
23446 [HAVE_MMAP].
23447
23448 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
23449 Add multiple inclusion protection.
23450
234512012-07-27 David S. Miller <davem@davemloft.net>
23452
23453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23454
234552012-07-27 Gary Benson <gbenson@redhat.com>
23456
23457 [BZ #14298]
23458 * elf/rtld.c: Include <stap-probe.h>.
23459 (dl_main): Added static probes "init_start" and "init_complete".
23460 * elf/dl-load.c: Include <stap-probe.h>.
23461 (lose): Take new parameter "nsid".
23462 Added static probe "map_failed".
23463 (_dl_map_object_from_fd): Pass namespace id to lose.
23464 Added static probe "map_start".
23465 (open_verify): Pass namespace id to lose.
23466 * elf/dl-open.c: Include <stap-probe.h>.
23467 (dl_open_worker) Added static probes "map_complete", "reloc_start"
23468 and "reloc_complete".
23469 * elf/dl-close.c: Include <stap-probe.h>.
23470 (_dl_close_worker): Added static probes "unmap_start" and
23471 "unmap_complete".
23472 * elf/rtld-debugger-interface.txt: New file documenting the above.
23473
234742012-07-26 Roland McGrath <roland@hack.frob.com>
23475
23476 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
23477 rather than a string variable.
23478 * sunrpc/rpc_main.c (h_output): Likewise.
23479 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
23480
234812012-07-26 Pino Toscano <toscano.pino@tiscali.it>
23482
23483 * inet/check_native.c: New file.
23484
234852012-07-26 Joseph Myers <joseph@codesourcery.com>
23486
23487 [BZ #13629]
23488 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
23489 if larger part has absolute value 1.0.
23490 * math/s_clog10.c (__clog10): Likewise.
23491 * math/s_clog10f.c (__clog10f): Likewise.
23492 * math/s_clog10l.c (__clog10l): Likewise.
23493 * math/s_clogf.c (__clogf): Likewise.
23494 * math/s_clogl.c (__clogl): Likewise.
23495 * math/libm-test.inc (clog_test): Add more tests.
23496 (clog10_test): Likewise.
23497 * sysdeps/i386/fpu/libm-test-ulps: Update.
23498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23499
23500 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
23501 (pltexit): Likewise.
23502 (La_regs): Likewise.
23503 (La_retval): Likewise.
23504 (int_retval): Likewise.
23505 Update #error for removed macros to refer only to definitions in
23506 tst-audit.h.
23507 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
23508 macro.
23509 (pltexit): Likewise.
23510 (La_regs): Likewise.
23511 (La_retval): Likewise.
23512 (int_retval): Likewise.
23513 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
23514 macro.
23515 (pltexit): Likewise.
23516 (La_regs): Likewise.
23517 (La_retval): Likewise.
23518 (int_retval): Likewise.
23519 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23520 macro.
23521 (pltexit): Likewise.
23522 (La_regs): Likewise.
23523 (La_retval): Likewise.
23524 (int_retval): Likewise.
23525 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23526 macro.
23527 (pltexit): Likewise.
23528 (La_regs): Likewise.
23529 (La_retval): Likewise.
23530 (int_retval): Likewise.
23531 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23532 macro.
23533 (pltexit): Likewise.
23534 (La_regs): Likewise.
23535 (La_retval): Likewise.
23536 (int_retval): Likewise.
23537 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23538 macro.
23539 (pltexit): Likewise.
23540 (La_regs): Likewise.
23541 (La_retval): Likewise.
23542 (int_retval): Likewise.
23543 * sysdeps/generic/tst-audit.h: Update comment to refer only to
23544 macro definitions in tst-audit.h.
23545 * sysdeps/i386/tst-audit.h: New file.
23546 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23547 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23548 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23549 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23550 * sysdeps/sh/tst-audit.h: Likewise.
23551 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23552 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23553 * sysdeps/x86_64/tst-audit.h: Likewise.
23554
235552012-07-26 Andreas Jaeger <aj@suse.de>
23556
23557 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23558 ptrace.
23559
23560 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23561 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23562 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23563 PTRACE_O_MASK.
23564 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23565 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23566 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23567
23568 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23569 value.
23570
23571 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23572 _sigsys.
23573 (si_call_addr, si_syscall, si_arch): Define new macro.
23574 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23575 _sigsys.
23576 (si_call_addr, si_syscall, si_arch): Define new marcro.
23577 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23578 _sigsys.
23579 (si_call_addr, si_syscall, si_arch): Define new macro.
23580 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23581 _sigsys.
23582 (si_call_addr, si_syscall, si_arch): Define new macro.
23583
235842012-07-25 Joseph Myers <joseph@codesourcery.com>
23585
23586 [BZ #13717]
23587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23588 Change to 2.4.21 where previously 2.4.1.
23589 * sysdeps/unix/sysv/linux/configure: Regenerated.
23590 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23591 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23592 Linux kernel version.
23593 (__ASSUME_STD_AUXV): Remove.
23594 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23595 kernel version.
23596 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23597 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23598 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23599 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23600 (__ASSUME_NETLINK_SUPPORT): Likewise.
23601 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23602 (__no_netlink_support): Remove conditional definition.
23603 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23604 Remove.
23605 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23606 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23607 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23608 (if_nameindex_ioctl): Remove.
23609 (if_nameindex_netlink): Do not handle __no_netlink_support.
23610 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23611 code.
23612 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23613 Remove conditional code.
23614 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23615 code.
23616 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23617 unconditional.
23618 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23619 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23620 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23621 Remove.
23622 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23623 [!__ASSUME_STD_AUXV]: Remove conditional code.
23624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23625 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23626 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23628 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23629 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23630 code.
23631 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23633 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23634 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23635 conditional code.
23636 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23638 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23639 code.
23640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23641 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23642 conditional code.
23643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23644 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23645 code unconditional.
23646 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23647 conditional code.
23648 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23649 unconditional.
23650 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23651 conditional code.
23652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23653 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23654 unconditional.
23655 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23656 conditional code.
23657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23658 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23659 code unconditional.
23660 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23661 conditional code.
23662 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23663 unconditional.
23664 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23665 conditional code.
23666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23667 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23668 code unconditional.
23669 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23670 conditional code.
23671 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23672 unconditional.
23673 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23674 conditional code.
23675
236762012-07-25 Andreas Schwab <schwab@linux-m68k.org>
23677
23678 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23679 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23680 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23681 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23682 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23683 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23684 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23685 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23686 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23687 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23688 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23689 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23690 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23691 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23692 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23693 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23694 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23695 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23696 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23697 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23698 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23699 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23700 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23701
237022012-07-25 Florian Weimer <fweimer@redhat.com>
23703
23704 * Versions.def: Add GLIBC_2.17.
23705 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23706 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23707 Introduce __libc_secure_getenv.
23708 * stdlib/Versions (2.17): Add secure_getenv
23709 (GLIBC_PRIVATE): Add __libc_secure_getenv.
23710 * stdlib/secure-getenv.c: Rename __secure_getenv to
23711 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
23712 symbol __secure_getenv for GLIBC_2.0.
23713 * stdlib/tst-secure-getenv.c: New.
23714 * stdlib/Makefile (tests): Add testcase.
23715 * manual/startup.texi (Environment Access): Document
23716 secure_getenv.
23717 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23718 __libc_secure_getenv.
23719 * inet/ruserpass.c (ruserpass): Likewise.
23720 * malloc/mtrace.c (mtrace): Likewise.
23721 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
23722 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23723 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23724 * sysdeps/posix/tempname.c: Likewise. Evaluate
23725 HAVE_SECURE_GETENV.
23726 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
23727 __secure_getenv to __libc_secure_getenv.
23728 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
23729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23730 Likewise.
23731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23732 Likewise.
23733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23735 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23740
237412012-07-25 Joseph Myers <joseph@codesourcery.com>
23742
23743 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23744 (struct La_i86_retval): Likewise.
23745 (struct La_x86_64_regs): Likewise.
23746 (struct La_x86_64_retval): Likewise.
23747 (struct La_x32_regs): Likewise.
23748 (struct La_x32_retval): Likewise.
23749 (struct La_ppc32_regs): Likewise.
23750 (struct La_ppc32_retval): Likewise.
23751 (struct La_ppc64_regs): Likewise.
23752 (struct La_ppc64_retval): Likewise.
23753 (struct La_sh_regs): Likewise.
23754 (struct La_sh_retval): Likewise.
23755 (struct La_s390_32_regs): Likewise.
23756 (struct La_s390_32_retval): Likewise.
23757 (struct La_s390_64_regs): Likewise.
23758 (struct La_s390_64_retval): Likewise.
23759 (struct La_sparc32_regs): Likewise.
23760 (struct La_sparc32_retval): Likewise.
23761 (struct La_sparc64_regs): Likewise.
23762 (struct La_sparc64_retval): Likewise.
23763 (struct audit_ifaces): Remove architecture-specific pltenter and
23764 pltexit members.
23765 * sysdeps/i386/ldsodefs.h: New file.
23766 * sysdeps/powerpc/ldsodefs.h: Likewise.
23767 * sysdeps/s390/ldsodefs.h: Likewise.
23768 * sysdeps/sh/ldsodefs.h: Likewise.
23769 * sysdeps/sparc/ldsodefs.h: Likewise.
23770 * sysdeps/x86_64/ldsodefs.h: Likewise.
23771
237722012-07-25 Marek Polacek <polacek@redhat.com>
23773
23774 [BZ #6808]
23775 * math/libm-test.inc (yn_test): Add another test.
23776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23777 to ERANGE when the result is +-Inf.
23778 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23779 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23780 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23781 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23782
237832012-07-24 Joseph Myers <joseph@codesourcery.com>
23784
23785 * conform/data/time.h-data (NULL): Use macro-constant. Require
23786 equal to 0.
23787 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23788 clock_t.
23789 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23790
237912012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23792
23793 * configure.in <sysdeps resolving>: Correct printing
23794 Implies_before.
23795 * configure: Regenerate.
23796
237972012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23798
23799 * math/w_ilogb.c: Include <limits.h>.
23800 * math/w_ilogbl.c: Likewise.
23801
238022012-07-20 Joseph Myers <joseph@codesourcery.com>
23803
23804 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23805 va_copy. Document allowing for unavailable va_copy only as
23806 pre-C99 compatibility.
23807 * manual/string.texi (Copying and Concatenation): Use va_copy
23808 instead of __va_copy in concat example.
23809
238102012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23811
23812 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23813 (__sendto): Use create_address_port. Initialize APORT and deallocate
23814 it if not null.
23815
23816 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23817 with O_NOLINK passed to __file_name_lookup.
23818
23819 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23820 with O_NOLINK passed to __file_name_lookup.
23821
23822 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23823 negative N or less than NGIDS.
23824
23825 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23826 type to string_t. Set ERANGE as errno and return it if NAME is not big
23827 enough. Use memcpy instead of strncpy.
23828
238292012-07-20 Joseph Myers <joseph@codesourcery.com>
23830
23831 * elf/Makefile (check-data): Remove.
23832 (localplt.data): New vpath directive.
23833 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23834 instead of $(check-data).
23835 * scripts/data/localplt-generic.data: Move to ...
23836 * sysdeps/generic/localplt.data: ... here.
23837 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23838 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23839 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23841 ... here.
23842 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23844 ... here.
23845 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23847 ... here.
23848 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23850 ... here.
23851 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23853 ... here.
23854 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23856 ... here.
23857
238582012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23859
23860 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23861 PPC32 and PPC64 files.
23862 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23863 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23864
238652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23866
23867 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23868 __makecontext_ret to ...
23869 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23870 ... here and call exit if uc_link is NULL. New file.
23871 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23872 __makecontext_ret.S.
23873 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23874 __makecontext_ret to ...
23875 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23876 ... here and call exit if uc_link is NULL. New file.
23877 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23878 __makecontext_ret.S.
23879
238802012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23881
23882 * elf/elf.h (R_390_IRELATIVE): New definition.
23883 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23884 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23885 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23886 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23887 (elf_machine_lazy_rel): Likewise.
23888 * sysdeps/s390/dl-irel.h: New file.
23889 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23890 * sysdeps/s390/s390-64/memset.S: New asm code.
23891 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23892 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23893 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23894 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23895 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23896 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23897 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23898 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23899 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23900 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23901 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23902 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23903 * sysdeps/s390/s390-32/memset.S: New asm code.
23904 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23905
239062012-07-17 Marek Polacek <polacek@redhat.com>
23907
23908 [BZ #14349]
23909 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23910 * sysdeps/s390/s390-64/configure.in: Likewise.
23911 * sysdeps/sparc/configure.in: Likewise.
23912 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23913 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23914 * sysdeps/i386/configure.in: Likewise.
23915 * sysdeps/x86_64/configure.in: Likewise.
23916 * sysdeps/sh/configure.in: Likewise.
23917 * sysdeps/s390/s390-32/configure: Regenerated.
23918 * sysdeps/s390/s390-64/configure: Likewise.
23919 * sysdeps/x86_64/configure: Likewise.
23920 * sysdeps/sh/configure: Likewise.
23921 * sysdeps/powerpc/powerpc64/configure: Likewise.
23922 * sysdeps/powerpc/powerpc32/configure: Likewise.
23923 * sysdeps/sparc/configure: Likwise.
23924 * sysdeps/i386/configure: Likewise.
23925
23926 * elf/dl-open.c: Comment fixes.
23927
239282012-07-17 Joseph Myers <joseph@codesourcery.com>
23929
23930 * Makefile [CXX] (check-data): Remove.
23931 [CXX] (c++-types.data): New vpath directive.
23932 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23933 vpath. Do not allow for C++ type data being missing.
23934 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23935 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23936 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23937 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23938 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23939 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23940 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23942 ... here.
23943 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23945 ... here.
23946 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23948 ... here.
23949 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23951 ... here.
23952 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23954 ... here.
23955 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23957 ... here.
23958 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23960 ... here.
23961 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23963
23964 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23965 definitions to architecture-specific files.
23966 (TLS_IE): Likewise.
23967 (TLS_LD): Likewise.
23968 (TLS_GD): Likewise.
23969 * sysdeps/i386/tls-macros.h: New file.
23970 * sysdeps/powerpc/tls-macros.h: Likewise.
23971 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23972 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23973 * sysdeps/sh/tls-macros.h: Likewise.
23974 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23975 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23976 * sysdeps/x86_64/tls-macros.h: Likewise.
23977
239782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23979
23980 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23981 zero value for regular exit case.
23982
23983 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23984 (__start_context): Preserve zero value for regular exit case.
23985
239862012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23987 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23988
23989 * manual/setjmp.texi (setcontext): Clarify normal process
23990 termination when uc_link is the null pointer.
23991 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23992 exit call.
23993
239942012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23995
23996 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23997 preprocessor. Test for each exception mask separately.
23998
239992012-07-16 Andreas Jaeger <aj@suse.de>
24000
24001 * po/ru.po: Update from translation team.
24002
240032012-07-15 Joseph Myers <joseph@codesourcery.com>
24004
24005 * conform/data/string.h-data (NULL): Use macro-constant. Require
24006 equal to 0.
24007 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24008 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24009 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
24010 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
24011 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24012
240132012-07-13 Andreas Jaeger <aj@suse.de>
24014
24015 * po/fr.po: Update from translation team.
24016
240172012-07-12 Marek Polacek <polacek@redhat.com>
24018
24019 [BZ #14173]
24020 * math/libm-test.inc (yn_test): Add test for BZ #14173.
24021 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24022 loop condition.
24023
240242012-07-12 Joseph Myers <joseph@codesourcery.com>
24025
24026 [BZ #13717]
24027 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24028 Change to 2.4.1 where previously 2.4.0.
24029 * sysdeps/unix/sysv/linux/configure: Regenerated.
24030 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
24031 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
24032 version.
24033 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
24034 (__ASSUME_AT_CLKTCK): Remove.
24035 (__ASSUME_AT_PAGESIZE): Likewise.
24036 (__ASSUME_AT_XID): Likewise.
24037 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
24038 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
24039 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
24040 unconditionally.
24041 (HAVE_AUX_PAGESIZE): Likewise.
24042 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
24043 [__ASSUME_AT_CLKTCK]: Make code unconditional.
24044 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
24045
240462012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
24047
24048 [BZ #14307]
24049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
24050 the temporary buffer used to invoke __gethostbyname2_r,
24051 __gethostbyaddr_r and gethostbyname4_r to make room for struct
24052 host_data / struct gaih_addrtuple.
24053 * resolv/nss_dns/dns-host.c (global scope): Move definition of
24054 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
24055 header file nss/nsswitch.h.
24056 * nss/nsswitch.h (global scope): Add definition of implementation
24057 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
24058 resolv/nss_dns/dns-host.c).
24059
240602012-07-11 Andreas Jaeger <aj@suse.de>
24061
24062 * po/fr.po: Update from translation team.
24063
24064 * po/sv.po: Update from translation team
24065 * po/fr.po: Another update from translation team.
24066
240672012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24068
24069 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
24070 for subnormals or multiply small sinh result by itself.
24071 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24073
240742012-07-11 David S. Miller <davem@davemloft.net>
24075
24076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24077
240782012-07-10 Andreas Schwab <schwab@linux-m68k.org>
24079
24080 [BZ #14347]
24081 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
24082 (INTERNAL_MARK): Shift it here.
24083
240842012-07-10 Marek Polacek <polacek@redhat.com>
24085
24086 [BZ #14151]
24087 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
24088 libc_cv_asm_global_directive with .globl.
24089 * configure: Regenerated.
24090 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
24091 with .globl.
24092 * sysdeps/i386/configure: Regenerated.
24093 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
24094 with .globl.
24095 * sysdeps/x86_64/configure: Regenerated.
24096 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
24097 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
24098 * elf/tst-unique2mod2.c: Likewise.
24099 * elf/tst-unique2mod1.c: Likewise.
24100 * elf/tst-unique1mod2.c: Likewise.
24101 * elf/tst-unique1mod1.c: Likewise.
24102 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24103 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24104 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24105 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24106 * sysdeps/mach/sysdep.h: Likewise.
24107 * sysdeps/i386/sysdep.h: Likewise.
24108 * sysdeps/i386/i386-mcount.S: Likewise.
24109 * sysdeps/x86_64/_mcount.S: Likewise.
24110 * sysdeps/x86_64/sysdep.h: Likewise.
24111 * sysdeps/sh/_mcount.S: Likewise.
24112 * sysdeps/sh/sysdep.h: Likewise.
24113 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
24114 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
24115 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
24116 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24117 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
24118 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
24119 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
24120 * locale/localeinfo.h: Likewise.
24121 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
24122 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
24123
241242012-07-09 Roland McGrath <roland@hack.frob.com>
24125
24126 [BZ #14336]
24127 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
24128 system".
24129 * manual/message.texi (The Uniforum approach): Likewise.
24130 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
24131 (glibc iconv Implementation): Likewise.
24132
241332012-07-09 Joseph Myers <joseph@codesourcery.com>
24134
24135 [BZ #14337]
24136 * math/s_clog.c (__clog): Avoid scaling a value down where that
24137 could result in underflow.
24138 * math/s_clog10.c (__clog10): Likewise.
24139 * math/s_clog10f.c (__clog10f): Likewise.
24140 * math/s_clog10l.c (__clog10l): Likewise.
24141 * math/s_clogf.c (__clogf): Likewise.
24142 * math/s_clogl.c (__clogl): Likewise.
24143 * math/libm-test.inc (clog_test): Add more tests.
24144 (clog10_test): Likewise.
24145 * sysdeps/i386/fpu/libm-test-ulps: Update.
24146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24147
241482012-07-06 Andreas Schwab <schwab@linux-m68k.org>
24149
24150 [BZ #14283]
24151 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
24152 by 7 not 8 to examine high bit of fractional part.
24153
24154 [BZ #14042]
24155 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
24156 for call to __mcount_internal.
24157 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
24158 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
24159 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
24160
241612012-07-06 Joseph Myers <joseph@codesourcery.com>
24162
24163 [BZ #14154]
24164 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
24165 approximation for values within 0x1p-13f of an odd multiple of
24166 pi/4.
24167 * math/libm-test.inc (tan_test): Do not allow spurious underflow
24168 exception. Add more tests.
24169 * sysdeps/i386/fpu/libm-test-ulps: Update.
24170
24171 [BZ #6778]
24172 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
24173 inputs and return -1 for them. Do not check for +Inf in case not
24174 reachable for +Inf.
24175 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24176 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
24177 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
24178 and return -1 for them. Do not check for +Inf in case not
24179 reachable for +Inf.
24180 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
24181 define.
24182 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
24183 and return -1 for them. Do not check for +Inf in case not
24184 reachable for +Inf.
24185 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
24186 spurious underflow.
24187 * sysdeps/i386/fpu/libm-test-ulps: Update.
24188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24189
241902012-07-06 Mike Frysinger <vapier@gentoo.org>
24191
24192 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
24193
241942012-07-05 Joseph Myers <joseph@codesourcery.com>
24195
24196 [BZ #14157]
24197 [BZ #14331]
24198 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
24199 could result in spurious underflow. Scale down values above
24200 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
24201 * math/s_csqrtf.c (__csqrtf): Likewise.
24202 * math/s_csqrtl.c (__csqrtl): Likewise.
24203 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
24204 spurious underflow.
24205 * sysdeps/i386/fpu/libm-test-ulps: Update.
24206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24207
242082012-07-04 Andreas Schwab <schwab@linux-m68k.org>
24209
24210 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
24211 xopen-msg.sed.
24212 * catgets/xopen-msg.awk: New file.
24213 * catgets/xopen-msg.sed: Removed.
24214
24215 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
24216 po2text.sed.
24217 * intl/po2test.awk: New file.
24218 * intl/po2test.sed: Removed.
24219
242202012-07-04 Joseph Myers <joseph@codesourcery.com>
24221
24222 [BZ #14328]
24223 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
24224 or multiply small sinh result by itself.
24225 * math/s_ctanf.c (__ctanf): Likewise.
24226 * math/s_ctanh.c (__ctanh): Likewise.
24227 * math/s_ctanhf.c (__ctanhf): Likewise.
24228 * math/s_ctanhl.c (__ctanhl): Likewise.
24229 * math/s_ctanl.c (__ctanl): Likewise.
24230 * math/libm-test.inc (ctan_test_tonearest): New function.
24231 (ctan_test_towardzero): Likewise.
24232 (ctan_test_downward): Likewise.
24233 (ctan_test_upward): Likewise.
24234 (ctanh_test_tonearest): Likewise.
24235 (ctanh_test_towardzero): Likewise.
24236 (ctanh_test_downward): Likewise.
24237 (ctanh_test_upward): Likewise.
24238 (main): Call these new functions.
24239 * sysdeps/i386/fpu/libm-test-ulps: Update.
24240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24241
242422012-07-03 Mike Frysinger <vapier@gentoo.org>
24243
24244 * .gitignore: Delete /ports entry.
24245
242462012-07-03 Andreas Jaeger <aj@suse.de>
24247
24248 * po/bg.po: Update from translation team.
24249 * po/cs.po: Likewise.
24250 * po/de.po: Likewise.
24251 * po/hr.po: Likewise.
24252 * po/nl.pl: Likewise.
24253 * po/pl.po: Likewise.
24254 * po/vi.po: Likewise.
24255
242562012-07-03 Joseph Myers <joseph@codesourcery.com>
24257
24258 * Makeconfig [!+link] (+link-before-libc): New variable.
24259 [!+link] (+link-after-libc): Likewise.
24260 [!+link] (+link-tests): Likewise.
24261 [!+link] (+link): Define in terms of $(+link-before-libc) and
24262 $(+link-after-libc).
24263 [!+link-static] (+link-static-before-libc): New variable.
24264 [!+link-static] (+link-static-after-libc): Likewise.
24265 [!+link-static] (+link-static-tests): Likewise.
24266 [!+link-static] (+link-static): Define in terms of
24267 $(+link-static-before-libc) and $(+link-static-after-libc).
24268 [build-shared] (link-libc-before-gnulib): New variable.
24269 [build-shared] (link-libc-tests): Likewise.
24270 [build-shared] (link-libc): Define in terms of
24271 $(link-libc-before-gnulib).
24272 [!build-shared] (link-libc-tests): New variable.
24273 (link-libc-static-tests): New variable.
24274 [!gnulib] (gnulib-arch): New variable.
24275 [!gnulib] (gnulib-tests): Likewise.
24276 [!gnulib] (static-gnulib-arch): Likewise.
24277 [!gnulib] (static-gnulib-tests): Likewise.
24278 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
24279 Define with "=" instead of ":=".
24280 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
24281 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
24282 * Rules (binaries-all-notests): New variable.
24283 (binaries-all-tests): Likewise.
24284 (binaries-static-notests): Likewise.
24285 (binaries-static-tests): Likewise.
24286 (binaries-all): Define using $(binaries-all-notests) and
24287 $(binaries-all-tests).
24288 (binaries-static): Define using $(binaries-static-notests) and
24289 $(binaries-static-tests).
24290 (binaries-shared-tests): New variable.
24291 (binaries-shared-notests): Likewise.
24292 (binaries-shared): Remove variable.
24293 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
24294 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
24295 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
24296 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
24297 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
24298 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
24299 * elf/Makefile (sln-modules): New variable.
24300 (extra-objs): Add $(sln-modules:=.o).
24301 (ldconfig-modules): Add static-stubs.
24302 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
24303 * elf/static-stubs.c: New file.
24304
24305 [BZ #14283]
24306 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
24307 by 7 not 8 to examine high bit of fractional part. Use volatile
24308 variables when splitting into final array of floats if
24309 __FLT_EVAL_METHOD__ != 0.
24310 * math/libm-test.inc (cos_test): Add another test.
24311 (sin_test): Likewise.
24312 * sysdeps/i386/fpu/libm-test-ulps: Update.
24313
24314 [BZ #14273]
24315 * math/libm-test.inc (cosh_test): Add more tests.
24316
24317 * version.h (RELEASE): Set to "development".
24318 (VERSION): Set to "2.16.90".
24319
243202012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
24321
24322 * NEWS: Update copyright. Remove last-updated date.
24323 Mention math library bug fixes and timezone data changes.
24324 * README: Mention GNU/Hurd, x32, and HPPA support status.
24325
243262012-06-28 Thomas Schwinge <thomas@codesourcery.com>
24327
24328 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
24329
243302012-06-27 Andreas Jaeger <aj@suse.de>
24331
24332 * manual/contrib.texi (Contributors): Add Samuel Thibault.
24333
243342012-06-25 Andreas Jaeger <aj@suse.de>
24335
24336 * sysdeps/s390/fpu/libm-test-ulps: Update.
24337
243382012-06-23 Andreas Schwab <schwab@linux-m68k.org>
24339 Thomas Schwinge <thomas@codesourcery.com>
24340
24341 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
24342 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
24343 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
24344 fanotify_mark.
24345
243462012-06-23 Thomas Schwinge <thomas@codesourcery.com>
24347
24348 * sysdeps/mach/start.c: Remove file.
24349 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
24350 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
24351 * sysdeps/sh/init-first.c: Likewise.
24352
24353 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
24354 registers for frame unwinding purposes, add CFI directives.
24355 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24356 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
24357 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
24358 Likewise.
24359
24360 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
24361 __fortify_fail returning.
24362 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24363
24364 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
24365 sysdeps/sh/____longjmp_chk.S.
24366 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
24367 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
24368 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
24369 (gen-as-const-headers): Append sigaltstack-offsets.sym.
24370
24371 * sysdeps/sh/abort-instr.h: New file.
24372 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
24373 process in case exit returns.
24374
24375 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
24376 initialize the GOT register before use.
24377
24378 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
24379 calculation of ARGC > 4.
24380
24381 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
24382 meaningful names to some local labels.
24383
243842012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24385 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24386
24387 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
24388 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
24389 (__arch_compare_and_exchange_val_16_acq): Likewise.
24390 (__arch_compare_and_exchange_val_32_acq): Likewise.
24391 (atomic_exchange_and_add): Fix gUSA sequence.
24392 (atomic_add): Likewise.
24393 (atomic_add_negative): Likewise.
24394 (atomic_add_zero): Likewise.
24395 (atomic_bit_test_set): Likewise.
24396
243972012-06-22 Andreas Schwab <schwab@redhat.com>
24398
24399 [BZ #13579]
24400 * include/link.h (struct link_map): Add l_free_initfini.
24401 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
24402 l_initfini.
24403 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
24404 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
24405 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
24406 set.
24407
244082012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
24409
24410 * configure.in: Use AC_LANG_SOURCE.
24411 * configure: Regenerate.
24412
244132012-06-22 Roland McGrath <roland@hack.frob.com>
24414
24415 * configure.in (libc_cv_localstatedir): New substituted variable.
24416 * configure: Regenerated.
24417 * config.make.in (localstatedir): New variable, substituted from
24418 libc_cv_localstatedir.
24419 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
24420 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
24421 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
24422 * sysdeps/gnu/configure: Regenerated.
24423
244242012-06-21 Jeff Law <law@redhat.com>
24425
24426 [BZ #14277]
24427 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
24428 free. Simplify list management for _LIBC case.
24429
244302012-06-21 Joseph Myers <joseph@codesourcery.com>
24431
24432 [BZ #14273]
24433 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24434 Clear sign bit of 64-bit integer value before comparing against
24435 overflow value.
24436
24437 * sysdeps/mach/configure: Regenerated.
24438
244392012-06-21 H.J. Lu <hongjiu.lu@intel.com>
24440
24441 [BZ #14278]
24442 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
24443
244442012-06-21 Jeff Law <law@redhat.com>
24445
24446 [BZ #13882]
24447 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
24448 uint16_t for elements in the "seen" array to avoid char overflows.
24449 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24450 * elf/dl-open.c (dl_open_worker): Likewise.
24451
244522012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
24453
24454 * scripts/list-sources.sh: Scan PORTS for translations.
24455 * po/libc.pot: Regenerated.
24456
244572012-06-21 Andreas Jaeger <aj@suse.de>
24458
24459 [BZ #12194]
24460 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
24461 warning.
24462 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
24463 * bits/byteswap-16.h (__bswap_16): Likewise.
24464 * bits/byteswap.h (__bswap_constant_16): Likewise.
24465
244662012-06-18 H.J. Lu <hongjiu.lu@intel.com>
24467
24468 [BZ #14117]
24469 * sysdeps/i386/fpu_control.h: Removed.
24470 * sysdeps/x86_64/fpu_control.h: Moved to ...
24471 * sysdeps/x86/fpu_control.h: Here.
24472
24473 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
24474 (_FPU_SETCW): Likewise.
24475
244762012-06-15 H.J. Lu <hongjiu.lu@intel.com>
24477
24478 [BZ #14117]
24479 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
24480 * sysdeps/x86/fpu/bits/mathinline.h: This.
24481 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
24482
24483 [BZ #14050]
24484 [BZ #14117]
24485 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
24486 functions if __x86_64__ is defined.
24487
244882012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
24489
24490 * string/endian.h: Add !__ASSEMBLER__ condition for including
24491 conversion interfaces.
24492
244932012-06-15 Joseph Myers <joseph@codesourcery.com>
24494
24495 [BZ #14241]
24496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
24497 of ABS(x) in calculating zero to negative powers other than odd
24498 integers.
24499 * math/libm-test.inc (pow_test): Add more tests.
24500
245012012-06-15 Andreas Jaeger <aj@suse.de>
24502
24503 * manual/contrib.texi (Contributors): Update entry of Liubov
24504 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
24505 Machado Filho.
24506
245072012-06-15 Cyril Hrubis <metan@ucw.cz>
24508
24509 * string/string.h: Add __wur to GNU version of strerror_r.
24510
245112012-06-14 H.J. Lu <hongjiu.lu@intel.com>
24512
24513 [BZ #14229]
24514 * string/Makefile (tests): Add tst-strtok_r.
24515 * string/tst-strtok_r.c: New file.
24516 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
24517 RAX_LP/RDX_LP on SAVE_PTR.
24518
245192012-06-14 Roland McGrath <roland@hack.frob.com>
24520
24521 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24522
245232012-06-14 Joseph Myers <joseph@codesourcery.com>
24524
24525 * libm_test.inc (csqrt_test): Allow more spurious underflow
24526 exceptions.
24527 (j0_test): Likewise.
24528 (j1_test): Likewise.
24529 (y0_test): Likewise.
24530 (y1_test): Likewise.
24531
245322012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
24533
24534 * po/Makefile (libc.pot): Use UTF-8 charset.
24535
245362012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
24537
24538 [BZ #14210]
24539 Suppress sign-conversion warning from FD_SET.
24540 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24541 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24542 not unsigned long int.
24543 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24544
245452012-06-12 H.J. Lu <hongjiu.lu@intel.com>
24546
24547 [BZ #14050]
24548 [BZ #14117]
24549 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24550 __extern_always_inline instead of __extern_inline.
24551 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24552 (__signbit): Likewise.
24553 (__signbitl): Support C++ namespace.
24554 (lrintf): New inline function.
24555 (lrint): Likewise.
24556 (llrintf): Likewise.
24557 (llrint): Likewise.
24558 (fmaxf): Likewise.
24559 (fmax): Likewise.
24560 (fminf): Likewise.
24561 (fmin): Likewise.
24562 (rint): Likewise.
24563 (rintf): Likewise.
24564 (ceil): Likewise.
24565 (ceilf): Likewise.
24566 (floor): Likewise.
24567 (floorf): Likewise.
24568 (nearbyint): Likewise.
24569 (nearbyintf): Likewise.
24570
245712012-06-12 Thomas Schwinge <thomas@codesourcery.com>
24572
24573 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24574 non-default versions.
24575
245762012-06-11 Roland McGrath <roland@hack.frob.com>
24577
24578 [BZ #14218]
24579 * manual/argp.texi (Argp): Reword argp_parse description slightly.
24580
245812012-06-09 Thomas Schwinge <thomas@codesourcery.com>
24582
24583 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24584 (FE_UPWARD, FE_DOWNWARD): Don't define.
24585 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24586 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24587
24588 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24589 reading it.
24590 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24591 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24592
245932012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24594
24595 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24597 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24598 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24599
246002012-06-06 H.J. Lu <hongjiu.lu@intel.com>
24601
24602 [BZ #14117]
24603 * sysdeps/i386/fpu/bits/fenv.h: Removed.
24604 * sysdeps/i386/fpu/Implies: New file.
24605 * sysdeps/x86_64/fpu/Implies: Likewise.
24606 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24607 * sysdeps/x86/fpu/bits/fenv.h: This.
24608
24609 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24610 __SSE_MATH__.
24611
246122012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24613
24614 [BZ #14134]
24615 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24616 character 0xffff that matches the last element of the
24617 conversion table.
24618
246192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24620
24621 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24622 fmodl commit.
24623
246242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24625
24626 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24627 values higher than 25.6283.
24628
246292012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24630
24631 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24632 subnormal exponent extraction and add some __builtin_expect.
24633 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24634 Fix for subnormal mantissa calculation.
24635
246362012-06-04 Mike Frysinger <vapier@gentoo.org>
24637
24638 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24639 cpu2 is -1 and errno is not ENOSYS.
24640
246412012-06-04 H.J. Lu <hongjiu.lu@intel.com>
24642
24643 [BZ #14117]
24644 * sysdeps/i386/i486/bits/string.h: Renamed to ...
24645 * sysdeps/x86/bits/string.h: This.
24646 * sysdeps/x86_64/bits/string.h: Removed.
24647
24648 * sysdeps/i386/i486/bits/string.h: Define inline functions only
24649 if not compiling for x86-64, but compiling for >= i486.
24650
24651 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24652 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24653
24654 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24655 New macro from Linux kernel 3.4.0.
24656 (FP_XSTATE_MAGIC2): Likewise.
24657 (FP_XSTATE_MAGIC2_SIZE): Likewise.
24658 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24659 (struct _fpx_sw_bytes): New struct.
24660 (struct _xsave_hdr): Likewise.
24661 (struct _ymmh_state): Likewise.
24662 (struct _xstate): Likewise.
24663
24664 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24665 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24666 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24667 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24668 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24669 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24670
24671 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24672 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24673 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24674 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24675 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24676 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24677
246782012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24679
24680 [BZ #13743]
24681 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24682 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24683 (sysdep_headers): Include sys/platform/ppc.h.
24684 * sysdeps/powerpc/test-gettimebase.c: Test for
24685 __ppc_get_timebase() to catch future ISA opcode/insn changes.
24686 * manual/Makefile (appendices): Include platform.texi.
24687 * manual/contrib.texi (Contributors): Update @node pointers.
24688 * manual/maint.texi (Maintenance): Likewise.
24689 (Platform): New node.
24690 * manual/platform.texi: New file. Document the new features.
24691
246922012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24693 Jakub Jelinek <jakub@redhat.com>
24694
24695 [BZ #14188]
24696 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24697 where __builtin_expect is unavailable.
24698
246992012-06-03 David S. Miller <davem@davemloft.net>
24700
24701 * stdlib/longlong.h: Updated from GCC.
24702
247032012-06-02 Andreas Schwab <schwab@linux-m68k.org>
24704
24705 [BZ #14042]
24706 * sysdeps/powerpc/powerpc32/mcount.c: New file.
24707 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24708 __mcount_internal.
24709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24710 (GLIBC_2.16): Likewise.
24711
247122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24713
24714 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24715
247162012-06-01 Joseph Myers <joseph@codesourcery.com>
24717
24718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24719 (default-abi): New variable.
24720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24721 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24722 variable.
24723 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24724 Likewise.
24725 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24726 Likewise.
24727 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24728 Likewise.
24729
24730 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24731 definition. Document in comment.
24732
247332012-06-01 David S. Miller <davem@davemloft.net>
24734
24735 * stdlib/longlong.h: Updated from GCC.
24736
247372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24738
24739 [BZ #14117]
24740 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24741 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24742 sys/debugreg.h sys/io.h here.
24743 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24744 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24745 sys/io.h.
24746 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24747 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24748 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24749 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24750 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24751 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24752
24753 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24754 Define only if __x86_64__ is defined.
24755
247562012-06-01 Joseph Myers <joseph@codesourcery.com>
24757
24758 [BZ #14048]
24759 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24760 Use int64_t for variable i.
24761 * math/libm-test.inc (fmod_test): Add more tests.
24762
24763 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24764 z computation is not scheduled after fetestexcept.
24765 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24766 Use math_force_eval instead of asm to ensure calculation scheduled
24767 before exception test.
24768 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24769 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24770
247712012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24772
24773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24774 computation is not scheduled after fetestexcept.
24775
247762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24777
24778 [BZ #14117]
24779 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24780 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24781
247822012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24783
24784 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24785 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24786
247872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24788
24789 [BZ #14117]
24790 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24791 <bits/wordsize.h>.
24792 (__WCHAR_MIN): Support __WORDSIZE == 64.
24793 (__WCHAR_MAX): Likewise.
24794
24795 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24796 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24797
24798 [BZ #14183]
24799 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24800 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24801
24802 [BZ #14117]
24803 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24804 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24805
24806 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24807 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24808
24809 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24810 Defined to 1 if __x86_64__ isn't defined.
24811 (_STAT_VER_LINUX_OLD): New.
24812 (st_atime): Remove duplicate.
24813 (st_mtime): Likewise.
24814 (st_ctime): Likewise.
24815
248162012-05-31 David S. Miller <davem@davemloft.net>
24817
24818 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24819 entries.
24820
248212012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24822
24823 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24824 gen-libm-test.pl.
24825
24826 [BZ #14132]
24827 * elf/dl-reloc.c: Include <_itoa.h>.
24828 (_dl_reloc_bad_type): Remove use of INTUSE.
24829 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24830 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24831 * stdio-common/psiginfo.c (psiginfo): Likewise.
24832 * stdio-common/psignal.c (psignal): Likewise.
24833 * string/strsignal.c (strsignal): Likewise.
24834 * include/signal.h (_sys_siglist): Declare hidden proto.
24835 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24836 INTVARDEF with libc_hidden_data_def.
24837 * stdio-common/itoa-udigits.c: Likewise.
24838 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24839 (_itoa_lower_digits_internal): Remove declaration.
24840 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24841 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24842 (_sys_sigabbrev_internal): Remove aliases.
24843 (_sys_siglist): Define hidden alias.
24844
248452012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24846
24847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24848 bits/sysctl.h.
24849
248502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24851
24852 [BZ #14117]
24853 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24854 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24855
24856 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24857 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24858 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24859 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24860 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24861 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24862
24863 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24864 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24865 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24866
24867 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24868 with __addr.
24869 (insw): Likewise.
24870 (insl): Likewise.
24871 (outsb): Likewise.
24872 (outsw): Likewise.
24873 (outsl): Likewise.
24874
24875 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24876 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24877 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24878
24879 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24880 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24881 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24882 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24883 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24884 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24885
24886 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24887 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24888
24889 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24890 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24891
24892 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24893 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24894 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24895
24896 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24897 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24898 to ...
24899 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24900
24901 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24902 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24903 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24904
24905 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24906 for x86-64.
24907 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24908
249092012-05-31 Joseph Myers <joseph@codesourcery.com>
24910
24911 * math/math.h (M_El): Use two more decimal places.
24912 (M_LOG2El): Likewise.
24913 (M_LOG10El): Likewise.
24914 (M_LN2l): Likewise.
24915 (M_LN10l): Likewise.
24916 (M_PIl): Likewise.
24917 (M_PI_2l): Likewise.
24918 (M_PI_4l): Likewise.
24919 (M_1_PIl): Likewise.
24920 (M_2_PIl): Likewise.
24921 (M_2_SQRTPIl): Likewise.
24922 (M_SQRT2l): Likewise.
24923 (M_SQRT1_2l): Likewise.
24924
249252012-05-31 David S. Miller <davem@davemloft.net>
24926
24927 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24928 values between float registers.
24929 * sysdeps/sparc/sparc64/memset.S: Likewise.
24930 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24931
249322012-05-31 Mike Frysinger <vapier@gentoo.org>
24933
24934 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24935 -D_FORTIFY_SOURCE=1.
24936 (CPPFLAGS-tst-longjmp_chk.c): Define.
24937 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24938 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24939 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24940 CFLAGS-tst-wchar-h.c.
24941
249422012-05-31 Marek Polacek <polacek@redhat.com>
24943
24944 [BZ #14132]
24945 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24946 __endmntent_internal): Remove declaration.
24947 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24948 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24949 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24950
249512012-05-30 David S. Miller <davem@davemloft.net>
24952
24953 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24954 (___Q_simulate_exceptions): Use real FP ops rather than writing
24955 into the %fsr.
24956 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24957 Likewise.
24958
249592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24960
24961 [BZ #14117]
24962 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24963 * sysdeps/x86/bits/xtitypes.h: This.
24964
24965 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24966 * sysdeps/x86/bits/wordsize.h: This.
24967
24968 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24969 * sysdeps/x86/bits/huge_vall.h: This.
24970
24971 * sysdeps/i386/bits/select.h: Removed.
24972 * sysdeps/x86_64/bits/select.h: Renamed to ...
24973 * sysdeps/x86/bits/select.h: This.
24974
24975 * sysdeps/i386/bits/setjmp.h: Removed.
24976 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24977 * sysdeps/x86/bits/setjmp.h: This.
24978
24979 * sysdeps/i386/bits/mathdef.h: Removed.
24980 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24981 * sysdeps/x86/bits/mathdef.h: This.
24982
249832012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24984
24985 [BZ #14132]
24986 * include/sys/socket.h (__connect_internal)
24987 (__libc_sa_len_internal): Remove declaration.
24988 (__connect, __libc_sa_len): Declare hidden_proto.
24989 (SA_LEN): Remove use of INTUSE.
24990 * socket/connect.c: Add libc_hidden_def.
24991 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24992 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24993 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24994 alias.
24995 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24996 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24997 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24998 of adding _internal alias.
24999
250002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25001
25002 [BZ #14117]
25003 * sysdeps/i386/bits/link.h: Removed.
25004 * sysdeps/i386/bits/linkmap.h: Likewise.
25005 * sysdeps/x86_64/bits/link.h: Renamed to ...
25006 * sysdeps/x86/bits/link.h: This.
25007 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
25008 * sysdeps/x86/bits/linkmap.h: This.
25009
25010 * sysdeps/i386/bits/endian.h: Removed.
25011 * sysdeps/x86_64/bits/endian.h: Renamed to ...
25012 * sysdeps/x86/bits/endian.h: This.
25013
25014 * sysdeps/i386/bits/byteswap.h: Removed.
25015 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25016 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
25017 * sysdeps/x86/bits/byteswap.h: This.
25018 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
25019 * sysdeps/x86/bits/byteswap-16.h: This.
25020 * sysdeps/i386/Implies: Add x86.
25021 * sysdeps/x86_64/Implies: Likewise.
25022
250232012-05-30 David S. Miller <davem@davemloft.net>
25024
25025 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
25026 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
25027 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25028 (FP_TRAPPING_EXCEPTIONS): Define.
25029 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25030 (FP_TRAPPING_EXCEPTIONS): Define.
25031 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
25032 subnormals only when inexact has been signalled or underflow
25033 exceptions are enabled.
25034 (_FP_PACK_CANONICAL): Likewise.
25035
250362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25037
25038 [BZ #14183]
25039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
25040 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
25041
250422012-05-30 Richard Henderson <rth@twiddle.net>
25043
25044 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
25045 with #ifndef NOT_IN_libc.
25046
25047 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
25048 marked to avoid plt entry.
25049
250502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25051
25052 [BZ #14112]
25053 * Makeconfig (default-abi): New macro.
25054 (abi-includes): Likewise.
25055 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
25056 $(abi-$(default-abi)-lib-soname) for soname if defined.
25057 ($(common-objpfx)gnu/lib-names.stmp): Generate from
25058 abi-variants.
25059 * Makefile (installed-stubs): Likewise.
25060 * include/stubs-biarch.h: Removed.
25061 * scripts/lib-names.awk: Only handle one library at a time.
25062 * scripts/soversions.awk: Remove WORDSIZE support.
25063 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
25064 entries.
25065 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
25066 Removed.
25067 (syscall-list-default-condition): Likewise.
25068 (syscall-list-default-condition): Likewise.
25069 (syscall-list-includes): Likewise.
25070 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
25071 syscall-list-* with abi-*. Handle undefined abi-variants.
25072 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
25073 * sysdeps/unix/sysv/linux/i386/Implies: New file.
25074 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
25075 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
25076 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
25077 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
25078 Removed.
25079 (syscall-list-32-options): Likewise.
25080 (syscall-list-32-condition): Likewise.
25081 (syscall-list-64-options): Likewise.
25082 (syscall-list-64-condition): Likewise.
25083 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
25084 macro.
25085 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
25086 Renamed to ...
25087 (abi-*): This.
25088 (abi-64-ld-soname): New macro.
25089 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
25090 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
25091 Renamed to ...
25092 (abi-*): This.
25093 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
25094 * sysdeps/x86_64/x32/shlib-versions: Likewise.
25095
250962012-05-30 Joseph Myers <joseph@codesourcery.com>
25097
25098 * sysdeps/unix/sysv/linux/kernel-features.h
25099 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
25100 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
25101 include <kernel-features.h>.
25102 [!__NR_ftruncate64]: Remove conditional code.
25103 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25104 [__NR_ftruncate64]: Make code unconditional.
25105 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25106 * sysdeps/unix/sysv/linux/truncate64.c: Do not
25107 include <kernel-features.h>.
25108 [!__NR_ftruncate64]: Remove conditional code.
25109 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25110 [__NR_ftruncate64]: Make code unconditional.
25111 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
25113 include <kernel-features.h>.
25114 [!__NR_ftruncate64]: Remove conditional code.
25115 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25116 [__NR_ftruncate64]: Make code unconditional.
25117 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25119 include <kernel-features.h>.
25120 [!__NR_ftruncate64]: Remove conditional code.
25121 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25122 [__NR_ftruncate64]: Make code unconditional.
25123 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25124
25125 * configure.in (libc_cv_fpie): Weaken to a compile test using
25126 LIBC_TRY_CC_OPTION.
25127 * configure: Regenerated.
25128
251292012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25130
25131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
25132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
25133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
25134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25135 Refreshed.
25136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
25137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
25138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
25139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
25140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
25141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25142 Refreshed.
25143
251442012-05-27 David S. Miller <davem@davemloft.net>
25145
25146 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
25147 (___Q_zero): New.
25148 (__Q_simulate_exceptions): Return void. Change to simulate
25149 exceptions by writing into the %fsr.
25150 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
25151 (__Qp_handle_exceptions): Likewise.
25152 (numbers): Delete.
25153 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
25154 __Qp_handle_exceptions.
25155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
25156 __Qp_handle_exceptions.
25157 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
25158 as unused and give dummy FP_RND_NEAREST initializer.
25159 (FP_INHIBIT_RESULTS): Define.
25160 (___Q_simulate_exceptions): Update declaration.
25161 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
25162 formatting.
25163 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
25164 as unused and give dummy FP_RND_NEAREST initializer.
25165 (__Qp_handle_exceptions): Update declaration.
25166 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
25167 formatting.
25168
251692012-05-27 Thomas Schwinge <thomas@codesourcery.com>
25170
25171 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
25172 the temporary FPU control word.
25173 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25174 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
25175 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25176 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25177 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25178 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25179 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25180 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25181 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25182 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25183 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25184
251852012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25186
25187 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
25188 fields.
25189
251902012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
25191
25192 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
25193 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
25194 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
25195 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
25196 Likewise.
25197 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
25198 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
25199 Likewise.
25200
252012012-05-27 Ulrich Drepper <drepper@gmail.com>
25202
25203 * po/h.po: Update from translation team.
25204
252052012-05-26 Andreas Schwab <schwab@linux-m68k.org>
25206
25207 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
25208
25209 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
25210 handling of denormals.
25211 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25212 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25213 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25214 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25216 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
25217 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
25218 Likewise.
25219
252202012-05-26 Marek Polacek <polacek@redhat.com>
25221
25222 [BZ #14152]
25223 * math/libm-test.inc (fma_test): Don't always expect underflow
25224 exception.
25225
252262012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25227
25228 [BZ #12416]
25229 * elf/tst-execstack.c: Include stackinfo.h.
25230 (do_test): Adjust test case to ensure that pthread_getattr_np
25231 behaviour remains the same after marking stack executable.
25232
252332012-05-25 Joseph Myers <joseph@codesourcery.com>
25234
25235 * sysdeps/unix/sysv/linux/kernel-features.h
25236 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
25237 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
25238 kernel-features.h.
25239 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
25240 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
25241 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
25242 kernel-features.h.
25243 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
25244 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
25245
252462012-05-25 H.J. Lu <hongjiu.lu@intel.com>
25247
25248 * configure.in: Define the default includes to being none.
25249 * configure: Regenerated.
25250
252512012-05-25 Roland McGrath <roland@hack.frob.com>
25252
25253 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
25254 * sysdeps/x86_64/setjmp.S: Likewise.
25255 * sysdeps/i386/bsd-setjmp.S: Likewise.
25256 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25257 * sysdeps/i386/setjmp.S: Likewise.
25258 * sysdeps/i386/__longjmp.S: Likewise.
25259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25260 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
25261
25262 * include/stap-probe.h: New file.
25263 * configure.in: Handle --enable-systemtap.
25264 * configure: Regenerated.
25265 * config.h.in (USE_STAP_PROBE): New #undef.
25266 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
25267 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
25268 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25269
252702012-05-25 Joseph Myers <joseph@codesourcery.com>
25271
25272 [BZ #13717]
25273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25274 to 2.4.0 where earlier.
25275 * sysdeps/unix/sysv/linux/configure: Regenerated.
25276 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25277 <kernel-features.h>.
25278 [__ASSUME_32BITUIDS]: Make code unconditional.
25279 [!__ASSUME_32BITUIDS]: Remove conditional code.
25280 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
25281 <kernel-features.h>.
25282 [__ASSUME_32BITUIDS]: Make code unconditional.
25283 [!__ASSUME_32BITUIDS]: Remove conditional code.
25284 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
25285 [__ASSUME_32BITUIDS]: Make code unconditional.
25286 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
25287 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
25288 <kernel-features.h>.
25289 [__ASSUME_32BITUIDS]: Make code unconditional.
25290 [!__ASSUME_32BITUIDS]: Remove conditional code.
25291 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
25292 <kernel-features.h>.
25293 [__ASSUME_32BITUIDS]: Make code unconditional.
25294 [!__ASSUME_32BITUIDS]: Remove conditional code.
25295 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
25296 <kernel-features.h>.
25297 [__ASSUME_32BITUIDS]: Make code unconditional.
25298 [!__ASSUME_32BITUIDS]: Remove conditional code.
25299 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
25300 <kernel-features.h>.
25301 [__ASSUME_32BITUIDS]: Make code unconditional.
25302 [!__ASSUME_32BITUIDS]: Remove conditional code.
25303 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25304 <kernel-features.h>.
25305 [__ASSUME_32BITUIDS]: Make code unconditional.
25306 [!__ASSUME_32BITUIDS]: Remove conditional code.
25307 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25308 <kernel-features.h>.
25309 [__ASSUME_32BITUIDS]: Make code unconditional.
25310 [!__ASSUME_32BITUIDS]: Remove conditional code.
25311 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
25312 <kernel-features.h>.
25313 [__ASSUME_32BITUIDS]: Make code unconditional.
25314 [!__ASSUME_32BITUIDS]: Remove conditional code.
25315 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25316 <kernel-features.h>.
25317 [__ASSUME_32BITUIDS]: Make code unconditional.
25318 [!__ASSUME_32BITUIDS]: Remove conditional code.
25319 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25320 <kernel-features.h>.
25321 [__ASSUME_32BITUIDS]: Make code unconditional.
25322 [!__ASSUME_32BITUIDS]: Remove conditional code.
25323 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
25324 <kernel-features.h>.
25325 [__ASSUME_32BITUIDS]: Make code unconditional.
25326 [!__ASSUME_32BITUIDS]: Remove conditional code.
25327 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
25328 <kernel-features.h>.
25329 [__NR_setresgid] (__setresgid): Do not declare.
25330 [__ASSUME_32BITUIDS]: Make code unconditional.
25331 [!__ASSUME_32BITUIDS]: Remove conditional code.
25332 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
25333 <kernel-features.h>.
25334 [__NR_setresuid] (__setresuid): Do not declare.
25335 [__ASSUME_32BITUIDS]: Make code unconditional.
25336 [!__ASSUME_32BITUIDS]: Remove conditional code.
25337 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
25338 <kernel-features.h>.
25339 [__ASSUME_32BITUIDS]: Make code unconditional.
25340 [!__ASSUME_32BITUIDS]: Remove conditional code.
25341 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
25342 <kernel-features.h>.
25343 [__ASSUME_32BITUIDS]: Make code unconditional.
25344 [!__ASSUME_32BITUIDS]: Remove conditional code.
25345 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
25346 <kernel-features.h>.
25347 [__ASSUME_32BITUIDS]: Make code unconditional.
25348 [!__ASSUME_32BITUIDS]: Remove conditional code.
25349 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
25350 <kernel-features.h>.
25351 [__ASSUME_32BITUIDS]: Make code unconditional.
25352 [!__ASSUME_32BITUIDS]: Remove conditional code.
25353 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
25354 <kernel-features.h>.
25355 [__ASSUME_32BITUIDS]: Make code unconditional.
25356 [!__ASSUME_32BITUIDS]: Remove conditional code.
25357 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
25358 <kernel-features.h>.
25359 [__ASSUME_32BITUIDS]: Make code unconditional.
25360 [!__ASSUME_32BITUIDS]: Remove conditional code.
25361 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
25362 <kernel-features.h>.
25363 [__ASSUME_32BITUIDS]: Make code unconditional.
25364 [!__ASSUME_32BITUIDS]: Remove conditional code.
25365 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
25366 <kernel-features.h>.
25367 [__ASSUME_32BITUIDS]: Make code unconditional.
25368 [!__ASSUME_32BITUIDS]: Remove conditional code.
25369 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
25370 <kernel-features.h>.
25371 [__ASSUME_32BITUIDS]: Make code unconditional.
25372 [!__ASSUME_32BITUIDS]: Remove conditional code.
25373 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25374 <kernel-features.h>.
25375 [__ASSUME_32BITUIDS]: Make code unconditional.
25376 [!__ASSUME_32BITUIDS]: Remove conditional code.
25377 * sysdeps/unix/sysv/linux/kernel-features.h
25378 (__ASSUME_SETRESUID_SYSCALL): Remove.
25379 (__ASSUME_SETRESGID_SYSCALL): Likewise.
25380 (__ASSUME_32BITUIDS): Likewise.
25381 (__ASSUME_LDT_WORKS): Likewise.
25382 (__ASSUME_O_DIRECTORY): Likewise.
25383 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
25384 architecture but not kernel version.
25385 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25386 (__ASSUME_MMAP2_SYSCALL): Likewise.
25387 (__ASSUME_STAT64_SYSCALL): Likewise.
25388 (__ASSUME_IPC64): Likewise.
25389 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
25390 <kernel-features.h>.
25391 [__ASSUME_32BITUIDS]: Make code unconditional.
25392 [!__ASSUME_32BITUIDS]: Remove conditional code.
25393 * sysdeps/unix/sysv/linux/opendir.c: Do not include
25394 <kernel-features.h>.
25395 [__ASSUME_O_DIRECTORY]: Make code unconditional.
25396 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
25397 132096]: Remove conditional code.
25398 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
25399 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25400 <kernel-features.h>.
25401 [__ASSUME_32BITUIDS]: Make code unconditional.
25402 [!__ASSUME_32BITUIDS]: Remove conditional code.
25403 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25404 <kernel-features.h>.
25405 [__ASSUME_32BITUIDS]: Make code unconditional.
25406 [!__ASSUME_32BITUIDS]: Remove conditional code.
25407 * sysdeps/unix/sysv/linux/setegid.c: Do not include
25408 <kernel-features.h>.
25409 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
25410 unconditional.
25411 (__setresgid): Do not declare.
25412 [__ASSUME_32BITUIDS]: Make code unconditional.
25413 [!__ASSUME_32BITUIDS]: Remove conditional code.
25414 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
25415 <kernel-features.h>.
25416 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
25417 unconditional.
25418 (__setresuid): Do not declare.
25419 [__ASSUME_32BITUIDS]: Make code unconditional.
25420 [!__ASSUME_32BITUIDS]: Remove conditional code.
25421 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25422 <kernel-features.h>.
25423 [__ASSUME_32BITUIDS]: Make code unconditional.
25424 [!__ASSUME_32BITUIDS]: Remove conditional code.
25425 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
25426 <kernel-features.h>.
25427 [__ASSUME_32BITUIDS]: Make code unconditional.
25428 [!__ASSUME_32BITUIDS]: Remove conditional code.
25429
254302012-05-25 Richard Henderson <rth@twiddle.net>
25431
25432 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
25433 dl_hwcap to ifunc resolver.
25434 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
25435 elf_ifunc_invoke.
25436 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
25437 dl_hwcap to ifunc resolver.
25438 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
25439
254402012-05-24 Joseph Myers <joseph@codesourcery.com>
25441
25442 [BZ #14153]
25443 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
25444 for |x| <= 2**-26, not 2**-57.
25445 * math/libm-test.inc (acos_test): Do not allow spurious underflow
25446 exception.
25447
254482012-05-24 Jeff Law <law@redhat.com>
25449
25450 * stdio-common/Makefile (tests): Add bug25.
25451 * stdio-common/bug25.c: New test.
25452
254532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25454
25455 [BZ #13576]
25456 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
25457 multiple of MALLOC_ALIGNMENT in size.
25458 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
25459
254602012-05-24 Joseph Myers <joseph@codesourcery.com>
25461
25462 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
25463 Require >= 256.
25464 (FILENAME_MAX): Use macro-int-constant.
25465 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
25466 (_IOFBF): Use macro-int-constant.
25467 (_IOLBF): Likewise.
25468 (_IONBF): Likewise.
25469 (SEEK_CUR): Likewise.
25470 (SEEK_END): Likewise.
25471 (SEEK_SET): Likewise.
25472 (TMP_MAX): Likewise.
25473 (EOF): Use macro-int-constant. Require < 0.
25474 (NULL): Use macro-constant. Require == 0.
25475 (stdin): Require type to be FILE *.
25476 (stdout): Likewise.
25477 (stderr): Likewise.
25478 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
25479 macro-int-constant.
25480 (EXIT_SUCCESS): Likewise.
25481 (NULL): Use macro-constant. Require == 0.
25482 (RAND_MAX): Use macro-int-constant.
25483 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
25484 [C99-based standards] (strtof): Require function.
25485 [C99-based standards] (strtold): Likewise.
25486 [C99-based standards] (strtoll): Likewise.
25487 [C99-based standards] (strtoull): Likewise.
25488 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25489 [ISO || ISO99 || ISO11] (limits.h): Likewise.
25490 [ISO || ISO99 || ISO11] (math.h): Likewise.
25491 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
25492 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25493 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25494
254952012-05-24 Andreas Schwab <schwab@linux-m68k.org>
25496
25497 [BZ #14132]
25498 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
25499 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
25500 * intl/dgettext.c (DCGETTEXT): Likewise.
25501 * intl/gettext.c (DCGETTEXT): Likewise.
25502 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
25503 * posix/regex_internal.h (gettext): Likewise.
25504 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
25505 Remove declaration.
25506 * include/argz.h (__argz_count_internal)
25507 (__argz_stringify_internal): Remove declaration.
25508 (__argz_count, __argz_stringify): Declare hidden proto.
25509 * intl/dcgettext.c: Remove use of INTDEF.
25510 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
25511 * string/argz-stringify.c: Likewise.
25512 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25513 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25514 Declare hidden proto.
25515 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25516 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25517 Declare hidden proto.
25518 * include/stdio.h (__asprintf_internal): Don't declare.
25519 (__asprintf): Don't define as macro. Declare hidden proto.
25520 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25521 (__fsetlocking): Declare hidden proto.
25522 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25523 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25524 hidden proto.
25525 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25526 (_IO_setlinebuf): Remove use of INTUSE.
25527 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25528 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25529 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25530 Remove declaration.
25531 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25532 (_IO_do_flush): Remove use of INTUSE.
25533 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25534 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25535 (_IO_adjust_column, _IO_least_wmarker)
25536 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25537 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25538 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25539 (_IO_default_doallocate, _IO_wdefault_doallocate)
25540 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25541 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25542 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25543 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25544 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25545 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25546 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25547 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25548 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25549 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25550 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25551 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25552 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25553 proto.
25554 (_IO_flush_all_internal, _IO_adjust_column_internal)
25555 (_IO_default_uflow_internal, _IO_default_finish_internal)
25556 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25557 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25558 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25559 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25560 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25561 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25562 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25563 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25564 (_IO_file_close_internal, _IO_file_close_it_internal)
25565 (_IO_file_underflow_internal, _IO_file_overflow_internal)
25566 (_IO_file_init_internal, _IO_file_attach_internal)
25567 (_IO_file_fopen_internal, _IO_file_read_internal)
25568 (_IO_file_sync_internal, _IO_file_seek_internal)
25569 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25570 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25571 (_IO_str_underflow_internal, _IO_str_overflow_internal)
25572 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25573 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25574 (_IO_list_all_internal, _IO_link_in_internal)
25575 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25576 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25577 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25578 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25579 (_IO_do_write_internal, _IO_padn_internal)
25580 (_IO_getline_info_internal, _IO_getline_internal)
25581 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25582 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25583 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25584 (_IO_vfscanf_internal, _IO_vfprintf_internal)
25585 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25586 (_IO_init_internal, _IO_un_link_internal): Don't declare.
25587 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25588 with libc_hidden_ver, remove use of INTUSE.
25589 * libio/genops.c: Likewise.
25590 * libio/freopen.c: Likewise.
25591 * libio/freopen64.c: Likewise.
25592 * libio/iofclose.c: Likewise.
25593 * libio/iofdopen.c: Likewise.
25594 * libio/iofflush.c: Likewise.
25595 * libio/iofflush_u.c: Likewise.
25596 * libio/iofgets.c: Likewise.
25597 * libio/iofgets_u.c: Likewise.
25598 * libio/iofopen.c: Likewise.
25599 * libio/iofopncook.c: Likewise.
25600 * libio/iofread.c: Likewise.
25601 * libio/iofread_u.c: Likewise.
25602 * libio/ioftell.c: Likewise.
25603 * libio/iofwrite.c: Likewise.
25604 * libio/iogetline.c: Likewise.
25605 * libio/iogets.c: Likewise.
25606 * libio/iogetwline.c: Likewise.
25607 * libio/iopadn.c: Likewise.
25608 * libio/iopopen.c: Likewise.
25609 * libio/ioseekoff.c: Likewise.
25610 * libio/ioseekpos.c: Likewise.
25611 * libio/iosetbuffer.c: Likewise.
25612 * libio/iosetvbuf.c: Likewise.
25613 * libio/ioungetc.c: Likewise.
25614 * libio/ioungetwc.c: Likewise.
25615 * libio/iovdprintf.c: Likewise.
25616 * libio/iovsprintf.c: Likewise.
25617 * libio/iovsscanf.c: Likewise.
25618 * libio/memstream.c: Likewise.
25619 * libio/obprintf.c: Likewise.
25620 * libio/oldfileops.c: Likewise.
25621 * libio/oldiofclose.c: Likewise.
25622 * libio/oldiofdopen.c: Likewise.
25623 * libio/oldiofopen.c: Likewise.
25624 * libio/oldiopopen.c: Likewise.
25625 * libio/oldstdfiles.c: Likewise.
25626 * libio/putc.c: Likewise.
25627 * libio/setbuf.c: Likewise.
25628 * libio/setlinebuf.c: Likewise.
25629 * libio/stdfiles.c: Likewise.
25630 * libio/strops.c: Likewise.
25631 * libio/vasprintf.c: Likewise.
25632 * libio/vscanf.c: Likewise.
25633 * libio/vsnprintf.c: Likewise.
25634 * libio/vswprintf.c: Likewise.
25635 * libio/wfiledoalloc.c: Likewise.
25636 * libio/wfileops.c: Likewise.
25637 * libio/wgenops.c: Likewise.
25638 * libio/wmemstream.c: Likewise.
25639 * libio/wstrops.c: Likewise.
25640 * libio/__fpurge.c: Likewise.
25641 * libio/__fsetlocking.c: Likewise.
25642 * assert/assert.c: Likewise.
25643 * debug/fgets_chk.c: Likewise.
25644 * debug/fgets_u_chk.c: Likewise.
25645 * debug/fread_chk.c: Likewise.
25646 * debug/fread_u_chk.c: Likewise.
25647 * debug/gets_chk.c: Likewise.
25648 * debug/obprintf_chk.c: Likewise.
25649 * debug/vasprintf_chk.c: Likewise.
25650 * debug/vdprintf_chk.c: Likewise.
25651 * debug/vsnprintf_chk.c: Likewise.
25652 * debug/vsprintf_chk.c: Likewise.
25653 * malloc/mtrace.c: Likewise.
25654 * misc/error.c: Likewise.
25655 * misc/syslog.c: Likewise.
25656 * stdio-common/asprintf.c: Likewise.
25657 * stdio-common/fxprintf.c: Likewise.
25658 * stdio-common/getw.c: Likewise.
25659 * stdio-common/isoc99_fscanf.c: Likewise.
25660 * stdio-common/isoc99_scanf.c: Likewise.
25661 * stdio-common/isoc99_vfscanf.c: Likewise.
25662 * stdio-common/isoc99_vscanf.c: Likewise.
25663 * stdio-common/isoc99_vsscanf.c: Likewise.
25664 * stdio-common/printf-prs.c: Likewise.
25665 * stdio-common/printf_fp.c: Likewise.
25666 * stdio-common/printf_fphex.c: Likewise.
25667 * stdio-common/printf_size.c: Likewise.
25668 * stdio-common/putw.c: Likewise.
25669 * stdio-common/scanf.c: Likewise.
25670 * stdio-common/sprintf.c: Likewise.
25671 * stdio-common/tmpfile.c: Likewise.
25672 * stdio-common/vfprintf.c: Likewise.
25673 * stdio-common/vfscanf.c: Likewise.
25674 * stdlib/strfmon_l.c: Likewise.
25675 * sunrpc/openchild.c: Likewise.
25676 * sunrpc/xdr_stdio.c: Likewise.
25677 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25678 * sysdeps/mach/hurd/tmpfile.c: Likewise.
25679
256802012-05-24 Roland McGrath <roland@hack.frob.com>
25681
25682 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25683
25684 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25685 in the third column, to generate for the shared library an IFUNC
25686 that uses _dl_vdso_vsym.
25687 * Makerules (COMPILE.c, compile-stdin.c): New variables.
25688 * Makeconfig (object-suffixes-noshared): New variable.
25689
25690 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25691 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25692 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25693 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25694
25695 [BZ #14132]
25696 * include/sys/time.h (__gettimeofday): Remove macro.
25697 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25698 * time/gettimeofday.c (__gettimeofday): Remove #undef.
25699 Remove INTDEF.
25700 (__gettimeofday): Add libc_hidden_def.
25701 (gettimeofday): Add libc_hidden_weak.
25702 * sysdeps/mach/gettimeofday.c: Likewise.
25703 * sysdeps/posix/gettimeofday.c: Likewise.
25704 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25705 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25707 (__gettimeofday_internal): Remove strong_alias.
25708 (__gettimeofday): Add libc_hidden_def.
25709 (gettimeofday): Add libc_hidden_weak.
25710 * sysdeps/unix/syscalls.list (gettimeofday):
25711 Remove __gettimeofday_internal alias.
25712
257132012-05-24 Daniel Jacobowitz <drow@false.org>
25714 H.J. Lu <hongjiu.lu@intel.com>
25715
25716 [BZ #12495]
25717 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25718 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25719 (largebin_index_32_big): New.
25720 (largebin_index): Use it for 16-byte alignment.
25721 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
25722 correction with front_misalign.
25723
257242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25725
25726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25728 Likewise.
25729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25730 Likewise.
25731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25732 Likewise.
25733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25734 Likewise.
25735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25736 Likewise.
25737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25738 Likewise.
25739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25740 Likewise.
25741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25742 Likewise.
25743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25744 Likewise.
25745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25746 Likewise.
25747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25748 Likewise.
25749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25750 Likewise.
25751
25752 * scripts/data/c++-types-x32-linux-gnu.data: New file.
25753 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25754
257552012-05-24 Joseph Myers <joseph@codesourcery.com>
25756
25757 [BZ #10846]
25758 [BZ #14036]
25759 * math/libm-test.inc (exp_test): Add test from bug 14036.
25760 (pow_test): Add test from bug 10846.
25761
25762 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25763 and other flags.
25764 (special_function): Do not include flags in test name.
25765 (parse_args): Likewise.
25766 * sysdeps/i386/fpu/libm-test-ulps: Update.
25767 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25768 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25769 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25771
25772 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25773 exceptions.
25774 * math/libm-test.inc ("Philosophy"): Update comment about
25775 exception testing.
25776 (UNDERFLOW_EXCEPTION): New macro.
25777 (UNDERFLOW_EXCEPTION_OK): Likewise.
25778 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25779 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25780 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25781 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25782 (INVALID_EXCEPTION_OK): Update value.
25783 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25784 (OVERFLOW_EXCEPTION_OK): Likewise.
25785 (IGNORE_ZERO_INF_SIGN): Likewise.
25786 (test_exceptions): Handle underflow exceptions.
25787 (acos_test): Update for underflow exception expectations.
25788 (cexp_test): Likewise.
25789 (clog_test): Likewise.
25790 (clog10_test): Likewise.
25791 (csqrt_test): Likewise.
25792 (ctan_test): Likewise.
25793 (ctanh_test): Likewise.
25794 (exp_test): Likewise.
25795 (exp10_test): Likewise.
25796 (exp2_test): Likewise.
25797 (expm1_test): Likewise.
25798 (fma_test): Likewise.
25799 (j0_test): Likewise.
25800 (jn_test): Likewise.
25801 (nexttoward_test): Likewise.
25802 (pow_test): Likewise.
25803 (scalbn_test): Likewise.
25804 (scalbln_test): Likewise.
25805 (tan_test): Likewise.
25806 (y1_test): Likewise.
25807 * sysdeps/i386/fpu/libm-test-ulps: Update.
25808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25809
258102012-05-23 David S. Miller <davem@davemloft.net>
25811
25812 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25813 (__libc_sigaction): Remove unused local variables.
25814
258152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25816
25817 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25818
258192012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25820
25821 mktime: avoid signed integer overflow
25822 * time/mktime.c (__mktime_internal): Do not mishandle the case
25823 where diff == INT_MIN.
25824
25825 mktime: simplify computation of average
25826 * time/mktime.c (ranged_convert): Use new time_t_avg function
25827 instead of rolling our own (probably-slower) code.
25828
25829 mktime: do not assume signed right shift propagates sign bit
25830 * time/mktime.c (isdst_differ): New static function.
25831 (__mktime_internal): No need to normalize tm_isdst now.
25832 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25833 tm_isdst values.
25834
25835 mktime: merge another wrapv change from gnulib
25836 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25837 from some compilers.
25838
25839 mktime: remove incorrect attempt at unusual arithmetics
25840 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25841 The code didn't really work on such machines anyway.
25842 (TYPE_MINIMUM): Assume two's complement.
25843 (twos_complement_arithmetic): Verify that long_int and time_t
25844 are two's complement (or unsigned, in the latter case).
25845
25846 mktime: check signed shifts on long_int and time_t, too
25847 * time/mktime.c (SHR): Check that shifts work as desired
25848 on the types long_int and time_t too, as SHR is used on
25849 such types.
25850
25851 mktime: do not assume 'long' is wide enough
25852 * time/mktime.c (verify): Move decl up.
25853 (long_int): New type.
25854 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25855 to remove assumption in the code that 'long' is wide enough to
25856 store year values. This assumption is not true on x32 and on
25857 some non-glibc platforms.
25858
25859 mktime: merge wrapv change from gnulib
25860 * time/mktime.c (WRAPV): New macro.
25861 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25862 (guess_time_tm, __mktime_internal): Do not assume that signed
25863 integer overflow wraps around; modern compilers generate code
25864 where this assumption is no longer valid.
25865
258662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25867
25868 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25869 Replace "jmp L(pseudo_end)" with "ret".
25870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25871 Likewise.
25872
258732012-05-23 Andreas Jaeger <aj@suse.de>
25874
25875 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25876 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25877
258782012-05-23 Andreas Jaeger <aj@suse.de>
25879 Maximilian Attems <max@stro.at>
25880
25881 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25882 New macros.
25883
258842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25885
25886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25887 code so that pseudo_end is just ret and the stack pointer is
25888 correct also for static library in error case.
25889
258902012-05-23 Joseph Myers <joseph@codesourcery.com>
25891
25892 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25893 move to syscalls.list.
25894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25898
25899 * manual/install.texi (Running make install): Do not mention Linux
25900 kernel version for which pt_chown is not needed.
25901 (Linux): Do not mention problems with nscd with 2.0 kernels.
25902 * INSTALL: Regenerated.
25903
259042012-05-23 Andreas Jaeger <aj@suse.de>
25905
25906 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25907 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25908 macro.
25909 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25911 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25913 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25915 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25917 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25919 * sysdeps/unix/sysv/linux/bits/in.h
25920 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25921
259222012-05-22 Roland McGrath <roland@hack.frob.com>
25923
25924 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25925 (PREPARE_VERSION): Just use assert instead, it will be elided
25926 under [NDEBUG] anyway.
25927
259282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25929
25930 * sysdeps/unix/sysv/linux/Makefile: Include
25931 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25932 (sysdep_routines): Remove sysctl.
25933 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25934 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25935 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25936 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25937 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25938
259392012-05-22 Andreas Jaeger <aj@suse.de>
25940
25941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25942 that pseudo_end is just ret and the stack pointer is correct also
25943 for static library in error case.
25944
259452012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25946
25947 [BZ #14122]
25948 * nss/nsswitch.c (defconfig_entries): New variable.
25949 (__nss_database_lookup): Don't leak defconfig entries.
25950 (nss_parse_service_list): Don't leak on error paths.
25951 (free_database_entries): New function.
25952 (free_defconfig): New function.
25953 (free_mem): Move common code to free_database_entries.
25954
259552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25956
25957 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25958 Add arch_prctl.
25959 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25960
25961 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25962 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25964 New macro.
25965 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25966 (INTERNAL_SYSCALL_TYPES): Likewise.
25967 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25968 (LOAD_REGS_TYPES_[1-6]): Likewise.
25969 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25970 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25971
259722012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25973
25974 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25975 copysignl for GLIBC_2_0.
25976 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25977 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25979 logbl for GLIBC_2_0.
25980 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25981 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25982
259832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25984
25985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25986 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25987
25988 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25989 Use "neg %eax".
25990
25991 * time/mktime.c: Update copyright years.
25992
259932012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25994
25995 mktime: merge comment-quoting-style change from gnulib
25996 * time/mktime.c: Quote 'like this' in comments.
25997 The GNU coding standards suggest that we no longer quote `like this',
25998 as "`" and "'" are typically rendered asymmetrically nowadays.
25999 The typical gnulib style is to quote 'like this' when quoting
26000 code, and "like this" when quoting English.
26001
26002 * time/mktime.c (compile-command): Add "-I.".
26003
26004 mktime: merge mktime-internal.h change from gnulib
26005 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26006
26007 mktime: merge time_r change from gnulib
26008 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
26009
26010 mktime: merge DEBUG change from gnulib
26011 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
26012 case system <time.h> has a #define.
26013
26014 mktime: merge <sys/types.h> change from gnulib
26015 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
26016 since <time.t> is now guaranteed to define time_t.
26017
26018 mktime: merge HAVE_CONFIG_H change from gnulib
26019 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
26020
260212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26022
26023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26024 Use "neg %eax".
26025
26026 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
26027 __rlim_t cast.
26028 (struct rusage): Use anonymous union to pad each field to
26029 __syscall_slong_t.
26030
260312012-05-21 David S. Miller <davem@davemloft.net>
26032
26033 * Makefules (o-iterator): Remove .s cases.
26034 (compile-command.s): Delete.
26035 (COMPILE.s): Delete.
26036 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
26037
260382012-05-21 Joseph Myers <joseph@codesourcery.com>
26039
26040 * configure.in (libc_cv_predef_stack_protector): Only consider
26041 "foobar" and "__stack_chk_fail" lines in libc_undefs.
26042 * configure: Regenerated.
26043
260442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
26045
26046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26047 New macro. Use R*LP on int and pointer.
26048 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
26049 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
26050 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
26051 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
26052
26053 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
26054 [__WORDSIZE_TIME64_COMPAT32] instead of
26055 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
26056 (struct utmp): Likewise.
26057 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
26058 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
26059 Renamed to ...
26060 (__WORDSIZE_TIME64_COMPAT32): This.
26061 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
26062 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
26063 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
26064 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
26065 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
26066 (__WORDSIZE_TIME64_COMPAT32): New macro.
26067
260682012-05-21 Andreas Jaeger <aj@suse.de>
26069
26070 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
26071 only if [SHARED]. Add prototype for __wcschr_ia32.
26072
260732012-05-21 Roland McGrath <roland@hack.frob.com>
26074
26075 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
26076 of %rbp unmolested in the jmp_buf while mangling the low bits.
26077 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
26078 unmolested high bits of %rbp while demangling the low bits.
26079 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26080
260812012-05-21 Andreas Jaeger <aj@suse.de>
26082
26083 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
26084 * sunrpc/svc_simple.c: Use it for registerrpc.
26085 * sunrpc/xcrypt.c: Use it for passwd2des.
26086
26087 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
26088
260892012-05-21 H.J. Lu <hongjiu.lu@intel.com>
26090
26091 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
26092 Don't define if [__SYSCALL_WORDSIZE != 32].
26093 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
26094 New macro.
26095
260962012-05-21 Bruno Haible <bruno@clisp.org>
26097 Andreas Jaeger <aj@suse.de>
26098
26099 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
26100 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
26101 inptr and inend for must_buffer_ch.
26102 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
26103 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
26104 * stdio-common/Makefile (tests): Remove bug15.
26105 (bug15-ENV): Remove macro.
26106 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
26107 anymore.
26108
261092012-05-19 Andreas Jaeger <aj@suse.de>
26110 Roland McGrath <roland@hack.frob.com>
26111
26112 * manual/contrib.texi: Completely rewritten. It contains now an
26113 alphabetical list of contributors and their contributions.
26114
261152012-05-21 Richard Henderson <rth@twiddle.net>
26116
26117 * misc/getauxval.c (__getauxval): Use unsigned long int.
26118 * misc/sys/auxv.h: Include <sys/cdefs.h>.
26119 (getauxval): Use unsigned long int.
26120
261212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
26122
26123 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26124
261252012-05-21 Roland McGrath <roland@hack.frob.com>
26126
26127 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
26128 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
26129 __alignof__ (long double).
26130
261312012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26132
26133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26134
261352012-05-20 Richard Henderson <rth@twiddle.net>
26136
26137 * misc/getauxval.c: New file.
26138 * misc/sys/auxv.h: New file.
26139 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
26140 (routines): Add getauxval.
26141 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
26142 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
26143 * elf/dl-sysdep.c (_dl_auxv): Remove.
26144 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
26145 * elf/dl-support.c (_dl_auxv): New variable.
26146 (_dl_aux_init): Initialize it.
26147 * manual/startup.texi (Auxiliary Vector): New node.
26148 * sysdeps/generic/bits/hwcap.h: New file.
26149 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
26150 * sysdeps/powerpc/sysdep.h: ... here. Include it.
26151 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
26152 * sysdeps/sparc/sysdep.h: ... here. Include it.
26153 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
26154 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
26155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26156 Update.
26157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
26158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
26159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
26160 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
26161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
26162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
26163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
26164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
26165
261662012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26167
26168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26169
261702012-05-19 David S. Miller <davem@davemloft.net>
26171
26172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26173
261742012-05-19 Joseph Myers <joseph@codesourcery.com>
26175
26176 [BZ #14123]
26177 * math/s_ccosh.c: Include <float.h>
26178 (__ccosh): Avoid internal overflow calculating sinh and cosh
26179 values before multiplying by sin and cos values.
26180 * math/s_ccoshf.c: Likewise.
26181 * math/s_ccoshl.c: Likewise.
26182 * math/s_csin.c: Likewise.
26183 * math/s_csinf.c: Likewise.
26184 * math/s_csinl.c: Likewise.
26185 * math/s_csinh.c: Likewise.
26186 * math/s_csinhf.c: Likewise.
26187 * math/s_csinhl.c: Likewise.
26188 * math/libm-test.inc (ccos_test): Add more tests.
26189 (ccosh_test): Likewise.
26190 (csin_test): Likewise.
26191 (csinh_test): Likewise.
26192 * sysdeps/i386/fpu/libm-test-ulps: Update.
26193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26194
261952012-05-19 H.J. Lu <hongjiu.lu@intel.com>
26196
26197 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
26198 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
26199
26200 * sysdeps/x86_64/x32/_itoa.h: Add comment.
26201
262022012-05-19 Joseph Myers <joseph@codesourcery.com>
26203
26204 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
26205 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
26206 * sysdeps/powerpc/soft-fp/Versions: Likewise.
26207 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
26208 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
26209 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
26210 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
26211 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
26212 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
26213 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
26214 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
26215 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
26216 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
26217 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
26218 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
26219 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
26220 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
26221 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
26222 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
26223 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
26224 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
26225 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
26226 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
26227 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
26228 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
26229 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
26230 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
26231 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
26232 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
26233 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
26234 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
26235
262362012-05-18 Andreas Jaeger <aj@suse.de>
26237
26238 * csu/.gitignore: Delete.
26239
262402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
26241
26242 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
26243 (timex): Use __syscall_slong_t.
26244
262452012-05-18 Andreas Jaeger <aj@suse.de>
26246 Carlos O'Donell <carlos_odonell@mentor.com>
26247
26248 * manual/install.texi (Configuring and compiling): Update
26249 description about files modified in the source directory.
26250 * INSTALL: Regenerated.
26251
262522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
26253
26254 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
26255 value. Use "or" to set return value to -1.
26256 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
26257 negate return value.
26258
262592012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26260
26261 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
26262 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
26263 failure if the compiler has Graphite support disabled.
26264 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
26265 Likewise.
26266 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
26267 CFLAGS-memmove.c): Likewise.
26268 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
26269 Likewise.
26270
262712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
26272
26273 * sysdeps/x86_64/x32/_itoa.h: New file.
26274
26275 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
26276 getdents system call only if kernel and user dirents have the
26277 same d_ino and d_off.
26278
26279 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26280 LLONG_MAX != LONG_MAX.
26281 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26282 (_fitoa_word): Likewise.
26283
26284 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
26285 years.
26286 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
26287 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
26288 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
26289
26290 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
26291 include <bits/wordsize.h>. Check __x86_64__ instead of
26292 __WORDSIZE.
26293 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
26294 if __x86_64__ is defined. Use anonymous union on fpstate.
26295
26296 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
26297 anonymous union.
26298
262992012-05-18 Andreas Schwab <schwab@linux-m68k.org>
26300
26301 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26302 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
26303 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
26304 Refer to _rtld_local_ro instead of _rtld_global_ro.
26305 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
26306 Likewise.
26307 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
26308 Likewise.
26309 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
26310 Likewise.
26311 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
26312 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
26313 of _rtld_global, and rtld_progname instead of _dl_argv[0].
26314
26315 * sysdeps/powerpc/powerpc32/dl-machine.c
26316 (__elf_machine_runtime_setup) [PROF]: Don't reference
26317 _dl_prof_resolve.
26318
263192012-05-18 Andreas Jaeger <aj@suse.de>
26320
26321 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
26322 function only available for GCCs before 3.4 since GCC 3.4
26323 introduced a builtin.
26324 (lrint): Likewise.
26325 (llrintf): Likewise.
26326 (llrint): Likewise.
26327 (fmaxf): Likewise.
26328 (fmax): Likewise.
26329 (fminf): Likewise.
26330 (fmin): Likewise.
26331 (rint): Likewise.
26332 (rintf): Likewise.
26333 (nearbyint): Likewise.
26334 (nearbyintf): Likewise.
26335 (ceil): Likewise.
26336 (ceilf): Likewise.
26337 (floor): Likewise.
26338 (floorf): Likewise.
26339
263402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
26341
26342 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
26343 on both fields and cast pointer to __syscall_ulong_t.
26344
26345 * bits/types.h (__fsword_t): New type.
26346 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
26347 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
26348 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26349 (__FSWORD_T_TYPE): Likewise.
26350 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26351 (__FSWORD_T_TYPE): Likewise.
26352 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26353 (__FSWORD_T_TYPE): Likewise.
26354 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
26355 (__FSWORD_T_TYPE): Likewise.
26356 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
26357 __SWORD_TYPE with __fsword_t.
26358 (statfs64): Likewise.
26359
263602012-05-17 David S. Miller <davem@davemloft.net>
26361
26362 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
26363
263642012-05-17 Andreas Jaeger <aj@suse.de>
26365
26366 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
26367 warning.
26368
263692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
26370
26371 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
26372
263732012-05-17 Andreas Jaeger <aj@suse.de>
26374
26375 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
26376 when it is used.
26377
263782012-05-17 Chris Metcalf <cmetcalf@tilera.com>
26379
26380 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
26381
263822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
26383
26384 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
26385 * sysdeps/x86_64/tst-mallocalign1.c: New file.
26386
263872012-05-17 Andreas Jaeger <aj@suse.de>
26388 Carlos O'Donell <carlos_odonell@mentor.com>
26389
26390 [BZ #14059]
26391 * sysdeps/x86_64/multiarch/init-arch.h
26392 (bit_YMM_Usable): Rename to...
26393 (bit_AVX_Usable): ... this.
26394 (bit_FMA4_Usable): New macro.
26395 (bit_XMM_state): New macro.
26396 (bit_YMM_state): New macro.
26397 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
26398 [__ASSEMBLER__] (index_AVX_Usable): ... this.
26399 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
26400 (CPUID_OSXSAVE): New macro.
26401 (CPUID_AVX): New macro.
26402 (CPUID_FMA4): New macro.
26403 (index_YMM_Usable): Rename to...
26404 (index_AVX_Usable): ... this.
26405 (HAS_AVX): Use HAS_ARCH_FEATURE.
26406 (HAS_FMA4): Likewise.
26407 (HAS_YMM_USABLE): Remove.
26408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26409 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
26410 are present.
26411 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
26412 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
26413 * sysdeps/x86_64/multiarch/Makefile: Likewise.
26414 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
26415 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
26416
264172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
26418
26419 * math/libm-test.c: Support platforms without multiple rounding modes.
26420 * math/bug-nextafter.c: Support platforms without FP exceptions.
26421 * math/bug-nexttoward.c: Likewise.
26422 * math/test-fenv.c: Likewise.
26423 * math/test-misc.c: Likewise.
26424 * stdlib/bug-getcontext.c: Likewise.
26425
264262012-05-17 Andreas Jaeger <aj@suse.de>
26427
26428 * manual/examples/search.c (critter_cmp): Change signature to
26429 avoid warnings.
26430 * manual/string.texi (Collation Functions): Likewise.
26431
264322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26433
26434 * bits/types.h: Fold copyright years.
26435 * bits/typesizes.h: Likewise.
26436 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
26437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
26439 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
26440 * time/time.h: Likewise.
26441
264422012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
26443
26444 [BZ #208]
26445 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
26446 in instead of returning them. Return void.
26447 (__libc_mallinfo): Accumulate over all arenas.
26448 (__malloc_stats): Adjust for change in int_mallinfo interface.
26449
264502012-05-16 Roland McGrath <roland@hack.frob.com>
26451
26452 [BZ #10375]
26453 * configure.in (NM): Add AC_CHECK_TOOL for it.
26454 (libc_extra_cflags): New substituted variable.
26455 Check for -fstack-protector being used implicitly.
26456 * configure: Regenerated.
26457 * config.make.in (config-extra-cflags): New variable,
26458 gets @libc_extra_cflags@.
26459 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
26460
26461 [BZ #10375]
26462 * configure.in: Check for _FORTIFY_SOURCE being predefined.
26463 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
26464 * configure: Regenerated.
26465 * config.make.in (CPPUNDEFS): New substituted variable.
26466 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
26467 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
26468 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
26469
264702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26471
26472 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
26473 (mq_attr): Use __syscall_slong_t.
26474
264752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26476
26477 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
26478 Check __x86_64__ instead of __WORDSIZE.
26479 (_STAT_VER_LINUX): Likewise.
26480 (stat): Check __x86_64__ instead of __WORDSIZE. Use
26481 __syscall_ulong_t and __syscall_slong_t.
26482 (stat64): Likewise.
26483
264842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26485
26486 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
26487
264882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26489
26490 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
26491
264922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26493
26494 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
26495 __syscall_ulong_t.
26496
26497 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26498 include <bits/wordsize.h>. Check __x86_64__ instead of
26499 __WORDSIZE.
26500 (greg_t): Use "__extension__ long long int" if __x86_64__ is
26501 defined.
26502 (mcontext_t): Replace "unsigned long" with "unsigned long long".
26503
26504 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26505 include <bits/wordsize.h>. Check __x86_64__ instead of
26506 __WORDSIZE.
26507 (user_regs_struct): Use "__extension__ unsigned long long"
26508 instead of "unsigned long" if __x86_64__ is defined.
26509 (user): Likewise. Pad after pointer field if __ILP32__ is
26510 defined.
26511
265122012-05-16 Joseph Myers <joseph@codesourcery.com>
26513
26514 * configure.in (makeinfo): Require version 4.5 or later. Allow
26515 versions 5 to 9.
26516 * configure: Regenerated.
26517 * manual/install.texi (texinfo): Increase version requirement to
26518 4.5 or later.
26519 * INSTALL: Regenerated.
26520
26521 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26522
265232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26524
26525 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26526
26527 * sysdeps/x86_64/x32/ffs.c: New file.
26528
26529 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26530 __syscall_ulong_t.
26531 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26532 defined. Use __syscall_ulong_t.
26533 (shminfo): Use __syscall_ulong_t.
26534 (shm_info): Likewise.
26535
26536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26537 __syscall_ulong_t.
26538
26539 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26540 <bits/wordsize.h>.
26541 (msgqnum_t): Use __syscall_ulong_t.
26542 (msglen_t): Likewise.
26543 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
26544 __syscall_ulong_t.
26545
26546 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26547 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26548
26549 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26550
26551 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26552 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26553
26554 * sysvipc/sys/msg.h (msgbuf): Replace long int with
26555 __syscall_slong_t.
26556
26557 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26558 include <bits/wordsize.h>. Check __x86_64__ instead of
26559 __WORDSIZE.
26560
26561 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26562 "unsigned long long int" if __x86_64__ is defined.
26563 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26564
26565 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26566 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26567 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26568
26569 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26570 <stdint.h>.
26571 (GET_PC): Cast to uintptr_t first.
26572 (GET_FRAME): Likewise.
26573 (GET_STACK): Likewise.
26574
26575 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26576 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26577 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26578 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26579 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26580 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26581 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26582 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26583 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26584 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26585 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26586 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26587 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26588 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26589 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26590 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26591 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26592 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26593 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26594 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26595 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26596 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26597 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26598 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26599 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26600 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26601 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26602 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26603 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26604
266052012-05-16 Andreas Schwab <schwab@linux-m68k.org>
26606
26607 * Makerules (+depfiles): Also collect depfiles from .oS in
26608 $(extra-objs).
26609 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26610 .oS, $(libnldbl-routines)).
26611
26612 * Makerules (native-compile-mkdep-flags): Define.
26613 * sunrpc/Makefile (extra-objs): Add $(addprefix
26614 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26615 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26616 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
26617 calling $(make-target-directory).
26618
266192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26620
26621 * bits/types.h (__snseconds_t): Removed.
26622 * time/time.h (struct timespec): Replace __snseconds_t with
26623 __syscall_slong_t.
26624 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26625 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26626 Likewise.
26627 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26628 (__SNSECONDS_T_TYPE): Likewise.
26629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26630 (__SNSECONDS_T_TYPE): Likewise.
26631 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26632 (__SNSECONDS_T_TYPE): Likewise.
26633
266342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26635
26636 * sysdeps/mach/hurd/bits/typesizes.h
26637 (__SYSCALL_SLONG_TYPE): New macro.
26638 (__SYSCALL_ULONG_TYPE): Likewise.
26639
266402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26641
26642 * bits/types.h (__syscall_slong_t): New type.
26643 (__syscall_ulong_t): Likewise.
26644
26645 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26646 (__SYSCALL_ULONG_TYPE): Likewise.
26647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26648 (__SYSCALL_SLONG_TYPE): Likewise.
26649 (__SYSCALL_ULONG_TYPE): Likewise.
26650 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26651 (__SYSCALL_SLONG_TYPE): Likewise.
26652 (__SYSCALL_ULONG_TYPE): Likewise.
26653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26654 (__SYSCALL_SLONG_TYPE): Likewise.
26655 (__SYSCALL_ULONG_TYPE): Likewise.
26656
266572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26658
26659 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26660 Add sigaltstack-offsets.sym.
26661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26662 <sigaltstack-offsets.h>.
26663 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
26664 longjmp_msg pointer.
26665 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
26666 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26667 signal stack.
26668 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26669
266702012-05-15 Joseph Myers <joseph@codesourcery.com>
26671
26672 * elf/stackguard-macros.h: Remove file.
26673 * sysdeps/generic/stackguard-macros.h: New file.
26674 * sysdeps/i386/stackguard-macros.h: Likewise.
26675 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26676 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26677 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26678 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26679 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26680 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26681 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26682 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26683 <elf/stackguard-macros.h>.
26684
26685 [BZ #14109]
26686 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26687 __aligned__ in attribute.
26688 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26689 (gregset_t): Likewise.
26690
266912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26692
26693 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26694 * sysdeps/x86_64/64/Implies-after: Here. New file.
26695 * sysdeps/x86_64/x32/Implies-after: New file.
26696
266972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26698
26699 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26700 and access return value for _dl_profile_fixup. Use R10_LP to
26701 load frame size.
26702
267032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26704
26705 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26706
267072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26708
26709 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26710 * sysdeps/x86_64/x32/sysdep.h: New file.
26711
267122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26713
26714 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26715 * sysdeps/x86_64/setjmp.S: Likewise.
26716
267172012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26718
26719 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26720 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26721 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26722 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26723 remove unused global constant.
26724
267252012-05-15 Chris Metcalf <cmetcalf@tilera.com>
26726
26727 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26728 include of <not-cancel.h>.
26729
267302012-05-15 Roland McGrath <roland@hack.frob.com>
26731
26732 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26733
267342012-05-15 Jeff Law <law@redhat.com>
26735 Andreas Jaeger <aj@suse.de>
26736
26737 [BZ #13594]
26738 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26739 out from...
26740 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26741 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26742 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26743 code changing __hst_map_handle.map.
26744
267452012-05-15 Roland McGrath <roland@hack.frob.com>
26746
26747 * configure.in (sysnames): Look for Implies-before and Implies-after
26748 files.
26749 * configure: Regenerated.
26750
267512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26752
26753 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26754 8-byte data alignment with LP_SIZE alignment.
26755
267562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26757
26758 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26759 into R10_LP.
26760
267612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26762
26763 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26764
267652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26766
26767 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26768 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26769 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26770 Likewise.
26771 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26772
267732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26774
26775 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26776 (stackinfo_sub_sp): Likewise.
26777
267782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26779
26780 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26781 RAX_LP.
26782
267832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26784
26785 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26786 into R*_LP.
26787
267882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26789
26790 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26791 sizes into R*_LP.
26792
267932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26794
26795 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26796
267972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26798
26799 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26800 into R11_LP and load __x86_64_shared_cache_size_half into
26801 R8_LP.
26802
268032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26804
26805 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26806 R8_LP.
26807
268082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26809
26810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26811 logb for POWER7.
26812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26813 logbf for POWER7.
26814 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26815 logbl for POWER7.
26816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26817 powerpc32/power7/fpu/s_logb.c via #include.
26818 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26819 powerpc32/power7/fpu/s_logbf.c via #include.
26820 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26821 powerpc32/power7/fpu/s_logbl.c via #include.
26822
268232012-05-15 Joseph Myers <joseph@codesourcery.com>
26824
26825 * README.libm: Remove file.
26826
268272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26828
26829 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26830 count for x32. Use R*_LP and omit operand-size suffix.
26831
268322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26833
26834 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26835 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26836 * sysdeps/x86_64/x32/shlib-versions: New file.
26837
268382012-05-14 Roland McGrath <roland@hack.frob.com>
26839
26840 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26841 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26842 Use _dl_fatal_printf instead.
26843
268442012-05-14 Joseph Myers <joseph@codesourcery.com>
26845
26846 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26847 set if not set by the user. Do not allow for being unset.
26848 * sysdeps/unix/sysv/linux/configure: Regenerated.
26849
268502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26851
26852 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26853 the `q' suffix from lea and replace .quad with ASM_ADDR.
26854
268552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26856
26857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26858 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26859 instead of $17.
26860 (PTR_DEMANGLE): Likewise.
26861
268622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26863
26864 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26865 (LP_OP): Likewise.
26866 (ASM_ADDR): Likewise.
26867 (RAX_LP): Likewise.
26868 (RBP_LP): Likewise.
26869 (RBX_LP): Likewise.
26870 (RCX_LP): Likewise.
26871 (RDI_LP): Likewise.
26872 (RSI_LP): Likewise.
26873 (RSP_LP): Likewise.
26874 (R8_LP): Likewise.
26875 (R9_LP): Likewise.
26876 (R10_LP): Likewise.
26877 (R10_LP): Likewise.
26878 (R11_LP): Likewise.
26879 (R12_LP): Likewise.
26880 (R13_LP): Likewise.
26881 (R14_LP): Likewise.
26882 (R15_LP): Likewise.
26883
268842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26885
26886 * sysdeps/x86_64/x32/dl-machine.h: New file.
26887
268882012-05-14 Andreas Jaeger <aj@suse.de>
26889
26890 * manual/Makefile (subdir): Remove export of subdir.
26891 (all): Remove target.
26892 (.PHONY): Remove all from list.
26893 (mkinstalldirs): Remove.
26894 (.PHONY): Remove installdirs from list.
26895 ($(inst_infodir)/libc.info): Use make-target-directory.
26896 (installdirs): Remove.
26897 (subdir_%): Remove.
26898 (glibc-targets): Remove.
26899 (lib): Remove.
26900 (stubs): Remove.
26901 ($(objpfx)stubs ../po/manual.pot): Remove.
26902 ($(objpfx)stamp%): Remove.
26903 (make-target-directory): Remove.
26904 (subdir_install): Remove.
26905 (routines): Remove.
26906 (aux): Remove.
26907 (sources): Remove.
26908 (objects): Remove.
26909 (headers): Remove.
26910
26911 [BZ #13750]
26912 * manual/.gitignore: Remove, it's not needed anymore.
26913 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26914 all files in it.
26915 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26916 directory.
26917 (texis): Renamed to $(objpfx)texis.
26918 (texis-path): New, contains path to generated files.
26919 (chapters.%): Use texis-path for complete path, add extra argument
26920 libc-texinfo.sh.
26921 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26922 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26923 (summary,texi, stamp-summary): Use complete path of
26924 files. Generate files in build dir.
26925 (dir-add.texi): Build in build dir.
26926 (libm-err.texi,stamp-libm-err): Likewise.
26927 (version.texi, stamp-version): Likewise.
26928 (.%c.texi): Likewise.
26929 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26930 (mostlyclean): Remove target.
26931 (realclean): Remove target.
26932 (generated): Add new variable with contents from mostlyclean and
26933 realclean, remove entries duplicated in common-mostlyclean, add
26934 stamp-libm-err and stamp-version.
26935 (generated-dirs): Add libc directory.
26936 ($(inst_infodir)/libc.info): Install files from build dir.
26937
26938 * manual/install.texi (Configuring and compiling): Adjust since
26939 the info files are not part of the tar ball anymore.
26940
269412012-05-14 Andreas Jaeger <aj@suse.de>
26942
26943 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26944 variable.
26945
269462012-05-14 Joseph Myers <joseph@codesourcery.com>
26947
26948 [BZ #13717]
26949 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26950 to 2.2.0 where earlier.
26951 * sysdeps/unix/sysv/linux/configure: Regenerated.
26952 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26953 Remove conditional code.
26954 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26955 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26956 Remove conditional code.
26957 [!__NR_lchown]: Likewise.
26958 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26959 [__NR_lchown]: Likewise.
26960 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26961 comment referencing __ASSUME_LCHOWN_SYSCALL.
26962 * sysdeps/unix/sysv/linux/i386/sigaction.c
26963 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26964 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26965 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26966 Remove conditional code.
26967 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26968 (__protocol_available): Remove #if 0 code.
26969 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26970 conditional code.
26971 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26972 * sysdeps/unix/sysv/linux/kernel-features.h
26973 (__ASSUME_GETCWD_SYSCALL): Don't define.
26974 (__ASSUME_REALTIME_SIGNALS): Likewise.
26975 (__ASSUME_PREAD_SYSCALL): Likewise.
26976 (__ASSUME_PWRITE_SYSCALL): Likewise.
26977 (__ASSUME_POLL_SYSCALL): Likewise.
26978 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26979 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26980 non-SPARC.
26981 (__ASSUME_SIOCGIFNAME): Don't define.
26982 (__ASSUME_MSG_NOSIGNAL): Likewise.
26983 (__ASSUME_SENDFILE): Define unconditionally.
26984 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26985 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26986 conditional code.
26987 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26988 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26989 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26990 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26991 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26992 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26993 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26995 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26998 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26999 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27001 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27002 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27004 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27005 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
27007 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27010 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
27013 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27016 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27018 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
27019 Remove conditional code.
27020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27021 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27022 Remove conditional code.
27023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27024 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
27025 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
27026 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27027 Remove conditional code.
27028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27029 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
27030 Remove conditional code.
27031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27032 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
27033 Remove conditional code.
27034 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27035 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27036 Remove conditional code.
27037 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27038 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27039 Remove conditional code.
27040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27041 * sysdeps/unix/sysv/linux/sh/pwrite64.c
27042 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27044 * sysdeps/unix/sysv/linux/sigaction.c
27045 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27046 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27047 * sysdeps/unix/sysv/linux/sigpending.c
27048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27050 * sysdeps/unix/sysv/linux/sigprocmask.c
27051 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27052 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27053 * sysdeps/unix/sysv/linux/sigsuspend.c
27054 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27055 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27056 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27057 (__libc_missing_rt_sigs): Remove.
27058 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
27059 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
27060 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
27061 Remove conditional code.
27062 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
27063 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
27064 return 1.
27065 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
27066 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
27067 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
27068 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
27069
270702012-05-14 Andreas Jaeger <aj@suse.de>
27071
27072 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
27073 it's not used in glibc.
27074 (__coshm1): Likewise.
27075 (__acosh1p): Likewise.
27076 (__sgn): Likewise.
27077
27078 * manual/string.texi (Copying and Concatenation): Add missing
27079 variable in concat example.
27080 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27081
270822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27083
27084 [BZ #14103]
27085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
27086 __builtin_clzl with __builtin_clzll.
27087
270882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27089
27090 [BZ #14104]
27091 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
27092 libc_freeres_ptr.
27093
270942012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27095
27096 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
27097 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
27098 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
27099 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
27100
271012012-05-14 Mike Frysinger <vapier@gentoo.org>
27102
27103 * NEWS: Update ia64 info.
27104
271052012-05-12 Andreas Schwab <schwab@linux-m68k.org>
27106
27107 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
27108 used as bcopy.
27109
271102012-05-12 Thomas Schwinge <thomas@codesourcery.com>
27111
27112 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
27113 * sysdeps/unix/syscalls.list (dup3): Likewise.
27114 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
27115 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
27116
271172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
27118
27119 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
27120 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
27121
271222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
27123
27124 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
27125 thread pointer.
27126 (TLS_IE): Use mov/add instead of movq/addq to load thread
27127 pointer.
27128 (TLS_GD_PREFIX): New.
27129 (TLS_GD): Use it.
27130
271312012-05-11 David S. Miller <davem@davemloft.net>
27132
27133 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
27134 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
27135 (_FPU_SETCW): Likewise.
27136
271372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
27138
27139 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
27140 is 32-byte aligned.
27141
271422012-05-11 Andreas Schwab <schwab@linux-m68k.org>
27143
27144 [BZ #11837]
27145 * iconvdata/gb18030.c: Update tables.
27146 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
27147 characters specially.
27148 (BODY for TO_LOOP): Add encoding of missing ranges.
27149
271502012-05-11 Thomas Schwinge <thomas@codesourcery.com>
27151
27152 [BZ #13673]
27153 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
27154 * sysdeps/mach/hurd/dup3.c: Likewise.
27155 * sysdeps/mach/hurd/readlinkat.c: Likewise.
27156 * sysdeps/powerpc/memmove.c:: Likewise.
27157
271582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
27159
27160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
27161 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
27162
271632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
27164
27165 * elf/elf.h (R_X86_64_RELATIVE64): New.
27166 (R_X86_64_NUM): Updated.
27167 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27168 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
27169 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
27170 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
27171 tst-quad1pie tst-quad2pie
27172 (modules-names): Add tst-quadmod1 tst-quadmod2.
27173 ($(objpfx)tst-quad1): New dependency.
27174 ($(objpfx)tst-quad2): Likewise.
27175 ($(objpfx)tst-quad1pie): Likewise.
27176 ($(objpfx)tst-quad2pie): Likewise.
27177 * sysdeps/x86_64/tst-quad1.c: New file.
27178 * sysdeps/x86_64/tst-quad1pie.c: New file.
27179 * sysdeps/x86_64/tst-quad2.c: Likewise.
27180 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
27181 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
27182 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
27183 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
27184 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
27185
271862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27187
27188 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
27189 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
27190 * streams/stropts.h (t_scalar_t): Define type.
27191
27192 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
27193 (_PATH_PRESERVE): Set to "/var/lib".
27194 (_PATH_RWHODIR): Set to "/var/spool/rwho".
27195
27196 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
27197 instead of int.
27198
27199 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
27200 if __dir_mkfile succeeded.
27201
27202 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
27203 checking for _hurd_dtablesize. Unlock it right after having
27204 finished _hurd_dtable allocation.
27205
272062012-05-10 Thomas Schwinge <thomas@schwinge.name>
27207
27208 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
27209 * sysdeps/mach/hurd/configure: Regenerated.
27210 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
27211 special-casing to...
27212 * sysdeps/gnu/configure.in: ... this new file.
27213 * sysdeps/unix/sysv/linux/configure: Regenerated.
27214 * sysdeps/gnu/configure: New generated file.
27215
27216 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
27217 for Linux: use nsec instead of usec, as well as:
27218 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
27219 members of type struct timespec.
27220 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
27221 New macros.
27222 (struct stat64): Likewise.
27223 (_STATBUF_ST_NSEC): New macro.
27224 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
27225
27226 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27227 __strtoul_internal rather than strtoul.
27228
272292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
27230
27231 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
27232 and reject them.
27233
272342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27235
27236 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
27237 which preserves existing values.
27238 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
27239
272402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
27241
27242 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
27243 TIMEOUT values. Return EINVAL for NFDS values either negative or
27244 greater than FD_SETSIZE.
27245
272462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27247
27248 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
27249 allocated, call __vm_protect to finish enabling the existing space, and
27250 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
27251 allocate the remainder.
27252
272532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
27254
27255 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
27256 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
27257
272582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27259
27260 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
27261 sysdeps/mach/hurd/readlink.c.
27262
27263 * posix/tst-sysconf.c (posix_options): Only use
27264 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
27265 _POSIX_SYNCHRONIZED_IO when they are defined
27266 * sysdeps/mach/hurd/bits/posix_opt.h:
27267 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
27268 (_XOPEN_REALTIME): Undefine macro.
27269 (_XOPEN_REALTIME_THREADS): Undefine macro.
27270 (_XOPEN_SHM): Undefine macro.
27271 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
27272 macro to -1.
27273 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
27274 macro to -1.
27275 (_POSIX_ASYNC_IO): Undefine macro.
27276 (_POSIX_PRIORITIZED_IO): Undefine macro.
27277 (_POSIX_SPIN_LOCKS): Define macro to -1.
27278
27279 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
27280 SA_NODEFER, SA_RESETHAND.
27281 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
27282 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
27283 F_DUPFD_CLOEXEC.
27284
272852012-05-10 Thomas Schwinge <thomas@schwinge.name>
27286
27287 * elf/Makefile (pldd-modules): Define unconditionally.
27288
272892012-05-10 Thomas Schwinge <thomas@schwinge.name>
27290
27291 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
27292
272932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27294
27295 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
27296 Return ENOENT when name is empty.
27297 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
27298
272992012-05-10 Thomas Schwinge <thomas@schwinge.name>
27300
27301 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
27302
27303 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
27304
273052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27306
27307 Fix mlock in all cases except non-readable pages.
27308 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
27309 instead of VM_PROT_ALL as parameter to __vm_wire function.
27310
27311 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
27312 (__mkdir): When path is `/', just fail with EEXIST.
27313 * sysdeps/mach/hurd/mkdirat.c: Likewise.
27314
273152012-05-10 Thomas Schwinge <thomas@schwinge.name>
27316
27317 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
27318 <sys/uio.h> (for writev).
27319 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
27320 and <sys/param.h> (for MIN).
27321
273222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
27323
27324 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
27325 REQUESTED_TIME. Properly set the remaining time and return EINTR
27326 if interrupted.
27327
273282012-05-10 Thomas Schwinge <thomas@schwinge.name>
27329
27330 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
27331 Depend on against $(link-rpcuserlibs).
27332
273332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27334
27335 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
27336 (__libc_stack_end): Do not use attribute_relro.
27337 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
27338 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
27339 to libthread-provided value.
27340 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
27341 attribute_relro.
27342
273432012-05-10 Thomas Schwinge <thomas@schwinge.name>
27344
27345 [BZ #3748]
27346 * bits/libc-lock.h (__libc_once_get): New macro.
27347 * sysdeps/mach/bits/libc-lock.h: Likewise.
27348 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
27349 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
27350 instead of using implementation details.
27351
27352 * libio/fileops.c: Unconditionally include <kernel-features.h>.
27353 * libio/freopen.c: Likewise.
27354 * libio/freopen64.c: Likewise.
27355 * misc/syslog.c: Likewise.
27356 * nscd/connections.c: Likewise.
27357 * nscd/netgroupcache.c: Likewise.
27358 * sysdeps/posix/getcwd.c: Likewise.
27359
273602012-05-10 Roland McGrath <roland@hack.frob.com>
27361
27362 * math/w_ilogbf.c: Add #include <limits.h>.
27363
273642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27365
27366 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
27367 path instead of returning without unlocking.
27368
27369 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
27370 immediate-write ioctls.
27371 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
27372
273732012-05-10 Thomas Schwinge <thomas@schwinge.name>
27374
27375 * sysdeps/mach/hurd/i386/init-first.c (init): Use
27376 __builtin_frame_address instead of making assumptions about the
27377 location of the return address relative to DATA. Force early load of
27378 the return address.
27379 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
27380 __builtin_frame_address.
27381
27382 dup3 for GNU Hurd.
27383 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
27384 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
27385 implement dup3 and do some further code clean-ups.
27386 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
27387 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
27388
273892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27390
27391 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
27392
27393 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
27394 HURD_CRITICAL_END around holding _hurd_dtable_lock.
27395 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
27396 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
27397 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
27398 d->port.lock.
27399
27400 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
27401 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
27402 when handler == SIG_ERR, not when handler != SIG_ERR.
27403
274042012-05-10 Thomas Schwinge <thomas@schwinge.name>
27405
27406 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
27407 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
27408 definitions.
27409
27410 accept4 for GNU Hurd.
27411 * include/sys/socket.h (__libc_accept4): New prototype.
27412 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
27413 to implement __libc_accept4.
27414 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
27415 __libc_accept4.
27416 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
27417
27418 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
27419 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
27420 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
27421 signal-defines.sym.
27422
274232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27424
27425 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
27426
274272012-05-10 Thomas Schwinge <thomas@schwinge.name>
27428
27429 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
27430 assertion on O_CLOEXEC flag.
27431 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
27432 * hurd/intern-fd.c: Likewise.
27433 * hurd/port2fd.c: Likewise.
27434
274352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27436
27437 [BZ #3906]
27438 * bits/in.h (IPV6_PKTINFO): Define new macro.
27439 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
27440
274412012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27442
27443 [BZ #13954]
27444 [BZ #13955]
27445 [BZ #13956]
27446 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
27447 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27448 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
27449 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27450 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27451 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27452 * math/libm-test.inc (logb_test) : Additional logb tests.
27453
274542012-05-09 Andreas Schwab <schwab@linux-m68k.org>
27455 Andreas Jaeger <aj@suse.de>
27456
27457 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
27458 * configure: Regenerated.
27459 * config.h.in (LINK_OBSOLETE_RPC): New macro.
27460 * config.make.in (link-obsolete-rpc): New substituted variable.
27461 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
27462 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
27463 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27464 (shared-only-routines): Don't set it under [link-obsolete-rpc],
27465 so that libc.a contains the symbols.
27466 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27467 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
27468 * sunrpc/auth_none.c: Likewise.
27469 * sunrpc/auth_unix.c: Likewise.
27470 * sunrpc/authdes_prot.c: Likewise.
27471 * sunrpc/authuxprot.c: Likewise.
27472 * sunrpc/clnt_gen.c: Likewise.
27473 * sunrpc/clnt_perr.c: Likewise.
27474 * sunrpc/clnt_raw.c: Likewise.
27475 * sunrpc/clnt_simp.c: Likewise.
27476 * sunrpc/clnt_tcp.c: Likewise.
27477 * sunrpc/clnt_udp.c: Likewise.
27478 * sunrpc/clnt_unix.c: Likewise.
27479 * sunrpc/des_crypt.c: Likewise.
27480 * sunrpc/des_soft.c: Likewise.
27481 * sunrpc/get_myaddr.c: Likewise.
27482 * sunrpc/key_call.c: Likewise.
27483 * sunrpc/key_prot.c: Likewise.
27484 * sunrpc/netname.c: Likewise.
27485 * sunrpc/pm_getmaps.c: Likewise.
27486 * sunrpc/pm_getport.c: Likewise.
27487 * sunrpc/pmap_clnt.c: Likewise.
27488 * sunrpc/pmap_prot.c: Likewise.
27489 * sunrpc/pmap_prot2.c: Likewise.
27490 * sunrpc/pmap_rmt.c: Likewise.
27491 * sunrpc/publickey.c: Likewise.
27492 * sunrpc/rpc_cmsg.c: Likewise.
27493 * sunrpc/rpc_common.c: Likewise.
27494 * sunrpc/rpc_dtable.c: Likewise.
27495 * sunrpc/rpc_prot.c: Likewise.
27496 * sunrpc/rpc_thread.c: Likewise.
27497 * sunrpc/rtime.c: Likewise.
27498 * sunrpc/svc.c: Likewise.
27499 * sunrpc/svc_auth.c: Likewise.
27500 * sunrpc/svc_raw.c: Likewise.
27501 * sunrpc/svc_run.c: Likewise.
27502 * sunrpc/svc_tcp.c: Likewise.
27503 * sunrpc/svc_udp.c: Likewise.
27504 * sunrpc/svc_unix.c: Likewise.
27505 * sunrpc/svcauth_des.c: Likewise.
27506 * sunrpc/xcrypt.c: Likewise.
27507 * sunrpc/xdr.c: Likewise.
27508 * sunrpc/xdr_array.c: Likewise.
27509 * sunrpc/xdr_float.c: Likewise.
27510 * sunrpc/xdr_intXX_t.c: Likewise.
27511 * sunrpc/xdr_mem.c: Likewise.
27512 * sunrpc/xdr_rec.c: Likewise.
27513 * sunrpc/xdr_ref.c: Likewise.
27514 * sunrpc/xdr_sizeof.c: Likewise.
27515 * sunrpc/xdr_stdio.c: Likewise.
27516
275172012-05-10 Roland McGrath <roland@hack.frob.com>
27518
27519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27520 change. Update copyright years.
27521
275222012-05-10 Joseph Myers <joseph@codesourcery.com>
27523
27524 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27525
275262012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
27527 Joseph Myers <joseph@codesourcery.com>
27528 Paul Pluzhnikov <ppluzhnikov@google.com>
27529
27530 [BZ #14012]
27531 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27532 requiring rpcgen.
27533 [cross-compiling] (extra-libs): Likewise.
27534 [cross-compiling] (extra-libs-others): Likewise.
27535 [cross-compiling] (librpcsvc-routines): Likewise.
27536 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27537 [cross-compiling] (omit-deps): Likewise.
27538 (sunrpc-CPPFLAGS): New variable.
27539 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27540 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27541 (cross-rpcgen-objs): New variable.
27542 (extra-objs): Append $(cross-rpcgen-objs).
27543 ($(cross-rpcgen-objs)): New rule.
27544 ($(objpfx)cross-rpcgen): Likewise.
27545 (rpcgen-cmd): Define to use $(built-program-file). Expand
27546 comment.
27547 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27548 ($(objpfx)x%.stmp): Likewise.
27549 * sunrpc/proto.h [IS_IN_build] (_): Define.
27550 [IS_IN_build] (_libc_intl_domainname): Likewise.
27551
275522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
27553
27554 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27555 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27556 and R_X86_64_TPOFF64.
27557
275582012-05-10 Joseph Myers <joseph@codesourcery.com>
27559
27560 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27561 sysdeps/unix/sysv/syscalls.list.
27562 (stime): Likewise.
27563 (utime): Likewise.
27564 * sysdeps/unix/sysv/syscalls.list: Remove file.
27565
275662012-05-10 Paul Eggert <eggert@cs.ucla.edu>
27567
27568 [BZ #3440]
27569 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27570 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27571 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27572 (__LC_IDENTIFICATION): Make these macros useful in #if
27573 expressions, as required by C99.
27574
275752012-05-10 Andreas Schwab <schwab@linux-m68k.org>
27576
27577 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27578 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
27579 after this.
27580
275812012-05-09 H.J. Lu <hongjiu.lu@intel.com>
27582
27583 * stdlib/longlong.h: Updated from GCC.
27584
275852012-05-09 Andreas Jaeger <aj@suse.de>
27586
27587 * nscd/nscd.c (run_modes): Make named enum, reorder so that
27588 default is first entry.
27589 (run_mode): Set type.
27590 (main): Remove informal message about syslog.
27591 (options): Fix typo.
27592
27593 [BZ #14053]
27594 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
27595 to asm.
27596 (lrint): Likewise.
27597 (llrintf): Likewise.
27598 (llrint): Likewise.
27599 (rint): Likewise.
27600 (rintf): Likewise.
27601 (nearbyint): Likewise.
27602 (nearbyintf): Likewise.
27603
276042012-05-09 Andreas Jaeger <aj@suse.de>
27605 Pedro Alves <palves@redhat.com>
27606
27607 * nscd/nscd.c (run_mode): Use enum.
27608 (main): Cleanup coding style issue.
27609
276102012-05-09 Alexandre Oliva <aoliva@redhat.com>
27611 Andreas Jaeger <aj@suse.de>
27612
27613 * nscd/nscd.c (go_background): Replaced with...
27614 (run_mode): ... this.
27615 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27616 (options): Add -F --foreground.
27617 (main): Implement it.
27618 (parse_opt): Parse it.
27619
276202012-05-09 Andreas Jaeger <aj@suse.de>
27621
27622 [BZ #14083]
27623 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27624 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27625 -Wconversion warning.
27626 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27627 Likewise.
27628
276292012-05-09 Joseph Myers <joseph@codesourcery.com>
27630
27631 * conform/data/locale.h-data (NULL): Use macro-constant. Require
27632 == 0.
27633 (LC_ALL): Use macro-int-constant.
27634 (LC_COLLATE): Likewise.
27635 (LC_CTYPE): Likewise.
27636 (LC_MESSAGES): Likewise.
27637 (LC_MONETARY): Likewise.
27638 (LC_NUMERIC): Likewise.
27639 (LC_TIME): Likewise.
27640 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27641 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27642 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27643 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27644 Specify type.
27645 [C99-based standards] (float_t): Expect type.
27646 [C99-based standards] (double_t): Expect type.
27647 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
27648 type.
27649 [C99-based standards] (HUGE_VALL): Likewise.
27650 [C99-based standards] (INFINITY): Likewise.
27651 [C99-based standards] (NAN): Likewise.
27652 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27653 [C99-based standards] (FP_NAN): Likewise.
27654 [C99-based standards] (FP_NORMAL): Likewise.
27655 [C99-based standards] (FP_SUBNORMAL): Likewise.
27656 [C99-based standards] (FP_ZERO): Likewise.
27657 [C99-based standards] (FP_FAST_FMA): Use
27658 optional-macro-int-constant. Specify type. Require == 1.
27659 [C99-based standards] (FP_FAST_FMAF): Likewise.
27660 [C99-based standards] (FP_FAST_FMAL): Likewise.
27661 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27662 [C99-based standards] (FP_ILOGBNAN): Likewise.
27663 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27664 Specify type.
27665 [C99-based standards] (MATH_ERREXCEPT): Likewise.
27666 [C99-based standards] (math_errhandling): Specify type.
27667 [ISO99 || ISO11] (signgam): Do not allow.
27668 [non-C99-based standards] (copysignf): Do not allow.
27669 [non-C99-based standards] (exp2f): Likewise.
27670 [non-C99-based standards] (log2f): Likewise.
27671 [non-C99-based standards] (modff): Allow.
27672 [non-C99-based standards] (erff): Do not allow.
27673 [non-C99-based standards] (erfcf): Likewise.
27674 [non-C99-based standards] (gammaf): Likewise.
27675 [non-C99-based standards] (hypotf): Likewise.
27676 [non-C99-based standards] (j0f): Likewise.
27677 [non-C99-based standards] (j1f): Likewise.
27678 [non-C99-based standards] (jnf): Likewise.
27679 [non-C99-based standards] (lgammaf): Likewise.
27680 [non-C99-based standards] (tgammaf): Likewise.
27681 [non-C99-based standards] (y0f): Likewise.
27682 [non-C99-based standards] (y1f): Likewise.
27683 [non-C99-based standards] (ynf): Likewise.
27684 [non-C99-based standards] (isnanf): Likewise.
27685 [non-C99-based standards] (acoshf): Likewise.
27686 [non-C99-based standards] (asinhf): Likewise.
27687 [non-C99-based standards] (atanhf): Likewise.
27688 [non-C99-based standards] (cbrtf): Likewise.
27689 [non-C99-based standards] (expm1f): Likewise.
27690 [non-C99-based standards] (ilogbf): Likewise.
27691 [non-C99-based standards] (log1pf): Likewise.
27692 [non-C99-based standards] (logbf): Likewise.
27693 [non-C99-based standards] (nextafterf): Likewise.
27694 [non-C99-based standards] (remainderf): Likewise.
27695 [non-C99-based standards] (rintf): Likewise.
27696 [non-C99-based standards] (scalbf): Likewise.
27697 [non-C99-based standards] (copysignl): Likewise.
27698 [non-C99-based standards] (exp2l): Likewise.
27699 [non-C99-based standards] (log2l): Likewise.
27700 [non-C99-based standards] (modfl): Allow.
27701 [non-C99-based standards] (erfl): Do not allow.
27702 [non-C99-based standards] (erfcl): Likewise.
27703 [non-C99-based standards] (gammal): Likewise.
27704 [non-C99-based standards] (hypotl): Likewise.
27705 [non-C99-based standards] (j0l): Likewise.
27706 [non-C99-based standards] (j1l): Likewise.
27707 [non-C99-based standards] (jnl): Likewise.
27708 [non-C99-based standards] (lgammal): Likewise.
27709 [non-C99-based standards] (tgammal): Likewise.
27710 [non-C99-based standards] (y0l): Likewise.
27711 [non-C99-based standards] (y1l): Likewise.
27712 [non-C99-based standards] (ynl): Likewise.
27713 [non-C99-based standards] (isnanl): Likewise.
27714 [non-C99-based standards] (acoshl): Likewise.
27715 [non-C99-based standards] (asinhl): Likewise.
27716 [non-C99-based standards] (atanhl): Likewise.
27717 [non-C99-based standards] (cbrtl): Likewise.
27718 [non-C99-based standards] (expm1l): Likewise.
27719 [non-C99-based standards] (ilogbl): Likewise.
27720 [non-C99-based standards] (log1pl): Likewise.
27721 [non-C99-based standards] (logbl): Likewise.
27722 [non-C99-based standards] (nextafterl): Likewise.
27723 [non-C99-based standards] (remainderl): Likewise.
27724 [non-C99-based standards] (rintl): Likewise.
27725 [non-C99-based standards] (scalbl): Likewise.
27726 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27727 [non-C99-based standards] (FP_*): Do not allow.
27728 [C99-based standards] (FP_*): Change to
27729 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27730 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27731 allow.
27732 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27733 (SIG_ERR): Likewise.
27734 [X/Open-based standards] (SIG_HOLD): Likewise.
27735 (SIG_IGN): Likewise.
27736 (SIGABRT): Use macro-int-constant. Specify type. Require
27737 positive value.
27738 (SIGFPE): Likewise.
27739 (SIGILL): Likewise.
27740 (SIGINT): Likewise.
27741 (SIGSEGV): Likewise.
27742 (SIGTER): Likewise.
27743 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27744 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27745 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27746 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27747 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27748 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27749 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27750 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27751 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27752 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27753 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27754 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27755 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27756 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27757 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27758 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27759 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27760 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27761 [X/Open-based standards] (SIGTRAP): Likewise.
27762 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27763 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27764 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27765 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27766 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27767 allow.
27768
277692012-05-08 Ian Wienand <ianw@vmware.com>
27770
27771 [BZ #14080]
27772 * time/tzset.c (__tzset_parse_tz): Update default rules for
27773 daylight time changes in the Energy Policy Act of 2005.
27774
277752012-05-09 Andreas Jaeger <aj@suse.de>
27776
27777 [BZ #13983]
27778 * elf/ldconfig.c (parse_conf): Change string to make clear that
27779 ldconfig only issued a warning if ld.so.conf does not exist.
27780
277812012-05-08 David S. Miller <davem@davemloft.net>
27782
27783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27784 movxtod instead of popping the value on the stack.
27785
27786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27787
277882012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27789
27790 * config.h.in: Add HAVE_ARM_PCS_VFP.
27791
277922012-05-08 Roland Mc Grath <roland@hack.frob.com>
27793
27794 [BZ #13979]
27795 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27796 checking but the checks are disabled for any reason.
27797
277982012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27799
27800 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27801 and ELF64_R_TYPE with ELFW(R_TYPE).
27802
278032012-05-08 Joseph Myers <joseph@codesourcery.com>
27804
27805 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27806 (ulimit): Likewise.
27807
27808 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27809 (settimeofday): Likewise.
27810
278112012-05-08 Mike Frysinger <vapier@gentoo.org>
27812
27813 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27814 a struct th_u2 inside the union, and move tu_block/tu_code into
27815 a new th_u3 union of tu_block/tu_code inside of that. Move
27816 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27817 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27818 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27819 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27820 (th_stuff): Change to th_u1.tu_stuff.
27821 (th_data): Define.
27822 (th_msg): Change to th_u1.th_u2.tu_data.
27823
278242012-05-07 David S. Miller <davem@davemloft.net>
27825
27826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27827
27828 [BZ #14074]
27829 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27830 (SETUP_PIC_REG): Use it.
27831 (SETUP_PIC_REG_LEAF): Use it.
27832
278332012-05-07 Joseph Myers <joseph@codesourcery.com>
27834
27835 [BZ #13885]
27836 [BZ #13923]
27837 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27838 USE_AS_EXPM1L.
27839 (EXPL_FINITE): Likewise.
27840 (FLDLOG): Likewise.
27841 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27842 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27843 e_expl.S.
27844 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27845 USE_AS_EXPM1L.
27846 (EXPL_FINITE): Likewise.
27847 (FLDLOG): Likewise.
27848 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27849 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27850 e_expl.S.
27851 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27852 test of -max_value argument for long double.
27853 * sysdeps/i386/fpu/libm-test-ulps: Update.
27854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27855
278562012-05-06 David S. Miller <davem@davemloft.net>
27857
27858 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27859 quad soft-float symbols whose references which are compiler
27860 generated.
27861 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27862
278632012-05-06 Joseph Myers <joseph@codesourcery.com>
27864
27865 [BZ #13884]
27866 [BZ #13914]
27867 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27868 USE_AS_EXP10L.
27869 (EXPL_FINITE): Likewise.
27870 (FLDLOG): Likewise.
27871 (c0): Likewise.
27872 (c1): Likewise.
27873 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27874 Adjust comments for base varying.
27875 (__expl_finite): Change alias to EXPL_FINITE.
27876 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27877 e_expl.S.
27878 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27879 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27880 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27881 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27882 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27883 USE_AS_EXP10L.
27884 (EXPL_FINITE): Likewise.
27885 (FLDLOG): Likewise.
27886 (c0): Likewise.
27887 (c1): Likewise.
27888 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27889 Adjust comments for base varying.
27890 (__expl_finite): Change alias to EXPL_FINITE.
27891 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27892 tests for bugs.
27893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27894
27895 [BZ #14064]
27896 * math/libm-test.inc (check_float_internal): Correct ulp
27897 calculation for subnormal expected results.
27898
278992012-05-06 Andreas Jaeger <aj@suse.de>
27900
27901 * Makeconfig (+math-flags): New, set to -frounding-math.
27902 (+cflags): Add +math-flags so that all of glibc gets compiled with
27903 it.
27904
27905 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27906
279072012-05-05 Joseph Myers <joseph@codesourcery.com>
27908
27909 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27910 Disable one test.
27911
27912 [BZ #13787]
27913 [BZ #13922]
27914 [BZ #14036]
27915 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27916 (__ieee754_expl): Allow for and saturate large arguments.
27917 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27918 (u_threshold): Likewise.
27919 (__exp): Call __ieee754_exp before checking for overflow and
27920 underflow.
27921 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27922 (u_threshold): Likewise.
27923 (__expf): Call __ieee754_expf before checking for overflow and
27924 underflow.
27925 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27926 (u_threshold): Likewise.
27927 (__expl): Call __ieee754_expl before checking for overflow and
27928 underflow.
27929 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27930 (__ieee754_expl): Allow for and saturate large arguments.
27931 * math/libm-test.inc (exp_test): Add another test. Do not allow
27932 missing overflow exception on overflow.
27933 (expm1_test): Do not allow missing overflow exception on overflow.
27934
27935 * sysdeps/i386/fpu/e_expl.c: Move to ...
27936 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27937 rather than using inline asm.
27938 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27939 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27940 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27941
27942 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27943 (nice): Likewise.
27944 (poll): Likewise.
27945 (signal): Likewise.
27946 (time): Likewise.
27947 (times): Likewise.
27948
279492012-05-04 Joseph Myers <joseph@codesourcery.com>
27950
27951 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27952 sysdeps/unix/common/syscalls.list.
27953 (fchmod): Likewise.
27954 (fchown): Likewise.
27955 (ftruncate): Likewise.
27956 (getrusage): Likewise.
27957 (gettimeofday): Likewise.
27958 (setpgid): Likewise.
27959 (setregid): Likewise.
27960 (setreuid): Likewise.
27961 (sigaction): Likewise.
27962 (truncate): Likewise.
27963 (vhangup): Likewise.
27964 * sysdeps/unix/common/syscalls.list: Remove file.
27965 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27966 * sysdeps/unix/sysv/linux/Implies: Likewise.
27967
279682012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27969
27970 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27972 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27973 Moved to ...
27974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27975 Here.
27976 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27977 to ...
27978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27979 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27980 to ...
27981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27982 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27983 to ...
27984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27985 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27986 to ...
27987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27988 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27989 to ...
27990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27991 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27992 to ...
27993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27994 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27995 to ...
27996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27997 Here.
27998 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27999 to ...
28000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28001 Here.
28002 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28003 to ...
28004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28005 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28006 Moved to ...
28007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
28008 Here.
28009 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
28010 to ...
28011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
28012
280132012-05-04 Joseph Myers <joseph@codesourcery.com>
28014
28015 * sysdeps/unix/common/bits/dirent.h: Remove file.
28016 * sysdeps/unix/common/bits/fcntl.h: Likewise.
28017
28018 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
28019 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
28020 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
28021 * sysdeps/unix/bsd/isatty.c: Likewise.
28022 * sysdeps/unix/bsd/tcdrain.c: Likewise.
28023 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
28024 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
28025
280262012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28027
28028 [BZ #13563]
28029 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
28030 long double comparison inaccuracies.
28031 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28033
280342012-05-04 Andreas Schwab <schwab@linux-m68k.org>
28035
28036 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
28037 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
28038
280392012-05-04 Joseph Myers <joseph@codesourcery.com>
28040
28041 [BZ #14049]
28042 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
28043 nonzero digits before rounding a hex value.
28044 * stdlib/tst-strtod.c (tests): Add another test.
28045
280462012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28047
28048 * sysdeps/s390/fpu/libm-test-ulps: Update.
28049
280502012-05-03 Andreas Jaeger <aj@suse.de>
28051
28052 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
28053 does not get optimized out.
28054 (malloc_opt_barrier): New.
28055
280562012-05-03 Andreas Jaeger <aj@suse.de>
28057 Roland McGrath <roland@hack.frob.com>
28058
28059 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
28060 intermediate file deletion.
28061 (generated): Add .symlist files.
28062
280632012-05-03 Joseph Myers <joseph@codesourcery.com>
28064
28065 [BZ #13775]
28066 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
28067 Redirect under this condition.
28068 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28069 [__USE_GNU] (__dprintf_chk): Not under this condition.
28070 [__USE_GNU] (__vdprintf_chk): Likewise.
28071 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
28072 under this condition.
28073 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28074 [__USE_XOPEN2K8] (dprintf): Define under this condition.
28075 [__USE_XOPEN2K8] (vdprintf): Likewise.
28076 [__USE_GNU] (__dprintf_chk): Not under this condition.
28077 [__USE_GNU] (__vdprintf_chk): Likewise.
28078 [__USE_GNU] (dprintf): Likewise.
28079 [__USE_GNU] (vdprintf): Likewise.
28080
280812012-05-03 Roland McGrath <roland@hack.frob.com>
28082
28083 * elf/Makefile (common-generated): Set this instead of generated for
28084 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
28085 $(all-built-dso)-derived lists.
28086
280872012-05-03 Andreas Jaeger <aj@suse.de>
28088
28089 * sysdeps/i386/fpu/libm-test-ulps: Update.
28090
28091 * FAQ: Removed.
28092 * FAQ.in: Likewise.
28093 * scripts/gen-FAQ.pl: Likewise.
28094 * manual/install.texi (Installation): Point to online location of
28095 FAQ.
28096 * Makefile (files-for-dist): Remove FAQ.
28097 (FAQ): Remove.
28098
280992012-05-02 Allan McRae <allan@archlinux.org>
28100
28101 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
28102 (LDFLAGS-reldepmod5.so): Likewise.
28103 (LDFLAGS-reldep6mod1.so): Likewise.
28104 (LDFLAGS-reldep6mod4.so): Likewise.
28105 (LDFLAGS-reldep8mod3.so): Likewise.
28106 (LDFLAGS-unload4mod1.so): Likewise.
28107 (LDFLAGS-unload4mod2.so): Likewise.
28108 (LDFLAGS-tst-initorder): Likewise.
28109 (LDFLAGS-tst-initordera2.so): Likewise.
28110 (LDFLAGS-tst-initordera3.so): Likewise.
28111 (LDFLAGS-tst-initordera4.so): Likewise.
28112 (LDFLAGS-tst-initorderb2.so): Likewise.
28113 (LDFLAGS-noload): Likewise.
28114 (LDFLAGS-next): Likewise.
28115 (LDFLAGS-order2mod1.so): Likewise.
28116 (LDFLAGS-order2mod2.so): Likewise.
28117 (LDFLAGS-tst-initorder2): Likewise.
28118 (LDFLAGS-tst-initorder2a.so): Likewise.
28119 (LDFLAGS-tst-initorder2b.so): Likewise.
28120 (LDFLAGS-tst-initorder2c.so): Likewise.
28121 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
28122
281232012-05-02 David S. Miller <davem@davemloft.net>
28124
28125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28126
281272012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
28128
28129 [BZ #14055]
28130 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
28131
281322012-05-02 Andreas Jaeger <aj@suse.de>
28133
28134 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
28135 since we manipulate rounding mode.
28136 (CPPFLAGS-test-idouble.c): Likewise.
28137 (CPPFLAGS-test-ifloat.c): Likewise.
28138 (CFLAGS-test-ldouble.c): Likewise.
28139 (CFLAGS-test-double.c): Likewise.
28140 (CFLAGS-test-float.c): Likewise.
28141 (CFLAGS-test-misc.c): Likewise.
28142 (CFLAGS-test-test-fenv.c): Likewise.
28143
281442012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28145
28146 [BZ #2550]
28147 [BZ #2570]
28148 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
28149 comparisons to determine direction to adjust input.
28150
281512012-05-01 Roland McGrath <roland@hack.frob.com>
28152
28153 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
28154 output to the target.
28155
28156 * scripts/localplt.awk: New file.
28157 * elf/Makefile ($(objpfx)check-localplt): Target removed.
28158 (check-localplt-CFLAGS): Variable removed.
28159 ($(all-built-dso:=.jmprel)): New static pattern rule.
28160 (generated): Add those targets.
28161 (localplt-built-dso): New variable.
28162 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
28163
28164 * elf/check-localplt.c: File removed.
28165
28166 * scripts/check-execstack.awk: New file.
28167 * elf/Makefile ($(objpfx)check-execstack): Target removed.
28168 (check-execstack-CFLAGS): Variable removed.
28169 ($(objpfx)check-execstack.h): Target removed.
28170 ($(objpfx)execstack-default): New target.
28171 (generated): Add that instead of check-execstack.h.
28172 ($(all-built-dso:=.phdr)): New static pattern rule.
28173 (generated): Add those targets.
28174 * elf/check-execstack.c: File removed.
28175
28176 * scripts/check-textrel.awk: New file.
28177 * elf/Makefile ($(objpfx)check-textrel): Target removed.
28178 (check-textrel-CFLAGS): Variable removed.
28179 (all-built-dso): Use := to define.o
28180 ($(all-built-dso:=.dyn)): New static pattern rule.
28181 (generated): Add those targets.
28182 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
28183 * config.make.in (READELF): New substituted variable.
28184 * elf/check-textrel.c: File removed.
28185
281862012-05-01 Joseph Myers <joseph@codesourcery.com>
28187
28188 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28189 allow.
28190 * conform/data/ctype.h-data [C99-based standards] (isblank):
28191 Expect function.
28192 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
28193 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
28194 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28195 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
28196 Specify type. Require positive value.
28197 (EILSEQ): Likewise.
28198 (ERANGE): Likewise.
28199 [ISO || POSIX] (EILSEQ): Do not expect.
28200 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
28201 Specify type. Require positive value.
28202 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
28203 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
28204 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
28205 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
28206 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
28207 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
28208 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
28209 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
28210 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
28211 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
28212 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
28213 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
28214 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
28215 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
28216 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
28217 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
28218 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
28219 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
28220 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
28221 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
28222 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
28223 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
28224 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
28225 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
28226 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
28227 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
28228 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
28229 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
28230 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
28231 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
28232 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
28233 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
28234 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
28235 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
28236 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
28237 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
28238 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
28239 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
28240 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
28241 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
28242 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
28243 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
28244 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
28245 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
28246 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
28247 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
28248 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
28249 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
28250 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
28251 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
28252 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
28253 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
28254 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
28255 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
28256 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
28257 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
28258 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
28259 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
28260 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
28261 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
28262 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
28263 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
28264 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
28265 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
28266 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
28267 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
28268 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
28269 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
28270 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
28271 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
28272 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
28273 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
28274 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
28275 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
28276 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
28277 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
28278 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
28279 Require >= 2.
28280 (FLT_ROUNDS): Expect as macro, not constant.
28281 (FLT_MANT_DIG): Use macro-int-constant.
28282 (DBL_MANT_DIG): Likewise.
28283 (LDBL_MANT_DIG): Likewise.
28284 (FLT_DIG): Likewise.
28285 (DBL_DIG): Likewise.
28286 (LDBL_DIG): Likewise.
28287 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
28288 (DBL_MIN_EXP): Likewise.
28289 (LDBL_MIN_EXP): Likewise.
28290 (FLT_MAX_EXP): Use macro-int-constant.
28291 (DBL_MAX_EXP): Likewise.
28292 (LDBL_MAX_EXP): Likewise.
28293 (FLT_MAX_10_EXP): Likewise.
28294 (DBL_MAX_10_EXP): Likewise.
28295 (LDBL_MAX_10_EXP): Likewise.
28296 (FLT_MAX): Use macro-constant.
28297 (DBL_MAX): Likewise.
28298 (LDBL_MAX): Likewise.
28299 (FLT_EPSILON): Use macro-constant. Give upper bound.
28300 (DBL_EPSILON): Likewise.
28301 (LDBL_EPSILON): Likewise.
28302 (FLT_MIN): Likewise.
28303 (DBL_MIN): Likewise.
28304 (LDBL_MIN): Likewise.
28305 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
28306 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
28307 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
28308 [ISO11] (FLT_HAS_SUBNORM): Likewise.
28309 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
28310 [ISO11] (DBL_DECIMAL_DIG): Likewise.
28311 [ISO11] (FLT_DECIMAL_DIG): Likewise.
28312 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
28313 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
28314 [ISO11] (FLT_TRUE_MIN): Likewise.
28315 [ISO11] (LDBL_TRUE_MIN): Likewise.
28316 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28317 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
28318 (SCHAR_MIN): Use macro-int-constant. Specify type.
28319 (SCHAR_MAX): Likewise.
28320 (UCHAR_MAX): Likewise.
28321 (CHAR_MIN): Likewise.
28322 (CHAR_MAX): Likewise.
28323 (MB_LEN_MAX): Use macro-int-constant.
28324 (SHRT_MIN): Use macro-int-constant. Specify type.
28325 (SHRT_MAX): Likewise.
28326 (USHRT_MAX): Likewise.
28327 (INT_MAX): Likewise.
28328 (INT_MIN): Use macro-int-constant. Specify type. Make upper
28329 bound negative.
28330 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
28331 bound with "U".
28332 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
28333 bound with "L".
28334 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
28335 bound negative. Suffix upper bound with "L".
28336 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
28337 bound with "UL".
28338 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
28339 Specify type.
28340 [C99-based standards] (LLONG_MAX): Likewise.
28341 [C99-based standards] (ULLONG_MAX): Likewise.
28342 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
28343 == 0.
28344 [ISO11] (max_align_t): Require type.
28345 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28346
28347 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
28348 from $CFLAGS, without defining away __attribute__ calls.
28349 (checknamespace): Use $CFLAGS_namespace.
28350
28351 * conform/conformtest.pl (@keywords): Only include C99 keywords
28352 for standards based on C99 or C11.
28353
28354 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
28355 Disable tests.
28356 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
28357 UNIX98]: Likewise.
28358
28359 * conform/conformtest.pl: Handle "macro-int-constant" and test for
28360 usability of symbols in #if.
28361
28362 * conform/conformtest.pl: If macro or constant types start
28363 "promoted:", expect the symbol to be of the following type
28364 promoted by the integer promotions.
28365
28366 * conform/conformtest.pl: Parse all "constant" and "macro" lines
28367 in one place. Also handle "macro-constant".
28368
28369 * conform/conformtest.pl: Only accept expected macro values with
28370 "==". Parse all "macro" lines in one place.
28371 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
28372
28373 * conform/conformtest.pl: Handle braced types on "constant" lines
28374 instead of handling "typed-constant".
28375 * conform/data/signal.h-data: Use "constant" instead of
28376 "typed-constant".
28377
28378 * conform/conformtest.pl: Handle "optional-" at start of lines in
28379 one place rather than duplicating several cases. Handle each
28380 format of "macro" line with initial "optional-".
28381
28382 * conform/conformtest.pl: Only accept expected constant or
28383 optional-constant values with "==". Parse all "constant" lines in
28384 one place. Parse all "optional-constant" lines in one place.
28385 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
28386 * conform/data/fmtmsg.h-data: Likewise.
28387 * conform/data/netinet/in.h-data: Likewise.
28388 * conform/data/tar.h-data: Likewise.
28389 * conform/data/limits.h-data: Use "==" form on "constant" and
28390 "optional-constant" lines.
28391
28392 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
28393 Use -std=c99 for XOPEN2K.
28394 (@knownproblems): Remove.
28395 (newtoken): Don't check %isknown.
28396
28397 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
28398 Do not expect macro.
28399 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
28400 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
28401 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
28402 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
28403 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
28404 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
28405 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
28406 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
28407 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
28408 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
28409 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
28410 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
28411 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
28412 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
28413 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
28414 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
28415 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
28416 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
28417 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
28418 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
28419 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
28420 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
28421 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
28422 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
28423 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
28424 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
28425 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
28426 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
28427 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
28428 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
28429 [XPG3] (acosh): Likewise.
28430 [XPG3] (asinh): Likewise.
28431 [XPG3] (atanh): Likewise.
28432 [XPG3] (cbrt): Likewise.
28433 [XPG3] (expm1): Likewise.
28434 [XPG3] (ilogb): Likewise.
28435 [XPG3] (log1p): Likewise.
28436 [XPG3] (logb): Likewise.
28437 [XPG3] (nextafter): Likewise.
28438 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
28439 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
28440 [XPG3] (remainder): Likewise.
28441 [XPG3] (rint): Likewise.
28442 [XPG3 || XPG4 || UNIX98] (round): Likewise.
28443 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
28444 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
28445 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
28446 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
28447 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
28448 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
28449 [UNIX98 || XOPEN2K] (scalb): Expect.
28450 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
28451 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
28452 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
28453 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
28454 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
28455 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
28456 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
28457 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
28458 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
28459 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
28460 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
28461 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
28462 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
28463 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
28464 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
28465 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
28466 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
28467 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
28468 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
28469 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
28470 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
28471 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
28472 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
28473 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
28474 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
28475 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
28476 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
28477 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
28478 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
28479 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
28480 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
28481 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
28482 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
28483 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
28484 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
28485 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
28486 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
28487 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
28488 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
28489 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
28490 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
28491 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
28492 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
28493 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
28494 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
28495 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
28496 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
28497 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
28498 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
28499 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
28500 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
28501 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
28502 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
28503 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
28504 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
28505 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
28506 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
28507 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
28508 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
28509 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
28510 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
28511 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
28512 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
28513 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
28514 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
28515 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
28516 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
28517 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28518 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28519 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28520 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28521 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28522 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28523 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28524 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28525 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28526 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28527 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28528 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28529 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28530 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28531 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28532 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28533 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28534 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28535 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28536 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28537 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28538 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28539 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28540 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28541 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28542 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28543 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28544 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28545 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28546 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28547 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28548 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28549 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28550 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28551 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28552 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28553 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28554 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28555 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28556 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28557 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28558 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28559 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28560 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28561 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28562 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28563 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28564 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28565 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28566 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28567 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28568 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28569 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28570 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28571 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28572 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28573 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28574 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28575 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28576 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28577 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28578 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28579 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28580 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28581 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28582 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28583 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28584 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28585 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28586 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28587
28588 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28589 _XOPEN_SOURCE_EXTENDED for XPG4.
28590
28591 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28592
28593 * Makeconfig (localtime): Remove variable.
28594 (inst_localtime-file): Likewise.
28595
285962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28597
28598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28599 Update.
28600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28601 Update.
28602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28603 Update.
28604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28605 Update.
28606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28607 Update.
28608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28609 Update.
28610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28611 Update.
28612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28613 Update.
28614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28615 Update.
28616
286172012-05-01 Joseph Myers <joseph@codesourcery.com>
28618
28619 [BZ #2550]
28620 [BZ #2570]
28621 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28622 comparisons to determine direction to adjust input.
28623 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28624 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28625 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28626 Likewise.
28627 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28628 Likewise.
28629 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28630 Likewise.
28631 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28632 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28633 Likewise.
28634 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28635 Likewise.
28636 * math/libm-test.inc (nexttoward_test): Add more tests.
28637
286382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28639
28640 [BZ #14040]
28641 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28642 in version GLIBC_2.1, not GLIBC_2.0.
28643 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28644 Likewise.
28645
286462012-04-30 Joseph Myers <joseph@codesourcery.com>
28647
28648 [BZ #13942]
28649 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28650 (1 - x) * (1 + x).
28651 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28652 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28653 * math/libm-test.inc (acos_test): Add more tests.
28654 (asin_test): Likewise.
28655 * sysdeps/i386/fpu/libm-test-ulps: Update.
28656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28657
28658 [BZ #14034]
28659 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28660 of square root.
28661 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28662 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28663 * math/libm-test.inc (acos_test_tonearest): New function.
28664 (acos_test_towardzero): Likewise.
28665 (acos_test_downward): Likewise.
28666 (acos_test_upward): Likewise.
28667 (asin_test_tonearest): Likewise.
28668 (asin_test_towardzero): Likewise.
28669 (asin_test_downward): Likewise.
28670 (asin_test_upward): Likewise.
28671 (main): Call the new functions.
28672 * sysdeps/i386/fpu/libm-test-ulps: Update.
28673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28674
28675 [BZ #13884]
28676 [BZ #13924]
28677 * math/e_exp10.c: Include <float.h>.
28678 (__ieee754_exp10): Handle underflow here rather than multiplying
28679 large negative argument by M_LN10.
28680 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28681 of __ieee754_expf.
28682 * math/e_exp10l.c: Include <float.h>.
28683 (__ieee754_exp10l): Handle underflow here rather than multiplying
28684 large negative argument by M_LN10l.
28685 * math/libm-test.inc (exp10_test): Add another test. Do not allow
28686 spurious overflow exception on underflow.
28687
286882012-04-29 Marek Polacek <polacek@redhat.com>
28689
28690 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28691 (__fortify_function): New macro.
28692 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28693 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28694 __extern_always_inline.
28695 * libio/bits/stdio2.h: Likewise.
28696 * libio/bits/stdio.h: Likewise.
28697 * string/string.h: Likewise.
28698 * string/bits/string3.h: Likewise.
28699 * include/stdio.h: Likewise.
28700 * stdlib/bits/stdlib.h: Likewise.
28701 * stdlib/stdlib.h: Likewise.
28702 * rt/bits/mqueue2.h: Likewise.
28703 * rt/mqueue.h: Likewise.
28704 * posix/bits/unistd.h: Likewise.
28705 * posix/unistd.h: Likewise.
28706 * io/bits/poll2.h: Likewise.
28707 * io/bits/fcntl2.h: Likewise.
28708 * io/fcntl.h: Likewise.
28709 * io/sys/poll.h: Likewise.
28710 * misc/bits/syslog.h: Likewise.
28711 * misc/bits/syslog-ldbl.h: Likewise.
28712 * misc/sys/syslog.h: Likewise.
28713 * socket/bits/socket2.h: Likewise.
28714 * socket/sys/socket.h: Likewise.
28715 * debug/tst-chk1.c: Likewise.
28716 * wcsmbs/bits/wchar2.h: Likewise.
28717 * wcsmbs/bits/wchar-ldbl.h: Likewise.
28718 * wcsmbs/wchar.h: Likewise.
28719
287202012-04-29 Andreas Jaeger <aj@suse.de>
28721
28722 * Makerules (tests): Remove enable-check-abi protection.
28723 (check-abi-warn): Remove.
28724 (check-abi-%): Remove check-abi-warn usage.
28725
28726 * configure.in: Remove check-abi configure option.
28727 * configure: Regenerated.
28728 * config.make.in (enable-check-abi): Remove.
28729
287302012-04-28 Andreas Schwab <schwab@linux-m68k.org>
28731
28732 [BZ #14033]
28733 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28734 double functions to double *_finite functions.
28735
28736 [BZ #13941]
28737 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28738 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28739 LDBL_MIN_EXP.
28740 * stdio-common/Makefile (tests): Add tst-sprintf3.
28741 * stdio-common/tst-sprintf3.c: New file.
28742
28743 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28744 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28745
287462012-04-28 Joseph Myers <joseph@codesourcery.com>
28747
28748 * conform/conformtest.pl: Remove duplicate typed-constant
28749 handling.
28750
287512012-04-28 David S. Miller <davem@davemloft.net>
28752
28753 * Makerules (%.abilist): Add vpath on sysdep_dirs.
28754 (check-abi-%): Remove AWK script prerequisite and explicit
28755 abilist directory.
28756 (check-abi): Rewrite to just diff the symlist with the abilist.
28757 (config-tls, config-abi-config): Delete, no longer used.
28758 (update-abi-%): Remove AWK script and explicit abilist directory.
28759 (update-abi): Rewrite to simply compare and conditionally copy the
28760 symlist and the sysdep abilist file. Remove update-abi-config
28761 checks.
28762 * abilist/ld.abilist: Remove.
28763 * abilist/libBrokenLocale.abilist: Remove.
28764 * abilist/libanl.abilist: Remove.
28765 * abilist/libcrypt.abilist: Remove.
28766 * abilist/libdl.abilist: Remove.
28767 * abilist/librt.abilist: Remove.
28768 * abilist/libthread_db.abilist: Remove.
28769 * abilist/libutil.abilist: Remove.
28770 * scripts/extract-abilist.awk: Remove.
28771 * scripts/merge-abilist.awk: Remove.
28772 * sysdeps/generic/libcidn.abilist: New file.
28773 * sysdeps/generic/libnss_compat.abilist: New file.
28774 * sysdeps/generic/libnss_db.abilist: New file.
28775 * sysdeps/generic/libnss_dns.abilist: New file.
28776 * sysdeps/generic/libnss_files.abilist: New file.
28777 * sysdeps/generic/libnss_hesiod.abilist: New file.
28778 * sysdeps/generic/libnss_nis.abilist: New file.
28779 * sysdeps/generic/libnss_nisplus.abilist: New file.
28780 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28781 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28782 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28783 file.
28784 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28785 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28786 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28787 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28788 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28789 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28790 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28791 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28792 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28793 file.
28794 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28795 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28796 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28797 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28798 file.
28799 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28800 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28801 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28802 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28803 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28804 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28805 file.
28806 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28807 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28808 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28809 file.
28810 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28812 New file.
28813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28814 New file.
28815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28816 New file.
28817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28818 New file.
28819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28820 New file.
28821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28822 New file.
28823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28824 New file.
28825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28826 New file.
28827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28828 New file.
28829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28830 New file.
28831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28832 New file.
28833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28834 New file.
28835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28836 New file.
28837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28838 file.
28839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28840 New file.
28841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28842 New file.
28843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28844 file.
28845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28846 New file.
28847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28848 New file.
28849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28850 file.
28851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28852 New file.
28853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28854 New file.
28855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28856 New file.
28857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28858 New file.
28859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28860 New file.
28861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28862 New file.
28863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28865 file.
28866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28867 New file.
28868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28869 file.
28870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28871 file.
28872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28873 file.
28874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28875 file.
28876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28877 file.
28878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28879 New file.
28880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28881 file.
28882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28883 file.
28884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28885 New file.
28886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28887 file.
28888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28890 file.
28891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28892 New file.
28893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28894 file.
28895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28896 file.
28897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28898 file.
28899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28900 file.
28901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28902 file.
28903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28904 New file.
28905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28906 file.
28907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28908 file.
28909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28910 New file.
28911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28912 file.
28913 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28914 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28915 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28916 file.
28917 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28918 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28919 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28920 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28921 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28922 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28923 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28924 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28925 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28926 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28929 file.
28930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28931 New file.
28932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28933 file.
28934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28935 file.
28936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28937 file.
28938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28939 file.
28940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28941 file.
28942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28943 New file.
28944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28945 New file.
28946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28947 file.
28948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28949 New file.
28950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28951 file.
28952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28954 file.
28955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28956 New file.
28957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28958 file.
28959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28960 file.
28961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28962 file.
28963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28964 file.
28965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28966 file.
28967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28968 New file.
28969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28970 New file.
28971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28972 file.
28973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28974 New file.
28975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28976 file.
28977
289782012-04-28 Joseph Myers <joseph@codesourcery.com>
28979
28980 * conform/conformtest.pl: Fix typo in handling typed-constant from
28981 allow-header.
28982
289832012-04-27 Joseph Myers <joseph@codesourcery.com>
28984
28985 * README: Cut down references to pre-2.6 Linux kernels and
28986 Linuxthreads. Update lists of configurations in libc and ports
28987 and sort alphabetically. Say "or newer" with Linux kernel version
28988 requirements.
28989
28990 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28991
289922012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28993
28994 [BZ #887]
28995 * math/libm-test.inc (logb_test_downward): New test to expose
28996 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28997 rounding mode.
28998
289992012-04-27 Joseph Myers <joseph@codesourcery.com>
29000
29001 [BZ #14027]
29002 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29003 to be done.
29004 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29005 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29006
290072012-04-26 Joseph Myers <joseph@codesourcery.com>
29008
29009 * sysdeps/unix/i386/brk.S: Remove file.
29010 * sysdeps/unix/i386/dl-brk.S: Likewise.
29011 * sysdeps/unix/i386/pipe.S: Likewise.
29012 * sysdeps/unix/i386/sigreturn.S: Likewise.
29013 * sysdeps/unix/i386/syscall.S: Likewise.
29014 * sysdeps/unix/i386/vfork.S: Likewise.
29015 * sysdeps/unix/i386/wait.S: Likewise.
29016
29017 * sysdeps/unix/common/tcsendbrk.c: Move to ...
29018 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
29019
29020 * configure.in (arm*-none*): Do not allow without
29021 --enable-hacker-mode.
29022 (netbsd*): Remove case setting base_os.
29023 (386bsd*): Likewise.
29024 (freebsd*): Likewise.
29025 (bsdi*): Likewise.
29026 (osf*): Likewise.
29027 (sunos*): Likewise.
29028 (ultrix*): Likewise.
29029 (newsos*): Likewise.
29030 (dynix*): Likewise.
29031 (*bsd*): Likewise.
29032 (sysv*): Likewise.
29033 (isc*): Likewise.
29034 (esix*): Likewise.
29035 (sco*): Likewise.
29036 (minix*): Likewise.
29037 (irix4*): Likewise.
29038 (irix6*): Likewise.
29039 (solaris[2-9]*): Likewise.
29040 (none): Likewise.
29041 * configure: Regenerated.
29042
290432012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29044
29045 [BZ #11521]
29046 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
29047 overflow or cancellation in calculating denominator.
29048 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
29049 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
29050 down expression to avoid unexpected rounding in newer GCCs.
29051 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
29052
290532012-04-26 David S. Miller <davem@davemloft.net>
29054
29055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
29056 long-double compat symbols.
29057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
29061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
29063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
29064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
29065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
29066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
29068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
29069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29070
290712012-04-25 David S. Miller <davem@davemloft.net>
29072
29073 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
29074 HWCAP_* values only after the memory barriers have been defined.
29075 (atomic_full_barrier): Define.
29076 (atomic_read_barrier): Define.
29077 (atomic_write_barrier): Define.
29078
290792012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29080
29081 * shlib-versions: Add libgcc_s version information.
29082 * sysdeps/generic/libgcc_s.h: Remove.
29083 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
29084 libgcc_s.h.
29085 * sysdeps/gnu/unwind-resume.c: Likewise.
29086 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
29087
290882012-04-25 David S. Miller <davem@davemloft.net>
29089
29090 * sysdeps/unix/sparc/brk.S: Delete.
29091 * sysdeps/unix/sparc/dl-brk.S: Delete.
29092 * sysdeps/unix/sparc/pipe.S: Delete.
29093 * sysdeps/unix/sparc/sysdep.S: Delete.
29094 * sysdeps/unix/sparc/sysdep.h: Delete.
29095 * sysdeps/unix/sparc/vfork.S: Delete.
29096 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
29097 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
29098 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
29099 ret_ERRVAL, r0, r1, MOVE): Define.
29100 (JUMPTARGET): Remove.
29101 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
29102 sysdeps/unix/sparc/sysdep.h
29103 (ENTRY, END): Remove.
29104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29105
291062012-04-25 Joseph Myers <joseph@codesourcery.com>
29107
29108 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
29109 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
29110 -DIS_IN_build.
29111
29112 * timezone/README: Update upstream location and email address for
29113 tzcode and tzdata.
29114 * timezone/zdump.c: Update from tzcode 2012b.
29115 * timezone/zic.c: Likewise.
29116
29117 * configure.in (libc_cv_as_needed): Remove test.
29118 * configure: Regenerated.
29119 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
29120 conditional definition.
29121 [$(have-as-needed) != yes] (no-as-needed): Likewise.
29122 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
29123 * config.make.in (have-as-needed): Remove variable.
29124
291252012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29126 Paul Pluzhnikov <ppluzhnikov@google.com>
29127
29128 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
29129 strings correctly.
29130
291312012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
29132
29133 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
29134 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
29135 * sysdeps/sh/strlen.S: Likewise.
29136
291372012-04-24 Joseph Myers <joseph@codesourcery.com>
29138
29139 * sysdeps/unix/fork.S: Remove file.
29140 * sysdeps/unix/i386/fork.S: Likewise.
29141 * sysdeps/unix/sparc/fork.S: Likewise.
29142
29143 * sysdeps/unix/system.c: Remove file.
29144 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
29145
29146 * sysdeps/unix/getegid.S: Remove file.
29147 * sysdeps/unix/geteuid.S: Likewise.
29148
291492012-04-24 Roland McGrath <roland@hack.frob.com>
29150
29151 * scripts/check-localplt.awk: New file.
29152 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
29153 of diff.
29154 * scripts/data/localplt-generic.data: Add a comment.
29155
29156 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
29157 NODE when __dir_mkfile failed.
29158 * sysdeps/mach/hurd/symlinkat.c: Likewise.
29159 Reported by Ludovic Courtès <ludo@gnu.org>.
29160
291612012-04-24 Andreas Jaeger <aj@suse.de>
29162
29163 * Makerules (common-clean): Also remove gen-as-const-headers
29164 files.
29165
291662012-04-24 Joseph Myers <joseph@codesourcery.com>
29167
29168 * Makerules (native-compile): Do not change working directory for
29169 build. Use $(OUTPUT_OPTION) in command.
29170 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
29171
291722012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29173
29174 [BZ #13886]
29175 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
29176 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
29177 * math/libm-test.inc (floor_test): Add more tests.
29178 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
29179
291802012-04-24 Joseph Myers <joseph@codesourcery.com>
29181
29182 * sysdeps/unix/getdents.c: Remove file.
29183 * sysdeps/unix/sysv/getdents.c: Likewise.
29184 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
29185
29186 * sysdeps/unix/syscalls.list (madvise): Add syscall from
29187 sysdeps/unix/mman/syscalls.list.
29188 (mmap): Likewise.
29189 (mprotect): Likewise.
29190 (msync): Likewise.
29191 (munmap): Likewise.
29192 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
29193 * sysdeps/unix/mman/syscalls.list: Remove.
29194 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
29195
29196 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
29197 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
29198 * configure: Regenerated.
29199 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
29200 $(libgcc_s_suffix).
29201 * config.make.in (libgcc_s_suffix): Remove variable.
29202
292032012-04-23 Joseph Myers <joseph@codesourcery.com>
29204
29205 * sysdeps/unix/sysv/gethostname.c: Move to ...
29206 * sysdeps/posix/gethostname.c: ... here.
29207
29208 * sysdeps/unix/execve.S: Remove file.
29209
29210 * sysdeps/unix/_exit.S: Remove file.
29211
292122012-04-23 Andreas Jaeger <aj@suse.de>
29213
29214 [BZ #13739]
29215 * manual/Makefile: Remove make dist support, there's no
29216 need for a stand-alone documentation tar ball.
29217 (TEXI2DVI): Define always, it's not in Makeconfig.
29218 (dist): Removed.
29219 (tar-it): Removed.
29220 (edition): Removed.
29221 (glibc-doc-$(edition).tar): Removed
29222 (%.Z): Removed.
29223 (%.gz): Removed.
29224 (%.uu): Removed.
29225 (ETAGS): Remove, it's in Makeconfig.
29226 (move-if-change): Remove, it's in Makeconfig.
29227
292282012-04-23 Paul Eggert <eggert@cs.ucla.edu>
29229
29230 [BZ #13970]
29231 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
29232 (strtod, strtof, strtold, strtol, strtoul, strtoq)
29233 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
29234 (strtod_l, strtof_l, strtold_l): Remove __wur.
29235 It is not necessarily an error to ignore strtol's return value.
29236 One can reliably look at the stored endptr to decide whether
29237 the number had valid syntax.
29238
292392012-04-21 Andreas Jaeger <aj@suse.de>
29240
29241 [BZ #13739]
29242 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
29243
292442012-04-21 Joseph Myers <joseph@codesourcery.com>
29245
29246 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
29247 * sysdeps/unix/sysv/Versions: Remove file.
29248
292492012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
29250
29251 [BZ #13927]
29252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29253
292542012-04-21 Nick Alcock <nick.alcock@oracle.com>
29255
29256 [BZ #7064]
29257 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
29258 version from __vm86.
29259
292602012-04-20 Joseph Myers <joseph@codesourcery.com>
29261
29262 * sysdeps/unix/common/lxstat.c: Remove file.
29263 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
29264
29265 * sysdeps/unix/sysv/Makefile: Remove file.
29266
29267 * sysdeps/unix/sysv/direct.h: Remove file.
29268
29269 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
29270 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
29271 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
29272 * sysdeps/unix/sysv/bits/signum.h: Likewise.
29273 * sysdeps/unix/sysv/bits/stat.h: Likewise.
29274 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
29275 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
29276
29277 * sysdeps/unix/sysv/setrlimit.c: Remove file.
29278
29279 * sysdeps/unix/xmknod.c: Remove file.
29280 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
29281
29282 * sysdeps/unix/sysv/settimeofday.c: Remove file.
29283
29284 * sysdeps/unix/sysv/i386/time.S: Remove file.
29285
29286 * sysdeps/unix/fxstat.c: Remove file.
29287 * sysdeps/unix/xstat.c: Likewise.
29288 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
29289
29290 * sysdeps/unix/sysv/sigaction.c: Remove file.
29291
29292 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
29293 (sysdep_headers): Remove variable.
29294 [termio.h not in sysdep_headers] (generated): Likewise.
29295 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
29296 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
29297 * sysdeps/unix/sysv/tcdrain.c: Likewise.
29298 * sysdeps/unix/sysv/tcflow.c: Likewise.
29299 * sysdeps/unix/sysv/tcflush.c: Likewise.
29300 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
29301 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
29302 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
29303 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
29304 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
29305
29306 * sysdeps/unix/siglist.c: Remove file.
29307
29308 * sysdeps/unix/getppid.S: Remove file.
29309
29310 * sysdeps/unix/mkdir.c: Remove file.
29311 * sysdeps/unix/rmdir.c: Likewise.
29312
293132012-04-19 Andreas Schwab <schwab@linux-m68k.org>
29314
29315 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
29316 ERR_MAX value.
29317 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
29318 errlist-compat value.
29319
293202012-04-18 David S. Miller <davem@davemloft.net>
29321
29322 * sysdeps/generic/memcopy.h (reg_char): Delete.
29323 * debug/strcat_chk.c: Use char, not reg_char.
29324 * debug/strcpy_chk.c: Likewise.
29325 * debug/strncat_chk.c: Likewise.
29326 * debug/strncpy_chk.c: Likewise.
29327 * string/memchr.c: Likewise.
29328 * string/memrchr.c: Likewise.
29329 * string/rawmemchr.c: Likewise.
29330 * string/strcat.c: Likewise.
29331 * string/strchr.c: Likewise.
29332 * string/strchrnul.c: Likewise.
29333 * string/strcmp.c: Likewise.
29334 * string/strcpy.c: Likewise.
29335 * string/strncat.c: Likewise.
29336 * string/strncmp.c: Likewise.
29337 * string/strncpy.c: Likewise.
29338
293392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
29340
29341 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
29342 __builtin_memcopy is called when src and dest ranges are known to not
29343 overlap.
29344
293452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
29346
29347 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
29348 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
29349 fwd_align_merge macro call.
29350 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
29351 bwd_align_merge macro call.
29352 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29353
293542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
29355
29356 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
29357 bwd_align_merge macros.
29358 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
29359 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
29360 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29361
293622012-04-18 David S. Miller <davem@davemloft.net>
29363
29364 * sysdeps/sparc/sparc64/memcopy.h: Delete.
29365
293662012-04-18 Andreas Jaeger <aj@suse.de>
29367
29368 [BZ# 6794]
29369 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
29370 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
29371 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29372
29373 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
29374 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
29375 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29376
29377 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
29378 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
29379 Adjust for changed ldbl-128 files.
29380
29381 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
29382 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
29383 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29384
293852012-04-17 David S. Miller <davem@davemloft.net>
29386
29387 * sysdeps/sparc/sparc32/memcopy.h: Delete.
29388
293892012-04-17 Andreas Schwab <schwab@linux-m68k.org>
29390
29391 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
29392 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
29393 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
29394 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
29395 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29396 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
29397
293982012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29399
29400 [BZ #6794]
29401 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
29402 * math/libm-test.inc: Add ilogb errno and exception tests.
29403 * math/w_ilogb.c: New file: ilogb wrapper.
29404 * math/w_ilogbf.c: New file: ilogbf wrapper.
29405 * math/w_ilogbl.c: New file: ilogbl wrapper.
29406 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
29407 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
29408 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
29409 exception being thrown with 0.0 as argument.
29410 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
29411 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
29412 exception being thrown with 0.0 as argument.
29413 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
29414 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29415 exception being thrown with 0.0 as argument.
29416 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
29417 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29418 exception being thrown with 0.0 as argument.
29419 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
29420 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
29421 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
29422 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
29423 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
29424 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
29425 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
29426 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
29427 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
29428
294292012-04-17 Petr Baudis <pasky@ucw.cz>
29430
29431 * include/sys/uio.h: Change __vector to __iovec to avoid clash
29432 with altivec.
29433
294342012-04-16 Marek Polacek <polacek@redhat.com>
29435
29436 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
29437
294382012-04-16 Marek Polacek <polacek@redhat.com>
29439
29440 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
29441 operands of fdivp instruction.
29442
294432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
29444
29445 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
29446 * elf/tst-auditmod3b.c: Likewise.
29447 * elf/tst-auditmod4b.c: Likewise.
29448 * elf/tst-auditmod5b.c: Likewise.
29449 * elf/tst-auditmod6b.c: Likewise.
29450 * elf/tst-auditmod6c.c: Likewise.
29451 * elf/tst-auditmod7b.c: Likewise.
29452 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
29453 * sysdeps/x86_64/preconfigure.in: Likewise.
29454 * sysdeps/x86_64/preconfigure: Regenerated.
29455
294562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
29457
29458 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
29459 __ILP32__.
29460
294612012-04-13 Antoine Balestrat <merkil33@gmail.com>
29462
29463 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29464 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
29465
294662012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
29467
29468 [BZ #13973]
29469 * locale/iso-639.def: Fix gl language name. Spotted by
29470 Yaron Shahrabani.
29471
294722012-04-12 Roland McGrath <roland@hack.frob.com>
29473
29474 [BZ #2074]
29475 * libio/libio.h (__io_write_fn): Update comment.
29476
294772012-04-12 Petr Baudis <pasky@ucw.cz>
29478
29479 [BZ #2074]
29480 * stdio.texi (Hook Functions): The user provided writer function
29481 is not allowed to return -1.
29482
294832012-04-11 David S. Miller <davem@davemloft.net>
29484
29485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29486
294872012-04-11 Mike Frysinger <vapier@gentoo.org>
29488
29489 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
29490 Add a leading slash to rtkaio.
29491
294922012-04-11 Jim Meyering <meyering@redhat.com>
29493
29494 [BZ #11959]
29495 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
29496 It is not necessarily an error to ignore fwrite's return
29497 value. One can reliably use ferror to test for errors after
29498 the fact.
29499
295002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29501
29502 * bits/types.h (__snseconds_t): New type.
29503 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
29504
29505 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
29506 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29507 (__SNSECONDS_T_TYPE): Likewise.
29508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29509 (__SNSECONDS_T_TYPE): Likewise.
29510 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29511 (__SNSECONDS_T_TYPE): Likewise.
29512
295132012-04-10 Andreas Jaeger <aj@suse.de>
29514
29515 [BZ #2636]
29516 * manual/time.texi (Processor Time): Return type of times is
29517 elapsed real time since an arbitrary point in the past.
29518 (CPU Time): Move CLK_TCK from here...
29519 (Processor Time): ...to here. Correct description.
29520 * manual/conf.texi (Constants for Sysconf): Correct description of
29521 _SC_CLK_TCK.
29522
295232012-04-10 David S. Miller <davem@davemloft.net>
29524
29525 [BZ #13967]
29526 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29527 where the is a gap between DT_REL(A) and DT_JMPREL.
29528
295292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29530
29531 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29532 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29533 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29534
295352012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29536
29537 * elf/dl-support.c (_dl_inhibit_cache): New variable.
29538 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29539 (dl_main): Handle --inhibit-cache.
29540 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29541 _dl_inhibit_cache.
29542 * elf/dl-load.c (_dl_map_object): Use it.
29543 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29544
295452012-04-09 Joseph Myers <joseph@codesourcery.com>
29546
29547 [BZ #13872]
29548 * sysdeps/i386/fpu/e_powl.S (p78): New object.
29549 (__ieee754_powl): Saturate large exponents rather than testing for
29550 overflow of y*log2(x).
29551 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29552 * math/libm-test.inc (pow_test): Do not permit spurious overflow
29553 exceptions.
29554
29555 [BZ #11521]
29556 * math/s_ctan.c: Include <float.h>.
29557 (__ctan): Avoid internal overflow or cancellation in calculating
29558 denominator.
29559 * math/s_ctanf.c: Likewise.
29560 * math/s_ctanl.c: Likewise.
29561 * math/s_ctanh.c: Likewise.
29562 * math/s_ctanhf.c: Likewise.
29563 * math/s_ctanhl.c: Likewise.
29564 * math/libm-test.inc (ctan_test): Add more tests.
29565 (ctanh_test): Likewise.
29566 * sysdeps/i386/fpu/libm-test-ulps: Update.
29567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29568
295692012-04-09 Andreas Jaeger <aj@suse.de>
29570
29571 [BZ #6894]
29572 * manual/filesys.texi (Directory Entries): Mention that d_namlen
29573 is an optional BSD extension.
29574
29575 [BZ #10254]
29576 * manual/stdio.texi (Opening Streams): Document additional fopen
29577 parameters.
29578
295792012-04-09 Roland McGrath <roland@hack.frob.com>
29580
29581 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29582 %eax without telling the compiler.
29583
295842012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
29585
29586 [BZ # 13963]
29587 * manual/install.texi: Use sourceware.org.
29588
295892012-04-09 Joseph Myers <joseph@codesourcery.com>
29590
29591 [BZ #13873]
29592 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29593 (__ieee754_pow): Generate overflow and underflow using huge*huge
29594 and tiny*tiny rather than just returning constant infinity or zero
29595 for large exponents.
29596 * math/libm-test.inc (pow_test): Require overflow exceptions for
29597 applicable cases of large exponents.
29598
29599 [BZ #706]
29600 * sysdeps/i386/fpu/e_pow.S (p10): New object.
29601 (__ieee754_pow): Use iterative multiplication algorithm only for
29602 integer exponents with absolute value below 1024. Check for odd
29603 integer exponents when using algorithm for real exponents.
29604 * math/libm-test.inc (pow_test): Add more tests.
29605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29606
296072012-04-08 Joseph Myers <joseph@codesourcery.com>
29608
29609 [BZ #13705]
29610 * math/libm-test.inc (exp_test): Do not allow overflow exception
29611 on underflow test.
29612
296132012-04-08 Aurelien Jarno <aurelien@aurel32.net>
29614
29615 [BZ #13705]
29616 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29617 instead of __kernel_standard_f.
29618
296192012-04-08 Mike Frysinger <vapier@gentoo.org>
29620
29621 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29622 * sysdeps/x86_64/memset_chk.S: Likewise.
29623
296242012-04-08 Andreas Jaeger <aj@suse.de>
29625
29626 [BZ #10153]
29627 * manual/startup.texi (Environment Access): Describe return value
29628 for putenv and setenv.
29629
29630 [BZ #6895]
29631 * manual/filesys.texi (Directory Entries): Add description for
29632 DT_LNK.
29633
29634 [BZ #6890]
29635 * manual/filesys.texi (Directory Entries): Clarify that it's file
29636 system not operating system in the description of DT_UNKNOWN.
29637
29638 [BZ #6578]
29639 * manual/syslog.texi (closelog): Fix reference, it's openlog.
29640
296412012-04-08 Stephen Compall <s11@member.fsf.org>
29642
29643 [BZ #6649]
29644 * manual/llio.texi (Opening and Closing Files): Add cross
29645 reference to explain mode argument.
29646
296472012-04-07 Mike Frysinger <vapier@gentoo.org>
29648
29649 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29650 * sysdeps/x86_64/memset_chk.S: Likewise.
29651
296522012-04-07 David S. Miller <davem@davemloft.net>
29653
29654 * elf/elf.h (R_SPARC_WDISP10): Define.
29655 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29656 R_SPARC_SIZE32.
29657 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29658 R_SPARC_SIZE64 and R_SPARC_H34.
29659
296602012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
29661
29662 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29663 conditions and remove no longer applicable assertion.
29664
296652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29666
29667 * bits/byteswap.h: Include <features.h>.
29668 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29669 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29670
296712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29672
29673 * bits/byteswap.h (__bswap_16): Removed.
29674 Include <bits/byteswap-16.h> to get __bswap_16.
29675 * sysdeps/i386/bits/byteswap.h: Likewise.
29676 * sysdeps/s390/bits/byteswap.h: Likewise.
29677 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29678 * bits/byteswap-16.h: New file.
29679 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29680 * sysdeps/s390/bits/byteswap-16.h: Likewise.
29681 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29682 * string/Makefile (headers): Add bits/byteswap-16.h.
29683
296842012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29685
29686 [BZ #13895]
29687 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29688 extra indirection.
29689 * nss/Makefile (tests-static, tests): Add tst-nss-static.
29690 * nss/tst-nss-static.c: New.
29691
296922012-04-06 Robert Millan <rmh@gnu.org>
29693
29694 [BZ #6486]
29695 * manual/llio.texi (File Position Primitive): lseek
29696 refers to WHENCE when it really means OFFSET.
29697
296982012-04-06 Andreas Jaeger <aj@suse.de>
29699
29700 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29701 strncmp declarations.
29702
29703 * abilist/libc.abilist: Add __poll and __ppoll.
29704
297052012-04-05 David S. Miller <davem@davemloft.net>
29706
29707 * scripts/check-local-headers.sh: Accept a host triplet in the
29708 path matched by the exclude regexp.
29709
29710 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29711 definition.
29712 * sysdeps/powerpc/powerpc32/dl-machine.h
29713 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29714 * sysdeps/s390/s390-32/dl-machine.h
29715 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29716 * sysdeps/sparc/sparc32/dl-machine.h
29717 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29718 * sysdeps/sparc/sparc64/dl-machine.h
29719 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29720
29721 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29722 lazy binding.
29723 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
29724 undefined symbol errors.
29725
29726 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
29727 DT_NEEDED entries.
29728
297292012-04-05 Michael Matz <matz@suse.de>
29730
29731 [BZ #13592]
29732 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29733
297342012-04-05 Andreas Jaeger <aj@suse.de>
29735
29736 [BZ #13908]
29737 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29738 comment.
29739
297402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29741
29742 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29743 which ROUND is no valid rounding mode.
29744
297452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29746
29747 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29748 read again.
29749 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29750
297512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29752
29753 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29754 an exception using FPU order intentionally.
29755
297562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29757
29758 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29759 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29760 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29761 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29762
297632012-04-05 Simon Josefsson <simon@josefsson.org>
29764
29765 [BZ #12340]
29766 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29767 EINVAL when BUFLEN is too smal.
29768
297692012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29770
29771 [BZ #13553]
29772 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29773 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29774
297752012-04-03 Andreas Jaeger <aj@suse.de>
29776
29777 [BZ #13938]
29778 * manual/setjmp.texi (System V contexts): Fix sentence.
29779
29780 [BZ #13926]
29781 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29782 New macro for this case.
29783 [!__GNUC__] (__bswap_64): New inline function for this case.
29784 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29785 * bits/byteswap.h: Likewise.
29786 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29787 ull, guard with __GLIBC_HAVE_LONG_LONG.
29788
29789 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29790 __GLIBC_HAVE_LONG_LONG.
29791
29792 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29793 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29794
297952012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29796
29797 [BZ #13691]
29798 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29799 inptr and inend, rather than using last_ch.
29800
298012012-04-02 David S. Miller <davem@davemloft.net>
29802
29803 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29804 * stdio-common/printf-parse.h (read_int): Change return type to
29805 'int', return -1 on INT_MAX overflow.
29806 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29807 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29808 overflows INT_MAX. Check for overflow of in-format-string precision
29809 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29810 SIZE_MAX not INT_MAX for integer overflow test.
29811 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29812 skip the construct in the format string but do not record anything.
29813 * stdio-common/bug22.c: Adjust to test both width/prevision
29814 INT_MAX overflow as well as total length INT_MAX overflow. Check
29815 explicitly for proper errno values.
29816
298172012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29818
29819 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29820 CHAR_MAX.
29821 * string/test-strcmp.c [! WIDE]: Likewise.
29822 * time/tst-mktime2.c: Likewise for INT_MAX.
29823 * string/test-string.h: #include <sys/param.h> for MIN.
29824
29825 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29826 * sysdeps/i386/init-first.c (init): Likewise.
29827 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29828 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29829 * sysdeps/sh/init-first.c (init): Likewise.
29830
298312012-04-01 Ulrich Drepper <drepper@gmail.com>
29832
29833 * po/ru.po: Update from translation team.
29834 * po/vi.po: Likewise.
29835
298362012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29837
29838 * resolv/nss_dns/dns-host.c: Merge copyright years.
29839
298402012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29841
29842 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29843 Optimize memcpy with prefetch if
29844 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29845 src, dst pointers have unequal 16 byte alignments.
29846
298472012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29848
29849 [BZ #13928]
29850 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29851 from a CNAME entry and return the minimum ttl for the query.
29852 (gaih_getanswer_slice): Likewise.
29853
298542012-03-30 Jeff Law <law@redhat.com>
29855
29856 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29857 due to long keys.
29858 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29859 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29860
29861 * resolv/nss_dns/dns-host.c: Update copyright year.
29862
298632012-03-30 Ulrich Drepper <drepper@gmail.com>
29864
29865 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29866 requests to save a system call. Fix check that all bytes are sent.
29867
29868 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29869 comments for sendmmsg.
29870
298712012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29872
29873 [BZ #13691]
29874 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29875 with only 1 character between 0x0041 and 0x01b0.
29876 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29877 * wcsmbs/tst-mbsnrtowcs.c: New file.
29878
298792012-03-29 David S. Miller <davem@davemloft.net>
29880
29881 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29882 small copies by hand.
29883
298842012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29885
29886 [BZ #13761]
29887 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29888 _nss_compat_initgroups_dyn): Fall back to malloc/free
29889 for large group memberships.
29890
298912012-03-28 David S. Miller <davem@davemloft.net>
29892
29893 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29894 that branches into memcpy.
29895 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29896 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29897 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29898 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29900 bits.
29901 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29902 implementation too.
29903 * sysdeps/sparc/mempcpy.S: New file.
29904
29905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29906 the IFUNC routine in the libc case.
29907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29908
29909 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29910 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29911 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29912 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29913 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29914 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29915 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29916 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29917
29918 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29919 loop to 256 bytes instead of 64 bytes and fix test signedness.
29920
29921 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29922 * sysdeps/sparc/sparc32/Makefile: rather than here...
29923 * sysdeps/sparc/sparc64/Makefile: and here.
29924
299252012-03-28 Ulrich Drepper <drepper@gmail.com>
29926
29927 * malloc/mallocbug.c: Avoid warnings about unused variables.
29928
299292012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29930
29931 [BZ #13760]
29932 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29933 in the right place. Discard and retry query if response is
29934 larger than input buffer size.
29935
299362012-03-28 Joseph Myers <joseph@codesourcery.com>
29937
29938 [BZ #369]
29939 [BZ #2678]
29940 [BZ #3866]
29941 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29942 x for large integer exponent.
29943 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29944 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29945 sign of result as needed afterwards.
29946 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29947 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29948 result for underflowing pow the same as for overflow.
29949 (__kernel_standard_l): Handle powl overflow and underflow here
29950 rather than calling __kernel_standard.
29951 * math/libm-test.inc (pow_test): Add more tests.
29952
29953 [BZ #3868]
29954 [BZ #13879]
29955 [BZ #13910]
29956 [BZ #13911]
29957 [BZ #13912]
29958 [BZ #13913]
29959 [BZ #13915]
29960 [BZ #13916]
29961 [BZ #13917]
29962 [BZ #13918]
29963 [BZ #13919]
29964 [BZ #13920]
29965 [BZ #13921]
29966 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29967 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29968 (__kernel_standard_l): New function.
29969 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29970 __kernel_standard.
29971 * math/w_acosl.c (__acosl): Likewise.
29972 * math/w_asinl.c (__asinl): Likewise.
29973 * math/w_atan2l.c (__atan2l): Likewise.
29974 * math/w_atanhl.c (__atanhl): Likewise.
29975 * math/w_coshl.c (__coshl): Likewise.
29976 * math/w_exp10l.c (__exp10l): Likewise.
29977 * math/w_exp2l.c (__exp2l): Likewise.
29978 * math/w_fmodl.c (__fmodl): Likewise.
29979 * math/w_hypotl.c (__hypotl): Likewise.
29980 * math/w_j0l.c (__j0l, __y0l): Likewise.
29981 * math/w_j1l.c (__j1l, __y1l): Likewise.
29982 * math/w_jnl.c (__jnl, __ynl): Likewise.
29983 * math/w_lgammal.c (__lgammal): Likewise.
29984 * math/w_log10l.c (__log10l): Likewise.
29985 * math/w_log2l.c (__log2l): Likewise.
29986 * math/w_logl.c (__logl): Likewise.
29987 * math/w_powl.c (__powl): Likewise.
29988 * math/w_remainderl.c (__remainderl): Likewise.
29989 * math/w_scalbl.c (sysv_scalbl): Likewise.
29990 * math/w_sinhl.c (__sinhl): Likewise.
29991 * math/w_sqrtl.c (__sqrtl): Likewise.
29992 * math/w_tgammal.c (__tgammal): Likewise.
29993 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29994 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29995 * math/libm-test.inc (acos_test): Add more tests.
29996 (acosh_test): Likewise.
29997 (asin_test): Likewise.
29998 (atanh_test): Likewise.
29999 (exp_test): Likewise.
30000 (exp10_test): Likewise.
30001 (exp2_test): Likewise.
30002 (expm1_test): Likewise.
30003 (lgamma_test): Likewise.
30004 (log_test): Likewise.
30005 (log10_test): Likewise.
30006 (log1p_test): Likewise.
30007 (log2_test): Likewise.
30008 (pow_test): Do not allow some spurious overflow exceptions.
30009 (sqrt_test): Add more tests.
30010 (tgamma_test): Likewise.
30011 (y0_test): Likewise.
30012 (y1_test): Likewise.
30013 (yn_test): Likewise.
30014
300152012-03-27 Anton Blanchard <anton@samba.org>
30016
30017 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
30018 MAP_HUGETLB.
30019 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30020 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30021 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30022
300232012-03-27 David S. Miller <davem@davemloft.net>
30024
30025 * conform/Makefile: Run run-conformtest.sh using $(BASH).
30026
30027 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
30028 have-as-vis3 check.
30029
300302012-03-27 Andreas Jaeger <aj@suse.de>
30031
30032 * sysdeps/x86_64/elf/configure.in: Moved to ...
30033 * sysdeps/x86_64/configure.in: ... here.
30034 * sysdeps/x86_64/elf/start.S: Moved to ...
30035 * sysdeps/x86_64/start.S: ... here.
30036 * sysdeps/x86_64/elf/configure: Delete.
30037
30038 * sysdeps/x86_64/configure.in: Merge contents from
30039 sysdeps/i386/configure.in (without i686 check).
30040
30041 * sysdeps/i386/elf/Versions: Merge into ...
30042 * sysdeps/i386/Versions: ... this.
30043 * sysdeps/i386/elf/Versions: Delete file.
30044 * sysdeps/i386/elf/start.S: Moved to ...
30045 * sysdeps/i386/start.S: ...here.
30046 * sysdeps/i386/elf/configure.in: Merge into...
30047 * sysdeps/i386/configure.in: ...here.
30048 * sysdeps/i386/elf/configure.in: Delete file.
30049 * sysdeps/i386/elf/configure: Delete file.
30050
30051 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
30052 * debug/backtracesyms.c: ... here.
30053 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
30054 * debug/backtracesymsfd.c: ... here.
30055 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
30056 * sysdeps/generic/ifunc-sel.h: ... here.
30057
30058 * sysdeps/unix/i386/start.c: Delete file.
30059 * sysdeps/unix/sparc/start.c: Delete file.
30060 * sysdeps/unix/start.c: Delete file.
30061
30062 * sysdeps/sh/elf/configure.in: Moved to ...
30063 * sysdeps/sh/configure.in: ... here.
30064 * sysdeps/sh/elf/start.S: Moved to ...
30065 * sysdeps/sh/start.S: ... here.
30066 * sysdeps/sh/elf/configure: Delete file.
30067
30068 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
30069 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
30070 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
30071 * sysdeps/powerpc/powerpc64/entry.h: ... here.
30072 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
30073 * sysdeps/powerpc/powerpc64/start.S: here.
30074 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
30075 * sysdeps/powerpc/powerpc64/Makefile: ... this.
30076 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
30077 * sysdeps/powerpc/powerpc64/configure.in: ... this.
30078 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
30079
30080 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
30081 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
30082 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
30083 * sysdeps/powerpc/powerpc32/start.S: ... here.
30084 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
30085 * sysdeps/powerpc/powerpc32/configure.in: ... this.
30086 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
30087
30088 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
30089 * sysdeps/powerpc/ifunc-sel.h: ... here.
30090 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
30091 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
30092
30093 * sysdeps/sparc/elf/configure.in: Moved to ...
30094 * sysdeps/sparc/configure.in: ... here.
30095 * sysdeps/sparc/elf/configure: Delete file.
30096 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
30097 * sysdeps/sparc/sparc32/start.S: ... here.
30098 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
30099 * sysdeps/sparc/sparc64/start.S: ... here.
30100 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
30101 * sysdeps/sparc/sparc32/Makefile: ... this.
30102 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
30103 * sysdeps/sparc/sparc64/Makefile: ... this.
30104
30105 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
30106 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
30107 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
30108 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
30109 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
30110 * sysdeps/s390/s390-32/setjmp.S: ... here.
30111 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
30112 * sysdeps/s390/s390-32/configure.in: ... here.
30113 * sysdeps/s390/s390-32/elf/configure: Delete file.
30114 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
30115 * sysdeps/s390/s390-32/start.S: ... here.
30116
30117 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
30118 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
30119 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
30120 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
30121 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
30122 * sysdeps/s390/s390-64/setjmp.S: ... here.
30123 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
30124 * sysdeps/s390/s390-64/configure.in: ... here
30125 * sysdeps/s390/s390-64/elf/configure: Delete file.
30126 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
30127 * sysdeps/s390/s390-64/start.S: ... here.
30128 * sysdeps/s390/s390-64/elf/configure: Delete.
30129
30130 * configure.in: Remove support for elf directories in sysdeps.
30131
30132 * configure: Regenerated.
30133 * sysdeps/i386/configure: Regenerated.
30134 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30135 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30136 * sysdeps/s390/s390-32/configure: Regenerated.
30137 * sysdeps/s390/s390-64/configure: Regenerated.
30138 * sysdeps/sh/configure: Regenerated.
30139 * sysdeps/sparc/configure: Regenerated.
30140 * sysdeps/x86_64/configure: Regenerated.
30141
301422012-03-26 Andreas Schwab <schwab@linux-m68k.org>
30143
30144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30145
30146 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
30147 denormal result into account.
30148
301492012-03-25 Roland McGrath <roland@hack.frob.com>
30150
30151 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
30152 Reported by Allan McRae <allan@archlinux.org>.
30153
301542012-03-23 Jeff Law <law@redhat.com>
30155
30156 * nss/getnssent.c (__nss_getent): Fix typo.
30157
301582012-03-23 David S. Miller <davem@davemloft.net>
30159
30160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30161
301622012-03-23 H.J. Lu <hongjiu.lu@intel.com>
30163
30164 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
30165 to pad to uint64_t for each field.
30166 (dl_tls_index): Replace unsigned long with uint64_t.
30167
301682012-03-23 Daniel Jacobowitz <dmj@google.com>
30169 Paul Pluzhnikov <ppluzhnikov@google.com>
30170
30171 [BZ #6528]
30172 * grp/Makefile (otherlibs): Don't set it.
30173 * inet/Makefile (otherlibs): Likewise.
30174 * login/Makefile (otherlibs): Likewise.
30175 * nscd/Makefile (otherlibs): Likewise.
30176 * posix/Makefile (otherlibs): Likewise.
30177 * pwd/Makefile (otherlibs): Likewise.
30178 * rt/Makefile (otherlibs): Likewise.
30179 * sunrpc/Makefile (otherlibs): Likewise.
30180 * nss/Makefile (otherlibs): Likewise.
30181 Add libnss_files to routines and static-only-routines.
30182 ($(objpfx)getent): Remove rule.
30183 * resolv/Makefile: Add libnss_dns and libresolv to routines and
30184 static-only-routines.
30185
301862012-03-22 Joseph Myers <joseph@codesourcery.com>
30187
30188 [BZ #13892]
30189 * math/s_cexp.c: Include <float.h>.
30190 (__cexp): Handle exp result overflowing not necessarily
30191 overflowing both real and imaginary parts of result.
30192 * math/s_cexpf.c: Likewise.
30193 * math/s_cexpl.c: Likewise.
30194 * math/libm-test.inc (cexp_test): Add more tests.
30195 * sysdeps/i386/fpu/libm-test-ulps: Update.
30196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30197
301982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
30199
30200 * include/link.h (ELFW): New macro.
30201 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
30202 Replace ELF64_R_TYPE with ELFW(R_TYPE).
30203
302042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
30205
30206 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
30207 with uint64_t.
30208
302092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
30210
30211 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
30212 declaration.
30213 (struct La_x32_retval): Likewise.
30214
302152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
30216
30217 * sysdeps/x86_64/preconfigure.in: New file.
30218 * sysdeps/x86_64/preconfigure: New generated file.
30219
302202012-03-22 Joseph Myers <joseph@codesourcery.com>
30221
30222 [BZ #13824]
30223 * math/e_exp2l.c: Include <float.h>.
30224 (__ieee754_exp2l): Handle overflow and underflow cases
30225 separately. Only pass fractional part of argument to
30226 __ieee754_expl.
30227 * math/libm-test.inc (exp2_test): Add more tests.
30228
30229 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
30230 negating x to take absolute value.
30231 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30232 Likewise.
30233 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30234 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30235 Likewise.
30236 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
30237 computing low part if x was negated.
30238 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30239
302402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
30241
30242 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
30243 la_x32_gnu_pltexit.
30244 (pltexit): Cast int_retval to ptrdiff_t.
30245 * elf/tst-auditmod3b.c: Likewise.
30246 * elf/tst-auditmod4b.c: Likewise.
30247 * elf/tst-auditmod5b.c: Likewise.
30248 * elf/tst-auditmod6b.c: Likewise.
30249 * elf/tst-auditmod6c.c: Likewise.
30250 * elf/tst-auditmod7b.c: Likewise.
30251
30252 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
30253 and x32_gnu_pltexit.
30254
30255 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
30256 __ELF_NATIVE_CLASS.
30257 (La_x32_regs): New macro.
30258 (La_x32_retval): Likewise.
30259 (la_x32_gnu_pltenter): New function prototype.
30260 (la_x32_gnu_pltexit): Likewise.
30261
302622012-03-21 Andreas Schwab <schwab@linux-m68k.org>
30263
30264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
30265 exponent.
30266
30267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30268
30269 * configure.in (libc_cv_cc_nofma): Check for option to disable
30270 generation of FMA instructions.
30271 * configure: Regenerate.
30272 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
30273 * sysdeps/ieee754/dbl-64/Makefile: New file.
30274 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30275 Remove brandred-fma4.
30276 (CFLAGS-brandred-fma4.c): Remove.
30277 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
30278 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
30279 define.
30280 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
30281 define.
30282
302832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
30284
30285 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30286 LLONG_MAX != LONG_MAX.
30287 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30288 (_fitoa_word): Likewise.
30289 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
30290 LLONG_MAX != LONG_MAX.
30291 * stdio-common/_itowa.h: Include <_itoa.h>.
30292 (_itowa_word): Use _ITOA_WORD_TYPE on value.
30293 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
30294 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
30295 only if not defined.
30296 (_ITOA_WORD_TYPE): Likewise.
30297 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30298 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
30299
303002012-03-21 David S. Miller <davem@davemloft.net>
30301
30302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30303
303042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
30305
30306 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
30307 of x86_64 when setting libc_cv_slibdir, libdir and
30308 libc_cv_localedir.
30309 * sysdeps/unix/sysv/linux/configure: Regenerated.
30310
303112012-03-21 Joseph Myers <joseph@codesourcery.com>
30312
30313 * manual/lang.texi (Old Varargs): Remove section.
30314 (How Variadic): Update menu.
30315 (va_start): Do not mention varargs.h.
30316
303172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
30318 Joseph Myers <joseph@codesourcery.com>
30319
30320 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
30321 link test.
30322 * configure: Regenerated.
30323
303242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
30325
30326 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
30327 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
30328 conformtest.pl
30329
303302012-03-21 Joseph Myers <joseph@codesourcery.com>
30331
30332 * NOTES: Remove.
30333 * Makefile (files-for-dist): Remove NOTES.
30334 (NOTES): Remove rule.
30335 * README: Don't refer to NOTES.
30336 * manual/creature.texi: Don't include macros.texi.
30337 * manual/intro.texi (creature.texi): Remove comment referring to
30338 NOTES.
30339
30340 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
30341 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
30342 * configure: Regenerated.
30343 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
30344 LIBC_TRY_CC_OPTION.
30345 (libc_cv_as_i686): Likewise.
30346 (libc_cv_cc_avx): Likewise.
30347 (libc_cv_cc_sse2avx): Likewise.
30348 (libc_cv_cc_fma4): Likewise.
30349 (libc_cv_cc_novzeroupper): Likewise.
30350 * sysdeps/i386/configure: Regenerated.
30351
30352 [BZ #13883]
30353 * sysdeps/i386/fpu/s_cexp.S: Remove.
30354 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30355 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30356 * math/libm-test.inc (cexp_test): Add more tests.
30357 * sysdeps/i386/fpu/libm-test-ulps: Update.
30358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30359
303602012-03-21 Allan McRae <allan@archlinux.org>
30361
30362 * timezone/Makefile: Do not install iso3166.tab and zone.tab
30363
303642012-03-21 Joseph Myers <joseph@codesourcery.com>
30365
30366 [BZ #13871]
30367 * math/w_exp2.c: Do not include <float.h>.
30368 (o_threshold, u_threshold): Remove.
30369 (__exp2): Calculate result before checking finiteness and calling
30370 __kernel_standard.
30371 * math/w_exp2f.c: Likewise.
30372 * math/w_exp2l.c: Likewise.
30373 * math/libm-test.inc (exp2_test): Require overflow exception for
30374 1e6 input.
30375
30376 [BZ #3866]
30377 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
30378 range of signed 64-bit integers before using fistpll. Remove
30379 checks for whether integers fit in mantissa bits.
30380 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
30381 the range of signed 32-bit integers before using fistpl. Remove
30382 checks for whether integers fit in mantissa bits.
30383 * sysdeps/i386/fpu/e_powl.S (p64): New object.
30384 (__ieee754_powl): Test for y outside the range of signed 64-bit
30385 integers before using fistpll. Reduce 64-bit values to 63-bit
30386 ones as needed.
30387 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
30388 divide-by-zero is raised for zero to large negative powers.
30389 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
30390 (__ieee754_powl): Test for y outside the range of signed 64-bit
30391 integers before using fistpll. Reduce 64-bit values to 63-bit
30392 ones as needed.
30393 * math/libm-test.inc (pow_test): Add more tests.
30394
303952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
30396
30397 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
30398 <stdio-common/_itoa.h>.
30399 * debug/segfault.c: Likewise.
30400 * elf/dl-cache.c: Likewise.
30401 * elf/dl-minimal.c: Likewise.
30402 * elf/dl-misc.c: Likewise.
30403 * elf/dl-sysdep.c: Likewise.
30404 * elf/dl-version.c: Likewise.
30405 * elf/rtld.c: Likewise.
30406 * hurd/hurdsock.c: Likewise.
30407 * hurd/lookup-retry.c: Likewise.
30408 * malloc/malloc.c: Likewise.
30409 * malloc/mtrace.c: Likewise.
30410 * nscd/nscd_getgr_r.c: Likewise.
30411 * nscd/nscd_getpw_r.c: Likewise.
30412 * nscd/nscd_getserv_r.c: Likewise.
30413 * posix/getopt_init.c: Likewise.
30414 * posix/wordexp.c: Likewise.
30415 * stdio-common/_itoa.c: Likewise.
30416 * stdio-common/printf_fphex.c: Likewise.
30417 * stdio-common/vfprintf.c: Likewise.
30418 * string/_strerror.c: Likewise.
30419 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
30420 * sysdeps/i386/i686/hp-timing.h: Likewise.
30421 * sysdeps/mach/_strerror.c: Likewise.
30422 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
30423 * sysdeps/mach/hurd/sethostid.c: Likewise.
30424 * sysdeps/mach/hurd/xmknodat.c: Likewise.
30425 * sysdeps/mach/xpg-strerror.c: Likewise.
30426 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30427 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30428 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
30429 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
30430 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30431 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
30432 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30433 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30434 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
30435 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
30436 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
30437 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30438 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
30439 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30440 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30441 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
30442 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
30443 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
30444 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30445 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30446 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
30447
30448 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
30449
30450 * stdio-common/_itoa.h: Moved to ...
30451 * sysdeps/generic/_itoa.h: Here.
30452
30453 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
30454
30455 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
30456 instead of "_itoa.h" and "_itowa.h".
30457 * stdio-common/vfprintf.: Likewise.
30458
304592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
30460
30461 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
30462 <bits/wordsize.h>.
30463 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
30464 (__signbit): Likwise.
30465 (llrintf): Likwise.
30466 (llrint): Likwise.
30467
304682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
30469
30470 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
30471 __WORDSIZE != 64.
30472
304732012-03-20 Joseph Myers <joseph@codesourcery.com>
30474
30475 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
30476 OVERFLOW_EXCEPTION_OK.
30477 * math/libm-test.inc ("Philosophy"): Update comment about
30478 exception testing.
30479 (OVERFLOW_EXCEPTION): Define.
30480 (OVERFLOW_EXCEPTION_OK): Likewise.
30481 (INVALID_EXCEPTION_OK): Renumber.
30482 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30483 (IGNORE_ZERO_INF_SIGN): Likewise.
30484 (test_exceptions): Handle FE_OVERFLOW.
30485 (exp10_test): Expect overflow exceptions.
30486 (exp2_test): Likewise.
30487 (expm1_test): Likewise.
30488 (nextafter_test): Likewise.
30489 (pow_test): Likewise.
30490 (scalbn_test): Likewise.
30491 (scalbln_test): Likewise.
30492
304932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30494
30495 * sysdeps/x86_64/bits/atomic.h
30496 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
30497 64bit integer.
30498 (atomic_exchange_acq): Likewise.
30499 (__arch_exchange_and_add_body): Likewise.
30500 (__arch_add_body): Likewise.
30501 (atomic_add_negative): Likewise.
30502 (atomic_add_zero): Likewise.
30503
305042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30505
30506 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
30507 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
30508
305092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30510
30511 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
30512 Check __x86_64__ instead of __WORDSIZE.
30513
305142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30515
30516 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
30517
305182012-03-19 David S. Miller <davem@davemloft.net>
30519
30520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30521
30522 * sysdeps/sparc/fpu/fenv_private.h: New file.
30523 * sysdeps/sparc/fpu/math_private.h: Use it.
30524 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30525 Remove.
30526 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30527 (libc_feholdexcept_setroundl): Remove.
30528 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30529 Remove.
30530 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30531 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30532
305332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30534
30535 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30536 int64_t instead of long int.
30537 (INSERT_WORDS64): Likwise.
30538
305392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30540
30541 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30542 _Unwind_GetCFA return to _Unwind_Ptr first.
30543
305442012-03-19 Joseph Myers <joseph@codesourcery.com>
30545
30546 [BZ #13629]
30547 * math/s_clog.c: Include <float.h>.
30548 (__clog): Scale large or subnormal inputs.
30549 * math/s_clogf.c: Likewise.
30550 * math/s_clogl.c: Likewise.
30551 * math/s_clog10.c: Include <float.h>.
30552 (M_LOG10_2): Define.
30553 (__clog10): Scale large or subnormal inputs.
30554 * math/s_clog10f.c: Likewise.
30555 * math/s_clog10l.c: Likewise.
30556 * math/libm-test.inc (clog_test): Add more tests.
30557 (clog10_test): Likewise.
30558 * sysdeps/i386/fpu/libm-test-ulps: Update.
30559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30560
30561 [BZ #11451]
30562 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30563 x and y.
30564 * math/libm-test.inc (atan2_test): Add another test.
30565
30566 * Makerules (common-objdir-compile): Remove.
30567 * sysdeps/unix/Makefile (config-generated): Do not add
30568 $(unix-generated) to variable.
30569 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30570 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30571 Remove rule.
30572 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30573 Likewise.
30574 [generic bits/local_lim.h] (before-compile): Do not append to
30575 variable.
30576 [generic bits/local_lim.h] (common-generated): Likewise.
30577 [generic sys/param.h] (before-compile): Do not append to variable.
30578 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30579 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30580 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30581 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30582 include.
30583 [generic sys/param.h] (sys/param.h-includes): Remove variable.
30584 [generic sys/param.h] (sys/param.h-includes): Remove rule.
30585 [generic sys/param.h] ($(addprefix
30586 $(common-objpfx),$(sys/param.h-includes))): Likewise.
30587 [generic sys/param.h] (common-generated): Do not append to
30588 variable.
30589 [generic sys/param.h] (sysdep_headers): Likewise.
30590 [generic bits/errno.h] (before-compile): Do not append to
30591 variable.
30592 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30593 rule.
30594 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30595 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30596 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30597 [generic bits/errno.h] (common-generated): Do not append to
30598 variable.
30599 [generic bits/ioctls.h] (before-compile): Do not append to
30600 variable.
30601 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30602 rule.
30603 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30604 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30605 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30606 rule.
30607 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30608 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30609 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30610 [generic bits/ioctls.h] (common-generated): Do not append to
30611 variable.
30612 [generic sys/syscall.h] (syscall.h): Remove variable.
30613 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30614 rule.
30615 [generic sys/syscall.h] (before-compile): Do not append to
30616 variable.
30617 [generic sys/syscall.h] (common-generated): Likewise.
30618 * sysdeps/unix/errnos-tmpl.c: Remove file.
30619 * sysdeps/unix/errnos.awk: Likewise.
30620 * sysdeps/unix/ioctls-tmpl.c: Likewise.
30621 * sysdeps/unix/ioctls.awk: Likewise.
30622 * sysdeps/unix/mk-local_lim.c: Likewise.
30623 * sysdeps/unix/snarf-ioctls: Likewise.
30624
306252012-03-19 Richard Henderson <rth@twiddle.net>
30626
30627 * sysdeps/i386/fpu/fenv_private.h: New file.
30628 * sysdeps/i386/fpu/math_private.h: Use it.
30629 (math_opt_barrier, math_force_eval): Remove.
30630 (libc_feholdexcept_setround_53bit): Remove.
30631 (libc_feupdateenv_53bit): Remove.
30632 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30633 (math_opt_barrier, math_force_eval): Remove.
30634 (libc_feholdexcept): Remove.
30635 (libc_feholdexcept_setround): Remove.
30636 (libc_fetestexcept, libc_fesetenv): Remove.
30637 (libc_feupdateenv_test): Remove.
30638 (libc_feupdateenv, libc_feholdsetround): Remove.
30639 (libc_feresetround): Remove.
30640
30641 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30642 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30643
30644 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30645 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30646 (libc_feupdateenv_testl): New.
30647 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30648 (libc_feupdateenv_testf): New.
30649 (libc_feupdateenv): Use libc_feupdateenv_test.
30650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30651 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30652
30653 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30654 (libc_feholdsetroundf, libc_feholdsetroundl): New.
30655 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30656 (libc_feresetround_noex): New.
30657 (libc_feresetround_noexf): New.
30658 (libc_feresetround_noexl): New.
30659 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30660 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30661 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30662 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30663 SET_RESTORE_ROUND.
30664 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30666 (__cos): Likewise.
30667 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30668 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30669 SET_RESTORE_ROUND_NOEX.
30670 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30671 SET_RESTORE_ROUND_NOEXF.
30672 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30673 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30674 (libc_feholdsetroundf): New.
30675 (libc_feresetround, libc_feresetroundf): New.
30676
30677 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30678 (libc_feholdexcept_setround_53bit): Convert from macro to function.
30679 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
30680
30681 * sysdeps/generic/math_private.h: Include <fenv.h>.
30682 (default_libc_feholdexcept): New.
30683 (default_libc_feholdexcept_setround): New.
30684 (default_libc_fesetenv, default_libc_feupdateenv): New.
30685 (libc_feholdexcept): Only define if undefined.
30686 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30687 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30688 (libc_feholdexcept_setroundl): Likewise.
30689 (libc_feholdexcept_setround_53bit): Likewise.
30690 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30691 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30692 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30693 (libc_feupdateenv_53bit): Likewise.
30694 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30695 (libc_feholdexcept): Convert from macro to inline function.
30696 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30697 (libc_fesetenv, libc_feupdateenv): Likewise.
30698
30699 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30700 not previously defined.
30701 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30702 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30703 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30704 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30705 * sysdeps/ieee754/flt-32/math_private.h: New file.
30706 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30707 math_private.h below SET_FLOAT_WORD.
30708 (__isnan, __isinf_ns, __finite): Remove.
30709 (__isnanf, __isinf_nsf, __finitef): Remove.
30710
307112012-03-18 Andreas Schwab <schwab@linux-m68k.org>
30712
30713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30714
307152012-03-17 David S. Miller <davem@davemloft.net>
30716
30717 [BZ #6471]
30718 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30719 for 2.16.
30720
307212012-03-16 David S. Miller <davem@davemloft.net>
30722
30723 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30724 warnings.
30725
30726 [BZ #6471]
30727 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30728 properly.
30729 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30730 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30731 sysdep_routines when subdir is sysvipc.
30732 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30733 __getshmlba helper.
30734
30735 * sysdeps/sparc/fpu/libm-test/ulps: Update.
30736
307372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30738
30739 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30740 [__LP64__].
30741
307422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30743
30744 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30745 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30746 (__lround): Renamed to ...
30747 (__llround): This. Replace long int with long long int.
30748 Define lround functions as aliases of llround functions.
30749 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30750
307512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30752
30753 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30754 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
30755 adresses to uintptr_t. Replace "long int" and "unsigned long
30756 int" with "greg_t" on va_arg.
30757
307582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30759
30760 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30761 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30762
30763 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30764 Move e_machine check before EI_CLASS check. Handle x32
30765 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30766 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30767 SKIP_EM_IA_64 and include
30768 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30769
30770 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30771 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30772 (add_system_dir): New macro.
30773
30774 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30775 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30776
307772012-03-16 Joseph Myers <joseph@codesourcery.com>
30778
30779 [BZ #2551]
30780 [BZ #2552]
30781 [BZ #2553]
30782 [BZ #2554]
30783 [BZ #2562]
30784 [BZ #2563]
30785 [BZ #2565]
30786 [BZ #2566]
30787 [BZ #2576]
30788 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30789 (y0): Likewise.
30790 * math/w_j0f.c (j0f): Likewise.
30791 (y0f): Likewise.
30792 * math/w_j0l.c (__j0l): Likewise.
30793 (__y0l): Likewise.
30794 * math/w_j1.c (j1): Likewise.
30795 (y1): Likewise.
30796 * math/w_j1f.c (j1f): Likewise.
30797 (y1f): Likewise.
30798 * math/w_j1l.c (__j1l): Likewise.
30799 (__y1l): Likewise.
30800 * math/w_jn.c (jn): Likewise.
30801 (yn): Likewise.
30802 * math/w_jnf.c (jnf): Likewise.
30803 (ynf): Likewise.
30804 * math/w_jnl.c (__jnl): Likewise.
30805 (__ynl): Likewise.
30806 * math/libm-test.inc (j0_test): Add more tests.
30807 (j1_test): Likewise.
30808 (jn_test): Likewise. Add trailing semicolon to existing test.
30809 (y0_test): Likewise.
30810 (y1_test): Likewise.
30811 * sysdeps/i386/fpu/libm-test-ulps: Update.
30812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30813
30814 [BZ #13851]
30815 [BZ #13854]
30816 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30817 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30818 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30819 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30820 (__tanl): Set errno for infinite argument.
30821 * sysdeps/i386/fpu/mptan.c: Remove.
30822 * sysdeps/i386/fpu/s_tan.S: Likewise.
30823 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30824 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30825 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30826 * math/libm-test.inc (tan_test): Add more tests and enable more
30827 tests for double and long double.
30828 * sysdeps/i386/fpu/libm-test-ulps: Update.
30829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30830
308312012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30832
30833 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30834 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30835
308362012-03-16 Roland McGrath <roland@hack.frob.com>
30837
30838 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30839 * configure.in: Use it for both main tree and add-ons.
30840 * configure: Regenerated.
30841
308422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30843
30844 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30845
308462012-03-16 Joseph Myers <joseph@codesourcery.com>
30847
30848 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30849 in comment.
30850
30851 [BZ #13851]
30852 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30853 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30854 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30855 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30856 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30857 infinite argument.
30858 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30859 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30860 != 0 for prec == 2.
30861 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30862 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30863 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30864 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30865 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30866 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30867 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30868 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30869 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30870 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30871 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30872 * math/libm-test.inc (cos_test): Add more tests and enable more
30873 tests for long double.
30874 (sin_test): Likewise.
30875 (sincos_test): Likewise.
30876 * sysdeps/i386/fpu/libm-test-ulps: Update.
30877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30878
308792012-03-16 David S. Miller <davem@davemloft.net>
30880
30881 * sysdeps/sparc/fpu/math_private.h: New file.
30882
308832012-03-15 David S. Miller <davem@davemloft.net>
30884
30885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30886 file.
30887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30889 file.
30890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30895 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30896 sysdep routines.
30897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30898
30899 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30900 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30901
30902 * sysdeps/sparc/sparc-ifunc.h: New file.
30903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30904 sparc-ifunc.h
30905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30907 Likewise.
30908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30909 Likewise.
30910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30914 Likewise.
30915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30920 Likewise.
30921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30922 Likewise.
30923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30929 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30930 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30941 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30942 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30943 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30944 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30945 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30946 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30947
309482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30949
30950 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30951 scaling.
30952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30953
309542012-03-15 Andreas Jaeger <aj@suse.de>
30955
30956 [BZ #13852]
30957 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30958 ieee754/flt-32 implementation for sin, cos and sincos.
30959 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30960 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30961 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30962 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30963 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30964 ieee754/flt-32 implementation for tan.
30965
30966 * math/libm-test.inc (cos_test): Enable some large input tests for
30967 float as well
30968 (sin_test): Likewise.
30969 (sincos_test): Likewise.
30970 (tan_test): Add tests for large input.
30971
30972 * sysdeps/i386/fpu/libm-test-ulps: Update.
30973
309742012-03-15 Andreas Jaeger <aj@suse.de>
30975
30976 [BZ #13658]
30977 * math/libm-test.inc (cos_test): Add more test cases.
30978 (sin_test): Likewise.
30979 (sincos_test): Likewise.
30980
309812012-03-15 Andreas Jaeger <aj@suse.de>
30982
30983 [BZ #13837]
30984 * math/libm-test.inc (cos_test): Add a test case for large input
30985 value.
30986 (sin_test): Likewise.
30987 (sincos_test): Likewise.
30988
309892012-03-15 Andreas Jaeger <aj@suse.de>,
30990 Joseph Myers <joseph@codesourcery.com>
30991
30992 [BZ #13658]
30993 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30994 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30995 * sysdeps/i386/fpu/branred.c: Likewise.
30996 * sysdeps/i386/fpu/dosincos.c: Likewise.
30997 * sysdeps/i386/fpu/mpa.c: Likewise.
30998 * sysdeps/i386/fpu/s_cos.S: Likewise.
30999 * sysdeps/i386/fpu/s_sin.S: Likewise.
31000 * sysdeps/i386/fpu/s_sincos.S: Likewise.
31001 * sysdeps/i386/fpu/sincos32.c: Likewise.
31002
31003 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31004 Define.
31005 (libc_feupdateenv_53bit): Define.
31006 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
31007 Define.
31008 (libc_feupdateenv_53bit): Define.
31009
31010 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31011 53 bit (without extend i386 double precision).
31012
31013 * math/libm-test.inc (sincos_test): Add tests for large input.
31014 (sin): Likewise.
31015 (cos): Likewise.
31016
31017 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31018
310192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31020
31021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31022
310232012-03-15 David S. Miller <davem@davemloft.net>
31024
31025 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
31026 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
31027 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
31028 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
31029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
31030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
31031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
31032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
31033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
31034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
31035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
31036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
31037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
31038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
31039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
31040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
31041 file.
31042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
31043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
31044 file.
31045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
31046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
31047 file.
31048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
31049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
31050 file.
31051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
31052 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
31053 fmin/fmax sysdep routines.
31054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31055
310562012-03-14 David S. Miller <davem@davemloft.net>
31057
31058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
31059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
31060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
31061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
31062 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
31063 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
31064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
31065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
31066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
31067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
31068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
31069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
31070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
31071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
31072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
31073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
31074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
31075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
31076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
31077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
31078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
31079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
31080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
31081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
31082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
31083 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
31084 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
31085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
31086 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
31087 routines.
31088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
31089 file.
31090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
31091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
31092 file.
31093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
31094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
31095 file.
31096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
31097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
31098 file.
31099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
31100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
31101 file.
31102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
31103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
31104 file.
31105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
31106 file.
31107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
31108 file.
31109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
31110 file.
31111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
31112 New file.
31113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
31114 file.
31115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
31116 file.
31117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
31118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
31119 file.
31120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
31121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
31122 file.
31123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
31124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
31125 file.
31126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
31127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
31128 VIS3 routines.
31129
31130 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31131 New file.
31132
31133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31134
31135 * sysdeps/sparc/configure.in: New file.
31136 * sysdeps/sparc/configure: Generate.
31137 * configure.in (libc_cv_sparc_as_vis3): Substitute.
31138 * configure: Regenerate.
31139 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
31140 * config.make.in (have-as-vis3): New.
31141 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
31142 available use -Av9d instead of -Av9a.
31143 * sysdeps/sparc/sparc64/Makefile: Likewise.
31144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
31145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
31146 New file.
31147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
31148 file.
31149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
31150 New file.
31151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
31152 file.
31153 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
31154 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
31155 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
31156 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
31157 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
31158
31159 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
31160 fzeros/fnegs to load 0x80000000 into a float register instead of
31161 using the stack.
31162 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
31163
311642012-03-14 Joseph Myers <joseph@codesourcery.com>
31165
31166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31167 bits/syscall.h.
31168 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
31169 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
31170 ($(inst_includedir)/bits/syscall.h): Remove rule.
31171 ($(objpfx)bits/syscall.d): Include instead of
31172 $(objpfx)syscall-list.d.
31173 (generated): Change syscall-list.h and syscall-list.d to
31174 bits/syscall.h and bits/syscall.d.
31175
311762012-03-14 Roland McGrath <roland@hack.frob.com>
31177
31178 [BZ #13846]
31179 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
31180
311812012-03-14 Joseph Myers <joseph@codesourcery.com>
31182
31183 [BZ #13841]
31184 * math/s_csqrt.c: Include <float.h>.
31185 (__csqrt): Scale large or subnormal inputs.
31186 * math/s_csqrtf.c: Likewise.
31187 * math/s_csqrtl.c: Likewise.
31188 * math/libm-test.inc (csqrt_test): Add more tests.
31189 * sysdeps/i386/fpu/libm-test-ulps: Update.
31190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31191
31192 [BZ #13840]
31193 * math/libm-test.inc (hypot_test): Add more tests.
31194
311952012-03-13 David S. Miller <davem@davemloft.net>
31196
31197 [BZ #13840]
31198 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
31199 double-precision for the calculation instead of scaling.
31200
312012012-03-13 Joseph Myers <joseph@codesourcery.com>
31202
31203 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
31204 manipulate bits before adding and subtracting TWO52[sx].
31205 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
31206 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31207 Likewise.
31208 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
31209
312102012-03-13 David S. Miller <davem@davemloft.net>
31211
31212 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
31213 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
31214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
31215 rtld-global-offsets.h
31216 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31217
31218 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
31219 large parameters.
31220
31221 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
31222
31223 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
31224 'err' in the ifdef scope in which it is actually used.
31225
31226 * nss/nss_db/db-init.c: Include string.h
31227
312282012-03-12 David S. Miller <davem@davemloft.net>
31229
31230 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31231 masking out of the most significant byte of random value used.
31232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31233 Fix coding style in previous change.
31234
31235 * sysdeps/unix/sysv/linux/kernel-features.h
31236 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
31237 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
31238 expression.
31239 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
31240 later.
31241
312422012-03-11 David S. Miller <davem@davemloft.net>
31243
31244 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31245 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
31246 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
31247 for 'resultvar' otherwise things get truncated on 64-bit.
31248
31249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31250 Fix masking out of the most significant byte of random value used.
31251
31252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31253
312542012-03-10 Andreas Schwab <schwab@linux-m68k.org>
31255
31256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31257
312582012-03-09 David S. Miller <davem@davemloft.net>
31259
31260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
31261 variables with appropriate CPP guards.
31262 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
31263 frame pointer, not the stack pointer. Correct layout comments. Fix test
31264 on resulting framesize and the management of the outregs buffer for pltexit.
31265 Preserve floating point return values across _dl_call_pltexit call.
31266 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
31267 framesize and the management of the outregs buffer for pltexit.
31268 Preserve floating point return values across _dl_call_pltexit
31269 call.
31270 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
31271 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
31272 (print_exit): Fix format string for return register value.
31273
312742012-03-10 Joseph Myers <joseph@codesourcery.com>
31275
31276 * sunrpc/Makefile (others): Add rpcgen.
31277 ($(objpfx)rpcgen): Remove special build rule and dependency on
31278 libc.
31279 * sunrpc/rpcgen.c: New file.
31280
312812012-03-09 Paul Eggert <eggert@cs.ucla.edu>
31282
31283 [BZ #13673]
31284 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
31285 * stdio-common/bug-vfprintf-nargs.c: Likewise.
31286 * sysdeps/i386/crti.S: Likewise.
31287 * sysdeps/i386/crtn.S: Likewise.
31288 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
31289 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
31290 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
31291 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
31292 * sysdeps/sh/crti.S: Likewise.
31293 * sysdeps/sh/crtn.S: Likewise.
31294 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31295
31296 [BZ #13673]
31297 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
31298 with URL.
31299 * locale/programs/locfile-kw.gperf: Likewise.
31300 * locale/programs/charmap-kw.h: Regenerated.
31301 * locale/programs/locfile-kw.h: Likewise.
31302
31303 [BZ #13673]
31304 * intl/plural.y: Replace FSF snail mail address with URL.
31305 * intl/plural.c: Regenerated.
31306
313072012-03-09 Richard Henderson <rth@twiddle.net>
31308
31309 * include/math_private.h: Remove file.
31310 * math/math_private.h: Move file ...
31311 * sysdeps/generic/math_private.h: ... here.
31312
31313 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
31314 * sysdeps/powerpc/fpu/math_private.h: Likewise.
31315 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31316
31317 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
31318 and <math_private.h>.
31319 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31320 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31321 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31322 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31323 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31324 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
31325 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31326 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31327 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31328 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31330 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31331 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31333 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31334 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31335 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31336 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31337 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31338 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31340 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31341 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31343 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31344 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31345 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31346 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31347 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31348 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31349 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31351 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31352 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31353 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31354 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31355 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31356 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31357 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31358 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31359 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
31360 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31361 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31362 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31363 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31364 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31365 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
31366 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31367 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31368 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31369 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31370 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
31371 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31372 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31373 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31374 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31375 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31376 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31377 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31378 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
31379 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31380 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31382 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31383 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
31384 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31385 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31386 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31387 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
31388 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
31389 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31390 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31391 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31392 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31393 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
31394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
31395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
31396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31397 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
31398 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
31399 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31400 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
31401 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31402 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31403 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31404 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
31406 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
31407 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31408 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31409 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31410 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31411 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31412 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31413 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31414 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31415 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31416 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31417 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31418 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31419 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31420 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31421 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31422 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31423 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31424 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31425 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31426 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31427 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31428 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31429 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31430 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31431 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31432 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31433 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
31434 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31435 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31436 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31437 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31438 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31439 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31440 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31441 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31442 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
31443 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31444 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31445 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31446 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
31447 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31448 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
31449 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
31450 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31451 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31452 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
31453 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
31454 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31455 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31456 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31457 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
31458 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31459 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31460 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31461 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31462 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
31463 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
31464 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31465 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31466 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31467 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
31468 * sysdeps/ieee754/k_standard.c: Likewise.
31469 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31470 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31471 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31472 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31473 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31474 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31475 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31476 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31477 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31478 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31479 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31480 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31481 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31482 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31483 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31484 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31485 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31486 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31487 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31488 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
31489 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
31490 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
31491 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31492 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31493 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31494 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31495 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31496 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31497 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31498 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31499 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31500 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31501 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31502 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31503 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31504 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31505 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31506 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
31507 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
31508 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31509 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31510 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31511 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31512 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31513 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31514 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31515 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31516 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31517 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31518 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31519 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31520 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31521 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31522 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31523 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31524 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31525 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31526 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31527 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31528 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31529 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31530 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31531 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31532 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31535 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31536 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31537 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31538 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31539 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31541 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31542 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31543 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31545 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31546 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31547 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31548 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31549 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31550 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31551 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31552 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31553 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31554 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31555 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31556 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31557 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31558 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31559 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31560 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31561 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31562 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31563 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31564 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31565 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31566 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31567 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31568 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31570 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31571 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31572 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31573 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31574 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31575 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31576 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31577 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31578 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31579 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31580 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31581 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31582 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31583 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31584 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31585 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31586 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31587 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31588 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31589 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31590 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31591 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31592 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31593 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31594 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31595 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31596 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31597 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31598 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31599 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31600 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31601 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31602 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31603 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31604 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31605 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31606 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31607 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31608 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31609 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31610 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31611 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31612 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31613 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31614 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31615 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31616 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31617 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31618 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31619 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31620 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31621 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31622 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31623 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31624 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31625 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31626 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31627 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31628 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31629 * sysdeps/ieee754/s_lib_version.c: Likewise.
31630 * sysdeps/ieee754/s_matherr.c: Likewise.
31631 * sysdeps/ieee754/s_signgam.c: Likewise.
31632 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31633 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31634 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31635 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31636 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31637 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31638 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31639 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31640 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31641 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31642 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31643 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31644 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31645 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31646 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31647 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31648 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31649 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31650 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31651 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31652 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31653
316542012-03-09 Joseph Myers <joseph@codesourcery.com>
31655
31656 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31657 * sunrpc/rpc_main.c: Likewise.
31658 * sunrpc/rpc_svcout.c: Likewise.
31659
316602012-03-09 David S. Miller <davem@davemloft.net>
31661
31662 * include/math_private.h: New file.
31663
316642012-03-09 Joseph Myers <joseph@codesourcery.com>
31665
31666 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31667 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31668 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31669 from <bits/socket_type.h>.
31670 (enum __socket_type): Don't define here.
31671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31673 bits/socket_type.h.
31674
31675 [BZ #13566]
31676 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31677 checking __USE_GNU.
31678
31679 * Makerules ($(inst_includedir)/%.h): New rule.
31680 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31681 (install-others): Remove variable setting.
31682 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31683
316842012-03-08 Richard Henderson <rth@twiddle.net>
31685
31686 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31687 from macro to inline function; merge with the
31688 !__LIBC_INTERNAL_MATH_INLINES version.
31689 (__ieee754_sqrtf): Likewise.
31690
31691 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31692 to inline function.
31693 (__rintf, __floor, __floorf): Likewise.
31694
31695 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31696 macro to inline function.
31697 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31698
31699 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31700 not <math/math_private.h>.
31701
317022012-03-08 David S. Miller <davem@davemloft.net>
31703
31704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31705 copyright year.
31706 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31707
317082012-03-08 Thomas Schwinge <thomas@codesourcery.com>
31709
31710 * resolv/gai_misc.c (handle_requests): Fix struct timespec
31711 normalization.
31712 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31713 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31714
317152012-03-08 Ulrich Drepper <drepper@gmail.com>
31716
31717 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
31718 be defined individually, they must be defined as a block. Define
31719 S for printing a string instead of hidint the different by using a
31720 macro for adding the 'l'.
31721 * stdio-common/tst-fphex-wide.c: Adjust.
31722
317232012-03-07 Marek Polacek <polacek@redhat.com>
31724
31725 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31726
317272012-03-08 Marek Polacek <polacek@redhat.com>
31728
31729 [BZ #13806]
31730 * stdio-common/Makefile (tests): Add tst-fphex-wide.
31731 * stdio-common/tst-fphex.c: Define a few macros to make the
31732 test reusable. Use them.
31733 * stdio-common/tst-fphex-wide.c: New file.
31734
317352012-03-08 Joseph Myers <joseph@codesourcery.com>
31736
31737 [BZ #6911]
31738 * manual/macros.texi (gnusystems): New macro.
31739 (nongnusystems): Likewise.
31740 (gnulinuxhurdsystems): Likewise.
31741 (gnuhurdsystems): Likewise..
31742 (gnulinuxsystems): Likewise.
31743 * manual/charset.texi: Use new macros or @theglibc{} to refer to
31744 variants of the GNU system, not "GNU system".
31745 * manual/conf.texi: Likewise.
31746 * manual/errno.texi: Likewise. Update example of errno macro
31747 expansion.
31748 * manual/filesys.texi: Likewise.
31749 (getumask): Document as specific to GNU/Hurd.
31750 * manual/install.texi: Likewise. Reword some references to
31751 GNU/Linux.
31752 * manual/intro.texi: Likewise.
31753 * manual/io.texi: Likewise.
31754 (File Name Portability): Detail which constraints are inapplicable
31755 to all GNU systems and which are only inapplicable to GNU/Hurd.
31756 * manual/job.texi: Likewise.
31757 * manual/llio.texi: Likewise.
31758 (O_NOCTTY): Document as present on GNU/Linux.
31759 * manual/maint.texi: Likewise.
31760 * manual/memory.texi: Likewise.
31761 * manual/pattern.texi: Likewise.
31762 * manual/pipe.texi: Likewise.
31763 * manual/process.texi: Likewise.
31764 * manual/resource.texi: Likewise.
31765 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31766 child on GNU/Hurd.
31767 * manual/setjmp.texi: Likewise.
31768 * manual/signal.texi: Likewise.
31769 * manual/startup.texi: Likewise.
31770 * manual/stdio.texi: Likewise.
31771 * manual/terminal.texi: Likewise.
31772 (ONLCR): Document as POSIX.
31773 (OXTABS): Document availability on GNU/Linux as XTABS.
31774 (ONOEOT): Document availability separately from other bits.
31775 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31776 * manual/time.texi: Likewise.
31777 * manual/users.texi: Likewise.
31778 * INSTALL: Regenerated.
31779 * sysdeps/gnu/errlist.c: Regenerated.
31780
31781 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31782 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31783 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31784 puts.
31785 * configure: Regenerated.
31786
317872012-03-07 Joseph Myers <joseph@codesourcery.com>
31788
31789 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31790 default includes instead of AC_HEADER_CHECK.
31791 * sysdeps/i386/configure: Regenerated.
31792
31793 [BZ #10716]
31794 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31795 * math/s_cacoshf.c (__cacoshf): Likewise.
31796 * math/s_cacoshl.c (__cacoshl): Likewise.
31797 * math/s_casinh.c (__casinh): Set signs of result from argument.
31798 * math/s_casinhf.c (__casinhf): Likewise.
31799 * math/s_casinhl.c (__casinhl): Likewise.
31800 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31801 (casinh_test): Add more tests.
31802 * sysdeps/i386/fpu/libm-test-ulps: Update.
31803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31804
318052012-03-07 Ulrich Drepper <drepper@gmail.com>
31806
31807 * po/zh_TW.po: Update from translation team.
31808
31809 * login/Makefile (distribute): Remove variable.
31810 * catgets/Makefile: Likewise.
31811 * mach/Makefile: Likewise.
31812 * malloc/Makefile: Likewise.
31813 * misc/Makefile: Likewise.
31814 * iconv/Makefile: Likewise.
31815 * nscd/Makefile: Likewise.
31816 * hurd/Makefile: Likewise.
31817 * manual/Makefile: Likewise.
31818 * locale/Makefile: Likewise.
31819 * intl/Makefile: Likewise.
31820 * conform/Makefile: Likewise.
31821 * nss/Makefile: Likewise.
31822 * time/Makefile: Likewise.
31823 * soft-fp/Makefile: Likewise.
31824 * dirent/Makefile: Likewise.
31825 * gmon/Makefile: Likewise.
31826 * po/Makefile: Likewise.
31827 * rt/Makefile: Likewise.
31828 * socket/Makefile: Likewise.
31829 * math/Makefile: Likewise.
31830 * signal/Makefile: Likewise.
31831 * debug/Makefile: Likewise.
31832 * elf/Makefile: Likewise.
31833 * timezone/Makefile: Likewise.
31834 * stdlib/Makefile: Likewise.
31835 * iconvdata/Makefile: Likewise.
31836 * sunrpc/Makefile: Likewise.
31837 * io/Makefile: Likewise.
31838 * argp/Makefile: Likewise.
31839 * inet/Makefile: Likewise.
31840 * hesiod/Makefile: Likewise.
31841 * grp/Makefile: Likewise.
31842 * csu/Makefile: Likewise.
31843 * wctype/Makefile: Likewise.
31844 * crypt/Makefile: Likewise.
31845 * libio/Makefile: Likewise.
31846 * string/Makefile: Likewise.
31847 * nis/Makefile: Likewise.
31848 * resolv/Makefile: Likewise.
31849 * stdio-common/Makefile: Likewise.
31850 * wcsmbs/Makefile: Likewise.
31851 * dlfcn/Makefile: Likewise.
31852 * posix/Makefile: Likewise.
31853
31854 [BZ #6959]
31855 * timezone/Makefile: Don't install timezone files, just the programs
31856 and scripts.
31857
318582012-03-06 Ulrich Drepper <drepper@gmail.com>
31859
31860 * nss/databases.def: Add missing gshadow entry.
31861
31862 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31863
318642012-03-06 Marek Polacek <polacek@redhat.com>
31865
31866 [BZ #13726]
31867 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31868 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31869 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31870 * stdio-common/tst-long-dbl-fphex.c: New file.
31871
318722012-03-06 David S. Miller <davem@davemloft.net>
31873
31874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31875 (set_obp_int): New function.
31876 (get_obp_int): New function.
31877 (__get_clockfreq_via_dev_openprom): Likewise.
31878 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31879 Avoid unused variable warnings on 'val' and use builtin_expect.
31880 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31881 __builtin_expect.
31882 (INLINE_CLONE_SYSCALL): Likewise.
31883
318842012-03-05 David S. Miller <davem@davemloft.net>
31885
31886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31887
318882012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31889
31890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31891
31892 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31893 only for |x| >= 40.
31894 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31895
318962012-03-05 H.J. Lu <hongjiu.lu@intel.com>
31897
31898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31899 Replace gettimeofday with __vdso_gettimeofday.
31900
31901 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31902 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31903 __vdso_clock_gettime and __vdso_getcpu.
31904
31905 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31906 time with __vdso_time.
31907
319082012-03-05 Joseph Myers <joseph@codesourcery.com>
31909
31910 * manual/lang.texi (size_t): Note types to which size_t may be
31911 equivalent with the GNU C Library, but do not describe when
31912 differences between them are significant.
31913
319142012-03-05 Andreas Jaeger <aj@suse.de>
31915
31916 * sysdeps/i386/fpu/libm-test-ulps: Update.
31917
319182012-03-05 Joseph Myers <joseph@codesourcery.com>
31919
31920 [BZ #3976]
31921 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31922 (__ieee754_pow): Save and restore rounding mode and use
31923 round-to-nearest for main computations.
31924 * math/libm-test.inc (pow_test_tonearest): New function.
31925 (pow_test_towardzero): Likewise.
31926 (pow_test_downward): Likewise.
31927 (pow_test_upward): Likewise.
31928 (main): Call the new functions.
31929 * sysdeps/i386/fpu/libm-test-ulps: Update.
31930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31931
31932 [BZ #3976]
31933 * math/libm-test.inc (cosh_test_tonearest): New function.
31934 (cosh_test_towardzero): Likewise.
31935 (cosh_test_downward): Likewise.
31936 (cosh_test_upward): Likewise.
31937 (sinh_test_tonearest): Likewise.
31938 (sinh_test_towardzero): Likewise.
31939 (sinh_test_downward): Likewise.
31940 (sinh_test_upward): Likewise.
31941 (main): Call the new functions.
31942 * sysdeps/i386/fpu/libm-test-ulps: Update.
31943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31944
319452012-03-05 Tom de Vries <tom@codesourcery.com>
31946
31947 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31948 default stack guard is set in last bytes.
31949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31950
319512012-03-05 Kees Cook <keescook@chromium.org>
31952
31953 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31954
31955 [BZ #13656]
31956 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31957 possibly allocate from heap instead of stack.
31958 * stdio-common/bug-vfprintf-nargs.c: New file.
31959 * stdio-common/Makefile (tests): Add nargs overflow test.
31960
319612012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31962
31963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31964
319652012-03-03 Marek Polacek <polacek@redhat.com>
31966
31967 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31968 * math/math_private.h: Likewise.
31969 * stdlib/tst-strtod.c: Likewise.
31970 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31971 * sysdeps/x86_64/bits/atomic.h: Likewise.
31972
319732012-03-02 David S. Miller <davem@davemloft.net>
31974
31975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31979 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31980 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31981 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31982 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31983
319842012-03-02 Roland McGrath <roland@hack.frob.com>
31985
31986 [BZ #13792]
31987 * manual/examples/README: New file, says the example source files
31988 can be used under GPL>=2.
31989 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31990 line containing just "*/".
31991 * manual/examples/add.c: Add copyright header (GPL>=2).
31992 * manual/examples/argp-ex1.c: Likewise.
31993 * manual/examples/argp-ex2.c: Likewise.
31994 * manual/examples/argp-ex3.c: Likewise.
31995 * manual/examples/argp-ex4.c: Likewise.
31996 * manual/examples/atexit.c: Likewise.
31997 * manual/examples/db.c: Likewise.
31998 * manual/examples/dir.c: Likewise.
31999 * manual/examples/dir2.c: Likewise.
32000 * manual/examples/execinfo.c: Likewise.
32001 * manual/examples/filecli.c: Likewise.
32002 * manual/examples/filesrv.c: Likewise.
32003 * manual/examples/fmtmsgexpl.c: Likewise.
32004 * manual/examples/genpass.c: Likewise.
32005 * manual/examples/inetcli.c: Likewise.
32006 * manual/examples/inetsrv.c: Likewise.
32007 * manual/examples/isockad.c: Likewise.
32008 * manual/examples/longopt.c: Likewise.
32009 * manual/examples/memopen.c: Likewise.
32010 * manual/examples/memstrm.c: Likewise.
32011 * manual/examples/mkfsock.c: Likewise.
32012 * manual/examples/mkisock.c: Likewise.
32013 * manual/examples/mygetpass.c: Likewise.
32014 * manual/examples/pipe.c: Likewise.
32015 * manual/examples/popen.c: Likewise.
32016 * manual/examples/rprintf.c: Likewise.
32017 * manual/examples/search.c: Likewise.
32018 * manual/examples/select.c: Likewise.
32019 * manual/examples/setjmp.c: Likewise.
32020 * manual/examples/sigh1.c: Likewise.
32021 * manual/examples/sigusr.c: Likewise.
32022 * manual/examples/stpcpy.c: Likewise.
32023 * manual/examples/strdupa.c: Likewise.
32024 * manual/examples/strftim.c: Likewise.
32025 * manual/examples/strncat.c: Likewise.
32026 * manual/examples/subopt.c: Likewise.
32027 * manual/examples/swapcontext.c: Likewise.
32028 * manual/examples/termios.c: Likewise.
32029 * manual/examples/testopt.c: Likewise.
32030 * manual/examples/testpass.c: Likewise.
32031 * manual/examples/timeval_subtract.c: Likewise.
32032
32033 [BZ #13792]
32034 * manual/time.texi (Elapsed Time): Move timeval_subtract example
32035 function to ...
32036 * manual/timeval_subtract.c.texi: ... here, new file.
32037
320382012-03-02 David S. Miller <davem@davemloft.net>
32039
32040 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
32041
320422012-03-02 Joseph Myers <joseph@codesourcery.com>
32043
32044 [BZ #3976]
32045 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
32046 (__sin): Save and restore rounding mode and use round-to-nearest
32047 for all computations.
32048 (__cos): Save and restore rounding mode and use round-to-nearest
32049 for all computations.
32050 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
32051 <fenv.h>.
32052 (tan): Save and restore rounding mode and use round-to-nearest for
32053 all computations.
32054 * math/libm-test.inc (cos_test_tonearest): New function.
32055 (cos_test_towardzero): Likewise.
32056 (cos_test_downward): Likewise.
32057 (cos_test_upward): Likewise.
32058 (sin_test_tonearest): Likewise.
32059 (sin_test_towardzero): Likewise.
32060 (sin_test_downward): Likewise.
32061 (sin_test_upward): Likewise.
32062 (tan_test_tonearest): Likewise.
32063 (tan_test_towardzero): Likewise.
32064 (tan_test_downward): Likewise.
32065 (tan_test_upward): Likewise.
32066 (main): Call the new functions.
32067 * sysdeps/i386/fpu/libm-test-ulps: Update.
32068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32069
32070 [BZ #10135]
32071 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
32072 small n, then large n, before computing and testing k+n.
32073 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
32075 Likewise.
32076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
32077 Likewise.
32078 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
32079 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
32080 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
32081 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
32082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32084 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
32085 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
32086 * math/libm-test.inc (scalbn_test): Add more tests.
32087 (scalbln_test): Likewise.
32088
32089 * manual/filesys.texi (mode_t): Describe constraints on size and
32090 signedness, not exact equivalence to a particular type.
32091 (ino_t): Likewise.
32092 (ino64_t): Likewise.
32093 (dev_t): Likewise.
32094 (nlink_t): Likewise.
32095 (blkcnt_t): Likewise.
32096 (blkcnt64_t): Likewise.
32097 * manual/llio.texi (off_t): Likewise.
32098
32099 [BZ #3976]
32100 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
32101 (__ieee754_exp): Save and restore rounding mode and use
32102 round-to-nearest for all computations.
32103 * math/libm-test.inc (exp_test_tonearest): New function.
32104 (exp_test_towardzero): Likewise.
32105 (exp_test_downward): Likewise.
32106 (exp_test_upward): Likewise.
32107 (main): Call the new functions.
32108 * sysdeps/i386/fpu/libm-test-ulps: Update.
32109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32110
321112012-03-01 Chris Demetriou <cgd@google.com>
32112
32113 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
32114 have predictable order.
32115
321162012-03-01 David S. Miller <davem@davemloft.net>
32117
32118 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
32119
32120 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
32121 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
32122 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
32123 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
32124
32125 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
32126 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
32127 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
32128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
32129 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
32130 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
32131 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
32132 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
32133 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
32134
32135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32136
32137 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
32138 * sysdeps/sparc/fpu/libm-test-ulps: to here.
32139 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
32140
32141 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
32142 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32143 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32144 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
32145 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
32146 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
32147 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
32148 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32149 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32150 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
32151 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
32152 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32153 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32154 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32155 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32157 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
32158 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
32159 * sysdeps/sparc/elf/configure: Regenerated.
32160
321612012-03-01 Joseph Myers <joseph@codesourcery.com>
32162
32163 * configure.in (AS, LD): Require binutils 2.20 or later.
32164 * configure: Regenerated.
32165 * manual/install.texi (Tools for Compilation): Give binutils 2.20
32166 as required minimum version.
32167 * INSTALL: Regenerated.
32168
32169 [BZ #2541]
32170 [BZ #4108]
32171 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
32172 before squaring exponent.
32173 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
32174 bottom long double and 27 bits of top long double before squaring
32175 exponent.
32176 * math/libm-test.inc (erfc_test): Add more tests.
32177 * sysdeps/i386/fpu/libm-test-ulps: Update.
32178 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32180
321812012-03-01 Kai Tietz <ktietz@redhat.com>
32182
32183 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
32184 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
32185 containing bit-fields.
32186 * soft-fp/extended.h (_FP_UNION_E): Likewise.
32187 * soft-fp/single.h (_FP_UNION_S): Likewise.
32188 * soft-fp/double.h (_FP_UNION_D): Likewise.
32189
321902012-02-29 Joseph Myers <joseph@codesourcery.com>
32191
32192 [BZ #13786]
32193 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
32194 not include ../strcmp.S.
32195 [USE_AS_STRNCASECMP_L]: Likewise.
32196 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
32197 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
32198 * sysdeps/i386/i686/multiarch/strncase_l-c.c
32199 (__strncasecmp_l_ia32): Define as alias to
32200 __strncasecmp_l_nonascii.
32201
32202 [BZ #5794]
32203 * math/libm-test.inc (expm1_test): Add test for bug 5794.
32204 * sysdeps/i386/fpu/libm-test-ulps: Update.
32205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32206
32207 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
32208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32209
322102012-02-29 Jeff Law <law@redhat.com>
32211
32212 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
32213 out of bounds read.
32214
322152012-02-29 Marek Polacek <polacek@redhat.com>
32216
32217 [BZ #13706]
32218 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
32219 * elf/Makefile: Add rules to run tst-unused-dep.out.
32220
322212012-02-28 David S. Miller <davem@davemloft.net>
32222
32223 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
32224 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
32225 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
32226 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
32227 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
32228 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
32229
322302012-02-29 Joseph Myers <joseph@codesourcery.com>
32231
32232 * math/libm-test.inc (llround_test): Move one test from
32233 lround_test. Use TEST_f_L in moved test.
32234 (lround_test): Move misplaced test to llround_test. Add testcase
32235 from bug 2561.
32236
322372012-02-28 Ulrich Drepper <drepper@gmail.com>
32238
32239 * sysdeps/x86_64/fpu/e_expf.S: New file.
32240 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
32241
322422012-02-28 Stanislav Brabec <sbrabec@suse.cz>
32243
32244 [BZ #13637]
32245 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
32246 of remain_len that may cause incomplete multi-byte character and
32247 false match.
32248 * posix/bug-regex33.c: New file.
32249 * posix/Makefile (tests): Add bug-regex33.
32250
322512012-02-28 Joseph Myers <joseph@codesourcery.com>
32252
32253 * manual/macros.texi: New file.
32254 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
32255 * manual/libc.texinfo: Include macros.texi.
32256 * manual/creatute.texi: Likewise.
32257 * manual/install.texi: Likewise.
32258 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
32259 @glibcadj{} in references to the GNU C Library.
32260 * manual/charset.texi: Likewise.
32261 * manual/conf.texi: Likewise.
32262 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
32263 when not using those macros.
32264 * manual/creature.texi: Likewise.
32265 * manual/crypt.texi: Likewise.
32266 * manual/errno.texi: Likewise.
32267 * manual/filesys.texi: Likewise.
32268 * manual/header.texi: Likewise.
32269 * manual/install.texi: Likewise.
32270 * manual/intro.texi: Likewise.
32271 * manual/io.texi: Likewise.
32272 * manual/job.texi: Likewise.
32273 * manual/lang.texi: Likewise.
32274 * manual/libc.texiinfo: Likewise.
32275 * manual/llio.texi: Likewise.
32276 * manual/locale.texi: Likewise.
32277 * manual/maint.texi: Likewise.
32278 * manual/math.texi: Likewise.
32279 * manual/memory.texi: Likewise.
32280 * manual/message.texi: Likewise.
32281 * manual/nss.texi: Likewise.
32282 * manual/pattern.texi: Likewise.
32283 * manual/process.texi: Likewise.
32284 * manual/resource.texi: Likewise.
32285 * manual/search.texi: Likewise.
32286 * manual/setjmp.texi: Likewise.
32287 * manual/signal.texi: Likewise.
32288 * manual/socket.texi: Likewise.
32289 * manual/startup.texi: Likewise.
32290 * manual/stdio.texi: Likewise.
32291 * manual/string.texi: Likewise.
32292 * manual/sysinfo.texi: Likewise.
32293 * manual/syslog.texi: Likewise.
32294 * manual/terminal.texi: Likewise.
32295 * manual/time.texi: Likewise.
32296 * manual/users.texi: Likewise.
32297 * INSTALL: Regenerated.
32298 * NOTES: Regenerated.
32299 * sysdeps/gnu/errlist.c: Regenerated.
32300
323012012-02-28 Andreas Schwab <schwab@linux-m68k.org>
32302
32303 * include/dirent.h: Include <dirstream.h> before
32304 <dirent/dirent.h>.
32305
323062012-02-28 David S. Miller <davem@davemloft.net>
32307
32308 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
32309 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
32310 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
32311 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
32312
323132012-02-27 David S. Miller <davem@davemloft.net>
32314
32315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
32316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
32317 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
32318 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
32319
32320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
32321 frame pointer instead of stack pointer relative arg slot.
32322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
32323 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
32324 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
32325
323262012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
32327
32328 [BZ #3992]
32329 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
32330
323312012-02-27 David S. Miller <davem@davemloft.net>
32332
32333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
32334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
32335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
32337 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
32338 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
32339 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
32340 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
32341
323422012-02-27 Joseph Myers <joseph@codesourcery.com>
32343
32344 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
32345 later. Allow versions 5-9.
32346 * configure: Regenerated.
32347 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
32348 required minimum version and 4.6 as recommended version. Do not
32349 mention bugs in GCC 2.7 and 2.8.
32350 * INSTALL: Regenerated.
32351
323522012-02-27 David S. Miller <davem@davemloft.net>
32353
32354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
32355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
32356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
32357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
32358 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
32359 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
32360 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
32361 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
32362
32363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
32364 manipulate bits before adding and subtracting TWO112[sx].
32365 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32366
323672012-02-27 Roland McGrath <roland@hack.frob.com>
32368
32369 [BZ #13775]
32370 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
32371 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
32372 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
32373 being in POSIX, because they are in 1003.1-2008.
32374
32375 * rt/tst-aio.c: Include <fcntl.h>.
32376 * rt/tst-aio7.c: Likewise.
32377 * rt/tst-aio64.c: Likewise.
32378
32379 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
32380
323812012-02-27 Joseph Myers <joseph@codesourcery.com>
32382
32383 * manual/install.texi (--with-headers): Describe headers as
32384 interface headers, not private headers.
32385 (Specific advice for GNU/Linux systems): Describe use of headers
32386 from "make headers_install", not private headers from older
32387 kernels.
32388 * INSTALL: Regenerated.
32389 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
32390 Change to 2.6.19.
32391 * sysdeps/unix/sysv/linux/configure: Regenerated.
32392
32393 * manual/llio.texi (fclean): Remove documentation.
32394
32395 * manual/Makefile (libc-texi-generated): New variable. Include
32396 version.texi.
32397 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
32398 $(libc-texi-generated), not duplicated list of files.
32399 (version.texi, stamp-version): New rules.
32400 (realclean): Remove $(libc-texi-generated), not individual files
32401 from that list. Do not remove dir-add.texinfo.
32402 * manual/libc.texinfo: Comment out uses of edition numbers and
32403 references to printed manual. Remove last-updated dates.
32404 (EDITION): Comment out.
32405 (ISBN): Likewise.
32406 (VERSION, UPDATED): Remove.
32407 (version.texi): Include.
32408
324092012-02-27 Andreas Schwab <schwab@linux-m68k.org>
32410
32411 * sysdeps/posix/spawni.c: Include <signal.h>.
32412 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
32413 * sysdeps/pthread/aio_fsync.c: Likewise.
32414
324152012-02-26 Ulrich Drepper <drepper@gmail.com>
32416
32417 * conform/Makefile (tests): Run only when not cross-compiling and
32418 when fast-check is not defined.
32419
32420 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
32421 * conform/data/limits.h-data: Fixes for POSIX2008.
32422 * conform/run-conformtest.sh: Run all tests.
32423 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
32424 headers.
32425 * include/bits/dlfcn.h: Likewise.
32426 * include/langinfo.h: Likewise.
32427 * include/monetary.h: Likewise.
32428 * include/sys/poll.h: Likewise.
32429
32430 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
32431 for __USE_GNU.
32432 * posix/spawn.h: Define __need_sigset_t.
32433 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
32434 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
32435 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
32436 to get sigevent_t only.
32437 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
32438 only for __USE_GNU.
32439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32440 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32441 process_vm_writev only for __USE_GNU.
32442 * termios/termios.h: Declare tcgetsid also for POSIX2008.
32443
32444 * conform/Makefile: For now ignore errors from run-conformtest.
32445 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
32446 POSIX to avoid namespace pollution. Don't prepend headers.
32447 * conform/data/aio.h-data: Fixes for POSIX testing.
32448 * conform/data/fcntl.h-data: Likewise.
32449 * conform/data/glob.h-data: Likewise.
32450 * conform/data/grp.h-data: Likewise.
32451 * conform/data/pthread.h-data: Likewise.
32452 * conform/data/pwd.h-data: Likewise.
32453 * conform/data/signal.h-data: Likewise.
32454 * conform/data/spawn.h-data: Likewise.
32455 * conform/data/stdio.h-data: Likewise.
32456 * conform/data/stdlib.h-data: Likewise.
32457 * conform/data/stropts.h-data: Likewise.
32458 * conform/data/sys/mman.h-data: Likewise.
32459 * conform/data/sys/stat.h-data: Likewise.
32460 * conform/data/sys/types.h-data: Likewise.
32461 * conform/data/sys/wait.h-data: Likewise.
32462 * conform/data/time.h-data: Likewise.
32463 * conform/data/unistd.h-data: Likewise.
32464 * conform/data/utime.h-data: Likewise.
32465
32466 * io/sys/stat.h: fchmod was always in POSIX.
32467 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
32468 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
32469 * rt/aio.h: Define __need_timespec before including <time.h>.
32470 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
32471 struct. Add forward declaration of pthread_attr_t and use it in
32472 sigevent.
32473 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32474 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32475 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
32476 always remove CLK_TCK definition.
32477
324782012-02-26 Andreas Schwab <schwab@linux-m68k.org>
32479
32480 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
32481
324822012-02-25 Ulrich Drepper <drepper@gmail.com>
32483
32484 * conform/run-conformtest.sh: New file.
32485 * conform/Makefile: Run run-conformtest for tests.
32486 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
32487 support.
32488
32489 * conform/data/uchar.h-data: New file.
32490 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
32491 * conform/data/arpa/inet.h-data: Likewise.
32492 * conform/data/assert.h-data: Likewise.
32493 * conform/data/complex.h-data: Likewise.
32494 * conform/data/cpio.h-data: Likewise.
32495 * conform/data/ctype.h-data: Likewise.
32496 * conform/data/dirent.h-data: Likewise.
32497 * conform/data/dlfcn.h-data: Likewise.
32498 * conform/data/errno.h-data: Likewise.
32499 * conform/data/fcntl.h-data: Likewise.
32500 * conform/data/float.h-data: Likewise.
32501 * conform/data/fmtmsg.h-data: Likewise.
32502 * conform/data/fnmatch.h-data: Likewise.
32503 * conform/data/ftw.h-data: Likewise.
32504 * conform/data/glob.h-data: Likewise.
32505 * conform/data/grp.h-data: Likewise.
32506 * conform/data/iconv.h-data: Likewise.
32507 * conform/data/inttypes.h-data: Likewise.
32508 * conform/data/langinfo.h-data: Likewise.
32509 * conform/data/libgen.h-data: Likewise.
32510 * conform/data/limits.h-data: Likewise.
32511 * conform/data/locale.h-data: Likewise.
32512 * conform/data/math.h-data: Likewise.
32513 * conform/data/monetary.h-data: Likewise.
32514 * conform/data/mqueue.h-data: Likewise.
32515 * conform/data/ndbm.h-data: Likewise.
32516 * conform/data/net/if.h-data: Likewise.
32517 * conform/data/netdb.h-data: Likewise.
32518 * conform/data/netinet/in.h-data: Likewise.
32519 * conform/data/nl_types.h-data: Likewise.
32520 * conform/data/poll.h-data: Likewise.
32521 * conform/data/pthread.h-data: Likewise.
32522 * conform/data/pwd.h-data: Likewise.
32523 * conform/data/regex.h-data: Likewise.
32524 * conform/data/sched.h-data: Likewise.
32525 * conform/data/search.h-data: Likewise.
32526 * conform/data/semaphore.h-data: Likewise.
32527 * conform/data/setjmp.h-data: Likewise.
32528 * conform/data/signal.h-data: Likewise.
32529 * conform/data/spawn.h-data: Likewise.
32530 * conform/data/stdarg.h-data: Likewise.
32531 * conform/data/stdio.h-data: Likewise.
32532 * conform/data/stdlib.h-data: Likewise.
32533 * conform/data/string.h-data: Likewise.
32534 * conform/data/strings.h-data: Likewise.
32535 * conform/data/stropts.h-data: Likewise.
32536 * conform/data/sys/ipc.h-data: Likewise.
32537 * conform/data/sys/mman.h-data: Likewise.
32538 * conform/data/sys/msg.h-data: Likewise.
32539 * conform/data/sys/resource.h-data: Likewise.
32540 * conform/data/sys/select.h-data: Likewise.
32541 * conform/data/sys/sem.h-data: Likewise.
32542 * conform/data/sys/shm.h-data: Likewise.
32543 * conform/data/sys/socket.h-data: Likewise.
32544 * conform/data/sys/stat.h-data: Likewise.
32545 * conform/data/sys/statvfs.h-data: Likewise.
32546 * conform/data/sys/time.h-data: Likewise.
32547 * conform/data/sys/timeb.h-data: Likewise.
32548 * conform/data/sys/times.h-data: Likewise.
32549 * conform/data/sys/types.h-data: Likewise.
32550 * conform/data/sys/uio.h-data: Likewise.
32551 * conform/data/sys/un.h-data: Likewise.
32552 * conform/data/sys/utsname.h-data: Likewise.
32553 * conform/data/sys/wait.h-data: Likewise.
32554 * conform/data/syslog.h-data: Likewise.
32555 * conform/data/tar.h-data: Likewise.
32556 * conform/data/termios.h-data: Likewise.
32557 * conform/data/utime.h-data: Likewise.
32558 * conform/data/utmpx.h-data: Likewise.
32559 * conform/data/varargs.h-data: Likewise.
32560 * conform/data/wchar.h-data: Likewise.
32561 * conform/data/wctype.h-data: Likewise.
32562 * conform/data/wordexp.h-data: Likewise.
32563
32564 * include/stropts.h: New file.
32565 * include/uchar.h: New file.
32566 * include/aio.h: Changes to allow conformtest.pl to use the headers.
32567 * include/assert.h: Likewise.
32568 * include/ctype.h: Likewise.
32569 * include/dirent.h: Likewise.
32570 * include/dlfcn.h: Likewise.
32571 * include/fcntl.h: Likewise.
32572 * include/fnmatch.h: Likewise.
32573 * include/glob.h: Likewise.
32574 * include/grp.h: Likewise.
32575 * include/libio.h: Likewise.
32576 * include/locale.h: Likewise.
32577 * include/math.h: Likewise.
32578 * include/net/if.h: Likewise.
32579 * include/netdb.h: Likewise.
32580 * include/netinet/in.h: Likewise.
32581 * include/pthread.h: Likewise.
32582 * include/pwd.h: Likewise.
32583 * include/regex.h: Likewise.
32584 * include/sched.h: Likewise.
32585 * include/search.h: Likewise.
32586 * include/setjmp.h: Likewise.
32587 * include/signal.h: Likewise.
32588 * include/stdio.h: Likewise.
32589 * include/stdlib.h: Likewise.
32590 * include/string.h: Likewise.
32591 * include/sys/cdefs.h: Likewise.
32592 * include/sys/mman.h: Likewise.
32593 * include/sys/msg.h: Likewise.
32594 * include/sys/resource.h: Likewise.
32595 * include/sys/select.h: Likewise.
32596 * include/sys/socket.h: Likewise.
32597 * include/sys/stat.h: Likewise.
32598 * include/sys/statvfs.h: Likewise.
32599 * include/sys/time.h: Likewise.
32600 * include/sys/times.h: Likewise.
32601 * include/sys/uio.h: Likewise.
32602 * include/sys/utsname.h: Likewise.
32603 * include/sys/wait.h: Likewise.
32604 * include/termios.h: Likewise.
32605 * include/time.h: Likewise.
32606 * include/ulimit.h: Likewise.
32607 * include/unistd.h: Likewise.
32608 * include/utime.h: Likewise.
32609 * include/wchar.h: Likewise.
32610 * include/wctype.h: Likewise.
32611 * include/wordexp.h: Likewise.
32612
32613 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32614
32615 * time/time.h: TIME_UTC must be a macro.
32616 Make timespec_get available for ISO C11 only as well.
32617
326182012-02-24 Ulrich Drepper <drepper@gmail.com>
32619
32620 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32621 Reported by Peng Haitao <penght@cn.fujitsu.com>.
32622
326232012-02-24 Joseph Myers <joseph@codesourcery.com>
32624
32625 * configure.in: Use -o not -a in test for unsupported multi-arch.
32626
326272012-02-24 Joseph Myers <joseph@codesourcery.com>
32628
32629 * manual/texinfo.tex: Update to version 2012-01-19.16.
32630
326312012-02-24 Joseph Myers <joseph@codesourcery.com>
32632
32633 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32634
326352012-02-24 Roland McGrath <roland@hack.frob.com>
32636
32637 [BZ #13738]
32638 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32639 * manual/fdl-1.3.texi: New file.
32640 * manual/fdl-1.1.texi: File removed.
32641
32642 [BZ #13738]
32643 * manual/libc.texinfo (FDL_VERSION): New @set.
32644 Use it for mention of FDL in cover text.
32645 (Documentation License): Use it in @include file name.
32646
326472012-02-22 Joseph Myers <joseph@codesourcery.com>
32648 Roland McGrath <roland@hack.frob.com>
32649
32650 [BZ #5461]
32651 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32652 not LONG_LONG_MAX and LONG_LONG_MIN.
32653 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32654 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
32655 name.
32656 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32657
326582012-02-22 Joseph Myers <joseph@codesourcery.com>
32659
32660 [BZ #2547]
32661 [BZ #11365]
32662 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32663 manipulate bits before adding and subtracting TWO23[sx].
32664 * math/libm-test.inc (nearbyint_test): Add more tests.
32665
326662012-02-22 Joseph Myers <joseph@codesourcery.com>
32667
32668 [BZ #2548]
32669 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32670 bits before adding and subtracting TWO23[sx].
32671 * math/libm-test.inc (rint_test): Add more tests.
32672 (rint_test_tonearest): Likewise.
32673 (rint_test_towardzero): Likewise.
32674 (rint_test_downward): Likewise.
32675 (rint_test_upward: Likewise.
32676
326772012-02-22 Joseph Myers <joseph@codesourcery.com>
32678
32679 [BZ #10110]
32680 * include/stdc-predef.h: New file. Extracted from features.h.
32681 * include/features.h: Include stdc-predef.h.
32682 * Makefile (headers): Add stdc-predef.h.
32683 * CONFORMANCE (Compiler limitations): Update.
32684
326852012-02-22 Joseph Myers <joseph@codesourcery.com>
32686
32687 * manual/libc.texinfo (VERSION, UPDATED): Revert.
32688
326892012-02-21 David S. Miller <davem@davemloft.net>
32690
32691 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32692 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32693
326942012-02-20 David S. Miller <davem@davemloft.net>
32695
32696 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32697 using a normal save/restore sequence, rather than allocating a
32698 dummy stack frame just to store a frame pointer and restore.
32699 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32700
327012012-02-21 Joseph Myers <joseph@codesourcery.com>
32702
32703 * manual/install.texi: Fix stray word in line-wrapped comment.
32704
327052012-02-20 David S. Miller <davem@davemloft.net>
32706
32707 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32708 both binutils and gcc support GOTDATA.
32709
32710 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32711 "rd %pc" in the PIC register setup sequences.
32712
32713 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32714 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32715 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32716 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32717 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32719 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32720 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32722 (SYSCALL_ERROR_HANDLER): Likewise.
32723 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32724 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32726 (SYSCALL_ERROR_HANDLER): Likewise.
32727
32728 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32729 (HAVE_GCC_GOTDATA): New.
32730 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32731 relocation support in both binutils and gcc.
32732 * sysdeps/sparc/elf/configure: Regenerate.
32733
32734 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32735 * sysdeps/sparc/sparc32/elf/configure: Delete.
32736 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32737 * sysdeps/sparc/sparc64/elf/configure: Delete.
32738 * sysdeps/sparc/elf/configure.in: New file.
32739 * sysdeps/sparc/elf/configure: Generate.
32740
32741 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32742 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32743 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32744 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32745 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32746
327472012-02-21 Joseph Myers <joseph@codesourcery.com>
32748
32749 * manual/install.texi: Do not mention specific glibc version
32750 numbers.
32751 * manual/libc.texinfo (VERSION, UPDATED): Update.
32752 (@copying): Use @copyright{} and range of years.
32753
327542012-02-21 Joseph Myers <joseph@codesourcery.com>
32755
32756 [BZ #13695]
32757 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32758 [crti.S not in sysdirs] (generated): Do not append.
32759 [crti.S not in sysdirs] (omit-deps): Likewise.
32760 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32761 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32762 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32763 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32764 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32765 Likewise.
32766 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32767 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32768 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32769 * csu/defs.awk: Remove file.
32770 * sysdeps/generic/initfini.c: Likewise.
32771 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32772 variable.
32773 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32774 Likewise.
32775
327762012-02-20 Joseph Myers <joseph@codesourcery.com>
32777
32778 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32779 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32780 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32781 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32782 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32783 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32784 <bits/epoll.h>.
32785 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32786 (__EPOLL_PACKED): Define to empty if not defined by
32787 <bits/epoll.h>.
32788 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32790 bits/epoll.h.
32791
327922012-02-20 Joseph Myers <joseph@codesourcery.com>
32793
32794 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32795 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32796 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32797 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32798 <bits/timerfd.h>.
32799 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32801 bits/timerfd.h.
32802
328032012-02-20 Joseph Myers <joseph@codesourcery.com>
32804
32805 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32806 in C locale.
32807 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32808 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32809 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32811
328122012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32813
32814 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32815 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32816
328172012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32818
32819 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32820 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32821 defined.
32822 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32823 Likewise.
32824 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32825 entry for 2.16.
32826
328272012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32828
32829 * math/w_acos.c: Use non-signaling floating-point comparisons.
32830 * math/w_acosf.c: Likewise.
32831 * math/w_acosh.c: Likewise.
32832 * math/w_acoshf.c: Likewise.
32833 * math/w_acoshl.c: Likewise.
32834 * math/w_acosl.c: Likewise.
32835 * math/w_asin.c: Likewise.
32836 * math/w_asinf.c: Likewise.
32837 * math/w_asinl.c: Likewise.
32838 * math/w_atanh.c: Likewise.
32839 * math/w_atanhf.c: Likewise.
32840 * math/w_atanhl.c: Likewise.
32841 * math/w_exp2.c: Likewise.
32842 * math/w_exp2f.c: Likewise.
32843 * math/w_exp2l.c: Likewise.
32844 * math/w_j0.c: Likewise.
32845 * math/w_j0f.c: Likewise.
32846 * math/w_j0l.c: Likewise.
32847 * math/w_j1.c: Likewise.
32848 * math/w_j1f.c: Likewise.
32849 * math/w_j1l.c: Likewise.
32850 * math/w_jn.c: Likewise.
32851 * math/w_jnf.c: Likewise.
32852 * math/w_log.c: Likewise.
32853 * math/w_log10.c: Likewise.
32854 * math/w_log10f.c: Likewise.
32855 * math/w_log10l.c: Likewise.
32856 * math/w_log2.c: Likewise.
32857 * math/w_log2f.c: Likewise.
32858 * math/w_log2l.c: Likewise.
32859 * math/w_logf.c: Likewise.
32860 * math/w_logl.c: Likewise.
32861 * math/w_sqrt.c: Likewise.
32862 * math/w_sqrtf.c: Likewise.
32863 * math/w_sqrtl.c: Likewise.
32864 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32865 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32866 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32867 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32868 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32869
328702012-02-19 Joseph Myers <joseph@codesourcery.com>
32871
32872 [BZ #9739]
32873 * manual/string.texi (strnlen): Use correct parameter name in
32874 equivalent expression.
32875
328762012-02-19 Joseph Myers <joseph@codesourcery.com>
32877
32878 [BZ #11174]
32879 * manual/users.texi (seteuid): Consistently use neweuid for
32880 argument name.
32881
328822012-02-19 Joseph Myers <joseph@codesourcery.com>
32883
32884 [BZ #13704]
32885 * manual/nss.texi (Services in the NSS configuration): Correct
32886 list of services in example configuration file.
32887
328882012-02-19 Nick Bowler <nbowler@draconx.ca>
32889
32890 [BZ #11322]
32891 * manual/arith.texi: Remove statements about negative zero
32892 behaving identically to zero.
32893
328942012-02-18 Joseph Myers <joseph@codesourcery.com>
32895
32896 [BZ #5993]
32897 * manual/install.texi: Do not document upgrading from libc5.
32898
328992012-02-18 Joseph Myers <joseph@codesourcery.com>
32900
32901 [BZ #4596]
32902 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32903
329042012-02-18 David S. Miller <davem@davemloft.net>
32905
32906 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32907 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32908 %o7 across the call.
32909 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32910 instead.
32911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32912 SETUP_PIC_REG_LEAF.
32913 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32914 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32915 * sysdeps/sparc/crtn.S: Likewise.
32916
329172012-02-17 Ulrich Drepper <drepper@gmail.com>
32918
32919 * aout/Makefile: Remove.
32920
329212012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32922
32923 [BZ #13058]
32924 * manual/examples/argp-ex1.c (main): Format definition in GNU
32925 style.
32926 * manual/examples/argp-ex2.c (main): Likewise.
32927 * manual/examples/argp-ex3.c (main): Likewise.
32928 * manual/examples/argp-ex4.c (main): Likewise.
32929 * manual/examples/longopt.c (main): Use new-style prototype
32930 definition.
32931 * manual/examples/strncat.c (main): Specify return type and use
32932 (void) for arguments.
32933 * manual/examples/subopt.c (main): Use char **argv argument.
32934
329352012-02-17 Joseph Myers <joseph@codesourcery.com>
32936
32937 [BZ #5077]
32938 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32939 rounding modes.
32940
329412012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32942
32943 [BZ #6907]
32944 * manual/string.texi (strchr): Change when strchrnul is
32945 recommended.
32946
329472012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32948
32949 [BZ #174]
32950 * manual/locale.texi (setlocale): Document LOCPATH.
32951
329522012-02-17 Joseph Myers <joseph@codesourcery.com>
32953
32954 [BZ #10210]
32955 * manual/process.texi (execle): Move @dots{} before last argument.
32956
329572012-02-17 Paul Bolle <pebolle@tiscali.nl>
32958
32959 [BZ #12047]
32960 * manual/charset.texi (Generic Charset Conversion): Fix typo
32961 (LC_TYPE -> LC_CTYPE).
32962
329632012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32964
32965 [BZ #5805]
32966 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32967 (scalbnf): Likewise.
32968 (scalbnl): Likewise.
32969 (scalbln): Likewise.
32970 (scalblnf): Likewise.
32971 (scalblnl): Likewise.
32972 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32973 (vwarnx): Likewise.
32974 (verr): Likewise.
32975 (verrx): Likewise.
32976 * manual/filesys.texi (telldir): Use braces around return type.
32977 * manual/llio.texi (mmap): Add space after comma.
32978 (mmap64): Likewise.
32979 * manual/math.texi (jn): Use @var{} on parameter names.
32980 (jnf): Likewise.
32981 (jnl): Likewise.
32982 (yn): Likewise.
32983 (ynf): Likewise.
32984 (ynl): Likewise.
32985 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32986 line.
32987 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32988 "...".
32989 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32990 (sched_get_priority_max): Likewise.
32991 * manual/signal.texi (sigvec): Add space after comma.
32992 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32993 names.
32994 (if_indextoname): Likewise.
32995 (if_freenameindex): Likewise.
32996 (sendto): Use ',' instead of '.' in prototype.
32997 * manual/startup.texi (syscall): Use @dots{} instead of literal
32998 "...".
32999 * manual/stdio.texi (__fpending): Separate initial words of
33000 paragraph from @deftypefun line.
33001 * manual/syslog.texi (syslog): Use @dots{} instead of literal
33002 "...".
33003 (vsyslog): Use @var{} on parameter names.
33004 * manual/terminal.texi (stty): Use @var{} on parameter names.
33005 * manual/users.texi (getutmp): Use @var{} on parameter names.
33006 (getutmpx): Likewise.
33007
330082012-02-17 Joseph Myers <joseph@codesourcery.com>
33009
33010 [BZ #6884]
33011 * manual/stdio.texi (fopen): Fix typos in description of
33012 ",ccs=STRING".
33013
330142012-02-17 Aurelien Jarno <aurelien@aurel32.net>
33015
33016 [BZ #4026]
33017 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
33018 get clock_id definition.
33019
330202012-02-17 Thomas Schwinge <thomas@schwinge.name>
33021
33022 [BZ #4822]
33023 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
33024 (madvise): Cast every argument to void on its own.
33025
330262012-02-17 Joseph Myers <joseph@codesourcery.com>
33027
33028 [BZ #9902]
33029 * manual/startup.texi (Exit Status): Fix typo.
33030
330312012-02-17 Joseph Myers <joseph@codesourcery.com>
33032
33033 [BZ #10140]
33034 * manual/examples/argp-ex1.c: Include <stdlib.h>.
33035 * manual/examples/argp-ex2.c: Likewise.
33036 * manual/examples/argp-ex3.c: Likewise.
33037
330382012-02-16 Richard Henderson <rth@redhat.com>
33039
33040 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
33041 * sysdeps/s390/s390-32/initfini.c: Remove.
33042 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
33043 * sysdeps/s390/s390-64/initfini.c: Remove.
33044
330452012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33046
33047 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
33048 compiler output for sysdeps/generic/initfini.c.
33049 * sysdeps/sh/elf/initfini.c: Remove file.
33050
330512012-02-16 David S. Miller <davem@davemloft.net>
33052
33053 [BZ #11494]
33054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
33055
33056 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
33057 * sysdeps/sparc/crti.S: New file.
33058 * sysdeps/sparc/crtn.S: New file.
33059 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
33060 * sysdeps/sparc/sparc64/Makefile: Likewise.
33061
330622012-02-15 Mike Frysinger <vapier@gentoo.org>
33063
33064 [BZ #3335]
33065 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
33066
330672012-02-15 Roland McGrath <roland@hack.frob.com>
33068
33069 [BZ #4822]
33070 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
33071
33072 * mach/devstream.c (cookie_io_functions_t): Macro removed.
33073 (write, read, close): Likewise.
33074 Patch by Aurelien Jarno <aurelien@aurel32.net>.
33075
330762012-02-15 Joseph Myers <joseph@codesourcery.com>
33077
33078 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
33079 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
33080 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
33081 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
33082 <bits/signalfd.h>.
33083 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
33084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33085 bits/signalfd.h.
33086
330872012-02-14 Marek Polacek <polacek@redhat.com>
33088
33089 * sysdeps/x86_64/crti.S: New file.
33090 * sysdeps/x86_64/crtn.S: New file.
33091 * sysdeps/x86_64/elf/initfini.c: Remove file.
33092
330932012-02-13 Joseph Myers <joseph@codesourcery.com>
33094
33095 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
33096 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
33097 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
33098 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
33099 <bits/inotify.h>.
33100 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
33101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33102 bits/inotify.h.
33103
331042012-02-13 Joseph Myers <joseph@codesourcery.com>
33105
33106 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
33107 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
33108 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
33109 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
33110 <bits/eventfd.h>.
33111 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
33112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33113 bits/eventfd.h.
33114
331152012-02-10 Thomas Schwinge <thomas@codesourcery.com>
33116
33117 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
33118 __feraiseexcept instead of feraiseexcept.
33119
33120 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
33121 nanosleep invocations.
33122 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
33123 strings, and add error checking for a nanosleep invocations.
33124
331252012-02-09 Paul Eggert <eggert@cs.ucla.edu>
33126
33127 Replace FSF snail mail address with URLs, as per GNU coding standards.
33128 Most of the snail mail addresses were wrong anyway, and omitting
33129 them makes the source code easier to maintain. Almost all of the
33130 changes are to license notices and to locale LC_IDENTIFICATION
33131 addresses, except for this one:
33132 * manual/libc.texinfo: In "Published by", give the FSF's URL,
33133 not its snail mail address.
33134
331352012-02-09 Richard Henderson <rth@twiddle.net>
33136
33137 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
33138 of kernel-features.h.
33139
33140 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
33141
331422012-02-08 Marek Polacek <polacek@redhat.com>
33143
33144 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
33145 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
33146 * sysdeps/gnu/_G_config.h: Likewise.
33147 * sysdeps/generic/_G_config.h: Likewise.
33148
331492012-02-08 Andreas Schwab <schwab@linux-m68k.org>
33150
33151 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
33152 tests.
33153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33154
33155 * sysdeps/powerpc/powerpc32/crti.S: New file.
33156 * sysdeps/powerpc/powerpc32/crtn.S: New file.
33157 * sysdeps/powerpc/powerpc64/crti.S: New file.
33158 * sysdeps/powerpc/powerpc64/crtn.S: New file.
33159
33160 * Makeconfig (have-initfini): Don't set.
33161 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
33162 * configure.in (nopic_initfini): Don't substitute.
33163 * config.h.in (HAVE_INITFINI): Don't #undef.
33164 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
33165 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
33166
331672012-02-08 Joseph Myers <joseph@codesourcery.com>
33168
33169 Support crti.S and crtn.S provided directly by architectures.
33170 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
33171 [crti.S in sysdirs] (omit-deps): Likewise.
33172 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
33173 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
33174 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
33175 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
33176 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
33177 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
33178 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
33179 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
33180 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
33181 compiler output for sysdeps/generic/initfini.c.
33182 * sysdeps/i386/elf/Makefile: Remove file.
33183 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
33184
331852012-02-07 Marek Polacek <polacek@redhat.com>
33186
33187 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
33188 * sysdeps/gnu/_G_config.h: Likewise.
33189 * sysdeps/mach/hurd/_G_config.h: Likewise.
33190
331912012-02-07 Marek Polacek <polacek@redhat.com>
33192
33193 * math/Makefile (tests): Add tst-CMPLX2.
33194 * math/tst-CMPLX2.c: New file.
33195
331962012-02-07 Andreas Schwab <schwab@linux-m68k.org>
33197
33198 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33199
33200 * math/libm-test.inc (jn_test): Add missing L suffix.
33201
332022012-02-06 Marek Polacek <polacek@redhat.com>
33203
33204 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
33205 * sysdeps/i386/fpu/e_powf.S: Likewise.
33206 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33207 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33208 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33209 * sysdeps/i386/fpu/e_pow.S: Likewise.
33210 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33211 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33212 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33213 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33214 * sysdeps/i386/fpu/e_log2.S: Likewise.
33215 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33216 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33217 * sysdeps/i386/fpu/e_powl.S: Likewise.
33218 * sysdeps/i386/fpu/s_log1p.S: Likewise.
33219 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33220 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33221 * sysdeps/i386/fpu/e_logl.S: Likewise.
33222 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33223 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
33224 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33225 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33226 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33227 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33228 * sysdeps/i386/fpu/e_log.S: Likewise.
33229 * sysdeps/i386/fpu/s_cexp.S: Likewise.
33230 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33231 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
33232 * sysdeps/i386/fpu/e_logf.S: Likewise.
33233 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33234 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33235 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
33236 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33237 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33238 * sysdeps/i386/fpu/e_log10.S: Likewise.
33239 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33240 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33241 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33242 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33243 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33244 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33245 * sysdeps/i386/asm-syntax.h: Likewise.
33246 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33247 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33248 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33249 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
33250 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
33251 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33252 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33253 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33254 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33255 * sysdeps/powerpc/sysdep.h: Likewise.
33256 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
33257 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33258
332592012-02-06 Joseph Myers <joseph@codesourcery.com>
33260
33261 [BZ #411]
33262 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
33263
332642012-02-06 Joseph Myers <joseph@codesourcery.com>
33265
33266 * sysdeps/i386/sysdep.h: Include <features.h>.
33267 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
33268 version.
33269
332702012-02-05 Joseph Myers <joseph@codesourcery.com>
33271
33272 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
33273 Define.
33274 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
33275 LOAD_PIC_REG_STR.
33276
332772012-02-03 Joseph Myers <joseph@codesourcery.com>
33278
33279 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
33280 (SETUP_PIC_REG): Use GET_PC_THUNK.
33281 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
33282 macro.
33283
332842012-02-03 Joseph Myers <joseph@codesourcery.com>
33285
33286 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
33287 for non-PIC compilation.
33288 (SETUP_PIC_REG): Add .p2align directive.
33289 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
33290 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
33291 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33292 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33293 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33294 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33295 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33297 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33298 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33299 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33300 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33301 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33302 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33303 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33304 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33305 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33306 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33307 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33308 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33309 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33310 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33311 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33312 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33313 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33315 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33316 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33317 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33318 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33319 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33320 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33321 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33322 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33323 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33324 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33325 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33326 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33327 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33328 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33329 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33330
333312012-02-03 Joseph Myers <joseph@codesourcery.com>
33332
33333 * math/tst-CMPLX.c: Include <stdio.h>.
33334
333352012-01-31 Joseph Myers <joseph@codesourcery.com>
33336
33337 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
33338 float.
33339 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33340 * sysdeps/sparc/bits/mathdef.h: Likewise.
33341
333422012-01-31 Marek Polacek <polacek@redhat.com>
33343
33344 * libio/libio.h: Don't define _PARAMS.
33345 * locale/programs/config.h: Don't define PARAMS.
33346 * stdlib/strtol_l.c: Likewise.
33347 (__strtol_l): Remove PARAMS from the prototype.
33348
333492012-01-31 Ulrich Drepper <drepper@gmail.com>
33350
33351 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
33352 names. Just use the correct names. Remove unnecessary wrapper
33353 functions.
33354 * malloc/arena.c: Likewise.
33355 * malloc/hooks.c: Likewise.
33356
33357 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
33358 ARENA_TEST says not to. Simplify test for creation of a new arena.
33359 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
33360
333612012-01-30 Ulrich Drepper <drepper@gmail.com>
33362
33363 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
33364 into tail calls.
33365 (update_get_addr): New function.
33366 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
33367 GET_ADDR_MODULE parameter.
33368
333692012-01-30 Joseph Myers <joseph@codesourcery.com>
33370
33371 * crypt/cert.c: Remove __STDC__ conditionals.
33372 * crypt/crypt-entry.c: Likewise.
33373 * crypt/crypt_util.c: Likewise.
33374 * libio/filedoalloc.c: Likewise.
33375 * libio/fileops.c: Likewise.
33376 * libio/genops.c: Likewise.
33377 * libio/iofclose.c: Likewise.
33378 * libio/iofdopen.c: Likewise.
33379 * libio/iofopen.c: Likewise.
33380 * libio/iofopen64.c: Likewise.
33381 * libio/iogetdelim.c: Likewise.
33382 * libio/iopopen.c: Likewise.
33383 * libio/obprintf.c: Likewise.
33384 * libio/oldfileops.c: Likewise.
33385 * libio/oldiofclose.c: Likewise.
33386 * libio/oldiofdopen.c: Likewise.
33387 * libio/oldiofopen.c: Likewise.
33388 * libio/oldiopopen.c: Likewise.
33389 * libio/wfiledoalloc.c: Likewise.
33390 * libio/wgenops.c: Likewise.
33391 * locale/programs/xmalloc.c: Likewise.
33392 * misc/syslog.c: Likewise.
33393 * stdio-common/xbug.c: Likewise.
33394 * string/memchr.c: Likewise.
33395 * string/memcmp.c: Likewise.
33396 * string/memrchr.c: Likewise.
33397 * string/rawmemchr.c: Likewise.
33398 * sysdeps/posix/getcwd.c: Likewise.
33399 * time/strftime_l.c: Likewise.
33400
334012012-01-30 Joseph Myers <joseph@codesourcery.com>
33402
33403 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
33404 * config.make.in (config-cflags-sse2avx): Define.
33405 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
33406 Fix typo.
33407
334082012-01-29 Chris Metcalf <cmetcalf@tilera.com>
33409
33410 * scripts/config.guess: Update from upstream config git repository.
33411 * scripts/config.sub: Likewise.
33412
334132012-01-28 Chris Metcalf <cmetcalf@tilera.com>
33414
33415 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
33416 (EM_NUM): Update.
33417 (R_TILEPRO_*, R_TILEGX_*): New macros.
33418
33419 * scripts/firstversions.awk: Fix bug in version range handling.
33420
33421 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
33422
33423 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
33424
33425 * include/sys/epoll.h: New file.
33426 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
33427 libc_hidden_def.
33428
334292012-01-28 Ulrich Drepper <drepper@gmail.com>
33430
33431 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
33432 Avoid unnecessary __WORDSIZE == 64 test.
33433 (fmaxf): Use VEX format if possible.
33434 (fmax): Likewise.
33435 (fminf): Likewise.
33436 (fmin): Likewise.
33437
33438 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
33439 * math/math_private.h: Remove libc_fegetround* and
33440 libc_fesetround*.
33441 * sysdeps/i386/configure.in: Check for -msse2avx.
33442 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
33443 also if SSE2AVX is defined.
33444 Remove libc_fegetround* and libc_fesetround*.
33445 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
33446 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
33447 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
33448 of HAS_YMM_USABLE.
33449 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33450 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33451 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33452 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33453 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33454
33455 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
33456
334572012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33458
33459 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
33460 size is not set.
33461 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33462
334632012-01-27 Ulrich Drepper <drepper@gmail.com>
33464
33465 [BZ #13618]
33466 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
33467 relocation.
33468 * Makeconfig (libm): Define.
33469 * elf/Makefile: Add rules to build and run tst-relsort1.
33470 * elf/tst-relsort1.c: New file.
33471 * elf/tst-relsort1mod1.c: New file.
33472 * elf/tst-relsort1mod2.c: New file.
33473
334742012-01-27 Joseph Myers <joseph@codesourcery.com>
33475
33476 * math/s_ldexp.c: Remove __STDC__ conditionals.
33477 * math/s_ldexpf.c: Likewise.
33478 * math/s_ldexpl.c: Likewise.
33479 * math/s_nextafter.c: Likewise.
33480 * math/s_nexttowardf.c: Likewise.
33481 * math/s_significand.c: Likewise.
33482 * math/s_significandf.c: Likewise.
33483 * math/s_significandl.c: Likewise.
33484 * math/w_jnl.c: Likewise.
33485 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33486 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33487 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33488 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33489 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33490 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33491 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
33492 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33493 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33494 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33495 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33496 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33497 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33498 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33499 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33500 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33501 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33502 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33504 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33505 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33506 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33507 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33508 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33509 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33510 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33511 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33512 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33513 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33514 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33515 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33516 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33517 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33518 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33519 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33520 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33521 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33522 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33523 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33524 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33525 * sysdeps/ieee754/k_standard.c: Likewise.
33526 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33527 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33528 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33529 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33530 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33531 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33532 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33533 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33534 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33535 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33536 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33537 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33538 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33539 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33540 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33542 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33543 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33544 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33545 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33546 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33547 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33548 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33549 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33550 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33551 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33552 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33553 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33555 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33556 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33557 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33558 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33559 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33560 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33561 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33562 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33563 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33564 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33565 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33566 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33568 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33569 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33570 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33571 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33572 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33573 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33574 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33575 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33576 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33577 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33578 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33579 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33580 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33581 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33582 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33583 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33584 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33585 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33586 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33587 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33588 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33589 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33590 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33591 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33592 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33593 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33594 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33595 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33596 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33597 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33598 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33599 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33600 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33601 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33602 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33603 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33604 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33605 * sysdeps/ieee754/s_matherr.c: Likewise.
33606 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33607 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33609 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33610
336112012-01-26 Joseph Myers <joseph@codesourcery.com>
33612
33613 * crypt/md5.h: Remove __STDC__ conditionals.
33614 * libio/libioP.h: Likewise.
33615 * locale/programs/config.h: Likewise.
33616 * sysdeps/generic/sysdep.h: Likewise.
33617 * sysdeps/i386/asm-syntax.h: Likewise.
33618 * sysdeps/s390/asm-syntax.h: Likewise.
33619 * sysdeps/unix/sysdep.h: Likewise.
33620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33622
336232012-01-26 Joseph Myers <joseph@codesourcery.com>
33624
33625 * libio/libio.h: Remove __STDC__ conditionals.
33626 * malloc/obstack.h: Likewise.
33627 * math/complex.h: Likewise.
33628 * math/math.h: Likewise.
33629 * sysdeps/generic/_G_config.h: Likewise.
33630 * sysdeps/gnu/_G_config.h: Likewise.
33631 * sysdeps/mach/hurd/_G_config.h: Likewise.
33632 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33633 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33634 * sysdeps/sparc/bits/mathdef.h: Likewise.
33635
336362012-01-26 Ulrich Drepper <drepper@gmail.com>
33637
33638 [BZ #13583]
33639 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33640 Clean up HAS_* macros.
33641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33642 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33643 possible.
33644 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33645 HAS_AVX.
33646 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33647 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33648 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33649 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33650 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33651
336522012-01-25 Joseph Myers <joseph@codesourcery.com>
33653
33654 * elf/tst-unique3.cc (gets): Remove declaration.
33655 * elf/tst-unique3lib.cc (gets): Likewise.
33656 * elf/tst-unique3lib2.cc (gets): Likewise.
33657 * elf/tst-unique4.cc (gets): Likewise.
33658
336592012-01-24 Ulrich Drepper <drepper@gmail.com>
33660
33661 * include/stdio.h: Add C++ protection. Add gets declarations and
33662 definitions.
33663 * debug/tst-chk1.c: Don't declare gets here.
33664 * stdio-common/tst-gets.c: Likewise.
33665
336662012-01-24 Joseph Myers <joseph@codesourcery.com>
33667
33668 * posix/glob: Remove directory.
33669
336702012-01-24 Joseph Myers <joseph@codesourcery.com>
33671
33672 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33673
336742012-01-22 Pino Toscano <toscano.pino@tiscali.it>
33675
33676 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33677 of the non-standard EPFNOSUPPORT.
33678
336792011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
33680
33681 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33682 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33683 ANYWHERE set to 1 only on KERN_NO_SPACE error.
33684
336852012-01-21 Ulrich Drepper <drepper@gmail.com>
33686
33687 * wcsmbs/uchar.h: Test __STDC_VERSION__.
33688
336892012-01-20 Ulrich Drepper <drepper@gmail.com>
33690
33691 * nscd/aicache.c (addhstaiX): Do not cache negative results of
33692 transient errors.
33693 * nscd/grpcache.c (cache_addgr): Likewise.
33694 * nscd/hstcache.c (cache_addhst): Likewise.
33695 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33696 * nscd/pwdcache.c (cache_addpw): Likewise.
33697 * nscd/servicescache.c (cache_addserv): Likewise.
33698
336992012-01-16 Ulrich Drepper <drepper@gmail.com>
33700
33701 * malloc/malloc.c: Various cleanups.
33702 * malloc/hooks.c: Likewise.
33703
33704 * stdlib/Makefile (tests): Add bug-fmtmsg1.
33705 * stdlib/bug-fmtmsg1.c: New file.
33706
33707 * stdlib/fmtmsg.c (init): Add missing unlock.
33708 Patch by Peng Haitao <penght@cn.fujitsu.com>.
33709
337102012-01-12 Marek Polacek <polacek@redhat.com>
33711
33712 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33713 and _GNU_SOURCE.
33714
337152012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33716
33717 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33718 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33719 macro to ensure uniqueness of label name.
33720 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33721 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33722
337232012-01-11 Ulrich Drepper <drepper@gmail.com>
33724
33725 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33726
33727 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33728 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33729 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33731
337322012-01-10 Ulrich Drepper <drepper@gmail.com>
33733
33734 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33735
33736 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33737 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33738 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33739
33740 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33741
33742 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
33743 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33744 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
33746
33747 * math/bits/math-finite.h: Add ldexp support.
33748
337492012-01-10 Marek Polacek <polacek@redhat.com>
33750
33751 * locale/programs/localedef.h (show_archive_content): Add noreturn
33752 attribute.
33753
337542012-01-09 Ulrich Drepper <drepper@gmail.com>
33755
33756 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33757
337582012-01-08 Ulrich Drepper <drepper@gmail.com>
33759
33760 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33761
33762 * io/Makefile (headers): Add bits/poll2.h.
33763
337642011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33765
33766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33767 typo #include statement.
33768
337692012-01-08 Ulrich Drepper <drepper@gmail.com>
33770
33771 * include/sys/cdefs.h: Define __attribute_alloc_size.
33772 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33773 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33774 * elf/pldd.c: Likewise.
33775 * iconv/iconv_charmap.c: Likewise.
33776 * iconv/iconvconfig.c: Likewise.
33777 * iconv/strtab.c: Likewise.
33778 * locale/programs/locale.c: Likewise.
33779 * locale/programs/localedef.h: Likewise.
33780 * locale/programs/simple-hash.c: Likewise.
33781 * nscd/nscd.h: Likewise.
33782 * nss/makedb.c: Likewise.
33783 * sysdeps/generic/ldconfig.h: Likewise.
33784 * locale/programs/localedef.c: Remove xmalloc prototype.
33785 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33786
337872012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33788
33789 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33790 appropriate.
33791
337922012-01-08 Ulrich Drepper <drepper@gmail.com>
33793
33794 * math/Makefile (tests): Add tst-CMPLX.
33795 * math/tst-CMPLX.c: New file.
33796
33797 * math/complex.h (CMPLXL): Fix typo.
33798
33799 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33800 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33801 GLIBC_2.16.
33802 * debug/tst-chk1.c: Add poll and ppoll tests.
33803 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33804 * include/sys/poll.h: Add hidden proto for ppoll.
33805 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33806 * sysdeps/mach/hurd/ppoll.c: Likewise.
33807 * io/ppoll.c: Likewise.
33808 * debug/poll_chk.c: New file.
33809 * debug/ppoll_chk.c: New file.
33810 * include/bits/poll2.h: New file.
33811 * io/bits/poll2.h: New file.
33812
33813 [BZ #1350]
33814 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33815
33816 * configure.in: static is always set to yes. Remove.
33817 * config.make.in: Don't set build-static.
33818 * Makeconfig: Remove use of build-static.
33819 * dlfcn/Makefile: Likewise.
33820 * elf/Makefile: Likewise.
33821 * math/Makefile: Likewise.
33822 * misc/Makefile: Likewise.
33823 * nptl/Makefile: Likewise.
33824 * sysdeps/mach/hurd/Makefile: Likewise.
33825
33826 * configure.in: PWD_P is not used anymore.
33827 * config.make.in: Remove PWD_P entry.
33828
33829 * configure.in: Remove last remnants of RANLIB.
33830 No need to check for signed size_t anymore.
33831 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33832 and IA-64.
33833 Remove __builtin_expect test because we require at least gcc 3.4.
33834 * aclocal.m4: Likewise.
33835
33836 * wcsmbs/mbrtoc16.c: Implement using towc function.
33837 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33838 * wcsmbs/wcsmbsload.c: Likewise.
33839 * iconv/gconv_simple.c: Likewise.
33840 * iconv/gconv_int.h: Likewise.
33841 * iconv/gconv_builtin.h: Likewise.
33842 * iconv/iconv_prog.c: Remove CHAR16 handling.
33843
33844 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33845
33846 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33847
33848 * configure.in: Remove --with-elf and --enable-bounded options.
33849 Dont set base_machine for ia64. More non-ELF conditions removed.
33850 Remove testing and setting of leading underscore information.
33851 * config.make.in (build-bounded): Set to no.
33852 * config.h.in: Remove NO_UNDERSCORES entry.
33853 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33854 them.
33855 * csu/start.c: Remove !NO_UNDERSCORE code.
33856 * locale/localeinfo.h: Likewise.
33857 * sysdeps/generic/machine-gmon.h: Likewise.
33858 * sysdeps/generic/sysdep.h: Likewise.
33859 * sysdeps/i386/sysdep.h: Likewise.
33860 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33861 * sysdeps/mach/sysdep.h: Likewise.
33862 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33863 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33864 * sysdeps/sh/sysdep.h: Likewise.
33865 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33866 * sysdeps/unix/i386/sysdep.S: Likewise.
33867 * sysdeps/unix/sparc/start.c: Likewise.
33868 * sysdeps/unix/sparc/sysdep.S: Likewise.
33869 * sysdeps/unix/sparc/sysdep.h: Likewise.
33870 * sysdeps/unix/start.c: Likewise.
33871 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33872 * sysdeps/x86_64/sysdep.h: Likewise.
33873
338742012-01-07 Ulrich Drepper <drepper@gmail.com>
33875
33876 [BZ #13553]
33877 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33878 for non-gcc.
33879 * argp/argp-fmtstream.h: Use const instead __const.
33880 * argp/argp.h: Likewise.
33881 * assert/assert.h: Likewise.
33882 * bits/fenv.h: Likewise.
33883 * bits/sched.h: Likewise.
33884 * bits/sigset.h: Likewise.
33885 * bits/sigthread.h: Likewise.
33886 * catgets/nl_types.h: Likewise.
33887 * conform/data/pthread.h-data: Likewise.
33888 * crypt/crypt-private.h: Likewise.
33889 * crypt/crypt.h: Likewise.
33890 * crypt/crypt_util.c: Likewise.
33891 * ctype/ctype.h: Likewise.
33892 * debug/execinfo.h: Likewise.
33893 * debug/mbsnrtowcs_chk.c: Likewise.
33894 * debug/mbsrtowcs_chk.c: Likewise.
33895 * debug/wcsnrtombs_chk.c: Likewise.
33896 * debug/wcsrtombs_chk.c: Likewise.
33897 * debug/wcstombs_chk.c: Likewise.
33898 * dirent/dirent.h: Likewise.
33899 * dlfcn/dlfcn.h: Likewise.
33900 * elf/neededtest4.c: Likewise.
33901 * grp/grp.h: Likewise.
33902 * gshadow/gshadow.h: Likewise.
33903 * iconv/gconv.h: Likewise.
33904 * iconv/gconv_int.h: Likewise.
33905 * iconv/gconv_simple.c: Likewise.
33906 * iconv/iconv.h: Likewise.
33907 * iconv/loop.c: Likewise.
33908 * iconv/skeleton.c: Likewise.
33909 * include/aio.h: Likewise.
33910 * include/aliases.h: Likewise.
33911 * include/argz.h: Likewise.
33912 * include/arpa/inet.h: Likewise.
33913 * include/assert.h: Likewise.
33914 * include/dirent.h: Likewise.
33915 * include/dlfcn.h: Likewise.
33916 * include/execinfo.h: Likewise.
33917 * include/fcntl.h: Likewise.
33918 * include/fenv.h: Likewise.
33919 * include/glob.h: Likewise.
33920 * include/grp.h: Likewise.
33921 * include/libintl.h: Likewise.
33922 * include/mntent.h: Likewise.
33923 * include/netdb.h: Likewise.
33924 * include/pwd.h: Likewise.
33925 * include/rpc/netdb.h: Likewise.
33926 * include/sched.h: Likewise.
33927 * include/search.h: Likewise.
33928 * include/shadow.h: Likewise.
33929 * include/signal.h: Likewise.
33930 * include/stdio.h: Likewise.
33931 * include/stdlib.h: Likewise.
33932 * include/string.h: Likewise.
33933 * include/sys/socket.h: Likewise.
33934 * include/sys/stat.h: Likewise.
33935 * include/sys/statfs.h: Likewise.
33936 * include/sys/statvfs.h: Likewise.
33937 * include/sys/syslog.h: Likewise.
33938 * include/sys/time.h: Likewise.
33939 * include/sys/uio.h: Likewise.
33940 * include/time.h: Likewise.
33941 * include/unistd.h: Likewise.
33942 * include/utmp.h: Likewise.
33943 * include/wchar.h: Likewise.
33944 * include/wctype.h: Likewise.
33945 * inet/aliases.h: Likewise.
33946 * inet/arpa/inet.h: Likewise.
33947 * inet/netinet/ether.h: Likewise.
33948 * inet/netinet/in.h: Likewise.
33949 * intl/libintl.h: Likewise.
33950 * io/bits/fcntl2.h: Likewise.
33951 * io/fcntl.h: Likewise.
33952 * io/ftw.h: Likewise.
33953 * io/sys/poll.h: Likewise.
33954 * io/sys/stat.h: Likewise.
33955 * io/sys/statfs.h: Likewise.
33956 * io/sys/statvfs.h: Likewise.
33957 * io/utime.h: Likewise.
33958 * libio/bits/stdio.h: Likewise.
33959 * libio/bits/stdio2.h: Likewise.
33960 * libio/libio.h: Likewise.
33961 * libio/libioP.h: Likewise.
33962 * libio/stdio.h: Likewise.
33963 * locale/lc-ctype.c: Likewise.
33964 * locale/locale.h: Likewise.
33965 * login/utmp.h: Likewise.
33966 * malloc/arena.c: Likewise.
33967 * malloc/malloc.c: Likewise.
33968 * malloc/malloc.h: Likewise.
33969 * malloc/mcheck.c: Likewise.
33970 * malloc/mtrace.c: Likewise.
33971 * math/bits/mathcalls.h: Likewise.
33972 * math/fenv.h: Likewise.
33973 * math/math_private.h: Likewise.
33974 * misc/bits/error.h: Likewise.
33975 * misc/bits/syslog.h: Likewise.
33976 * misc/err.h: Likewise.
33977 * misc/error.h: Likewise.
33978 * misc/fstab.h: Likewise.
33979 * misc/mntent.h: Likewise.
33980 * misc/regexp.h: Likewise.
33981 * misc/search.h: Likewise.
33982 * misc/sgtty.h: Likewise.
33983 * misc/sys/mman.h: Likewise.
33984 * misc/sys/syslog.h: Likewise.
33985 * misc/sys/uio.h: Likewise.
33986 * misc/sys/xattr.h: Likewise.
33987 * misc/ttyent.h: Likewise.
33988 * nis/rpcsvc/ypclnt.h: Likewise.
33989 * nss/nss.h: Likewise.
33990 * posix/bits/unistd.h: Likewise.
33991 * posix/fnmatch.h: Likewise.
33992 * posix/glob.h: Likewise.
33993 * posix/sched.h: Likewise.
33994 * posix/spawn.h: Likewise.
33995 * posix/sys/wait.h: Likewise.
33996 * posix/unistd.h: Likewise.
33997 * posix/wordexp.h: Likewise.
33998 * pwd/pwd.h: Likewise.
33999 * resolv/netdb.h: Likewise.
34000 * resource/sys/resource.h: Likewise.
34001 * rt/aio.h: Likewise.
34002 * rt/bits/mqueue2.h: Likewise.
34003 * rt/mqueue.h: Likewise.
34004 * shadow/shadow.h: Likewise.
34005 * signal/signal.h: Likewise.
34006 * socket/send.c: Likewise.
34007 * socket/sendto.c: Likewise.
34008 * socket/sys/socket.h: Likewise.
34009 * stdio-common/printf.h: Likewise.
34010 * stdlib/bits/stdlib.h: Likewise.
34011 * stdlib/fmtmsg.h: Likewise.
34012 * stdlib/monetary.h: Likewise.
34013 * stdlib/stdlib.h: Likewise.
34014 * stdlib/ucontext.h: Likewise.
34015 * streams/stropts.h: Likewise.
34016 * string/argz.h: Likewise.
34017 * string/bits/string2.h: Likewise.
34018 * string/string.h: Likewise.
34019 * string/strings.h: Likewise.
34020 * sunrpc/rpc/auth.h: Likewise.
34021 * sunrpc/rpc/auth_des.h: Likewise.
34022 * sunrpc/rpc/clnt.h: Likewise.
34023 * sunrpc/rpc/netdb.h: Likewise.
34024 * sunrpc/rpc/pmap_clnt.h: Likewise.
34025 * sunrpc/rpc/xdr.h: Likewise.
34026 * sysdeps/generic/inttypes.h: Likewise.
34027 * sysdeps/generic/net/if.h: Likewise.
34028 * sysdeps/generic/sys/swap.h: Likewise.
34029 * sysdeps/gnu/net/if.h: Likewise.
34030 * sysdeps/gnu/utmpx.h: Likewise.
34031 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
34032 * sysdeps/i386/i486/bits/string.h: Likewise.
34033 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
34034 * sysdeps/s390/bits/string.h: Likewise.
34035 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
34036 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
34037 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
34038 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
34039 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
34040 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
34041 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
34042 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
34043 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
34044 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34045 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
34046 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34047 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
34048 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34049 * sysdeps/unix/sysv/linux/readv.c: Likewise.
34050 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
34051 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34053 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34054 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34055 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34056 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
34057 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
34058 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
34059 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
34060 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
34061 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
34062 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34063 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
34064 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
34065 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
34066 * sysvipc/sys/ipc.h: Likewise.
34067 * sysvipc/sys/msg.h: Likewise.
34068 * sysvipc/sys/sem.h: Likewise.
34069 * sysvipc/sys/shm.h: Likewise.
34070 * termios/termios.h: Likewise.
34071 * time/sys/time.h: Likewise.
34072 * time/time.h: Likewise.
34073 * wcsmbs/bits/wchar2.h: Likewise.
34074 * wcsmbs/uchar.h: Likewise.
34075 * wcsmbs/wchar.h: Likewise.
34076 * wctype/wctype.h: Likewise.
34077
34078 [BZ #13551]
34079 * Makeconfig: Remove all but ELF support including AIX support.
34080 * Makerules: Likewise.
34081 * config.h.in: Likewise.
34082 * config.make.in: Likewise.
34083 * configure: Likewise.
34084 * configure.in: Likewise.
34085 * csu/Makefile: Likewise.
34086 * csu/version.c: Likewise.
34087 * debug/Makefile: Likewise.
34088 * dlfcn/Makefile: Likewise.
34089 * elf/Makefile: Likewise.
34090 * extra-lib.mk: Likewise.
34091 * iconv/Makefile: Likewise.
34092 * include/libc-symbols.h: Likewise.
34093 * include/shlib-compat.h: Likewise.
34094 * resolv/Makefile: Likewise.
34095 * resolv/res_libc.c: Likewise.
34096 * rt/Makefile: Likewise.
34097 * sysdeps/i386/asm-syntax.h: Likewise.
34098 * sysdeps/i386/sysdep.h: Likewise.
34099 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34100 * sysdeps/mach/sysdep.h: Likewise.
34101 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
34102 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
34103 * sysdeps/s390/asm-syntax.h: Likewise.
34104 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34105 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34106 * sysdeps/sh/sysdep.h: Likewise.
34107 * sysdeps/unix/sparc/sysdep.h: Likewise.
34108 * sysdeps/wordsize-32/divdi3.c: Likewise.
34109 * sysdeps/x86_64/sysdep.h: Likewise.
34110
34111 * argp/Versions: Remove _argp_unlock_xxx.
34112
34113 [BZ #13559]
34114 * abilist/ld.abilist: Update. Adjust for removal of tls option.
34115 * abilist/libBrokenLocale.abilist: Likewise.
34116 * abilist/libanl.abilist: Likewise.
34117 * abilist/libc.abilist: Likewise.
34118 * abilist/libcrypt.abilist: Likewise.
34119 * abilist/libdl.abilist: Likewise.
34120 * abilist/libm.abilist: Likewise.
34121 * abilist/libnsl.abilist: Likewise.
34122 * abilist/libpthread.abilist: Likewise.
34123 * abilist/libresolv.abilist: Likewise.
34124 * abilist/librt.abilist: Likewise.
34125 * abilist/libthread_db.abilist: Likewise.
34126 * abilist/libutil.abilist: Likewise.
34127 * abilist/libnss_db.abilist: New file.
34128
34129 * scripts/abilist.awk: Add support for indirect functions.
34130
34131 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
34132
34133 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
34134
34135 * shlib-versions: Remove entries for ports architectures.
34136
34137 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
34138 files in ports.
34139 * elf/stackguard-macros.h: Remove support for IA-64.
34140 * elf/tst-auditmod1.c: Likewise.
34141 * sysdeps/generic/ldsodefs.h: Likewise.
34142
34143 * sysdeps/unix/sysv/linux/configure.in: Ports should define
34144 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
34145 configure files.
34146
34147 [BZ #13552]
34148 * configure.in: Remove --enable-omitfp support.
34149 * FAQ.in: Adjust.
34150 * config.make.in: Likewise.
34151 * Makeconfig: Likewise.
34152 * manual/install.texi: Likewise.
34153
34154 In case anyone cares, the IA-64 architecture could move to ports.
34155 * sysdeps/ia64/*: Removed.
34156 * sysdeps/unix/sysv/linux/ia64/*: Removed.
34157 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
34158
34159 [BZ #13555]
34160 * configure.in: Remove entries for unsupported architectures.
34161
34162 [BZ #13533]
34163 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
34164 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
34165 routines.
34166 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
34167 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
34168 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
34169 fall back to using wcrtomb.
34170 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
34171 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
34172 renaming.
34173 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
34174 * wcsmbs/tst-c16c32-1.c: New file.
34175
34176 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
34177 local variable.
34178
34179 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
34180
34181 * elf/tst-unique3.cc: Add explicit declaration of gets.
34182 * elf/tst-unique3lib.cc: Likewise.
34183 * elf/tst-unique3lib2.cc: Likewise.
34184 * elf/tst-unique4.cc: Likewise.
34185
34186 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
34187
341882012-01-06 Joseph Myers <joseph@codesourcery.com>
34189
34190 [BZ #13566]
34191 * assert/assert.h (static_assert): Don't define for C++.
34192 * libio/stdio.h (gets): Do declare for C++ <= C++11.
34193 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
34194
341952012-01-03 Ulrich Drepper <drepper@gmail.com>
34196
34197 * iconv/loop.c (single loop): Fix assertion in storing of
34198 remaining bytes.
34199
34200 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
34201
342022012-01-01 Ulrich Drepper <drepper@gmail.com>
34203
34204 * posix/getconf.c: Update copyright year.
34205 * nss/getent.c: Likewise.
34206 * nss/makedb.c: Likewise.
34207 * iconv/iconvconfig.c: Likewise.
34208 * iconv/iconv_prog.c: Likewise.
34209 * elf/ldconfig.c: Likewise.
34210 * elf/pldd.c: Likewise.
34211 * elf/sotruss.ksh: Likewise.
34212 * catgets/gencat.c: Likewise.
34213 * csu/version.c: Likewise.
34214 * elf/ldd.bash.in: Likewise.
34215 * elf/sprof.c (print_version): Likewise.
34216 * locale/programs/locale.c: Likewise.
34217 * locale/programs/localedef.c: Likewise.
34218 * login/programs/pt_chown.c: Likewise.
34219 * nscd/nscd.c (print_version): Likewise.
34220 * debug/xtrace.sh: Likewise.
34221 * malloc/memusage.sh: Likewise.
34222 * malloc/mtrace.pl: Likewise.
34223 * debug/catchsegv.sh: Likewise.
34224
342252011-12-30 Jakub Jelinek <jakub@redhat.com>
34226
34227 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
34228 pure attribute.
34229
342302011-12-24 Ulrich Drepper <drepper@gmail.com>
34231
34232 [BZ #13533]
34233 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
34234 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
34235 transformations.
34236 * iconv/gconv_int.h: Likewise.
34237 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
34238 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
34239 from libc for GLIBC_2.16.
34240 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
34241 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
34242 * wcsmbs/uchar.h: Really define mbstate_t.
34243 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
34244 * wcsmbs/c16rtomb.c: New file.
34245 * wcsmbs/mbrtoc16.c: New file.
34246 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
34247 for C/POSIX locale.
34248 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
34249 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
34250
34251 * wcsmbs/wchar.h: Add missing __restrict.
34252
342532011-12-23 Ulrich Drepper <drepper@gmail.com>
34254
34255 [BZ #13532]
34256 * time/Makefile (routines): Add timespec_get.
34257 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
34258 * time/time.h: Define TIME_UTC and declare timespec_get. Define
34259 timespec for ISO C11.
34260 * time/timespec_get.c: New file.
34261 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
34262 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
34263
34264 [BZ #13531]
34265 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
34266 * stdlib/stdlib.h: Declare aligned_alloc.
34267 * Versions.def: Add GLIBC_2.16 for libc.
34268 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
34269
34270 [BZ 13527]
34271 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
34272 ISO C11.
34273
34274 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
34275 code.
34276
34277 [BZ #13528]
34278 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
34279
34280 [BZ #13529]
34281 * assert/assert.h (static_assert): Define.
34282
34283 * version.h: Update for 2.16 development version.
34284
34285 [BZ #13526]
34286 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
34287 _ISOC11_SOURCE.
34288
34289 * version.h (RELEASE): Bump for 2.15 release.
34290 * include/features.h (__GLIBC_MINOR__): Bump to 15.
34291
34292 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
34293 Patch by Marek Polacek <mpolacek@redhat.com>.
34294
34295 * bits/byteswap.h: Protect long long constants with __extension__.
34296 * sysdeps/i386/bits/byteswap.h: Likewise.
34297 * sysdeps/ia64/bits/byteswap.h: Likewise.
34298 * sysdeps/s390/bits/byteswap.h: Likewise.
34299 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34300
343012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34302
34303 [BZ #13540]
34304 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
34305 destination buffer.
34306 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34307
343082011-12-23 Marek Polacek <polacek@redhat.com>
34309
34310 * elf/dl-addr.c (determine_info): Add inline keyword.
34311 * elf/tst-auditmod4b.c (check_avx): Likewise.
34312 * elf/tst-auditmod6b.c (check_avx): Likewise.
34313 * elf/tst-auditmod6c.c (check_avx): Likewise.
34314 * elf/tst-auditmod7b.c (check_avx): Likewise.
34315
343162011-12-23 Ulrich Drepper <drepper@gmail.com>
34317
34318 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
34319 !__SSE_MATH__.
34320
343212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34322
34323 [BZ #13540]
34324 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
34325 processing for last bytes.
34326
343272011-08-06 Bruno Haible <bruno@clisp.org>
34328
34329 [BZ #13061]
34330 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
34331 U+0385, not to U+1FEE.
34332
34333 [BZ #13062]
34334 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
34335 entry for U+00A5 U+0301.
34336
343372011-12-22 Ulrich Drepper <drepper@gmail.com>
34338
34339 [BZ #13166]
34340 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
34341 buffer for the output is too small.
34342
34343 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
34344 optimization.
34345
34346 [BZ #13185]
34347 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
34348 SSE flags if possible.
34349
343502011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34351
34352 [BZ #13540]
34353 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
34354 processing for last bytes.
34355
343562011-12-22 Joseph Myers <joseph@codesourcery.com>
34357
34358 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
34359 (syscall-list-default-options, syscall-list-default-condition)
34360 (syscall-list-includes): Define.
34361 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
34362 list of ABIs and options and #if conditions for each ABI. Do not
34363 handle common syscalls between ABIs specially.
34364 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
34365 Remove.
34366 (syscall-list-variants, syscall-list-32bit-options)
34367 (syscall-list-32bit-condition, syscall-list-64bit-options)
34368 (syscall-list-64bit-condition): Define.
34369 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
34370 (syscall-list-variants, syscall-list-32bit-options)
34371 (syscall-list-32bit-condition, syscall-list-64bit-options)
34372 (syscall-list-64bit-condition): Define.
34373 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
34374 Remove.
34375 (syscall-list-variants, syscall-list-32bit-options)
34376 (syscall-list-32bit-condition, syscall-list-64bit-options)
34377 (syscall-list-64bit-condition): Define.
34378 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
34379 Remove.
34380 (syscall-list-variants, syscall-list-32bit-options)
34381 (syscall-list-32bit-condition, syscall-list-64bit-options)
34382 (syscall-list-64bit-condition): Define.
34383
343842011-12-22 Ulrich Drepper <drepper@gmail.com>
34385
34386 * locale/iso-639.def: Add brx entry.
34387
34388 [BZ #13328]
34389 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
34390 Proposed by Mariusz_Cukr <marcukr@op.pl>.
34391
34392 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
34393 __feraiseexcept_renamed.
34394
343952011-12-21 Ulrich Drepper <drepper@gmail.com>
34396
34397 [BZ #13538]
34398 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
34399 EPOLLET with unsigned values.
34400 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34401 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34402
34403 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
34404 to large cancellation.
34405 * math/s_cacoshf.c: Likewise.
34406 * math/s_cacoshl.c: Likewise.
34407
344082011-11-18 Richard B. Kreckel <kreckel@ginac.de>
34409
34410 [BZ #13305]
34411 [BZ #12786]
34412 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
34413 * math/s_cacoshf.c: Likewise.
34414 * math/s_cacoshl.c: Likewise.
34415
344162011-12-21 Ulrich Drepper <drepper@gmail.com>
34417
34418 [BZ #13439]
34419 * iconv/gconv.h: Define __GCONV_SWAP.
34420 * iconvdata/unicode.c: The swap bit must be stored in __flags.
34421 * iconvdata/utf-16.c: Likewise.
34422 * iconvdata/utf-32.c: Likewise.
34423
344242011-12-21 Andreas Schwab <schwab@linux-m68k.org>
34425
34426 [BZ #13524]
34427 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
34428 numerator after shifting it by one limb.
34429
344302011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
34431
34432 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
34433 under [__USE_EXTERN_INLINES].
34434
344352011-12-17 Ulrich Drepper <drepper@gmail.com>
34436
34437 [BZ #13446]
34438 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
34439
344402011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34441
34442 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
34443 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
34444 optimized code.
34445 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
34446 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
34447 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
34448 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
34449 for strncasecmp/strncasecmp_l compilation.
34450 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
34451 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
34452
344532011-12-08 Marek Polacek <mpolacek@redhat.com>
34454
34455 [BZ #13484]
34456 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
34457 of __asm__.
34458
344592011-12-17 Ulrich Drepper <drepper@gmail.com>
34460
34461 [BZ #13506]
34462 * time/tzfile.c (__tzfile_read): Check values from file header.
34463
344642011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34465
34466 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
34467 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
34468 * powerpc/powerpc32/dl-start.S: Likewise.
34469 * powerpc/powerpc32/elf/start.S: Likewise.
34470 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34471 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
34472 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
34473 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
34474 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34475 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
34476 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
34477 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34478 * powerpc/powerpc32/fpu/s_round.S: Likewise.
34479 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34480 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34481 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34482 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34483 * powerpc/powerpc32/memset.S: Likewise.
34484 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34485 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34486 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34487 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34488 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34489 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34490 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34491 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34492 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
34493 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
34494 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
34495 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34496 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34497
344982011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34499
34500 * math/libm-test.inc: Added more nearbyint tests.
34501 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
34502 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
34503 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
34504 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
34505
345062011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
34507
34508 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
34509 FD_CLOEXEC.
34510
345112011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34512
34513 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
34514 Add wcscpy-ssse3 wcscpy-c.
34515 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
34516 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
34517 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34518 * sysdeps/x86_64/wcschr.S: New file.
34519 * sysdeps/x86_64/wcsrchr.S: New file.
34520 * string/test-strcmp.c: Remove checking of wcscmp function for
34521 wrong alignments.
34522 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34523 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34524 wcsrchr-sse2 wcsrchr-c.
34525 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34526 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34527 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34528 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34529 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34530 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34531 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34532 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34533 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34534 * wcsmbc/wcschr.c (WCSCHR): New macro.
34535
345362011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34537
34538 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34539 * wcsmbs/test-wcsrchr.c: New file.
34540 * string/test-strrchr.c: Add wcsrchr support.
34541 (WIDE): New macro.
34542 * wcsmbs/test-wcscpy.c: New file.
34543 * string/test-strcpy.c: Add wcscpy support.
34544 (WIDE): New macro.
34545
345462011-12-10 Ulrich Drepper <drepper@gmail.com>
34547
34548 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34549 the inner loop.
34550
345512011-12-06 Andreas Schwab <schwab@linux-m68k.org>
34552
34553 [BZ #13472]
34554 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34555
345562011-12-04 Ulrich Drepper <drepper@gmail.com>
34557
34558 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
34559 Minor optimizations.
34560
34561 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34562 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34563 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34564
345652011-12-03 Ulrich Drepper <drepper@gmail.com>
34566
34567 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34568 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34569 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34570 for gcc to avoid warnings.
34571 * inet/Makefile (tests): Add tst-checks.
34572 * inet/tst-checks.c: New file.
34573
34574 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34575 warning.
34576
34577 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34578 __wmemcmp_sse2.
34579
34580 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34581 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34582
34583 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34584
345852011-12-02 Ulrich Drepper <drepper@gmail.com>
34586
34587 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34588 problem.
34589
34590 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34591
345922011-11-29 Joseph Myers <joseph@codesourcery.com>
34593
34594 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34595 conditional on GCC version.
34596 (__arch_compare_and_exchange_val_8_acq)
34597 (__arch_compare_and_exchange_val_16_acq)
34598 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34599 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34600 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34601
346022011-12-02 Joseph Myers <joseph@codesourcery.com>
34603
34604 * sysdeps/sh/backtrace.c: New file.
34605
346062011-12-02 Andreas Schwab <schwab@redhat.com>
34607
34608 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
34609 parenthesis.
34610
346112011-12-01 Andreas Schwab <schwab@redhat.com>
34612
34613 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34614 falling back to utime.
34615
346162011-11-30 Andreas Schwab <schwab@redhat.com>
34617
34618 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34619 expectations for float.
34620
346212011-11-29 Andreas Schwab <schwab@redhat.com>
34622
34623 * locale/weight.h (findidx): Add parameter len.
34624 * locale/weightwc.h (findidx): Likewise.
34625 * posix/fnmatch_loop.c (FCT): Adjust caller.
34626 * posix/regcomp.c (build_equiv_class): Likewise.
34627 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34628 * posix/regexec.c (check_node_accept_bytes): Likewise.
34629 * string/strcoll_l.c (STRCOLL): Likewise.
34630 * string/strxfrm_l.c (STRXFRM): Likewise.
34631
346322011-11-17 Ulrich Drepper <drepper@gmail.com>
34633
34634 * Makefile.in: Remove CVSOPT handling.
34635 * configure.in: Remove use of AC_REVISION.
34636 * iconvdata/Makefile (distribute): No need to filter out CVS.
34637 * scripts/list-sources.sh: Remove CVS, subversion and monotone
34638 handling.
34639
346402011-11-16 Andreas Schwab <schwab@redhat.com>
34641
34642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34643 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34644 [USE_AS_STRNCASECMP_L]: Likewise.
34645 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34646 NO_TLS_DIRECT_SEG_REFS.
34647 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34648 Fix argument offsets for non-PIC.
34649 [USE_AS_STRNCASECMP_L]: Likewise.
34650 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34651 NO_TLS_DIRECT_SEG_REFS.
34652
346532011-11-15 Ulrich Drepper <drepper@gmail.com>
34654
34655 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
34656 O_CLOEXEC.
34657 * locale/loadlocale.c (_nl_load_locale): Likewise.
34658
346592011-11-15 Andreas Schwab <schwab@redhat.com>
34660
34661 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34662 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34663 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34664 (SYSCALL_GETTIME): Set errno on error.
34665
34666 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34667 count references to noai6ai_cached.
34668
346692011-11-15 Ulrich Drepper <drepper@gmail.com>
34670
34671 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34672
34673 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34674 FD_CLOEXEC for /proc/self/maps.
34675
34676 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34677 FD_CLOEXEC for /proc/meminfo.
34678
34679 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34680 gai.conf.
34681
34682 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
34683 FD_CLOEXEC for given file.
34684
34685 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34686
34687 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34688 FD_CLOEXEC for /etc/hosts.
34689 (_gethtent): Likewise.
34690
34691 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34692
34693 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34694 cancellation and set FD_CLOEXEC for /etc/netgroup.
34695
34696 * nss/nss_files/files-key.c (search): Don't allow cancellation when
34697 reading /etc/publickey.
34698
34699 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34700 allow cancellation when reading /etc/group.
34701
34702 * nss/nss_files/files-alias.c (internal_setent): Don't allow
34703 cancellation.
34704 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
34705
34706 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34707 when using data file.
34708
34709 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34710
34711 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34712 (write_nis_obj): Use "c" and "e" in fopen.
34713
34714 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34715
34716 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34717
34718 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34719
34720 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34721
34722 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34723 locale.alias.
34724
34725 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34726
34727 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34728
34729 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34730
34731 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34732 file parsing and set FD_CLOEXEC.
34733
347342011-11-14 Ulrich Drepper <drepper@gmail.com>
34735
34736 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34737
347382011-11-14 Andreas Schwab <schwab@redhat.com>
34739
34740 * malloc/arena.c (arena_get2): Don't call reused_arena when
34741 _int_new_arena failed.
34742
347432011-11-14 Ulrich Drepper <drepper@gmail.com>
34744
34745 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34746 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34747 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34748 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34749 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34750 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34751 to compile strcasecmp and strncasecmp.
34752 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34753 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34754
34755 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34756
347572011-11-13 Ulrich Drepper <drepper@gmail.com>
34758
34759 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34760 locale-defines.sym to gen-as-const-headers.
34761 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34762 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34764 to compile strcasecmp and strncasecmp.
34765 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34766 strcasecmp_l and strncasecmp_l.
34767 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34768 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34769 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34770 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34771 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34772 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34773 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34774 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34775 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34776 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34777 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34778
347792011-11-12 Ulrich Drepper <drepper@gmail.com>
34780
34781 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34782 result of SYSDEP_GETTIME_CPU to retval.
34783 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34784 parameter list to macro. Remove trailing semicolon. Adjust users.
34785
34786 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34787 variable.
34788
34789 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34790 mantissa words.
34791 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34792
34793 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34794 from unused variable.
34795
34796 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34797 DWARF definitions.
34798 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34799 for assembling.
34800
34801 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34802 over namespaces.
34803
34804 * sunrpc/rpc_prot.c (rejected): Fix case value.
34805
34806 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34807 unsigned long long int to avoid warnings in shift.
34808
34809 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34810 of use of trans.
34811 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34812 variable tmp.
34813
34814 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34815 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34816 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34817
34818 * nis/nis_table.c (nis_list): Use variable of correct type for
34819 result of __follow_path call.
34820
348212011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34822
34823 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34824 of math functions ceil, trunc, floor, round, and sqrt, when
34825 avaliable on the platform.
34826 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34827 name clash.
34828 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34829 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34830 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34831
348322011-10-30 Marek Polacek <mpolacek@redhat.com>
34833
34834 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34835 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34836
348372011-11-11 Roland McGrath <roland@hack.frob.com>
34838
34839 * include/unistd.h: Fix __readlink return type.
34840 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34841
348422011-11-11 Ulrich Drepper <drepper@gmail.com>
34843
34844 * stdlib/ucontext.h: Undo last change for makecontext.
34845
348462011-11-11 Andreas Schwab <schwab@redhat.com>
34847
34848 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34849
34850 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34851 * setjmp/setjmp.h: Mark functions as non-leaf.
34852 * setjmp/bits/setjmp2.h: Likewise.
34853 * stdlib/ucontext.h: Likewise.
34854
348552011-11-10 Andreas Schwab <schwab@redhat.com>
34856
34857 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34858 (reused_arena): Don't check arena limit.
34859 (arena_get2): Atomically check arena limit.
34860
348612011-11-08 Ulrich Drepper <drepper@gmail.com>
34862
34863 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34864 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34865
34866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34867 instructions.
34868
348692011-11-07 Andreas Schwab <schwab@redhat.com>
34870
34871 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34872 handler when locking.
34873
34874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34875 Fix size of allocated buffer.
34876
348772011-11-04 Andreas Schwab <schwab@redhat.com>
34878
34879 [BZ #10103]
34880 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34881 declarations for long double functions.
34882 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34883
34884 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34885
348862011-11-03 Andreas Schwab <schwab@redhat.com>
34887
34888 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34889 installed.
34890
34891 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34892 is disabled.
34893
348942011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34895
34896 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34897
348982011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34899
34900 * include/alloca.h (stackinfo_alloca_round): Define.
34901 (extend_alloca): Use it.
34902 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34903 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34904 here.
34905
34906 * scripts/check-local-headers.sh: Ignore libaudit.h.
34907
34908 * nscd/Makefile (extra-objs): Make recursively expanded.
34909
349102011-11-01 Ulrich Drepper <drepper@gmail.com>
34911
34912 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34913 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34914
34915 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34916 * posix/tst-rfc3484-2.c: Likewise.
34917 * posix/tst-rfc3484-3.c: Likewise.
34918
34919 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34920 process_vm_writev.
34921 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34922 process_vm_writev.
34923 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34924 process_vm_writev from libc using GLIBC_2.15 version.
34925
34926 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34927
349282011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34929
34930 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34931 stack usage.
34932
349332011-10-31 Ulrich Drepper <drepper@gmail.com>
34934
34935 [BZ #13367]
34936 * nss/getent.c (initgroups_keys): Show error message in case no group
34937 names are given.
34938
34939 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34940 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34941 __bump_nl_timestamp.
34942 * nscd/connections (nscd_init): When host database is served open
34943 netlink socket and request notification about configuration changes.
34944 (main_loop_poll): Track netlink file descriptor and bump timestamp
34945 in case data becomes available.
34946 (main_loop_epoll): Likewise.
34947 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34948 (database_pers_head): Add extra_data fileds.
34949 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34950 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34951 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34952 Adjust caller.
34953 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34954 in6ai data, call __free_in6ai.
34955 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34956 Add -DHAVE_NETLINK.
34957 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34958 interface information. Reuse previous data if netlink timestamp
34959 is not changed.
34960 (__bump_nl_timestamp): New function.
34961 (__free_in6ai): New function.
34962
349632011-10-30 Ulrich Drepper <drepper@gmail.com>
34964
34965 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34966 close_not_cancel_no_status here.
34967 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34968
349692011-10-29 Ulrich Drepper <drepper@gmail.com>
34970
34971 [BZ #13276]
34972 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34973 return value.
34974
34975 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34976 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34977 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34978
349792011-07-03 Andreas Jaeger <aj@suse.de>
34980
34981 [BZ #10709]
34982 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34983 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34984 * math/libm-test.inc (sin_test): Add test case.
34985
349862011-10-29 Ulrich Drepper <drepper@gmail.com>
34987
34988 [BZ #13337]
34989 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34990 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34991
34992 * elf/chroot_canon.c (chroot_canon): Cleanups.
34993
34994 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34995
34996 [BZ #13335]
34997 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34998 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34999
35000 * string/test-strchr.c: Make usable for strchrnul testing.
35001 * string/test-strchrnul.c: New file.
35002 * string/Makefile (strop-tests): Add strchrnul.
35003
35004 * po/it.po: Update from translation team.
35005 * po/es.po: Likewise.
35006
350072011-10-28 Ulrich Drepper <drepper@gmail.com>
35008
35009 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
35010 the three constants needed as parameters. Drop the others.
35011 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
35012 __m128i_strloadu_tolower.
35013 Create and initialize variable zero and use it in all the places
35014 where _mm_setzero_si128 was used.
35015
35016 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
35017 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
35018 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
35019 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
35020 anymore.
35021 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
35022 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
35023 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
35024 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
35025 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
35026 __mpranred, __mptan.
35027 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
35028 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
35029 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
35030 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
35031 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
35032 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
35033 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
35034 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
35035 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
35036
350372011-10-28 Andreas Schwab <schwab@redhat.com>
35038
35039 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
35040 redefine if SHARED.
35041 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
35042
35043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
35044 wide char related routines to wcsmbs subdir.
35045
350462011-10-27 Andreas Schwab <schwab@redhat.com>
35047
35048 [BZ #13344]
35049 * misc/sys/cdefs.h (__THROWNL): Define.
35050 * posix/unistd.h: Use __THREADNL instead of __THREAD
35051 for memory synchronization functions.
35052
350532011-10-26 Roland McGrath <roland@hack.frob.com>
35054
35055 [BZ #13349]
35056 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
35057 doesn't exist.
35058 * manual/stdio.texi (Obstack Streams): Node removed.
35059
350602011-10-26 Andreas Schwab <schwab@redhat.com>
35061
35062 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
35063 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35064 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35065
35066 * math/math_private.h (math_force_eval): Allow non-addressable
35067 arguments.
35068 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
35069
350702011-10-25 Ulrich Drepper <drepper@gmail.com>
35071
35072 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
35073 file is not needed.
35074
35075 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
35076 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35081 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35082 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
35083 Add AVX variants.
35084 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
35085 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
35086 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
35087 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
35088 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
35089 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
35090 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
35091 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
35092 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
35093 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
35094 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
35095 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
35096 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
35097 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
35098 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
35099 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
35100 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
35101 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
35102 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
35103
35104 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
35105 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
35106
35107 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
35108 place. Use VEX encoding when compiling for AVX.
35109
351102011-10-25 Andreas Schwab <schwab@redhat.com>
35111
35112 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
35113 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35114
35115 * string/test-strchr.c (do_test): Don't generate NUL bytes.
35116
351172011-10-25 Ulrich Drepper <drepper@gmail.com>
35118
35119 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
35120 useless if() expression.
35121 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35122 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35123 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35125 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35126 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35127 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35128 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35129 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35130 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35131 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35132 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35133 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35134 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35135 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35136 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35139 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35140
35141 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
35142
351432011-10-25 Andreas Schwab <schwab@redhat.com>
35144
35145 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
35146 condition.
35147 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35148
351492011-10-25 Ulrich Drepper <drepper@gmail.com>
35150
35151 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
35152 .text section. Avoid duplicate constants.
35153 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35155 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35157 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35159 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35161 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35162 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
35163 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35164 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35165 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35166 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35167 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35168 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35169 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35170 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35171 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35173 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35174 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35175 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35176 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
35177 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
35178 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
35179 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
35180 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
35181 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
35182 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
35183 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
35184 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
35185 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35186 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
35187 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
35188 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
35189 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
35190 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
35191 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
35192 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
35193 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
35194 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
35195 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
35196 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
35197 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
35198
351992011-10-24 Ulrich Drepper <drepper@gmail.com>
35200
35201 * sysdeps/x86_64/dla.h: Move to ...
35202 * sysdeps/x86_64/fpu/dla.h: ...here.
35203 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
35204 situations. Use __builtin_fma only for gcc 4.6 and up.
35205
35206 * config.make.in: Add have-mfma4 entry.
35207 * configure.in: Substitute libc_cv_cc_fma4.
35208 * math/Makefile (dbl-only-routines): Add sincostab.
35209 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
35210 Use __sincostab not sincos.
35211 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
35212 name is a macro.
35213 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35214 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35215 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
35217 using __copysign.
35218 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
35219 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
35220 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
35221 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
35222 and __inv.
35223 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
35224 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
35225 __copysign.
35226 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
35227 define aliases when function name is a macro.
35228 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
35229 sysdeps/ieee754/dbl-64/sincos.tbl.
35230 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
35231 fma4-enabled routines.
35232 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
35233 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
35234 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
35235 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
35236 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
35237 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
35238 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
35239 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
35240 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
35241 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
35242 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
35243 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
35244 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
35245 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
35246 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
35247 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
35248 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
35249 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
35250 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
35251 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
35252 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
35253 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
35254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
35255 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
35256 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
35257 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
35258 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
35259 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
35260 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
35261 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
35262
35263 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
35264 rename.
35265 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35266 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35267 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35268 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35269 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35271 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35272 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35273
352742011-10-24 Andreas Schwab <schwab@redhat.com>
35275
35276 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
35277
352782011-10-23 Ulrich Drepper <drepper@gmail.com>
35279
35280 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
35281
35282 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
35283 prediction.
35284 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
35285
35286 * string/strnlen.c: Don't define STRNLEN, reverse logic.
35287 Remove unused variable magic_bits.
35288 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
35289
35290 * string/strnlen.c: Define and use STRNLEN macro.
35291 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
35292 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
35293 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
35294 * wcsmbs/wcslen.c: Define and use WCSLEN.
35295 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
35296 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
35297 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
35298 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
35299 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
35300 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
35301 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35302
353032011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35304
35305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35306 strnlen-sse2-no-bsf.
35307 Rename strlen-no-bsf to strlen-sse2-no-bsf.
35308 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
35309 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
35310 Add strnlen support.
35311 (USE_AS_STRNLEN): New macro.
35312 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
35313 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
35314 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
35315 * sysdeps/x86_64/wcslen.S: New file.
35316
353172011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
35318
35319 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35320 XMM-moves are used for copying on small sizes.
35321
353222011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35323
35324 * wcsmbs/Makefile (strop-tests): Add wcschr.
35325 * wcsmbs/test-wcschr.c: New file.
35326 * string/test-strchr.c: Update.
35327 Add wcschr support.
35328 (WIDE): New macro.
35329
353302011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35331
35332 * wcsmbs/Makefile (strop-tests): Add wcslen.
35333 * wcsmbs/test-wcslen.c: New file.
35334 * string/test-strlen.c: Update.
35335 Add wcslen support.
35336 (WIDE): New macro.
35337
353382011-10-23 Ulrich Drepper <drepper@gmail.com>
35339
35340 * po/it.po: Update from translation team.
35341
353422011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35343
35344 * sysdeps/x86_64/wcscmp.S: Update.
35345 Fix wrong comparison semantics.
35346 wcscmp shall use signed comparison not unsigned.
35347 Don't use substraction to avoid overflow bug.
35348 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35349 * wcsmbc/wcscmp.c: Likewise.
35350 * string/test-strcmp.c: Likewise.
35351 Add new tests to check cases with negative values.
35352
353532011-10-23 Ulrich Drepper <drepper@gmail.com>
35354
35355 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
35356 * sysdeps/x86_64/dla.h: ...here. New file.
35357 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
35358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35362 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35366
353672011-10-23 Andreas Schwab <schwab@linux-m68k.org>
35368
35369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
35370 __ynl_finite aliases.
35371
353722011-10-22 Ulrich Drepper <drepper@gmail.com>
35373
35374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35375
35376 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
35377 define DLA_FMA.
35378 [DLA_FMA] (EMULV): Use DLA_FMA.
35379 [DLA_FMA] (MUL12): Use EMULV.
35380 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
35381 that are not needed.
35382 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35384 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35388 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35389
353902011-10-22 Andreas Schwab <schwab@linux-m68k.org>
35391
35392 * math/s_nan.c: Undef __nan.
35393 * math/s_nanf.c: Undef __nanf.
35394 * math/s_nanl.c: Undef __nanl.
35395 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
35396 "math_private.h".
35397
353982011-10-22 Ulrich Drepper <drepper@gmail.com>
35399
35400 * math/s_catan.c: Add branch predictions.
35401 * math/s_catanf.c: Likewise.
35402 * math/s_catanh.c: Likewise.
35403 * math/s_catanhf.c: Likewise.
35404 * math/s_catanhl.c: Likewise.
35405 * math/s_catanl.c: Likewise.
35406 * math/s_cexp.c: Likewise.
35407 * math/s_cexpf.c: Likewise.
35408 * math/s_cexpl.c: Likewise.
35409 * math/s_clog.c: Likewise.
35410 * math/s_clog10.c: Likewise.
35411 * math/s_clog10f.c: Likewise.
35412 * math/s_clog10l.c: Likewise.
35413 * math/s_clogf.c: Likewise.
35414 * math/s_clogl.c: Likewise.
35415 * math/s_csqrt.c: Likewise.
35416 * math/s_csqrtf.c: Likewise.
35417 * math/s_csqrtl.c: Likewise.
35418 * math/s_ctanf.c: Likewise.
35419 * math/s_ctanh.c: Likewise.
35420 * math/s_ctanhf.c: Likewise.
35421 * math/s_ctanhl.c: Likewise.
35422 * math/s_ctanl.c: Likewise.
35423
35424 * math/math_private.h: Define __nan, __nanf, __nanl.
35425 * math/s_cacosh.c: Include <math_private.h>.
35426 * math/s_cacoshl.c: Likewise.
35427 * math/s_casinh.c: Likewise.
35428 * math/s_casinhf.c: Likewise.
35429 * math/s_casinhl.c: Likewise.
35430 * math/s_ccos.c: Rely entire on ccosh.
35431 * math/s_ccosf.c: Rely entire on ccoshf.
35432 * math/s_ccosl.c: Rely entirely on ccoshl.
35433 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
35434 Remove tests for FE_INVALID.
35435 * math/s_ccoshf.c: Likewise.
35436 * math/s_ccoshl.c: Likewise.
35437 * math/s_csin.c: Likewise.
35438 * math/s_csinf.c: Likewise.
35439 * math/s_csinh.c Likewise.
35440 * math/s_csinhf.c: Likewise.
35441 * math/s_csinhl.c: Likewise.
35442 * math/s_csinl.c: Likewise.
35443 * math/s_ctan.c: Likewise.
35444 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
35445 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
35446 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
35447
354482011-10-21 Ulrich Drepper <drepper@gmail.com>
35449
35450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
35451 compilation problems.
35452
35453 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
35454 __builtin_expect.
35455
354562011-10-20 Ulrich Drepper <drepper@gmail.com>
35457
35458 * sysdeps/i386/configure.in: Test for -mfma4 option.
35459 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
35460 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
35461 COMMON_CPUID_INDEX_80000001.
35462 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
35463 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
35464 use it if FMA3 is not supported.
35465 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
35466
35467 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
35468 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35469
354702011-10-20 Andreas Schwab <schwab@redhat.com>
35471
35472 [BZ #12892]
35473 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
35474 it would create a cycle with a link time dependency.
35475
354762011-10-19 Ulrich Drepper <drepper@gmail.com>
35477
35478 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
35479 instruction.
35480 * string/Makefile (strop-tests): Add rawmemchr.
35481 * string/test-rawmemchr.c: New file.
35482
35483 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
35484 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
35485 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
35486 when compiling str{,n}casecmp and when AVX is available. Hook up
35487 new optimized code in initializers.
35488
354892011-10-19 Andreas Schwab <schwab@redhat.com>
35490
35491 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
35492 __feraiseexcept instead of feraiseexcept.
35493
354942011-10-18 Ulrich Drepper <drepper@gmail.com>
35495
35496 * math/math_private.h: Define defaults for libc_fetestexcept and
35497 libc_feupdateenv.
35498 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
35499 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
35500 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35501 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35502 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35503 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35504 libc_fetestexcept and libc_feupdateenv.
35505
35506 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
35507 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
35508 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
35509 * sysdeps/x86_64/fpu/math_private.h: Define special version of
35510 libc_feholdexcept_setround.
35511
35512 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
35513 Add s_nearbyint-c and s_nearbyintf-c.
35514 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
35515 nearbyintf inlines.
35516 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
35517 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35518 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35519 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35520
35521 * math/math_private.h: Define defaults for libc_fegetround,
35522 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35523 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35524 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35525 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35526 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35527 standard functions.
35528 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35529 Remove comments and hacks for old compiler versions.
35530 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35531 libc_fegetround, libc_fesetround, libc_feholdexcept, and
35532 libc_feholdexceptl.
35533
355342011-10-18 Andreas Schwab <schwab@redhat.com>
35535
35536 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
35537 (__feraiseexcept_renamed): Add __NTH.
35538 (feraiseexcept): Add __NTH. Rename local variables to fix
35539 namespace violations.
35540
355412011-10-17 Ulrich Drepper <drepper@gmail.com>
35542
35543 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35544
35545 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35546
35547 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35548 recently added interfaces.
35549 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35550
35551 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35552 about macro parameter expansion.
35553
35554 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35555 __NO_MATH_INLINES is defined. Cleanups.
35556
35557 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35558 and __floorf is target has SSE4.1.
35559 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35560 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35561 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35562 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35563
35564 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35565 name.
35566 (floorf): Likewise.
35567
35568 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35569
355702011-10-17 Andreas Schwab <schwab@redhat.com>
35571
35572 * misc/sys/cdefs.h: Fix last change.
35573
35574 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35575 database lookup.
35576
355772011-10-16 Ulrich Drepper <drepper@gmail.com>
35578
35579 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35580
35581 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35582 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35583 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35584 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35586 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35587 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35588 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35589 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35590 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35591 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35592 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35593 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35594 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35595 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35596 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35597 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35598 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35599 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35600 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35601 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35602 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35603
35604 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35605 ceil, ceilf, floor, floorf.
35606
35607 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35608 Perform IRELATIVE relocations last.
35609
35610 * elf/do-rel.h: Add another parameter nrelative, replacing the
35611 local variable with the same name. Change name of the function
35612 to end in Rel or Rela (uppercase).
35613 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35614 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
35615 elf_dynamic_do_##reloc function.
35616
356172011-10-15 Ulrich Drepper <drepper@gmail.com>
35618
35619 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35620 is sufficient, at least on modern CPUs.
35621
35622 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35623
35624 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35625 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35626
35627 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35628 __expl_finite.
35629 * math/bits/math-finite.h: Add entries for exp.
35630 * math/e_expl.c: Add __*_finite alias.
35631 * sysdeps/i386/fpu/e_exp.S: Likewise.
35632 * sysdeps/i386/fpu/e_expf.S: Likewise.
35633 * sysdeps/i386/fpu/e_expl.c: Likewise.
35634 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35635 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35636 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35637 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35638 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35639 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35640 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35641
35642 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35643 is sufficient, at least on modern CPUs.
35644
35645 * ctype/ctype-info.c (__ctype_init): Define.
35646 * include/ctype.h (__ctype_init): Declare.
35647 (__ctype_b_loc): The variable is always initialized.
35648 (__ctype_toupper_loc): Likewise.
35649 (__ctype_tolower_loc): Likewise.
35650 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35651 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35652
356532011-10-15 Andreas Schwab <schwab@linux-m68k.org>
35654
35655 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35656
35657 * configure.in: Also look in $cxxmachine/include for C++ system
35658 headers.
35659
356602011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35661
35662 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35663 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35664 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35665 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
35666 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35667 (USE_AS_WMEMCMP): New macro.
35668 Fixing indents.
35669 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35670 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35671 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35672 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35674 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35675 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35676 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35677 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35678 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35679 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35680 (USE_AS_WMEMCMP): New macro.
35681 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35682 * sysdeps/string/test-memcmp.c: Update.
35683 Fix simple_wmemcmp.
35684 Add new tests.
35685 * wcsmbs/wmemcmp.c: Update.
35686 (WMEMCMP): New macro.
35687 Fix overflow bug.
35688
356892011-10-12 Andreas Jaeger <aj@suse.de>
35690
35691 [BZ #13268]
35692 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35693
356942011-10-15 Ulrich Drepper <drepper@gmail.com>
35695
35696 * libio/iofwide.c (do_length): Avoid warning.
35697
35698 * ctype/ctype.h (__isctype_f): Add missing __THROW.
35699
357002011-10-14 Ulrich Drepper <drepper@gmail.com>
35701
35702 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35703
35704 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35705 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35706 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35707 * sysdeps/i386/i686/fpu/e_log.S: New file.
35708 * sysdeps/i386/i686/fpu/e_logf.S: New file.
35709 * sysdeps/i386/i686/fpu/e_logl.S: New file.
35710
35711 * ctype/ctype.h: Add support for inlined isXXX functions when
35712 compiling C++ code.
35713
357142011-10-14 Andreas Schwab <schwab@redhat.com>
35715
35716 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35717
35718 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35719
357202011-10-13 Roland McGrath <roland@hack.frob.com>
35721
35722 [BZ #13291]
35723 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35724
357252011-10-13 Andreas Schwab <schwab@redhat.com>
35726
35727 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35728 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35729 feraiseexcept.
35730
35731 * sysdeps/x86_64/memrchr.S: Check for zero size.
35732
35733 * string/stratcliff.c: Add memrchr tests.
35734
357352011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35736
35737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35738 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35739 rawmemchr-sse2 rawmemchr-sse2-bsf.
35740 * sysdeps/i386/i686/multiarch/memchr.S: New file.
35741 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35742 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35743 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35744 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35745 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35746 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35747 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35748 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35749 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35750 * string/memrchr.c (MEMRCHR): New macro.
35751
357522011-10-12 Ulrich Drepper <drepper@gmail.com>
35753
35754 Add integration with gcc's -ffinite-math-only and optimize wrapper
35755 functions in libm.
35756 * Versions.def: Define GLIBC_2.15 version for libm.
35757 * math/Makefile (headers): Add bits/math-finite.h.
35758 * math/bits/math-finite.h: New file.
35759 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35760 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35761 * math/e_acoshl.c: Add __*_finite alias.
35762 * math/e_acosl.c: Likewise.
35763 * math/e_asinl.c: Likewise.
35764 * math/e_atan2l.c: Likewise.
35765 * math/e_atanhl.c: Likewise.
35766 * math/e_coshl.c: Likewise.
35767 * math/e_exp10.c: Likewise.
35768 * math/e_exp10f.c: Likewise.
35769 * math/e_exp10l.c: Likewise.
35770 * math/e_exp2l.c: Likewise.
35771 * math/e_fmodl.c: Likewise.
35772 * math/e_gammal_r.c: Likewise.
35773 * math/e_hypotl.c: Likewise.
35774 * math/e_j0l.c: Likewise.
35775 * math/e_j1l.c: Likewise.
35776 * math/e_jnl.c: Likewise.
35777 * math/e_lgammal_r.c: Likewise.
35778 * math/e_log10l.c: Likewise.
35779 * math/e_log2l.c: Likewise.
35780 * math/e_logl.c: Likewise.
35781 * math/e_powl.c: Likewise.
35782 * math/e_sinhl.c: Likewise.
35783 * math/e_sqrtl.c: Likewise.
35784 * math/e_scalb.c: Completely rewritten and optimized.
35785 * math/e_scalbf.c: Likewise.
35786 * math/e_scalbl.c: Likewise.
35787 * math/w_acos.c: Likewise.
35788 * math/w_acosf.c: Likewise.
35789 * math/w_acosl.c: Likewise.
35790 * math/w_acosh.c: Likewise.
35791 * math/w_acoshf.c: Likewise.
35792 * math/w_acoshl.c: Likewise.
35793 * math/w_asin.c: Likewise.
35794 * math/w_asinf.c: Likewise.
35795 * math/w_asinl.c: Likewise.
35796 * math/w_atan2.c: Likewise.
35797 * math/w_atan2f.c: Likewise.
35798 * math/w_atan2l.c: Likewise.
35799 * math/w_atanh.c: Likewise.
35800 * math/w_atanhf.c: Likewise.
35801 * math/w_atanhl.c: Likewise.
35802 * math/w_exp10.c: Likewise.
35803 * math/w_exp10f.c: Likewise.
35804 * math/w_exp10l.c: Likewise.
35805 * math/w_fmod.c: Likewise.
35806 * math/w_fmodf.c: Likewise.
35807 * math/w_fmodl.c: Likewise.
35808 * math/w_j0.c: Likewise.
35809 * math/w_j0f.c: Likewise.
35810 * math/w_j0l.c: Likewise.
35811 * math/w_j1.c: Likewise.
35812 * math/w_j1f.c: Likewise.
35813 * math/w_j1l.c: Likewise.
35814 * math/w_jn.c: Likewise.
35815 * math/w_jnf.c: Likewise.
35816 * math/w_log.c: Likewise.
35817 * math/w_logf.c: Likewise.
35818 * math/w_logl.c: Likewise.
35819 * math/w_log10.c: Likewise.
35820 * math/w_log10f.c: Likewise.
35821 * math/w_log10l.c: Likewise.
35822 * math/w_log2.c: Likewise.
35823 * math/w_log2f.c: Likewise.
35824 * math/w_log2l.c: Likewise.
35825 * math/w_pow.c: Likewise.
35826 * math/w_powf.c: Likewise.
35827 * math/w_powl.c: Likewise.
35828 * math/w_remainder.c: Likewise.
35829 * math/w_remainderf.c: Likewise.
35830 * math/w_remainderl.c: Likewise.
35831 * math/w_scalb.c: Likewise.
35832 * math/w_scalbf.c: Likewise.
35833 * math/w_scalbl.c: Likewise.
35834 * math/w_sqrt.c: Likewise.
35835 * math/w_sqrtf.c: Likewise.
35836 * math/w_sqrtl.c: Likewise.
35837 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35838 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35839 used.
35840 * math/math_private.h: Declare __kernel_standard_f.
35841 * math/w_cosh.c: Remove cruft and optimize a bit.
35842 * math/w_coshf.c: Likewise.
35843 * math/w_coshl.c: Likewise.
35844 * math/w_exp2.c: Likewise.
35845 * math/w_exp2f.c: Likewise.
35846 * math/w_exp2l.c: Likewise.
35847 * math/w_hypot.c: Likewise.
35848 * math/w_hypotf.c: Likewise.
35849 * math/w_hypotl.c: Likewise.
35850 * math/w_lgamma.c: Likewise.
35851 * math/w_lgamma_r.c: Likewise.
35852 * math/w_lgammaf.c: Likewise.
35853 * math/w_lgammaf_r.c: Likewise.
35854 * math/w_lgammal.c: Likewise.
35855 * math/w_lgammal_r.c: Likewise.
35856 * math/w_sinh.c: Likewise.
35857 * math/w_sinhf.c: Likewise.
35858 * math/w_sinhl.c: Likewise.
35859 * math/w_tgamma.c: Likewise.
35860 * math/w_tgammaf.c: Likewise.
35861 * math/w_tgammal.c: Likewise.
35862 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35863 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35864 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35865 Minor optimizations. Pretty printing. Remove cruft.
35866 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35867 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35868 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35869 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35870 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35871 * sysdeps/i386/fpu/e_asin.S: Likewise.
35872 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35873 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35874 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35875 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35876 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35877 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35878 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35879 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35880 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35881 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35882 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35883 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35884 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35885 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35886 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35887 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35888 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35889 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35890 * sysdeps/i386/fpu/e_log.S: Likewise.
35891 * sysdeps/i386/fpu/e_log10.S: Likewise.
35892 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35893 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35894 * sysdeps/i386/fpu/e_log2.S: Likewise.
35895 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35896 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35897 * sysdeps/i386/fpu/e_logf.S: Likewise.
35898 * sysdeps/i386/fpu/e_logl.S: Likewise.
35899 * sysdeps/i386/fpu/e_pow.S: Likewise.
35900 * sysdeps/i386/fpu/e_powf.S: Likewise.
35901 * sysdeps/i386/fpu/e_powl.S: Likewise.
35902 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35903 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35904 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35905 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35906 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35907 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35908 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35909 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35910 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35911 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35912 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35914 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35915 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35916 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35917 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35918 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35919 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35920 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35921 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35922 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35924 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35925 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35927 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35928 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35929 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35930 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35931 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35932 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35933 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35934 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35935 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35936 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35937 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35938 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35939 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35940 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35941 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35942 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35943 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35944 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35945 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35946 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35947 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35948 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35949 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35950 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35951 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35952 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35953 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35954 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35955 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35956 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35957 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35958 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35959 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35960 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35961 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35962 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35963 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35964 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35965 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35966 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35967 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35968 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35969 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35970 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35971 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35972 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35973 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35974 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35975 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35976 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35977 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35978 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35979 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35980 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35981 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35982 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35983 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35984 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35985 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35986 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35987 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35988 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35989 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35990 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35991 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35992 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35993 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35994 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35995 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35996 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35997 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35998 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35999 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36000 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36001 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36002 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36003 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36004 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36005 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36006 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36007 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36008 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
36009 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
36010 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
36011 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
36012 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
36013 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
36014 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
36015 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36016 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36017 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36018 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36019 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
36020 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36021 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
36022 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
36023 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
36024 (__isnanf): Likewise.
36025 (__isinf_ns): Likewise.
36026 (__isinf_nsf): Likewise.
36027 (__finite): Likewise.
36028 (__finitef): Likewise.
36029 (__ieee754_sqrt): Define as macro.
36030 (__ieee754_sqrtf): Define as macro.
36031 (__ieee754_sqrtl): Define as macro.
36032 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
36033 inlined copy.
36034 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
36035 __FINITE_MATH_ONLY__ consistent.
36036 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
36037
360382011-10-10 Andreas Schwab <schwab@linux-m68k.org>
36039
36040 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
36041 of rawmemchr.
36042
36043 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
36044
360452011-10-09 Ulrich Drepper <drepper@gmail.com>
36046
36047 * po/ja.po: Update from translation team.
36048
360492011-10-08 Roland McGrath <roland@hack.frob.com>
36050
36051 * locale/programs/locarchive.c (prepare_address_space): New function.
36052 (create_archive, enlarge_archive, open_archive): Use it.
36053
36054 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
36055 inside [SHARED], where it is used.
36056
36057 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
36058
36059 * nss/getent.c (netgroup_keys): Remove unused variable.
36060 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36061
360622011-10-08 Ulrich Drepper <drepper@gmail.com>
36063
36064 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
36065 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
36066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
36067 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
36068 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
36069 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
36070 * math/Makefile (libm-calls): Add s_isinf_ns.
36071 * math/divtc3.c: Use __isinf_nsl instead of isinf.
36072 * math/multc3.c: Likewise.
36073 * math/s_casin.c: Likewise.
36074 * math/s_casinf.c: Likewise.
36075 * math/s_casinl.c: Likewise.
36076 * math/s_ccos.c: Likewise.
36077 * math/s_ccosf.c: Likewise.
36078 * math/s_ccosl.c: Likewise.
36079 * math/s_ctan.c: Likewise.
36080 * math/s_ctanf.c: Likewise.
36081 * math/s_ctanh.c: Likewise.
36082 * math/s_ctanhf.c: Likewise.
36083 * math/s_ctanhl.c: Likewise.
36084 * math/s_ctanl.c: Likewise.
36085 * math/w_fmod.c: Likewise.
36086 * math/w_fmodf.c: Likewise.
36087 * math/w_fmodl.c: Likewise.
36088 * math/w_remainder.c: Likewise.
36089 * math/w_remainderf.c: Likewise.
36090 * math/w_remainderl.c: Likewise.
36091 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
36092 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
36093 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
36094 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
36095 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
36096 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
36097 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
36098 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
36099
36100 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
36101 of the number.
36102 * stdio-common/printf_fphex.c: Likewise.
36103 * stdio-common/printf_size.c: Likewise.
36104
36105 * math/e_exp10.c: Include math_private.h using <...> not "...".
36106 * math/e_exp10f.c: Likewise.
36107 * math/e_exp10l.c: Likewise.
36108 * math/e_exp2l.c: Likewise.
36109 * math/e_j0l.c: Likewise.
36110 * math/e_j1l.c: Likewise.
36111 * math/e_jnl.c: Likewise.
36112 * math/e_lgammal_r.c: Likewise.
36113 * math/e_rem_pio2l.c: Likewise.
36114 * math/e_scalb.c: Likewise.
36115 * math/e_scalbf.c: Likewise.
36116 * math/e_scalbl.c: Likewise.
36117 * math/k_cosl.c: Likewise.
36118 * math/k_sinl.c: Likewise.
36119 * math/k_tanl.c: Likewise.
36120 * math/s_cacoshf.c: Likewise.
36121 * math/s_catan.c: Likewise.
36122 * math/s_catanf.c: Likewise.
36123 * math/s_catanh.c: Likewise.
36124 * math/s_catanhf.c: Likewise.
36125 * math/s_catanhl.c: Likewise.
36126 * math/s_catanl.c: Likewise.
36127 * math/s_ccosh.c: Likewise.
36128 * math/s_ccoshf.c: Likewise.
36129 * math/s_ccoshl.c: Likewise.
36130 * math/s_cexp.c: Likewise.
36131 * math/s_cexpf.c: Likewise.
36132 * math/s_cexpl.c: Likewise.
36133 * math/s_clog.c: Likewise.
36134 * math/s_clog10.c: Likewise.
36135 * math/s_clog10f.c: Likewise.
36136 * math/s_clog10l.c: Likewise.
36137 * math/s_clogf.c: Likewise.
36138 * math/s_clogl.c: Likewise.
36139 * math/s_csin.c: Likewise.
36140 * math/s_csinf.c: Likewise.
36141 * math/s_csinh.c: Likewise.
36142 * math/s_csinhf.c: Likewise.
36143 * math/s_csinhl.c: Likewise.
36144 * math/s_csinl.c: Likewise.
36145 * math/s_csqrt.c: Likewise.
36146 * math/s_csqrtf.c: Likewise.
36147 * math/s_csqrtl.c: Likewise.
36148 * math/s_ctan.c: Likewise.
36149 * math/s_ctanf.c: Likewise.
36150 * math/s_ctanh.c: Likewise.
36151 * math/s_ctanhf.c: Likewise.
36152 * math/s_ctanhl.c: Likewise.
36153 * math/s_ctanl.c: Likewise.
36154 * math/s_ldexp.c: Likewise.
36155 * math/s_ldexpf.c: Likewise.
36156 * math/s_ldexpl.c: Likewise.
36157 * math/s_significand.c: Likewise.
36158 * math/s_significandf.c: Likewise.
36159 * math/s_significandl.c: Likewise.
36160 * math/w_acos.c: Likewise.
36161 * math/w_acosf.c: Likewise.
36162 * math/w_acosh.c: Likewise.
36163 * math/w_acoshf.c: Likewise.
36164 * math/w_acoshl.c: Likewise.
36165 * math/w_acosl.c: Likewise.
36166 * math/w_asin.c: Likewise.
36167 * math/w_asinf.c: Likewise.
36168 * math/w_asinl.c: Likewise.
36169 * math/w_atan2.c: Likewise.
36170 * math/w_atan2f.c: Likewise.
36171 * math/w_atan2l.c: Likewise.
36172 * math/w_atanh.c: Likewise.
36173 * math/w_atanhf.c: Likewise.
36174 * math/w_atanhl.c: Likewise.
36175 * math/w_cosh.c: Likewise.
36176 * math/w_coshf.c: Likewise.
36177 * math/w_coshl.c: Likewise.
36178 * math/w_dremf.c: Likewise.
36179 * math/w_exp10.c: Likewise.
36180 * math/w_exp10f.c: Likewise.
36181 * math/w_exp10l.c: Likewise.
36182 * math/w_exp2.c: Likewise.
36183 * math/w_exp2f.c: Likewise.
36184 * math/w_fmod.c: Likewise.
36185 * math/w_fmodf.c: Likewise.
36186 * math/w_fmodl.c: Likewise.
36187 * math/w_hypot.c: Likewise.
36188 * math/w_hypotf.c: Likewise.
36189 * math/w_hypotl.c: Likewise.
36190 * math/w_j0.c: Likewise.
36191 * math/w_j0f.c: Likewise.
36192 * math/w_j0l.c: Likewise.
36193 * math/w_j1.c: Likewise.
36194 * math/w_j1f.c: Likewise.
36195 * math/w_j1l.c: Likewise.
36196 * math/w_jn.c: Likewise.
36197 * math/w_jnf.c: Likewise.
36198 * math/w_jnl.c: Likewise.
36199 * math/w_lgamma.c: Likewise.
36200 * math/w_lgamma_r.c: Likewise.
36201 * math/w_lgammaf.c: Likewise.
36202 * math/w_lgammaf_r.c: Likewise.
36203 * math/w_lgammal.c: Likewise.
36204 * math/w_lgammal_r.c: Likewise.
36205 * math/w_log.c: Likewise.
36206 * math/w_log10.c: Likewise.
36207 * math/w_log10f.c: Likewise.
36208 * math/w_log10l.c: Likewise.
36209 * math/w_log2.c: Likewise.
36210 * math/w_log2f.c: Likewise.
36211 * math/w_log2l.c: Likewise.
36212 * math/w_logf.c: Likewise.
36213 * math/w_logl.c: Likewise.
36214 * math/w_pow.c: Likewise.
36215 * math/w_powf.c: Likewise.
36216 * math/w_powl.c: Likewise.
36217 * math/w_remainder.c: Likewise.
36218 * math/w_remainderf.c: Likewise.
36219 * math/w_remainderl.c: Likewise.
36220 * math/w_scalb.c: Likewise.
36221 * math/w_scalbf.c: Likewise.
36222 * math/w_scalbl.c: Likewise.
36223 * math/w_sinh.c: Likewise.
36224 * math/w_sinhf.c: Likewise.
36225 * math/w_sinhl.c: Likewise.
36226 * math/w_sqrt.c: Likewise.
36227 * math/w_sqrtf.c: Likewise.
36228 * math/w_sqrtl.c: Likewise.
36229 * math/w_tgamma.c: Likewise.
36230 * math/w_tgammaf.c: Likewise.
36231 * math/w_tgammal.c: Likewise.
36232
36233 * po/ja.po: Update from translation team.
36234
362352011-09-29 Andreas Jaeger <aj@suse.de>
36236
36237 [BZ #13179]
36238 * sunrpc/netname.c (netname2host): Fix logic.
36239
36240 [BZ #6779]
36241 [BZ #6783]
36242 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
36243 correctly.
36244 * math/w_remainder.c (__remainder): Likewise.
36245 * math/w_remainderf.c (__remainderf): Likewise.
36246 * math/libm-test.inc (remainder_test): Add test cases.
36247
362482011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36249
36250 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
36251 sdiv_qrnnd.
36252
362532011-10-07 Ulrich Drepper <drepper@gmail.com>
36254
36255 * string/test-memcmp.c: Avoid unncessary #defines.
36256 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36257
362582011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36259
36260 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
36261 Use new sse2 version for core i3 - i7 as it's faster
36262 than sse42 version.
36263 (bit_Prefer_PMINUB_for_stringop): New.
36264 * sysdeps/x86_64/rawmemchr.S: Update.
36265 Replace with faster SSE2 version.
36266 * sysdeps/x86_64/memrchr.S: New file.
36267 * sysdeps/x86_64/memchr.S: Update.
36268 Replace with faster SSE2 version.
36269
362702011-09-12 Marek Polacek <mpolacek@redhat.com>
36271
36272 * elf/dl-load.c (lose): Add cast to avoid warning.
36273
362742011-10-07 Ulrich Drepper <drepper@gmail.com>
36275
36276 * po/ca.po: Update from translation team.
36277
36278 * inet/getnetgrent_r.c: Hook up nscd.
36279 * nscd/Makefile (routines): Add nscd_netgroup.
36280 (nscd-modules): Add netgroupcache.
36281 (CFLAGS-netgroupcache.c): Define.
36282 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
36283 (cache_search): Add const to second parameter.
36284 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
36285 INNETGR.
36286 (dbs): Add netgrdb entry.
36287 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
36288 (verify_persistent_db): Handle netgrdb.
36289 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
36290 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
36291 GETFDNETGR.
36292 (netgroup_response_header): Define.
36293 (innetgroup_response_header): Define.
36294 (datahead): Add netgroup_response_header and innetgroup_response_header
36295 elements.
36296 * nscd/nscd.conf: Add entries for netgroup cache.
36297 * nscd/nscd.h (dbtype): Add netgrdb.
36298 (_PATH_NSCD_NETGROUP_DB): Define.
36299 (netgroup_iov_disabled): Declare.
36300 (xmalloc, xcalloc, xrealloc): Move declarations here.
36301 (cache_search): Adjust prototype.
36302 Add netgroup-related prototypes.
36303 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
36304 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
36305 (__nscd_innetgr): Declare.
36306 * nscd/selinux.c (perms): Use access_vector_t as element type and
36307 add netgroup-related initializers.
36308 * nscd/netgroupcache.c: New file.
36309 * nscd/nscd_netgroup.c: New file.
36310 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
36311 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
36312 For four parameters use innetgr.
36313 * nss/nss_files/files-init.c: Add definition and callback for netgr.
36314 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
36315 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
36316 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
36317
36318 * nscd/connections.c (register_traced_file): Don't register file
36319 for disabled databases.
36320
363212011-10-06 Ulrich Drepper <drepper@gmail.com>
36322
36323 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
36324
36325 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
36326 from tree and freeing node.
36327
363282011-09-25 Jiri Olsa <jolsa@redhat.com>
36329
36330 * nss/nsswitch.c (__nss_database_lookup): Handle
36331 nss_parse_service_list out of memory case.
36332
363332011-09-15 Jiri Olsa <jolsa@redhat.com>
36334
36335 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
36336 out of memory case.
36337
363382011-10-04 Andreas Schwab <schwab@redhat.com>
36339
36340 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
36341 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
36342 pass it down.
36343 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
36344 elf_machine_rela, elf_machine_lazy_rel.
36345 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
36346 (ELF_DYNAMIC_DO_REL): Likewise.
36347 (ELF_DYNAMIC_DO_RELA): Likewise.
36348 (ELF_DYNAMIC_RELOCATE): Likewise.
36349 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
36350 to ELF_DYNAMIC_DO_REL.
36351 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
36352 (dl_main): In trace mode always set __RTLD_NOIFUNC.
36353 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
36354 elf_machine_rela.
36355 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
36356 skip_ifunc, don't call ifunc function if non-zero.
36357 (elf_machine_rela): Likewise.
36358 (elf_machine_lazy_rel): Likewise.
36359 (elf_machine_lazy_rela): Likewise.
36360 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
36361 (elf_machine_lazy_rel): Likewise.
36362 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
36363 Likewise.
36364 (elf_machine_lazy_rel): Likewise.
36365 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36366 Likewise.
36367 (elf_machine_lazy_rel): Likewise.
36368 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
36369 (elf_machine_lazy_rel): Likewise.
36370 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
36371 (elf_machine_lazy_rel): Likewise.
36372 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36373 (elf_machine_lazy_rel): Likewise.
36374 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
36375 (elf_machine_lazy_rel): Likewise.
36376 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
36377 (elf_machine_lazy_rel): Likewise.
36378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36379 (elf_machine_lazy_rel): Likewise.
36380
363812011-09-28 Ulrich Drepper <drepper@gmail.com>
36382
36383 * nss/nss_files/files-init.c (_nss_files_init): Use static
36384 initialization for all the *_traced_file variables.
36385
363862011-09-28 Andreas Schwab <schwab@redhat.com>
36387
36388 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36389
363902011-09-27 Roland McGrath <roland@hack.frob.com>
36391
36392 [BZ #13226]
36393 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
36394
363952011-09-27 Andreas Schwab <schwab@redhat.com>
36396
36397 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36398 Reread the line before reparsing it.
36399
364002011-09-26 Andreas Schwab <schwab@redhat.com>
36401
36402 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
36403
364042011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
36405 Maxim Kuvyrkov <maxim@codesourcery.com>
36406 Joseph Myers <joseph@codesourcery.com>
36407
36408 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
36409 if needed for __stack_chk_guard.
36410
364112011-09-19 Roland McGrath <roland@hack.frob.com>
36412
36413 * sysdeps/posix/spawni.c (script_execute): Always define it.
36414 It will be optimized away if unused.
36415 (maybe_script_execute): New function.
36416 (__spawni): Call it.
36417
36418 * Makerules: Don't include tls.make.
36419 (config-tls): Always set to thread.
36420 * tls.make.c: File removed.
36421
364222011-09-19 Mike Frysinger <vapier@gentoo.org>
36423
36424 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
36425 * config.make.in (CPPFLAGS-config): New substituted variable.
36426
364272011-09-15 Ulrich Drepper <drepper@gmail.com>
36428
36429 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
36430
36431 [BZ #13192]
36432 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
36433 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
36434
364352011-09-15 Roland McGrath <roland@hack.frob.com>
36436
36437 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
36438 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
36439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36440 (CALL_FAIL): Likewise.
36441 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
36442 (CALL_FAIL): Macro removed.
36443 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
36444
364452011-09-15 Ulrich Drepper <drepper@gmail.com>
36446
36447 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
36448 for __FINITE_MATH_ONLY__ == 1.
36449
364502011-09-15 Andreas Schwab <schwab@redhat.com>
36451
36452 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
36453 __ieee754_sqrt instead of sqrt.
36454 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
36455 __ieee754_sqrtf instead of sqrtf.
36456 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
36457 __floorf instead of floorf.
36458 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
36459 __floorf, __truncf instead of floorf, truncf.
36460
364612011-09-14 Ulrich Drepper <drepper@gmail.com>
36462
36463 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
36464
36465 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
36466 __extern_always_inline.
36467 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
36468 32-bit.
36469
364702011-09-14 Andreas Schwab <schwab@redhat.com>
36471
36472 * elf/rtld.c (dl_main): Also relocate in dependency order when
36473 doing symbol dependency testing.
36474
364752011-09-13 Andreas Schwab <schwab@linux-m68k.org>
36476
36477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36478 Always define `refsym'.
36479
364802011-09-13 Andreas Schwab <schwab@redhat.com>
36481
36482 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
36483 (__FD_ELT): Renamed from __FDELT.
36484 * misc/bits/select2.h (__FD_ELT): Likewise.
36485 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
36486 __FD_MASK instead of __FDELT, __FDMASK.
36487 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36488 Likewise.
36489 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36490 Likewise.
36491
36492 * elf/Makefile (gen-ldd): Fix pattern.
36493
36494 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
36495 (init_tls): Likewise.
36496
364972011-09-12 Ulrich Drepper <drepper@gmail.com>
36498
36499 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
36500
365012011-09-12 Andreas Schwab <schwab@redhat.com>
36502
36503 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
36504 `struct cmsghdr *' instead of `void *'.
36505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
36506 Likewise.
36507
365082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
36509
36510 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
36511 if non-absolute.
36512 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
36513 ldd_rewrite_script.
36514
365152011-09-11 Ulrich Drepper <drepper@gmail.com>
36516
36517 * configure.in: Remove --with-tls option.
36518 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36519 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36520 out in case it is missing.
36521 * sysdeps/ia64/elf/configure.in: Likewise.
36522 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36523 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36524 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36525 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36526 * sysdeps/sh/elf/configure.in: Likewise.
36527 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36528 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36529 * sysdeps/x86_64/elf/configure.in: Likewise.
36530 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36531 * sysdeps/mach/hurd/tls.h: Likewise.
36532
36533 [BZ #13067]
36534 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36535
36536 [BZ #13090]
36537 * configure.in: Fix use of AC_INIT.
36538
36539 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36540
365412011-09-10 Ulrich Drepper <drepper@gmail.com>
36542
36543 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36544 __set_errno.
36545 * malloc/hooks.c: Likewise.
36546
36547 [BZ #11929]
36548 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
36549 variables statically.
36550 (narenas): Initialize.
36551 (list_lock): Initialize.
36552 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
36553 initializtion of main_arena and list_lock. Small cleanups.
36554 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36555 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
36556 Add initializers to main_arena and mp_.
36557 (malloc_state): Remove pagesize member. Change all users to use
36558 GLRO(dl_pagesize).
36559
36560 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36561 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
36562 is always initialized.
36563
36564 * malloc/malloc.c: Removed unused configurations and dead code.
36565 * malloc/arena.c: Likewise.
36566 * malloc/hooks.c: Likewise.
36567 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
36568
36569 * include/tls.h: Removed. USE___THREAD must always be defined.
36570 * bits/libc-tsd.h: Don't handle !USE___THREAD.
36571 * elf/dl-libc.c: Likewise.
36572 * elf/dl-tsd.c: Likewise.
36573 * include/errno.h: Likewise.
36574 * include/netdb.h: Likewise.
36575 * include/resolv.h: Likewise.
36576 * inet/herrno-loc.c: Likewise.
36577 * inet/herrno.c: Likewise.
36578 * malloc/arena.c: Likewise.
36579 * malloc/hooks.c: Likewise.
36580 * malloc/malloc.c: Likewise.
36581 * resolv/res-state.c: Likewise.
36582 * resolv/res_libc.c: Likewise.
36583 * sysdeps/i386/dl-machine.h: Likewise.
36584 * sysdeps/ia64/dl-machine.h: Likewise.
36585 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36586 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36587 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36588 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36589 * sysdeps/sh/dl-machine.h: Likewise.
36590 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36591 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36592 * sysdeps/unix/i386/sysdep.S: Likewise.
36593 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36594 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36596 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36597 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36599 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36601 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36603 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36604 * sysdeps/x86_64/dl-machine.h: Likewise.
36605 * tls.make.c: Likewise.
36606
36607 * configure.in: Remove --with-__thread option. Make tests for
36608 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36609 tls_model attribute fail if no support is available. Remove
36610 USE_IN_LIBIO.
36611 * Makeconfig: Adjust for dropped configure option. All features are
36612 now mandatory.
36613 * Makerules: Likewise.
36614 * Versions.def: Likewise.
36615 * argp/argp-fmtstream.c: Likewise.
36616 * argp/argp-fmtstream.h: Likewise.
36617 * argp/argp-help.c: Likewise.
36618 * assert/assert.c: Likewise.
36619 * config.h.in: Likewise.
36620 * config.make.in: Likewise.
36621 * configure: Likewise.
36622 * configure.in: Likewise.
36623 * csu/Versions: Likewise.
36624 * csu/init.c: Likewise.
36625 * elf/tst-audit2.c: Likewise.
36626 * elf/tst-tls10.c: Likewise.
36627 * elf/tst-tls10.h: Likewise.
36628 * elf/tst-tls11.c: Likewise.
36629 * elf/tst-tls12.c: Likewise.
36630 * elf/tst-tls14.c: Likewise.
36631 * elf/tst-tlsmod11.c: Likewise.
36632 * elf/tst-tlsmod12.c: Likewise.
36633 * elf/tst-tlsmod13.c: Likewise.
36634 * elf/tst-tlsmod13a.c: Likewise.
36635 * elf/tst-tlsmod14a.c: Likewise.
36636 * elf/tst-tlsmod15b.c: Likewise.
36637 * elf/tst-tlsmod16a.c: Likewise.
36638 * elf/tst-tlsmod16b.c: Likewise.
36639 * elf/tst-tlsmod7.c: Likewise.
36640 * elf/tst-tlsmod8.c: Likewise.
36641 * elf/tst-tlsmod9.c: Likewise.
36642 * gmon/gmon.c: Likewise.
36643 * grp/fgetgrent_r.c: Likewise.
36644 * grp/putgrent.c: Likewise.
36645 * hurd/fopenport.c: Likewise.
36646 * include/libc-symbols.h: Likewise.
36647 * include/tls.h: Likewise.
36648 * intl/gettextP.h: Likewise.
36649 * intl/loadinfo.h: Likewise.
36650 * locale/global-locale.c: Likewise.
36651 * locale/localeinfo.h: Likewise.
36652 * mach/devstream.c: Likewise.
36653 * malloc/arena.c: Likewise.
36654 * malloc/set-freeres.c: Likewise.
36655 * misc/err.c: Likewise.
36656 * misc/getttyent.c: Likewise.
36657 * misc/mntent_r.c: Likewise.
36658 * posix/getopt.c: Likewise.
36659 * posix/wordexp.c: Likewise.
36660 * pwd/fgetpwent_r.c: Likewise.
36661 * resolv/Versions: Likewise.
36662 * resolv/res_hconf.c: Likewise.
36663 * shadow/fgetspent_r.c: Likewise.
36664 * shadow/putspent.c: Likewise.
36665 * stdio-common/printf_fphex.c: Likewise.
36666 * stdio-common/tmpfile.c: Likewise.
36667 * stdlib/abort.c: Likewise.
36668 * stdlib/fmtmsg.c: Likewise.
36669 * sunrpc/auth_unix.c: Likewise.
36670 * sunrpc/clnt_perr.c: Likewise.
36671 * sunrpc/clnt_tcp.c: Likewise.
36672 * sunrpc/clnt_udp.c: Likewise.
36673 * sunrpc/clnt_unix.c: Likewise.
36674 * sunrpc/openchild.c: Likewise.
36675 * sunrpc/svc_simple.c: Likewise.
36676 * sunrpc/svc_tcp.c: Likewise.
36677 * sunrpc/svc_udp.c: Likewise.
36678 * sunrpc/svc_unix.c: Likewise.
36679 * sunrpc/xdr.c: Likewise.
36680 * sunrpc/xdr_array.c: Likewise.
36681 * sunrpc/xdr_rec.c: Likewise.
36682 * sunrpc/xdr_ref.c: Likewise.
36683 * sunrpc/xdr_stdio.c: Likewise.
36684
366852011-09-09 Ulrich Drepper <drepper@gmail.com>
36686
36687 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36688
366892011-07-03 Andreas Jaeger <aj@suse.de>
36690
36691 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36692 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36693 regenerate with gen-libm-tests.pl.
36694
366952010-05-12 Petr Baudis <pasky@suse.cz>
36696
36697 [BZ #11589]
36698 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36699 around j0() zero points by switching to j1().
36700 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36701 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36702 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36703 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36704
367052011-09-09 Ulrich Drepper <drepper@gmail.com>
36706
36707 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36708 instead of 0.
36709 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
36710 instead of 0.
36711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36712 Patch in part by Pavel Roskin <proski@gnu.org>.
36713
36714 [BZ #13138]
36715 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36716 realloc.
36717 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
36718 Free memory block if necessary.
36719
36720 [BZ #12847]
36721 * libio/genops.c (INTDEF): For string streams the _lock pointer can
36722 be NULL. Don't lock in this case.
36723
367242011-09-09 Roland McGrath <roland@hack.frob.com>
36725
36726 * elf/elf.h (ELFOSABI_GNU): New macro.
36727 (ELFOSABI_LINUX): Define to that.
36728
367292011-07-29 Denis Zaitceff <zaitceff@gmail.com>
36730
36731 * string/strncat.c (strncat): Undef the symbol in case it has been
36732 defined in bits/string.h.
36733
367342011-09-09 Ulrich Drepper <drepper@gmail.com>
36735
36736 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36737
36738 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
36739 link map.
36740
367412011-08-17 Andreas Jaeger <aj@suse.de>
36742
36743 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36744
367452011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36746 Ian Lance Taylor <iant@google.com>
36747
36748 * math/libm-test.inc (lround_test): New testcase.
36749 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36750
367512011-09-08 Ulrich Drepper <drepper@gmail.com>
36752
36753 * Makefile: Remove support for automatic cvs check-ins.
36754 * Makerules: Likewise.
36755 * config.make.in: Likewise.
36756 * configure.in: Likewise.
36757 * intl/Makefile: Likewise.
36758 * locale/Makefile: Likewise.
36759 * po/Makefile: Likewise.
36760 * posix/Makefile: Likewise.
36761 * sysdeps/gnu/Makefile: Likewise.
36762 * sysdeps/mach/hurd/Makefile: Likewise.
36763 * sysdeps/sparc/sparc32/Makefile: Likewise.
36764
36765 [BZ #13118]
36766 * posix/Makefile (bug-regex32-ENV): Define.
36767 Patch by John Stanley <jpsinthemix@verizon.net>.
36768
36769 * misc/Makefile (headers): Add bits/select2.h.
36770 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36771 * misc/bits/select2.h: New file.
36772 * include/bits/select2.h: New file.
36773 * debug/Makefile (routines): Add fdelt_chk.
36774 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36775 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36776 FD_ISSET.
36777 * debug/fdelt_chk.c: New file.
36778
36779 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36780 * wcsmbs/test-wmemcmp.c: Likewise.
36781 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
36782 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
36783
367842011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36785
36786 * string/Makefile (strop-tests): Add memcmp.
36787 * string/test-wmemcmp.c: New file.
36788 * string/test-memcmp.c: Add wmemcmp support.
36789
367902011-09-08 Roland McGrath <roland@hack.frob.com>
36791
36792 [BZ #13153]
36793 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36794 2011-07-19 change.
36795
36796 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36797 garbage value in a __mach_port_mod_refs call in the cases of the
36798 task-self and thread-self ports.
36799
368002011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36801
36802 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36803
368042011-09-08 Andreas Schwab <schwab@redhat.com>
36805
36806 * elf/dl-load.c (lose): Check for non-null L.
36807
368082011-09-07 Ulrich Drepper <drepper@gmail.com>
36809
36810 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36811
36812 * elf/dl-libc.c (dlerror_run): Pass back error code from
36813 dl_catch_error.
36814
36815 [BZ #13123]
36816 * elf/dl-load.c (lose): Free l_origin if it is valid.
36817
36818 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36819 names.
36820 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36821 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36822 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36823 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36824 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36825 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36826
368272011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36828
36829 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36830 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36831 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36832 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36833 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36834 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36835 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36836 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36837 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36838 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36839
368402011-08-15 Alan Modra <amodra@gmail.com>
36841
36842 [BZ #13092]
36843 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36844 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36845 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36846 ppc_mcount to static-only-routines.
36847 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36848 __mcount_internal.
36849 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36850 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36851
368522011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36853
36854 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36855 for finite and infinity parameters.
36856
368572011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36858
36859 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36860 and add nop instructions for throughput optimization.
36861 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36862
368632011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36864
36865 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36866 aligned copy for power7 with vector-scalar instructions.
36867 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36868
368692011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36870
36871 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36872 AVX check.
36873
368742011-09-07 Andreas Schwab <schwab@redhat.com>
36875
36876 [BZ #13144]
36877 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36878 last change.
36879
368802011-09-07 Ulrich Drepper <drepper@gmail.com>
36881
36882 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36883 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36884 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36885 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36886 clock_gettime.
36887
368882011-09-06 Ulrich Drepper <drepper@gmail.com>
36889
36890 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36891 Forgot to demangle the pointer.
36892
36893 * sysdeps/i386/sysdep.h: Define atom_text_section.
36894 * sysdeps/x86_64/sysdep.h: Likewise.
36895 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36896 section with atom_text_section.
36897 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36898 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36899 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36901 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36902
36903 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36904 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36905 already be defined. Change to take two parameters and don't assign
36906 result to variable. Adjust all users.
36907 Define INTERNAL_GETTIME if not already defined.
36908 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36909 call.
36910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36911 HAVE_CLOCK_GETTIME_VSYSCALL.
36912 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36913
36914 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36915 gettimeofday vsyscall, just use time.
36916
369172011-09-06 Andreas Schwab <schwab@redhat.com>
36918
36919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36920 <errno.h>.
36921
369222011-09-06 Ulrich Drepper <drepper@gmail.com>
36923
36924 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36925 syscall on x86-64.
36926 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36927 syscall.
36928 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36929 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36930 syscall if possible.
36931
369322011-09-05 Ulrich Drepper <drepper@gmail.com>
36933
36934 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36935 e_ident. Don't pass to find_mapsXX.
36936 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36937
369382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36939
36940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36941 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36942 * sysdeps/x86_64/multiarch/strchr.S: Update.
36943 Check bit_slow_BSF bit.
36944 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36945 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36946 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36947
369482011-09-05 Ulrich Drepper <drepper@gmail.com>
36949
36950 [BZ #13134]
36951 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36952 before glibc 2.15.
36953 (tryshell): Define.
36954 (__spawni): Change last parameter to be flag. Test
36955 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36956 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36957 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36958 * posix/spawni.c: Likewise.
36959 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36960 * posix/spawnp.c: Likewise. Change normal version to use
36961 SPAWN_XFLAGS_USE_PATH.
36962 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36963 SPAWN_XFLAGS_TRY_SHELL.
36964
36965 [BZ #13150]
36966 * posix/glob.h: Remove gcc 1.x support.
36967
36968 [BZ #13068]
36969 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36970
369712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36972
36973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36974 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36975 strrchr-sse2-bsf
36976 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36977 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36978 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36979 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36980 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36981 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36982
369832011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36984
36985 * sysdeps/x86_64/wcscmp.S: New file.
36986
36987 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36988 wcscmp-c wcscmp-sse2
36989 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36990 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36991 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36992 * wcsmbs/wcscmp.c: Allow renaming.
36993
369942011-09-05 David S. Miller <davem@davemloft.net>
36995
36996 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36997 stack slot, rather than the struct return pointer slot.
36998 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36999 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37001 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37002
370032011-09-05 Ulrich Drepper <drepper@gmail.com>
37004
37005 * po/ja.po: Update from translation team.
37006
37007 [BZ #13144]
37008 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
37009 kernel in 64-bit binaries.
37010
370112011-09-01 David S. Miller <davem@davemloft.net>
37012
37013 * elf/elf.h (HWCAP_SPARC_*): Move to..
37014 * sysdeps/sparc/sysdep.h: this new file and add new values.
37015 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
37016 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
37017 _DL_HWCAP_COUNT to 24.
37018 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37019 entries.
37020 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
37021 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
37022 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
37023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
37024 instead of magic constants.
37025 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37026
370272011-08-31 David S. Miller <davem@davemloft.net>
37028
37029 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
37030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
37031 Reimplement to do errno handling inline.
37032 (SYSCALL_ERROR_HANDLER): New macro.
37033 (__SYSCALL_STRING): Do not do errno handling in asm.
37034 (__CLONE_SYSCALL_STRING): Delete.
37035 (__INTERNAL_SYSCALL_STRING): Delete.
37036 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
37037 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
37038 (PSEUDO): Reimplement to do errno handling inline.
37039 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
37040 (SYSCALL_ERROR_HANDLER): New macro.
37041 (__SYSCALL_STRING): Do not do errno handling in asm.
37042 (__CLONE_SYSCALL_STRING): Delete.
37043 (__INTERNAL_SYSCALL_STRING): Delete.
37044 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
37045 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
37046 i386.
37047 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
37048 (inline_syscall*): Add 'err' argument.
37049 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
37050 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
37051 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
37052 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
37053
37054 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
37055 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37056
370572011-08-30 Andreas Schwab <schwab@redhat.com>
37058
37059 * elf/rtld.c (dl_main): Relocate objects in dependency order.
37060
370612011-08-29 Jiri Olsa <jolsa@redhat.com>
37062
37063 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
37064 directive.
37065
370662011-08-24 David S. Miller <davem@davemloft.net>
37067
37068 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
37069
370702011-08-24 Andreas Schwab <schwab@redhat.com>
37071
37072 * elf/Makefile: Add rules to build and run unload8 test.
37073 * elf/unload8.c: New file.
37074 * elf/unload8mod1.c: New file.
37075 * elf/unload8mod1x.c: New file.
37076 * elf/unload8mod2.c: New file.
37077 * elf/unload8mod3.c: New file.
37078
37079 * elf/dl-close.c (_dl_close_worker): Reset private search list if
37080 it wasn't used.
37081
370822011-08-23 David S. Miller <davem@davemloft.net>
37083
37084 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
37085 subtract stack bias.
37086 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
37087 %sp not %fp in calculations.
37088 (_JMPBUF_UNWINDS_ADJ): Likewise.
37089
37090 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
37091 (aio_suspend): Call it to force an exception region around the
37092 AIO_MISC_WAIT() invocation.
37093
370942011-08-23 Andreas Schwab <schwab@redhat.com>
37095
37096 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
37097 backslash.
37098
370992011-07-04 Aurelien Jarno <aurelien@aurel32.net>
37100
37101 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
37102 protection macro.
37103 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
37104 and <dl-machine.h>.
37105 (Elf64_FuncDesc): Remove.
37106
371072011-08-22 David S. Miller <davem@davemloft.net>
37108
37109 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
37110 sigaltstack check, add missing cfi directives.
37111 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
37112 missing cfi directives, and sigaltstack handling.
37113
371142011-08-16 Andreas Schwab <schwab@redhat.com>
37115
37116 [BZ #11724]
37117 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
37118 object is seen twice.
37119 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37120
37121 * elf/Makefile (distribute): Add tst-initorder2.c.
37122 (tests): Add tst-initorder2.
37123 (modules-names): Add tst-initorder2a tst-initorder2b
37124 tst-initorder2c tst-initorder2d. Add rules to build them.
37125 ($(objpfx)tst-initorder2.out): New rule.
37126 * elf/tst-initorder2.c: New file.
37127 * elf/tst-initorder2.exp: New file.
37128
371292011-08-22 Andreas Schwab <schwab@redhat.com>
37130
37131 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
37132
37133 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
37134 dependencies back to end of function.
37135
37136 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37137 $(elfobjdir)/ld.so.
37138
371392011-08-21 Ulrich Drepper <drepper@gmail.com>
37140
37141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
37142 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
37143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
37144 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
37145 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
37146 of __vdso_gettimeofday.
37147 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
37148 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
37149 attribute_hidden.
37150 (_libc_vdso_platform_setup): Remove initialization of
37151 __vdso_gettimeofday and __vdso_time.
37152
371532011-08-20 Ulrich Drepper <drepper@gmail.com>
37154
37155 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
37156 and fgetc_unlocked.
37157 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
37158 getc_unlocked.
37159
37160 * elf/dl-open.c (add_to_global): Report additions to the global scope
37161 for LD_DEBUG=scopes.
37162 (dl_open_worker): Also print scope of newly loaded dependencies.
37163 (_dl_show_scope): Indicate if there is no scope.
37164
37165 [BZ #13114]
37166 * stdio-common/Makefile (tests): Add bug24.
37167 * stdio-common/bug24.c: New file.
37168
371692011-08-19 Andreas Jaeger <aj@suse.de>
37170
37171 [BZ #13114]
37172 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
37173 non-existant file when using close-on-exec mode.
37174
371752011-08-20 Ulrich Drepper <drepper@gmail.com>
37176
37177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
37178 the very first instruction.
37179
37180 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
37181 the CFI state in the end.
37182 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
37183 inclusion of dl-trampoline.h.
37184 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
37185
371862011-08-19 Andreas Schwab <schwab@redhat.com>
37187
37188 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
37189 expectations for long double.
37190
37191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
37192 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
37193
371942011-08-14 David S. Miller <davem@davemloft.net>
37195
37196 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
37197 artificual limit depends upon the system page size.
37198
371992011-08-17 Ulrich Drepper <drepper@gmail.com>
37200
37201 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
37202 * resolv/Makefile: Define CFLAGS-libresolv.
37203
372042011-08-17 Andreas Schwab <schwab@redhat.com>
37205
37206 * nss/makedb.c (compute_tables): Make variables used in nested
37207 function static.
37208
372092011-08-17 Ulrich Drepper <drepper@gmail.com>
37210
37211 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
37212 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
37213 if buffer was too small.
37214
37215 * elf/pldd.c (main): Attach to all threads in the process.
37216 Rewrite /proc handling to use *at functions.
37217
372182011-08-16 Ulrich Drepper <drepper@gmail.com>
37219
37220 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
37221 specifies first scope to show.
37222 (dl_open_worker): Update callers. Move printing scope of new
37223 object to before the relocation.
37224 * elf/rtld.c (dl_main): Update _dl_show_scope call.
37225 * sysdeps/generic/ldsodefs.h: Update declaration.
37226
37227 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
37228 string for the scope number.
37229
372302011-08-14 Ulrich Drepper <drepper@gmail.com>
37231
37232 * nscd/servicescache.c (cache_addserv): Make sure written is always
37233 initialized.
37234
372352011-08-14 Roland McGrath <roland@hack.frob.com>
37236
37237 * sysdeps/i386/i486/bits/atomic.h
37238 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
37239 statement expression, so as to suppress "set but not used" warning.
37240 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
37241
37242 * string/strncat.c (STRNCAT): Use prototype definition.
37243
37244 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
37245 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
37246 -Iprograms here.
37247 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
37248 (localedef-modules): Add localedef.
37249 (locale-modules): Add locale.
37250
37251 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
37252 * elf/rtld.c (dl_main): Invert order of assignment in last change,
37253 to avoid a warning.
37254
372552011-08-14 David S. Miller <davem@davemloft.net>
37256
37257 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
37258 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
37259
372602011-08-13 Ulrich Drepper <drepper@gmail.com>
37261
37262 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
37263 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
37264 * elf/rtld.c (dl_main): Set l_name of vDSO.
37265 Call _dl_show_scope when DL_DEBUG_SCOPES.
37266 (process_dl_debug): Recognize scopes flag and also set it for all.
37267 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
37268 Declare _dl_show_scope.
37269
37270 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
37271 (do_dlopen): Pass caller_dlopen to dl_open.
37272 (__libc_dlopen_mode): Initialize caller_dlopen.
37273
37274 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
37275 of libc. Make tolower call locale-independent. Optimize a bit by
37276 using isdigit instead of isalnum.
37277 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
37278
372792011-08-12 Ulrich Drepper <drepper@gmail.com>
37280
37281 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
37282 was a dependency or dynamically loaded.
37283
372842011-08-11 Ulrich Drepper <drepper@gmail.com>
37285
37286 * intl/l10nflist.c: Allow architecture-specific pop function.
37287 * sysdeps/x86_64/l10nflist.c: New file.
37288
37289 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
37290 classification.
37291
372922011-08-10 Andreas Schwab <schwab@redhat.com>
37293
37294 * include/dirent.h: Add libc_hidden_proto for scandirat and
37295 scandirat64. Don't declare __scandirat64.
37296 * dirent/scandirat.c: Add libc_hidden_def.
37297 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
37298 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
37299
373002011-08-10 David S. Miller <davem@davemloft.net>
37301
37302 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
37303 enum.
37304 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37305 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37306 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37307
373082011-08-09 Ulrich Drepper <drepper@gmail.com>
37309
37310 * Versions.def [libc]: Add GLIBC_2.15.
37311 * dirent/Makefile (routines): Add scandirat and scandirat64.
37312 * dirent/Versions [libc]: Export scandirat and scandirat64 for
37313 GLIBC_2.15.
37314 * dirent/dirent.h: Declare scandirat and scandirat64.
37315 * dirent/scandirat.c: New file.
37316 * dirent/scandirat64.c: New file.
37317 * sysdeps/wordsize-64/scandirat.c: New file.
37318 * sysdeps/wordsize-64/scandirat64.c: New file.
37319 * dirent/opendir.c: Define opendirat.
37320 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
37321 using scandirat.
37322 * dirent/scandir64.c: Adjust for scandir.c change.
37323 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
37324 __scandirat64, and __scandir_cancel_handler.
37325 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
37326 additional parameter and use openat instead of open (outside of ld.so).
37327 Add new __opendir as wrapper around __opendirat.
37328 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
37329 here without requiring old scandirat implementation.
37330
373312011-08-08 Ulrich Drepper <drepper@gmail.com>
37332
37333 * dirent/scandir.c (cancel_handler): Renamed to
37334 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
37335 defined. Adjust users.
37336 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
37337 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
37338
373392011-08-04 Ulrich Drepper <drepper@gmail.com>
37340
37341 * string/test-string.h (IMPL): Use __STRING to expand name and then
37342 stringify it.
37343
37344 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
37345 of cleanups.
37346
373472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37348
37349 * string/Makefile: Update.
37350 (strop-tests): Append strncat.
37351 * string/test-wcscmp.c: New file.
37352 New comprehensive test for wcscmp.
37353 * string/test-strcmp.c: Update.
37354 (WIDE): New define.
37355
373562011-07-22 Andreas Schwab <schwab@redhat.com>
37357
37358 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
37359 line.
37360
373612011-07-26 Andreas Schwab <schwab@redhat.com>
37362
37363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37364 encoding to ACE if AI_IDN.
37365
373662011-08-01 Jakub Jelinek <jakub@redhat.com>
37367
37368 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
37369 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
37370
373712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37372
37373 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
37374 Fix overflow bug in strncat.
37375 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37376
37377 * string/test-strncat.c: Update.
37378 Add new tests for checking overflow bugs.
37379
373802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37381
37382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37383 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
37384 * sysdeps/i386/i686/multiarch/strcat.S: New file.
37385 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
37386 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
37387 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
37388 * sysdeps/i386/i686/multiarch/strncat.S: New file.
37389 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
37390 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
37391
37392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
37393 (USE_AS_STRCAT): Define.
37394 Add strcat and strncat support.
37395 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37396
373972011-07-25 Andreas Schwab <schwab@redhat.com>
37398
37399 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
37400 __n bigger than INT_MAX+1.
37401 (__strncmp_g): Likewise.
37402
374032011-07-23 Ulrich Drepper <drepper@gmail.com>
37404
37405 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
37406 * libio/stido.h: Likewise.
37407
37408 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
37409 (AF_NFC): Define.
37410 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
37411 (AF_NFC): Define.
37412
37413 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
37414 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37415 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37416 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37418
37419 [BZ #13021]
37420 * scripts/test-installation.pl: Don't expect libnss_test1 to be
37421 installed.
37422
37423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
37424 typo.
37425 (_dl_x86_64_save_sse): Likewise.
37426
374272011-07-22 Ulrich Drepper <drepper@gmail.com>
37428
37429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
37430 OSXSAVE.
37431 (_dl_x86_64_save_sse): Likewise.
37432
37433 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
37434
37435 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
37436
374372011-07-21 Andreas Schwab <schwab@redhat.com>
37438
37439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
37440 change.
37441 (_dl_x86_64_save_sse): Use correct AVX check.
37442
374432011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37444
37445 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
37446 bug in strncpy/strncat.
37447 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37448
374492011-07-21 Ulrich Drepper <drepper@gmail.com>
37450
37451 * string/tester.c (test_strcat): Add tests for different alignments
37452 of source and destination.
37453 (test_strncat): Likewise.
37454
374552011-07-20 Ulrich Drepper <drepper@gmail.com>
37456
37457 [BZ #12852]
37458 * posix/glob.c (glob): Check passed in values before using them in
37459 expressions to avoid some overflows.
37460 (glob_in_dir): Likewise.
37461
37462 [BZ #13007]
37463 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
37464 check for AVX enablement so that we don't crash with old kernels and
37465 new hardware.
37466 * elf/tst-audit4.c: Add same checks here.
37467 * elf/tst-audit6.c: Likewise.
37468
37469 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
37470
374712011-07-09 Andreas Schwab <schwab@linux-m68k.org>
37472
37473 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
37474
374752011-07-20 Ulrich Drepper <drepper@gmail.com>
37476
37477 * po/cs.po: Update from translation team.
37478 * po/bg.po: Likewise.
37479
374802011-07-12 Marek Polacek <mpolacek@redhat.com>
37481
37482 * misc/sys/cdefs.h: Add support for const attribute.
37483 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
37484 to gnu_dev_{major,minor,makedev} functions.
37485
374862011-07-20 Marek Polacek <mpolacek@redhat.com>
37487
37488 * intl/dcigettext.c (get_output_charset): Add missing bracket.
37489
374902011-07-20 Andreas Schwab <schwab@redhat.com>
37491
37492 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
37493 strlen results.
37494
374952011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37496
37497 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37498 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
37499 register in order to avoid conflicts with the soft frame pointer
37500 being held in r11 when necessary.
37501 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37502 (INTERNAL_VSYSCALL_NCS): Likewise.
37503
375042011-07-14 Marek Polacek <mpolacek@redhat.com>
37505
37506 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
37507 * elf/dl-fini.c (_dl_fini): Adjust caller.
37508 * elf/dl-close.c (_dl_close_worker): Likewise.
37509 * sysdeps/generic/ldsodefs.h: Adjust declaration.
37510
375112011-07-15 Marek Polacek <mpolacek@redhat.com>
37512
37513 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
37514 "aux_cache->nlibs < 0".
37515
37516 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
37517 in the reload-count case.
37518
375192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37520
37521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37522 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37523 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37524 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37525 * sysdeps/x86_64/multiarch/strcat.S: New file.
37526 * sysdeps/x86_64/multiarch/strncat.S: New file.
37527 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37528 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37529 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37530 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37531 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37532 (USE_AS_STRCAT): Define.
37533 Add strcat and strncat support.
37534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37535 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37536 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37537 * string/strncat.c: Update.
37538 (USE_AS_STRNCAT): Define.
37539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37540 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37541 and i7.
37542 * sysdeps/x86_64/multiarch/init-arch.h
37543 (bit_Prefer_PMINUB_for_stringop): New.
37544 (index_Prefer_PMINUB_for_stringop): Likewise.
37545 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37546 bit_Prefer_PMINUB_for_stringop.
37547
375482011-07-19 Ulrich Drepper <drepper@gmail.com>
37549
37550 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37551 buffer64.
37552 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37553 of casting of buffer.
37554 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37555 buffer32 and buffer64.
37556 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37557 writes instead of casting of buffer.
37558 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37559 buffer32.
37560 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37561 casting of buffer.
37562
375632011-07-19 Andreas Schwab <schwab@redhat.com>
37564
37565 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37566
375672011-07-19 Ulrich Drepper <drepper@gmail.com>
37568
37569 * nscd/nscd.c (termination_handler): Don't do anything for a database
37570 if it has not yet been initialized.
37571
375722011-07-18 Ulrich Drepper <drepper@gmail.com>
37573
37574 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37575
375762011-07-15 Marek Polacek <mpolacek@redhat.com>
37577
37578 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37579
375802011-07-18 Ulrich Drepper <drepper@gmail.com>
37581
37582 * po/nl.po: Update from translation team.
37583 * po/sv.po: Likewise.
37584
375852011-07-16 Roland McGrath <roland@hack.frob.com>
37586
37587 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37588 now disallowed by GCC.
37589
37590 * configure.in (use-default-link): Default to yes if a test -shared
37591 link meets our qualifications.
37592 * configure: Regenerated.
37593
37594 * config.make.in (output-format): New variable.
37595 * configure.in: Check for ld --print-output-format support.
37596 * configure: Regenerated.
37597 * Makerules ($(common-objpfx)format.lds)
37598 [$(output-format) != unknown]: Just use $(output-format),
37599 instead of the linker-script munging.
37600
376012011-07-14 Roland McGrath <roland@hack.frob.com>
37602
37603 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37604 of $(common-objpfx)shlib.lds.
37605 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37606
37607 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37608 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37609
37610 * configure.in (-z relro check): Adjust test code to add a large
37611 writable data section after it.
37612 * configure: Regenerated.
37613
376142011-07-11 Roland McGrath <roland@hack.frob.com>
37615
37616 * configure.in (-z relro check): Fix test code to make the variable
37617 truly const.
37618 * configure: Regenerated.
37619
376202011-07-11 Ulrich Drepper <drepper@gmail.com>
37621
37622 * nscd/nscd.h (struct traced_file): Define.
37623 (struct database_dyn): Remove inotify_descr, reset_res, and filename
37624 elements. Add traced_files.
37625 (inotify_fd): Declare.
37626 (register_traced_file): Declare.
37627 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37628 (inotify_fd): Export.
37629 (resolv_conf_descr): Remove.
37630 (nscd_init): Move inotify descriptor creation to main.
37631 Don't register files for notification here.
37632 (register_traced_file): New function.
37633 (invalidate_cache): Don't use reset_res to determine whether to call
37634 res_init, go through the list of registered files.
37635 (main_loop_poll): The inotify descriptors are now stored in the
37636 structures for the traced files.
37637 (main_loop_epoll): Likewise
37638 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
37639 to __nss_disable_nscd.
37640 * nscd/cache.c (prune_cache): There is no single inotify descriptor
37641 for a database anymore. Check the records for all the registered
37642 files instead.
37643 * nss/Makefile (libnss_files-routines): Add files-init.
37644 (libnss_db-routines): Add db-init.
37645 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37646 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37647 * nss/nss_db/db-init.c: New file.
37648 * nss/nss_files/files-init.c: New file.
37649 * nss/nsswitch.c (nss_load_library): New function. Broken out of
37650 __nss_lookup_function.
37651 (__nss_lookup_function): Call nss_load_library.
37652 (nss_load_all_libraries): New function.
37653 (__nss_disable_nscd): Take parameter with callback function for files
37654 to register. Set is_nscd. Load all the DSOs for the NSS modules
37655 used for the cached services.
37656 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37657 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37658 options for features to all the files in nscd.
37659
37660 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37661
376622011-07-10 Roland McGrath <roland@hack.frob.com>
37663
37664 * csu/elf-init.c (__libc_csu_init): Comment typo.
37665
376662011-07-09 Ulrich Drepper <drepper@gmail.com>
37667
37668 * po/pl.po: Update from translation team.
37669 * po/ja.po: Likewise.
37670 * po/ru.po: Likewise.
37671 * po/ko.po: Likewise.
37672 * po/fr.po: Likewise.
37673
376742011-07-09 Roland McGrath <roland@hack.frob.com>
37675
37676 * configure.in (.ctors/.dtors header and trailer check):
37677 Use an empirical test on a built program.
37678 * configure: Regenerated.
37679
37680 * configure.in (-z relro check): Use an empirical test on a built DSO.
37681 Detect, but do not require, on ia64.
37682 * configure: Regenerated.
37683
37684 * configure.in (READELF): Find it with AC_CHECK_TOOL.
37685 Update tests that use readelf to use $READELF instead.
37686 * configure: Regenerated.
37687
376882011-07-08 Ulrich Drepper <drepper@gmail.com>
37689
37690 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37691 if the result is not used.
37692
376932011-07-05 Andreas Jaeger <aj@suse.de>
37694
37695 [BZ#9696]
37696 * stdlib/tst-strtod.c: Add testcase.
37697
376982011-07-07 Ulrich Drepper <drepper@gmail.com>
37699
37700 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
37701 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
37702 The latter has a higher limit. Take additional parameter to pass to
37703 the new function.
37704 (__pathconf): Pass file to __statfs_link_max.
37705 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37706 __statfs_link_max.
37707 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37708 __statfs_link_max.
37709
37710 [BZ #12868]
37711 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37712 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37713 Handle Lustre.
37714 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37715 (__statfs_filesize_max): Likewise.
37716 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37717
377182011-07-05 Andreas Jaeger <aj@suse.de>
37719
37720 * resolv/res_comp.c (dn_skipname): Remove unused variable.
37721
377222011-07-06 Marek Polacek <mpolacek@redhat.com>
37723
37724 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37725 `status' variable.
37726 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37727 Likewise.
37728
377292011-07-04 H.J. Lu <hongjiu.lu@intel.com>
37730
37731 * Makefile (strop-tests): Add strncat.
37732 * string/test-strncat.c: New file.
37733
377342011-06-30 Marek Polacek <mpolacek@redhat.com>
37735
37736 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37737
377382011-06-21 Andreas Jaeger <aj@suse.de>
37739
37740 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37741 Copy rule from iconvdata/Makefile.
37742
377432011-07-06 Ulrich Drepper <drepper@gmail.com>
37744
37745 [BZ #12922]
37746 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37747 but no long options are defined, just return 'W'.
37748
377492011-06-22 Marek Polacek <mpolacek@redhat.com>
37750
37751 [BZ #9696]
37752 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37753
377542011-07-06 Ulrich Drepper <drepper@gmail.com>
37755
37756 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37757 netgroups to read.
37758 (innetgr): Likewise.
37759
377602011-07-05 Roland McGrath <roland@hack.frob.com>
37761
37762 * config.make.in (install_root): Default to $(DESTDIR).
37763
377642011-07-05 Ulrich Drepper <drepper@gmail.com>
37765
37766 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37767
377682011-07-02 Roland McGrath <roland@hack.frob.com>
37769
37770 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37771
37772 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37773 containing directory rather than embedding absolute directory names.
37774
37775 * scripts/check-local-headers.sh: Rewritten using awk.
37776 Match by word, not by line. Print error messages for matches.
37777 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37778
37779 * Makerules [shlib-lds-flags empty]:
37780 ($(common-objpfx)libc_pic.opts): New target.
37781 ($(common-objpfx)libc_pic.os.clean): New target.
37782 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37783
37784 * config.make.in (OBJCOPY): New variable.
37785 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37786 * configure: Regenerated.
37787
37788 * config.make.in (use-default-link): New variable.
37789 * configure.in (use_default_link): Grok --with-default-link to set it.
37790 * configure: Regenerated.
37791 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37792 (shlib-lds, shlib-lds-flags): Define to empty.
37793
37794 * Makerules (shlib-lds): New variable.
37795 (shlib-lds-flags): New variable.
37796 (build-shlib, build-moduile, build-module-asneeded): Use it.
37797 ($(common-objpfx)libc.so): Use $(shlib-lds).
37798 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37799 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37800
37801 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37802 DT_FLAGS/DT_FLAGS_1 with zero flags.
37803
37804 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37805 linker script munging.
37806
378072011-07-02 Ulrich Drepper <drepper@gmail.com>
37808
37809 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37810 as 128-bit value.
37811 * crypt/sha512.c (sha512_process_block): Perform total addition using
37812 128-bit if possible.
37813 (__sha512_finish_ctx): Likewise.
37814 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37815 as 64-bit value.
37816 * crypt/sha256.c (SWAP64): Define.
37817 (sha256_process_block): Perform total addition using 64-bit if
37818 possible.
37819 (__sha256_finish_ctx): Likewise.
37820
378212011-07-01 Ulrich Drepper <drepper@gmail.com>
37822
37823 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37824 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37825 * nscd/hstcache.c (cache_addhst): Likewise.
37826 * nscd/grpcache.c (cache_addgr): Likewise.
37827 * nscd/aicache.c (addhstaiX): Likewise
37828 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37829
378302011-07-01 Thorsten Kukuk <kukuk@suse.de>
37831
37832 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37833 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37834 * nscd/hstcache.c (cache_addhst): Likewise.
37835 * nscd/grpcache.c (cache_addgr): Likewise.
37836 * nscd/aicache.c (addhstaiX): Likewise
37837
378382011-07-01 Andreas Schwab <schwab@redhat.com>
37839
37840 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37841 domain only when needed.
37842
378432011-06-30 Andreas Schwab <schwab@redhat.com>
37844
37845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37846 is always restored.
37847
378482011-06-29 Ulrich Drepper <drepper@gmail.com>
37849
37850 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37851 are re-adding the entry.
37852 * nscd/servicescache.c (cache_addserv): Likewise.
37853
378542011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37855
37856 * sysdeps/generic/dl-irel.h: fix protection against multiple
37857 inclusions.
37858 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37859
378602011-06-28 Ulrich Drepper <drepper@gmail.com>
37861
37862 [BZ #12935]
37863 * malloc/memusage.sh: Fix quoting in message.
37864 * debug/xtrace.sh: Likewise.
37865
37866 * configure.in: Remove support for --experimental-malloc option, make
37867 it the default.
37868 * config.make.in: Likewise.
37869 * malloc/Makefile: Likewise.
37870
378712011-06-27 Andreas Schwab <schwab@redhat.com>
37872
37873 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37874 two-byte characters.
37875
378762011-06-27 Roland McGrath <roland@hack.frob.com>
37877
37878 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37879 AC_CACHE_CHECK invocation.
37880 * configure: Regenerated.
37881
37882 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37883
378842011-06-27 Ulrich Drepper <drepper@gmail.com>
37885
37886 [BZ #12350]
37887 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37888 bit from old_res_options.
37889
37890 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37891
37892 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37893 value type for setfct.
37894
378952011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37896
37897 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37898 __gettimeofday instead of gettimeofday.
37899
379002011-06-26 Ulrich Drepper <drepper@gmail.com>
37901
37902 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37903
379042011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37905
37906 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37907
37908 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37909 info.
37910
379112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37912
37913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37914 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37915 strcpy-sse2-unaligned strncpy-sse2-unaligned
37916 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37917 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37918 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37919 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37920 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37921 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37923 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37924 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37925 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37926 (STRCPY): Support SSE2 and SSSE3 versions.
37927
379282011-06-24 Ulrich Drepper <drepper@gmail.com>
37929
37930 [BZ #12874]
37931 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37932 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37933 kernels which artificially limit size of requests.
37934
379352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37936
37937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37938 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37939 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37940 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37941 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37942 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37943 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37944 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37945 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37947 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37948 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37949 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37950 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37951 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37953 Enable unaligned load optimization for Intel Core i3, i5 and i7
37954 processors.
37955 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37956 Define.
37957 (index_Fast_Unaligned_Load): Define.
37958 (HAS_FAST_UNALIGNED_LOAD): Define.
37959
379602011-06-23 Marek Polacek <mpolacek@redhat.com>
37961
37962 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37963
379642011-06-22 Ulrich Drepper <drepper@gmail.com>
37965
37966 [BZ #12907]
37967 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37968 until it is clear that the information is realy needed.
37969 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37970
379712011-06-22 Andreas Schwab <schwab@redhat.com>
37972
37973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37974
379752011-06-22 Ulrich Drepper <drepper@gmail.com>
37976
37977 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37978 /sys/devices/system/cpu/online if it is usable.
37979
37980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37981 reading the information from the /proc filesystem to once a second.
37982
379832011-06-21 Andreas Jaeger <aj@suse.de>
37984
37985 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37986 NULL after inclusion of kernel headers.
37987
379882011-06-21 Ulrich Drepper <drepper@gmail.com>
37989
37990 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37991 calls to internal_setent.
37992
37993 [BZ #12885]
37994 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37995 addresses using gethostbyname4_r ignore IPv4 addresses.
37996
37997 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37998 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37999
38000 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38001
380022011-06-20 David S. Miller <davem@davemloft.net>
38003
38004 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38005 inclusions.
38006 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
38007
38008 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
38009 (elf_irel): Use it.
38010 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
38011 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
38012 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
38013 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
38014 * sysdeps/x86_64/dl-irel.h: Likewise.
38015
38016 * elf/dl-runtime.c: Use elf_ifunc_invoke.
38017 * elf/dl-sym.c: Likewise.
38018
380192011-06-15 Ulrich Drepper <drepper@gmail.com>
38020
38021 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
38022 need to dereference resplen2.
38023
380242011-06-14 Andreas Schwab <schwab@redhat.com>
38025
38026 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
38027
380282011-06-15 Ulrich Drepper <drepper@gmail.com>
38029
38030 * Makeconfig: Define vardbdir and inst_vardbdir.
38031 * nss/Makefile: Add rules to install db-Makefile.
38032
38033 * nss/nss_db/db-XXX.c: Cleanup.
38034
38035 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
38036 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
38037 GLIBC_PRIVATE.
38038 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
38039 * nss/makedb.c: Implement -g option to specify that value strings
38040 are generated and should not be added to table iterated over for
38041 get*ent calls.
38042 * nss/nss_db/db-initgroups.c: New file.
38043
38044 * nss/getent.c: Add support for initgroups lookups through getgrouplist
38045 interface.
38046
38047 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
38048 (internal_getgrouplist): Adjust to name change.
38049 Update use_initgroups_entry if this is not the first call.
38050 * nss/databases.def: Add initgroups entry.
38051
38052 * nss/makedb.c (compute_tables): Check result of multiple hash table
38053 sizes to minimize maximum chain length.
38054
380552011-06-14 Ulrich Drepper <drepper@gmail.com>
38056
38057 * Versions.def: Add entry for libnss_db.
38058 * shlib-versions: Likewise.
38059 * nss/Makefile: Add rules to build libnss_db.
38060 * nss/Versions: Add libnss_db information. Organize libnss_files
38061 entries better.
38062 * nss/db-Makefile: Add gshadow support. Change rules for the new
38063 makedb progra. Some minor improvements to generate smaller files.
38064 * nss/nss_db/nss_db.h: Move NSS database header data structures to
38065 here from...
38066 * nss/makedb.c: ...here.
38067 Improve database format to be smaller and require less memory at
38068 runtime.
38069 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
38070 db anymore.
38071 * nss/nss_db/db-netgrp.c: Likewise.
38072 * nss/nss_db/db-open.c: Likewise.
38073 * nss/nss_files/flies-XXX.x: Adjust comments.
38074 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
38075 * nss/nss_files/files-grp.c: Likewise.
38076 * nss/nss_files/files-hosts.c: Likewise.
38077 * nss/nss_files/files-network.c: Likewise.
38078 * nss/nss_files/files-proto.c: Likewise.
38079 * nss/nss_files/files-pwd.c: Likewise.
38080 * nss/nss_files/files-rpc.c: Likewise.
38081 * nss/nss_files/files-service.c: Likewise.
38082 * nss/nss_files/files-sgrp.c: Likewise.
38083 * nss/nss_files/files-spwd.c: Likewise.
38084 * nss/nss_db/db-alias.c: Removed.
38085 * nss/nss_db/dummy-db.h: Removed.
38086
380872011-06-02 Ulrich Drepper <drepper@gmail.com>
38088
38089 * nss/makedb.c: Rewritten to not use database library.
38090 * nss/Makefile: Update to build new makedb program.
38091
380922011-06-14 Andreas Jaeger <aj@suse.de>
38093
38094 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
38095 memset declaration.
38096
380972011-06-10 Andreas Schwab <schwab@redhat.com>
38098
38099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
38100 tmpbuf.
38101
381022011-06-10 Roland McGrath <roland@hack.frob.com>
38103
38104 * Makerules (shlib.lds): Fail if the linker script comes out empty.
38105 * elf/Makefile ($(objpfx)ld.so): Likewise.
38106
38107 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
38108 Don't list ld.so twice in dependencies.
38109
38110 * posix/bug-regex31.c: Include <stdlib.h>.
38111
38112 * nscd/hstcache.c (cache_addhst): Remove unused variable.
38113
38114 * nis/nss_compat/compat-spwd.c
38115 (getspent_next_nss_netgr): Remove unused variable.
38116 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
38117
38118 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
38119 nonmembers" output to use the right array.
38120
38121 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
38122
38123 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
38124
38125 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
38126 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
38127 * catgets/gencat.c (read_input_file): Likewise.
38128 * locale/programs/locarchive.c (enlarge_archive): Likewise.
38129
38130 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
38131 variable definition inside #if's controlling its use.
38132
38133 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
38134
38135 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
38136
38137 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
38138
38139 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
38140 unreachable code.
38141
38142 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
38143
38144 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
38145 * configure: Regenerated.
38146
38147 * Makerules: Revert last change.
38148 * elf/Makefile: Likewise.
38149
381502011-06-09 Roland McGrath <roland@hack.frob.com>
38151
38152 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
38153 * elf/Makefile ($(objpfx)librtld.os): Likewise.
38154 (reloc-link): Likewise.
38155
381562011-06-09 Ulrich Drepper <drepper@gmail.com>
38157
38158 * elf/Makefile: Add rules to build pldd.
38159 * elf/pldd.c: New file.
38160 * elf/pldd-xx.c: New file.
38161
381622011-06-07 Ulrich Drepper <drepper@gmail.com>
38163
38164 * version.h: Update for 2.15 development version.
38165
381662011-06-07 David S. Miller <davem@davemloft.net>
38167
38168 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
38169 ifuncs.
38170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
38171 elf_machine_lazy_rel): Likewise.
38172 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
38174 elf_machine_lazy_rel): Likewise.
38175 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
38176 dl_hwcap via passed in argument.
38177 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
38178 Likewise.
38179
381802011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38181
38182 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
38183
381842011-06-06 Roland McGrath <roland@hack.frob.com>
38185
38186 [BZ #12849]
38187 * manual/fdl-1.1.texi: New file, verbatim from:
38188 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
38189 * manual/lgpl-2.1.texi: New file, verbatim from:
38190 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
38191 * manual/Makefile (licenses): New variable, list those new file names.
38192 (texis): Use it.
38193 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
38194
38195 * manual/fdl.texi: File removed.
38196 * manual/lesser.texi: File removed.
38197 * manual/libc.texinfo (Copying, Documentation License):
38198 Use new @include file names, put @appendix directive before @include.
38199
382002011-06-04 Jakub Jelinek <jakub@redhat.com>
38201
38202 [BZ #12841]
38203 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
38204 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
38205 (mq_open): Add __NTH.
38206
382072011-06-02 H.J. Lu <hongjiu.lu@intel.com>
38208
38209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38210 Assume Intel Core i3/i5/i7 processor if AVX is available.
38211
382122011-05-31 Ulrich Drepper <drepper@gmail.com>
38213
38214 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38215 typo.
38216
382172011-05-31 Andreas Schwab <schwab@redhat.com>
38218
38219 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
38220 memory. Use alloca_account. Fix memory leak when retrying.
38221
382222011-05-31 Ulrich Drepper <drepper@gmail.com>
38223
38224 * version.h (RELEASE): Bump for 2.14 release.
38225 * include/features.h (__GLIBC_MINOR__): Bump to 14.
38226
38227 * config.make.in (RANLIB): Remove entry.
38228
382292011-05-30 Ulrich Drepper <drepper@gmail.com>
38230
38231 * po/Makefile (po-sed-cmd): Add ksh to extensions.
38232 (libc.pot): Work around missing support for .ksh extension in xgettext.
38233
38234 [BZ #12684]
38235 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
38236 if both request failed.
38237 (send_dg): In case of server errors clear resplen or *resplen2.
38238
38239 [BZ #12454]
38240 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
38241 when there are multiple maps.
38242 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
38243 (_dl_fini): Remove test here.
38244
38245 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
38246
382472011-05-29 Ulrich Drepper <drepper@gmail.com>
38248
38249 [BZ #12350]
38250 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
38251 bit from old_res_options.
38252 (gaih_inet): Likewise.
38253
38254 [BZ #11099]
38255 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
38256 as signed.
38257
38258 * resolv/res_init.c (res_setoptions): Make the code more compact.
38259
38260 [BZ #11558]
38261 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
38262 set RES_USEVC.
38263
38264 [BZ #11634]
38265 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
38266
38267 * malloc/malloc.h: Mark malloc hook variables as deprecated.
38268
38269 [BZ #11781]
38270 * malloc/malloc.h: Declare malloc hook variables as volatile.
38271
38272 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
38273 in last patch.
38274
38275 [BZ #11799]
38276 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
38277 raise in the comment.
38278 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38279 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38280 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
38281
382822011-05-28 Ulrich Drepper <drepper@gmail.com>
38283
38284 [BZ #12811]
38285 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
38286 grow the buffers more if it already has to be sufficient.
38287 (build_wcs_upper_buffer): Likewise.
38288 * posix/regexec.c (check_matching): Likewise.
38289 (clean_state_log_if_needed): Likewise.
38290 (extend_buffers): Don't enlarge buffers beyond size of the input
38291 buffer.
38292 Patches mostly by Emil Wojak <emil@wojak.eu>.
38293 * posix/bug-regex32.c: New file.
38294 * posix/Makefile (tests): Add bug-regex32.
38295
38296 * locale/findlocale.c (_nl_find_locale): Return right away if
38297 _nl_explode_name failed.
38298 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
38299
38300 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
38301
38302 * debug/xtrace.sh: Unify messages.
38303 * malloc/memusage.sh: Likewise.
38304
38305 [BZ #12813]
38306 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
38307 time symbol from vDSO. Substitute with vsyscall if not available.
38308 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
38309 __vdso_time.
38310
38311 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
38312 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
38313 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
38314 Add sendmmsg and internal_sendmmsg.
38315 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
38316 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
38317 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
38318
38319 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
38320 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
38321 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
38322
383232011-05-27 Ulrich Drepper <drepper@gmail.com>
38324
38325 [BZ #12813]
38326 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
38327 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
38328 available.
38329 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
38330 __vdso_getcpu.
38331
38332 [BZ #12814]
38333 * iconvdata/Makefile (tests): Add bug-iconv9.
38334 * iconvdata/bug-iconv9.c: New file.
38335
383362011-05-27 Andreas Schwab <schwab@redhat.com>
38337
38338 [BZ #12814]
38339 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
38340
383412011-05-25 Jakub Jelinek <jakub@redhat.com>
38342
38343 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38344 (struct user_regs_struct): Change intcs field back to cs.
38345
383462011-05-25 Ulrich Drepper <drepper@gmail.com>
38347
38348 * po/ja.po: Update from translation team.
38349
383502011-05-23 Ulrich Drepper <drepper@gmail.com>
38351
38352 [BZ #12795]
38353 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
38354 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
38355
383562011-05-20 Andreas Schwab <schwab@redhat.com>
38357
38358 * stdlib/longlong.h: Update from GCC.
38359
383602011-05-23 Andreas Schwab <schwab@redhat.com>
38361
38362 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
38363 parameter name.
38364 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
38365 Add parameter name.
38366 (__sysconf): Pass it down.
38367
383682011-05-22 Ulrich Drepper <drepper@gmail.com>
38369
38370 [BZ #12671]
38371 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
38372 some situations.
38373 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38374 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
38375 add in in __libc_use_alloca calls. Adjust callers.
38376 (glob): Use malloc in some situations.
38377
38378 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
38379 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
38380 pltexit.
38381
383822011-05-21 Ulrich Drepper <drepper@gmail.com>
38383
38384 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
38385 and CLOCK_BOOTTIME_ALARM.
38386
38387 [BZ #12782]
38388 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
38389 is returned.
38390
38391 * string/_strerror.c (__strerror_r): Print negative errors as signed
38392 numbers.
38393
38394 [BZ #12777]
38395 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
38396 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
38397 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
38398
38399 * configure.in: Fix typo in redirection and correct removal of test
38400 files in two cases.
38401
38402 [BZ #12788]
38403 * locale/setlocale.c (new_composite_name): Fix test to check for
38404 identical name of all categories.
38405
38406 [BZ #12792]
38407 * libio/filedoalloc.c (local_isatty): New function.
38408 (_IO_file_doallocate): Use local_isatty.
38409 * stdio-common/perror.c (perror): In case a new stream is used
38410 forward the stream error.
38411 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
38412 error flag.
38413
384142011-05-20 Ulrich Drepper <drepper@gmail.com>
38415
38416 [BZ #11869]
38417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
38418 alloca.
38419 * include/alloca.h (extend_alloca_account): Define.
38420
38421 [BZ #11857]
38422 * posix/regex.h: Fix comments with documentation of user-accessible
38423 fields after compilation and describe correct free'ing of pattern
38424 after re_compile_pattern.
38425 Patch by Reuben Thomas <rrt@sc3d.org>.
38426
384272011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
38428
38429 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
38430 and -mno-altivec to prevent the compiler from using Altivec and/or
38431 VSX instructions when the corresponding registers are not available.
38432
384332011-05-19 Andreas Schwab <schwab@redhat.com>
38434
38435 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
38436
384372011-05-19 Ulrich Drepper <drepper@gmail.com>
38438
38439 * libio/freopen.c (freopen): Use __dup2, not dup2.
38440 * libio/freopen64.c (freopen64): Likewise.
38441
384422011-05-17 H.J. Lu <hongjiu.lu@intel.com>
38443
38444 [BZ #12775]
38445 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
38446 * math/Makefile (tests): Add test-powl.
38447 (CFLAGS-test-powl.c): Define.
38448 * math/test-powl.c: New file.
38449
384502011-05-16 H.J. Lu <hongjiu.lu@intel.com>
38451
38452 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
38453
384542011-05-17 Ulrich Drepper <drepper@gmail.com>
38455
38456 [BZ #11837]
38457 * iconvdata/gb18030.c: Update to GB18020-2005.
38458
384592011-05-16 Ulrich Drepper <drepper@gmail.com>
38460
38461 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
38462 RE_SYNTAX_POSIX_AWK): Update to match recent development.
38463 Patch by Aharon Robbins <arnold@skeeve.com>.
38464
38465 [BZ #11892]
38466 * stdlib/putenv.c (putenv): Don't always create copy of the variable
38467 on the stack.
38468
38469 [BZ #11895]
38470 * misc/pselect.c (__pselect): Handle timeout value errors hidden
38471 through underflows.
38472
38473 [BZ #12766]
38474 * misc/error.c (error_at_line): Ensure file_name and old_file_name
38475 point to strings before performing equality test for error_one_per_line
38476 mode.
38477
38478 [BZ #11697]
38479 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
38480
38481 [BZ #11820]
38482 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38483 (struct user_fpregs_struct): Avoid __uint*_t types.
38484
38485 [BZ #6420]
38486 * malloc/mtrace.c (tr_where): Add additional parameter to point to
38487 symbol info. Use it instead of calling _dl_addr locally.
38488 (lock_and_info): New function.
38489 (tr_freehook): Call lock_and_info and pass symbol info as additional
38490 parameter to tr_where.
38491 (tr_mallochook): Likewise.
38492 (tr_reallochook): Likewise.
38493 (tr_memalignhook): Likewise.
38494
38495 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
38496 used and couldn't be at all thread-safe.
38497
384982011-05-15 Ulrich Drepper <drepper@gmail.com>
38499
38500 * libio/freopen.c (freopen): Don't close old file descriptor
38501 before the new one is opened. Instead dup the new file descriptor
38502 to the old one after the new stream is created.
38503 * libio/freopen64.c (freopen64): Likewise.
38504 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
38505 * libio/fileops.c (_IO_new_file_close_it): Handle new
38506 _IO_FLAGS2_NOCLOSE flag.
38507 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
38508 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
38509 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
38510 _IO_FLAGS2_NOCLOSE flag.
38511 * include/unistd.h: Add hidden_proto for dup3.
38512 Define __have_dup3.
38513 * io/dup3.c: Define hidden symbol.
38514 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
38515
38516 [BZ #7101]
38517 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38518 when an incomplete long option is used.
38519 * posix/tst-getopt_long1.c: New file.
38520 * posix/Makefile (tests): Add tst-getopt_long1.
38521
38522 [BZ #10138]
38523 * scripts/config.guess: Update from autoconf-2.68.
38524 * scripts/config.sub: Likewise.
38525
38526 [BZ #10157]
38527 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38528 tests into ...
38529 (has_cpuclock): ...this. New function.
38530 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38531 macro here based on has_cpuclock code.
38532
38533 [BZ #10149]
38534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38535 First byte (not low byte) is now always NUL.
38536 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38537
38538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38539 Use non-cancelable interfaces.
38540
38541 [BZ #9809]
38542 * locale/iso-639.def: Add entry for Sorani.
38543
38544 [BZ #11901]
38545 * include/stdlib.h: Move include protection to the right place.
38546 Define abort_msg_s. Declare __abort_msg with it.
38547 * stdlib/abort.c (__abort_msg): Adjust type.
38548 * assert/assert.c (__assert_fail_base): New function. Majority
38549 of code from __assert_fail. Allocate memory for __abort_msg with
38550 mmap.
38551 (__assert_fail): Now call __assert_fail_base.
38552 * assert/assert-perr.c: Remove bulk of implementation. Use
38553 __assert_fail_base.
38554 * include/assert.hL Declare __assert_fail_base.
38555 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38556 mmap.
38557 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38558
385592011-05-14 Ulrich Drepper <drepper@gmail.com>
38560
38561 [BZ #11952]
38562 [BZ #12453]
38563 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38564 until all modules are registered in the DTV.
38565 * elf/Makefile: Add rules to build and run tst-tls19.
38566 * elf/tst-tls19.c: New file.
38567 * elf/tst-tls19mod1.c: New file.
38568 * elf/tst-tls19mod2.c: New file.
38569 * elf/tst-tls19mod3.c: New file.
38570 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38571
38572 [BZ #12083]
38573 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38574 correctly.
38575
38576 [BZ #12601]
38577 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38578 two-byte sequence errors.
38579 * iconvdata/Makefile (tests): Add bug-iconv8.
38580 * iconvdata/bug-iconv8.c: New file.
38581
38582 [BZ #12626]
38583 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38584 buf2 definition.
38585
38586 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38587
38588 [BZ #12432]
38589 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38590 (dummy_getcfa): New function.
38591 (init): Get _Unwind_GetCFA address, use dummy if not found.
38592 (backtrace_helper): In recursion check, also check whether CFA changes.
38593 (__backtrace): Completely initialize arg.
38594
38595 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
38596 storing incomplete byte sequence in state object. Avoid testing for
38597 guaranteed too small input if we know there is enough data available.
38598
385992011-05-11 Andreas Schwab <schwab@redhat.com>
38600
38601 * Makeconfig (+link-pie): Indent.
38602 * Rules (binaries-pie): Define if $(have-fpie) and
38603 $(build-shared).
38604 (binaries-shared): Also filter out $(binaries-pie).
38605 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38606 * nscd/Makefile (others-pie): Add nscd.
38607 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38608 ($(objpfx)nscd): Remove command override.
38609 * login/Makefile (others-pie): Add pt_chown.
38610 ($(objpfx)pt_chown): Remove command override.
38611 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38612 remove command overrides.
38613
386142011-05-13 Ulrich Drepper <drepper@gmail.com>
38615
38616 * libio/tst_putwc.c: Fix error messages.
38617
38618 [BZ #12724]
38619 * libio/fileops.c (_IO_new_file_close_it): Always flush when
38620 currently writing and seek to current position when not.
38621 * libio/Makefile (tests): Add bug-fclose1.
38622 * libio/bug-fclose1.c: New file.
38623
386242011-05-12 Ulrich Drepper <drepper@gmail.com>
38625
38626 [BZ #12511]
38627 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38628 don't set DF_1_NODELETE here.
38629 (do_lookup_x): When entering new entry test for copy relocation
38630 and if necessary set DF_1_NODELETE flag.
38631 * elf/tst-unique4.cc: New file.
38632 * elf/tst-unique4.h: New file.
38633 * elf/tst-unique4lib.cc: New file.
38634 * elf/Makefile: Add rules to build and run tst-unique4.
38635 Patch by Piotr Bury <pbury@goahead.com>.
38636
386372011-05-11 Ulrich Drepper <drepper@gmail.com>
38638
38639 [BZ #12052]
38640 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38641
38642 [BZ #12625]
38643 * misc/mntent_r.c (addmntent): Flush the stream after the output
38644
38645 [BZ #12393]
38646 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38647 (is_trusted_path_normalize): Skip initial colon. Append slash
38648 to empty buffer. Duplicate is_trusted_path code but allow
38649 constructed patch to be prefix.
38650 (is_dst): Allow $ORIGIN followed by /.
38651 (_dl_dst_substitute): Correct clearing of check_for_trusted.
38652 Correct testing of result of is_trusted_path_normalize
38653 (decompose_rpath): Fix warning.
38654
386552011-05-10 Ulrich Drepper <drepper@gmail.com>
38656
38657 [BZ #11257]
38658 * grp/initgroups.c (internal_getgrouplist): When we found the service
38659 list through the initgroups entry in nsswitch.conf do not always
38660 continue on a successful lookup. Don't always use the
38661 __nss_group_database value if it is set.
38662 * nss/nsswitch.conf (initgroups): Change action for successful db
38663 lookup to continue for compatibility.
38664
386652011-05-09 Ulrich Drepper <drepper@gmail.com>
38666
38667 [BZ #11532]
38668 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38669 and CP774 modules.
38670 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38671 and CP774 modules.
38672 * iconvdata/tst-tables.sh: Likewise.
38673 * iconvdata/cp770.c: New file.
38674 * iconvdata/cp771.c: New file.
38675 * iconvdata/cp772.c: New file.
38676 * iconvdata/cp773.c: New file.
38677 * iconvdata/cp774.c: New file.
38678 * iconvdata/testdata/CP770: New file.
38679 * iconvdata/testdata/CP770..UTF8: New file.
38680 * iconvdata/testdata/CP771: New file.
38681 * iconvdata/testdata/CP771..UTF8: New file.
38682 * iconvdata/testdata/CP772: New file.
38683 * iconvdata/testdata/CP772..UTF8: New file.
38684 * iconvdata/testdata/CP773: New file.
38685 * iconvdata/testdata/CP773..UTF8: New file.
38686 * iconvdata/testdata/CP774: New file.
38687 * iconvdata/testdata/CP774..UTF8: New file.
38688
38689 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38690 END CHARMAP line.
38691 * iconvdata/gen-8bit-gap.sh: Likewise.
38692 * iconvdata/gen-8bit.sh: Likewise.
38693
38694 * locale/iso-639.def: Add ary entry.
38695
38696 [BZ #11258]
38697 * locale/C-translit.h.in: Add U20A1 transliteration.
38698
38699 [BZ #12178]
38700 * locale/iso-639.def: Add wae entry.
38701 Patch by Kevin Bortis <bortis@translate-wae.ch>.
38702
38703 [BZ #12545]
38704 * locale/programs/localedef.c (construct_output_path): Use ssize_t
38705 for n.
38706
38707 [BZ #12711]
38708 * locale/C-translit.h.in: Add entry for U20B9.
38709 Patch by pravin.d.s@gmail.com.
38710
387112011-05-08 Ulrich Drepper <drepper@gmail.com>
38712
38713 [BZ #12713]
38714 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38715 ENAMETOOLONG use generic getcwd.
38716 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
38717 in rtld. Use *stat64.
38718 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
38719 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
38720 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
38721 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38722 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38723 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38724 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38725 __fstatat64 macros.
38726 * include/dirent.h: Add libc_hidden_proto for rewinddir.
38727 * dirent/rewinddir.c: Add libc_hidden_def.
38728 * sysdeps/mach/hurd/rewinddir.c: Likewise.
38729 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
38730
38731 * include/dirent.h (__alloc_dir): Add flags parameter.
38732 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38733 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38734 __alloc_dir.
38735 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
38736 from fdopendir if O_CLOEXEC is already set.
38737
387382011-03-15 Alan Modra <amodra@gmail.com>
38739
38740 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38741 l_tls_firstbyte_offset non-zero. Save padding offset in
38742 l_tls_firstbyte_offset for later use.
38743 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38744 freeing static tls block.
38745
387462011-03-05 Jonathan Nieder <jrnieder@gmail.com>
38747
38748 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38749 where #ifdef was intended. The intent is to prevent ARG_MAX from
38750 being defined by the kernel headers.
38751
387522011-05-07 Ulrich Drepper <drepper@gmail.com>
38753
38754 [BZ #12734]
38755 * resolv/resolv.h: Define RES_NOTLDQUERY.
38756 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38757 no-tld-query and set RES_NOTLDQUERY.
38758 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38759 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38760 modern BIND to search name as TLD unless forbidden.
38761
387622011-05-07 Petr Baudis <pasky@suse.cz>
38763 Ulrich Drepper <drepper@gmail.com>
38764
38765 [BZ #12393]
38766 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38767 (is_trusted_path): ...to here.
38768 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
38769 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
38770 using is_trusted_path_normalize() in setuid scripts.
38771
387722011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38773
38774 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38775 __BEGIN/__END_DECLS.
38776
387772011-05-06 Ulrich Drepper <drepper@gmail.com>
38778
38779 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38780 NSS_STATUS_NOTFOUND if no record was found.
38781
387822011-05-05 Andreas Schwab <schwab@redhat.com>
38783
38784 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38785 (headers-not-in-tirpc): Remove rpc/netdb.h
38786 * resolv/netdb.h: Revert last change.
38787
387882011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38789
38790 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38791 circular dependency between libgcc.a and libc.a.
38792
387932011-05-05 Andreas Schwab <schwab@redhat.com>
38794
38795 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38796 * nis/Makefile: Don't install rpcsvc/*.
38797 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38798 instead of <rpc/types.h>.
38799 (MAXHOSTNAMELEN): Define.
38800
388012011-05-03 Andreas Schwab <schwab@redhat.com>
38802
38803 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38804
388052011-04-28 Maciej Babinski <mbabinski@google.com>
38806
38807 [BZ #12714]
38808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38809 gethostbyname4_r when IPv6 results are possible.
38810
388112011-05-02 Ulrich Drepper <drepper@gmail.com>
38812
38813 [BZ #12723]
38814 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38815 _PC_PIPE_BUF handling.
38816
388172011-04-30 Bruno Haible <bruno@clisp.org>
38818
38819 [BZ #12717]
38820 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38821 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38822 to 'int'.
38823 * inet/getnameinfo.c (getnameinfo): Likewise.
38824
388252011-04-29 Ulrich Drepper <drepper@gmail.com>
38826
38827 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38828 to groups setting in database lookup.
38829 * nss/nsswitch.conf: Add initgroups entry.
38830
388312011-04-22 Ulrich Drepper <drepper@gmail.com>
38832
38833 [BZ #12685]
38834 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38835 mode string.
38836 Patch by Eric Blake <eblake@redhat.com>.
38837
388382011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38839
38840 * sunrpc/Makefile (need-export-routines): Add svc_run.
38841 (routines): Remove svc_run.
38842 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38843 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38844 * sunrpc/svc_run.c (svc_run): Likewise.
38845 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38846
388472011-04-21 Ulrich Drepper <drepper@gmail.com>
38848
38849 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38850 problem in reallocation in last patch.
38851
388522011-04-20 Ulrich Drepper <drepper@gmail.com>
38853
38854 * sunrpc/Makefile: Move inclusion of Rules.
38855
388562011-04-19 Ulrich Drepper <drepper@gmail.com>
38857
38858 * nss/nss_files/files-initgroups.c: New file.
38859 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38860 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38861 _nss_files_initgroups_dyn.
38862
388632011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38864
38865 * elf/elf.h (R_ARM_IRELATIVE): Define.
38866
388672011-04-19 Ulrich Drepper <drepper@gmail.com>
38868
38869 * po/ru.po: Update from translation team.
38870
388712011-04-17 Ulrich Drepper <drepper@gmail.com>
38872
38873 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38874 dependencies.
38875
388762011-02-06 Mike Frysinger <vapier@gentoo.org>
38877
38878 [BZ #12653]
38879 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38880 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38881 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38883 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38884
388852011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38886
38887 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38888 differing bytes.
38889 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38890 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38891 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38892
388932011-04-17 Ulrich Drepper <drepper@gmail.com>
38894
38895 [BZ #12420]
38896 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38897 storing it.
38898 * stdlib/bug-getcontext.c: New file.
38899 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38900
389012011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38902
38903 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38904 instructions into .machine "z9-109".
38905 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38906 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38907
389082011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38909
38910 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38911 between environment variables and auxiliary vector.
38912
389132011-04-16 Ulrich Drepper <drepper@gmail.com>
38914
38915 * Makefile: Add rules to build linkobj/libc.so.
38916 * include/libc-symbols.h: Define libc_hidden_nolink.
38917 * include/rpc/auth.h: Mark functions which are to be hidden.
38918 * include/rpc/auth_des.h: Likewise.
38919 * include/rpc/auth_unix.h: Likewise.
38920 * include/rpc/clnt.h: Likewise.
38921 * include/rpc/des_crypt.h: Likewise.
38922 * include/rpc/key_prot.h: Likewise.
38923 * include/rpc/pmap_clnt.h: Likewise.
38924 * include/rpc/pmap_prot.h: Likewise.
38925 * include/rpc/pmap_rmt.h: Likewise.
38926 * include/rpc/rpc_msg.h: Likewise.
38927 * include/rpc/svc.h: Likewise.
38928 * include/rpc/svc_auth.h: Likewise.
38929 * include/rpc/xdr.h: Likewise.
38930 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38931 * nss/Makefile: Likewise.
38932 * sunrpc/Makefile: Don't install headers. Build library with normal
38933 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38934 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38935 for the compat linking library. Remove use of INTDEF/INTUSE.
38936 * sunrpc/auth_none.c: Likewise.
38937 * sunrpc/auth_unix.c: Likewise.
38938 * sunrpc/authdes_prot.c: Likewise.
38939 * sunrpc/authuxprot.c: Likewise.
38940 * sunrpc/clnt_gen.c: Likewise.
38941 * sunrpc/clnt_perr.c: Likewise.
38942 * sunrpc/clnt_raw.c: Likewise.
38943 * sunrpc/clnt_simp.c: Likewise.
38944 * sunrpc/clnt_tcp.c: Likewise.
38945 * sunrpc/clnt_udp.c: Likewise.
38946 * sunrpc/clnt_unix.c: Likewise.
38947 * sunrpc/des_crypt.c: Likewise.
38948 * sunrpc/des_soft.c: Likewise.
38949 * sunrpc/get_myaddr.c: Likewise.
38950 * sunrpc/key_call.c: Likewise.
38951 * sunrpc/key_prot.c: Likewise.
38952 * sunrpc/netname.c: Likewise.
38953 * sunrpc/pm_getmaps.c: Likewise.
38954 * sunrpc/pm_getport.c: Likewise.
38955 * sunrpc/pmap_clnt.c: Likewise.
38956 * sunrpc/pmap_prot.c: Likewise.
38957 * sunrpc/pmap_prot2.c: Likewise.
38958 * sunrpc/pmap_rmt.c: Likewise.
38959 * sunrpc/publickey.c: Likewise.
38960 * sunrpc/rpc_cmsg.c: Likewise.
38961 * sunrpc/rpc_common.c: Likewise.
38962 * sunrpc/rpc_dtable.c: Likewise.
38963 * sunrpc/rpc_prot.c: Likewise.
38964 * sunrpc/rpc_thread.c: Likewise.
38965 * sunrpc/rtime.c: Likewise.
38966 * sunrpc/svc.c: Likewise.
38967 * sunrpc/svc_auth.c: Likewise.
38968 * sunrpc/svc_authux.c: Likewise.
38969 * sunrpc/svc_raw.c: Likewise.
38970 * sunrpc/svc_run.c: Likewise.
38971 * sunrpc/svc_simple.c: Likewise.
38972 * sunrpc/svc_tcp.c: Likewise.
38973 * sunrpc/svc_udp.c: Likewise.
38974 * sunrpc/svc_unix.c: Likewise.
38975 * sunrpc/svcauth_des.c: Likewise.
38976 * sunrpc/xcrypt.c: Likewise.
38977 * sunrpc/xdr.c: Likewise.
38978 * sunrpc/xdr_array.c: Likewise.
38979 * sunrpc/xdr_float.c: Likewise.
38980 * sunrpc/xdr_intXX_t.c: Likewise.
38981 * sunrpc/xdr_mem.c: Likewise.
38982 * sunrpc/xdr_rec.c: Likewise.
38983 * sunrpc/xdr_ref.c: Likewise.
38984 * sunrpc/xdr_sizeof.c: Likewise.
38985 * sunrpc/xdr_stdio.c: Likewise.
38986
389872011-04-10 Ulrich Drepper <drepper@gmail.com>
38988
38989 [BZ #12650]
38990 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38991 * sysdeps/ia64/dl-tls.h: Likewise.
38992 * sysdeps/powerpc/dl-tls.h: Likewise.
38993 * sysdeps/s390/dl-tls.h: Likewise.
38994 * sysdeps/sh/dl-tls.h: Likewise.
38995 * sysdeps/sparc/dl-tls.h: Likewise.
38996 * sysdeps/x86_64/dl-tls.h: Likewise.
38997 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38998
389992011-03-14 Andreas Schwab <schwab@redhat.com>
39000
39001 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39002 rpath element also skip the following colon.
39003 (expand_dynamic_string_token): Add is_path parameter and pass
39004 down to DL_DST_REQUIRED and _dl_dst_substitute.
39005 (decompose_rpath): Call expand_dynamic_string_token with
39006 non-zero is_path. Ignore empty rpaths.
39007 (_dl_map_object_from_fd): Call expand_dynamic_string_token
39008 with zero is_path.
39009
390102011-04-08 Andreas Schwab <schwab@linux-m68k.org>
39011
39012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39013 Make cancelable.
39014
390152011-04-09 Ulrich Drepper <drepper@gmail.com>
39016
39017 [BZ #12655]
39018 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
39019 Patch by Filipe David Manana <fdmanana@apache.org>.
39020
390212011-04-07 Andreas Schwab <schwab@redhat.com>
39022
39023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
39024 Maintain aligned stack.
39025 (CHECK_RSP): Remove unused macro.
39026
390272011-04-03 Ulrich Drepper <drepper@gmail.com>
39028
39029 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
39030 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
39031
390322011-04-02 Ulrich Drepper <drepper@gmail.com>
39033
39034 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
39035
39036 * include/features.h: Mention __USE_XOPEN2K8 in comment.
39037
390382011-03-26 H.J. Lu <hongjiu.lu@intel.com>
39039
39040 [BZ #12518]
39041 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
39042 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
39043 * sysdeps/x86_64/memmove.c: New file.
39044 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
39045 (memcpy): Renamed to ...
39046 (__new_memcpy): This.
39047 (memcpy): Provide GLIBC_2_14 memcpy.
39048 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
39049 (memcpy): Provide GLIBC_2_2_5 memcpy.
39050
390512011-04-01 Ulrich Drepper <drepper@gmail.com>
39052
39053 [BZ #12631]
39054 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
39055
390562011-03-30 Andreas Schwab <schwab@redhat.com>
39057
39058 * misc/syncfs.c: New file.
39059 * misc/Makefile (routines): Add syncfs.
39060 * posix/unistd.h: Declare syncfs.
39061 * sysdeps/unix/syscalls.list: Add syncfs.
39062
390632011-04-01 Andreas Schwab <schwab@redhat.com>
39064
39065 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
39066 open_by_handle_at.
39067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39068 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39070 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39072 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
39073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39074
390752011-04-01 Ulrich Drepper <drepper@gmail.com>
39076
39077 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
39078 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39079 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
39080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39081 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39082 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39083 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39084
39085 * io/Makefile: Compile fallocate.c, fallocate64.c, and
39086 sync_file_range.c with -fexceptions.
39087 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
39088 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
39089 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
39090 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
39091 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
39092 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39093 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
39094 sync_file_range as cancellation point
39095 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
39096 now a wrapper around __call_sync_file_range with cancellation handling.
39097 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
39098 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
39099 function name to __call_sync_file_range.
39100 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
39101 Add call_sync_file_range.
39102
391032011-04-01 Andreas Schwab <schwab@redhat.com>
39104
39105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39106 bits/timex.h.
39107
391082011-04-01 Ulrich Drepper <drepper@gmail.com>
39109
39110 * iconv/iconv.h: Fix typo in comment.
39111 * io/fcntl.h: Likewise.
39112 * libio/stdio.h: Likewise.
39113 * posix/spawn.h: Likewise.
39114 * posix/unistd.h: Likewise.
39115 * stdlib/stdlib.h: Likewise.
39116 * time/time.h: Likewise.
39117 * wcsmbs/wchar.h: Likewise.
39118
39119 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
39120 open_by_handle): Add.
39121 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
39122 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
39123 Augment a few comments.
39124 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39125 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39126 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39128 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39129 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
39130 open_by_handle.
39131
39132 * io/fcntl.h (AT_EMPTY_PATH): Define.
39133
391342011-03-30 Ulrich Drepper <drepper@gmail.com>
39135
39136 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
39137 * sysdeps/unix/sysv/linux/bits/time.h: New file.
39138 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
39139 to...
39140 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
39141 * Versions.def: Add GLIBC_2.14.
39142 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
39143 Export.
39144
391452011-03-22 Ulrich Drepper <drepper@gmail.com>
39146
39147 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
39148 round counter.
39149 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
39150
391512011-03-20 H.J. Lu <hongjiu.lu@intel.com>
39152
39153 [BZ #12597]
39154 * string/test-strncmp.c (do_page_test): New function.
39155 (check2): Likewise.
39156 (test_main): Call check2.
39157 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
39158
391592011-03-20 Ulrich Drepper <drepper@gmail.com>
39160
39161 [BZ #12587]
39162 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
39163 Handle cache information in CPU leaf 4.
39164 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
39165
391662011-03-18 Ulrich Drepper <drepper@gmail.com>
39167
39168 [BZ #12583]
39169 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
39170 character representation.
39171 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
39172
391732011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
39174
39175 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
39176 END(__isnan) to END(__isnanf) to match function entry point/label
39177 EALIGN(__isnanf,...).
39178
391792011-03-10 Jakub Jelinek <jakub@redhat.com>
39180
39181 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
39182
391832011-03-10 Ulrich Drepper <drepper@gmail.com>
39184
39185 [BZ #12510]
39186 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
39187 copy from the symbol referenced in the relocation to initialize the
39188 used variable.
39189 Patch by Piotr Bury <pbury@goahead.com>.
39190 * elf/Makefile: Add rules to build and tst-unique3.
39191 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
39192 * elf/tst-unique3.cc: New file.
39193 * elf/tst-unique3.h: New file.
39194 * elf/tst-unique3lib.cc: New file.
39195 * elf/tst-unique3lib2.cc: New file.
39196
39197 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
39198
391992011-03-10 Mike Frysinger <vapier@gentoo.org>
39200
39201 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
39202 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
39203 to _start.
39204
392052011-03-06 Ulrich Drepper <drepper@gmail.com>
39206
39207 * elf/dl-load.c (_dl_map_object): If we are looking for the first
39208 to-be-loaded object along a path to loader is ld.so.
39209
392102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
39211 Ulrich Drepper <drepper@gmail.com>
39212
39213 * sysdeps/x86_64/memset.S: After aligning destination, code
39214 branches to different locations depending on the value of
39215 misalignment, when multiarch is enabled. Fix this.
39216
392172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
39218
39219 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
39220 Set _x86_64_preferred_memory_instruction for AMD processsors.
39221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39222 Set bit_Prefer_SSE_for_memop for AMD processors.
39223
392242011-03-04 Ulrich Drepper <drepper@gmail.com>
39225
39226 * libio/fmemopen.c (fmemopen): Optimize a bit.
39227
392282011-03-03 Andreas Schwab <schwab@redhat.com>
39229
39230 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
39231
392322011-03-03 Roland McGrath <roland@redhat.com>
39233
39234 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
39235
392362011-02-28 Aurelien Jarno <aurelien@aurel32.net>
39237
39238 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
39239 __bzero_ultra1 instead of __memset_ultra1.
39240
392412011-02-23 Andreas Schwab <schwab@redhat.com>
39242 Ulrich Drepper <drepper@gmail.com>
39243
39244 [BZ #12509]
39245 * include/link.h (struct link_map): Add l_orig_initfini.
39246 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
39247 returning unsuccessfully.
39248 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
39249 close of a file loaded at startup, restore the original l_initfini
39250 list.
39251 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
39252 list, store the pointer.
39253 * elf/Makefile ($(objpfx)noload-mem): New rule.
39254 (noload-ENV): Define.
39255 (tests): Add $(objpfx)noload-mem.
39256 * elf/noload.c: Include <memcheck.h>.
39257 (main): Call mtrace. Close all opened handles.
39258
392592011-02-17 Andreas Schwab <schwab@redhat.com>
39260
39261 [BZ #12454]
39262 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
39263 dependencies are missing.
39264
392652011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
39266
39267 Fix __if_freereq crash: Unlike the generic version which uses free,
39268 Hurd needs munmap.
39269 * sysdeps/mach/hurd/ifreq.h: New file.
39270
392712011-01-27 Petr Baudis <pasky@suse.cz>
39272 Ulrich Drepper <drepper@gmail.com>
39273
39274 [BZ 12445]#
39275 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
39276 to extend_alloca().
39277 * stdio-common/bug23.c: New file.
39278 * stdio-common/Makefile (tests): Add bug23.
39279
392802010-09-28 Andreas Schwab <schwab@redhat.com>
39281 Ulrich Drepper <drepper@gmail.com>
39282
39283 [BZ #12489]
39284 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
39285 before performing relro protection. At old place add assertion
39286 to make sure nothing changed.
39287
392882011-02-17 Nathan Sidwell <nathan@codesourcery.com>
39289 Glauber de Oliveira Costa <glommer@gmail.com>
39290
39291 * elf/elf.h: Add new ARM TLS relocs.
39292
392932011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
39294
39295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39296 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
39297 cast from r3.
39298 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
39299 'tests' variable.
39300 * sysdeps/wordsize-64/tst-writev.c: New file.
39301
393022011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
39303
39304 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
39305 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
39306 insns in _dl_start to prevent a TOC reference before relocs are
39307 resolved.
39308
393092011-02-15 Ulrich Drepper <drepper@gmail.com>
39310
39311 [BZ #12469]
39312 * Makeconfig: Remove RANLIB definition.
39313 * Makerules: Don't use RANLIB.
39314 * aclocal.m4: Remove ranlib test.
39315 * configure.in: No need to check for ranlib.
39316 * elf/rtld-Rules: Don't use RANLIB.
39317
393182011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
39319
39320 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
39321 protection macro.
39322 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
39323 inclusion protection macro.
39324
39325 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
39326 SIGRTMIN and SIGRTMAX and print information in that case only when
39327 SIGRTMIN is defined.
39328
393292011-02-11 Jakub Jelinek <jakub@redhat.com>
39330
39331 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
39332 arginfo fn returning -1.
39333
39334 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
39335 and thousands string is zero terminated.
39336
393372011-02-03 Andreas Schwab <schwab@redhat.com>
39338
39339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
39340 sysdeps/unix/sysv/linux/bits/socket.h.
39341
393422011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
39343
39344 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
39345 (__CPU_COUNT): Remove old macros.
39346 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
39347 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
39348 (__CPU_ALLOC, __CPU_FREE): Add macros.
39349 (__sched_cpualloc, __sched_cpufree): Add declarations.
39350
393512011-02-05 Ulrich Drepper <drepper@gmail.com>
39352
39353 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
39354 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
39355 * nscd/aicache.c (addhstaiX): Return timeout of added value.
39356 (readdhstai): Return value of addhstaiX call.
39357 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
39358 (addgrbyX): Return value returned by cache_addgr.
39359 (readdgrbyname): Return value returned by addgrbyX.
39360 (readdgrbygid): Likewise.
39361 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
39362 (addpwbyX): Return value returned by cache_addpw.
39363 (readdpwbyname): Return value returned by addhstbyX.
39364 (readdpwbyuid): Likewise.
39365 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
39366 (addservbyX): Return value returned by cache_addserv.
39367 (readdservbyname): Return value returned by addservbyX:
39368 (readdservbyport): Likewise.
39369 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
39370 (addhstbyX): Return value returned by cache_addhst.
39371 (readdhstbyname): Return value returned by addhstbyX.
39372 (readdhstbyaddr): Likewise.
39373 (readdhstbynamev6): Likewise.
39374 (readdhstbyaddrv6): Likewise.
39375 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
39376 (readdinitgroups): Return value returned by addinitgroupsX.
39377 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
39378 (prune_cache): Keep track of timeout value of re-added entries.
39379 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
39380 * nscd/nscd.h: Adjust prototypes of readd* functions.
39381
393822011-02-04 Roland McGrath <roland@redhat.com>
39383
39384 * nis/nis_server.c (nis_servstate): Use the right name for 0.
39385 (nis_stats): Likewise.
39386 * nis/nis_modify.c (nis_modify): Likewise.
39387 * nis/nis_remove.c (nis_remove): Likewise.
39388 * nis/nis_add.c (nis_add): Likewise.
39389
39390 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
39391
39392 * posix/fnmatch_loop.c: Add some consts.
39393
39394 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
39395
393962011-02-02 H.J. Lu <hongjiu.lu@intel.com>
39397
39398 [BZ #12460]
39399 * config.make.in (config-cflags-novzeroupper): Define.
39400 * configure.in: Substitute libc_cv_cc_novzeroupper.
39401 * elf/Makefile (AVX-CFLAGS): Define.
39402 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
39403 (CFLAGS-tst-auditmod4a.c): Likewise.
39404 (CFLAGS-tst-auditmod4b.c): Likewise.
39405 (CFLAGS-tst-auditmod6b.c): Likewise.
39406 (CFLAGS-tst-auditmod6c.c): Likewise.
39407 (CFLAGS-tst-auditmod7b.c): Likewise.
39408 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
39409
394102011-02-02 Ulrich Drepper <drepper@gmail.com>
39411
39412 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
39413 function to the callback.
39414 Patch partly by Jiri Olsa <jolsa@redhat.com>.
39415
394162011-02-02 Andreas Schwab <schwab@redhat.com>
39417
39418 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
39419 of errno.
39420
394212011-01-19 Ulrich Drepper <drepper@gmail.com>
39422
39423 [BZ #11724]
39424 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
39425 of constructors.
39426 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
39427 of destructors.
39428 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
39429
39430 [BZ #11724]
39431 * elf/Makefile: Add rules to build and run new test.
39432 * elf/tst-initorder.c: New file.
39433 * elf/tst-initorder.exp: New file.
39434 * elf/tst-initordera1.c: New file.
39435 * elf/tst-initordera2.c: New file.
39436 * elf/tst-initordera3.c: New file.
39437 * elf/tst-initordera4.c: New file.
39438 * elf/tst-initorderb1.c: New file.
39439 * elf/tst-initorderb2.c: New file.
39440 * elf/tst-order-a1.c: New file.
39441 * elf/tst-order-a2.c: New file.
39442 * elf/tst-order-a3.c: New file.
39443 * elf/tst-order-a4.c: New file.
39444 * elf/tst-order-b1.c: New file.
39445 * elf/tst-order-b2.c: New file.
39446 * elf/tst-order-main.c: New file.
39447 New test case by George Gensure <werkt0@gmail.com>.
39448
394492010-10-01 Andreas Schwab <schwab@redhat.com>
39450
39451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39452 decoding ACE if AI_CANONIDN.
39453
394542011-01-18 Ulrich Drepper <drepper@gmail.com>
39455
39456 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
39457
394582011-01-17 Ulrich Drepper <drepper@gmail.com>
39459
39460 * version.h (RELEASE): Bump for 2.13 release.
39461 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
39462
39463 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
39464
39465 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
39466 MADV_NOHUGEPAGE.
39467 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
39468 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39469 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39470 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39471 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39472 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39473
39474 * posix/getconf.c: Update copyright year.
39475 * catgets/gencat.c: Likewise.
39476 * csu/version.c: Likewise.
39477 * debug/catchsegv.sh: Likewise.
39478 * debug/xtrace.sh: Likewise.
39479 * elf/ldconfig.c: Likewise.
39480 * elf/ldd.bash.in: Likewise.
39481 * elf/sprof.c (print_version): Likewise.
39482 * iconv/iconv_prog.c: Likewise.
39483 * iconv/iconvconfig.c: Likewise.
39484 * locale/programs/locale.c: Likewise.
39485 * locale/programs/localedef.c: Likewise.
39486 * malloc/memusage.sh: Likewise.
39487 * malloc/mtrace.pl: Likewise.
39488 * nscd/nscd.c (print_version): Likewise.
39489 * nss/getent.c: Likewise.
39490
39491 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
39492 PF_CAIF, and PF_ALG.
39493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39494
394952011-01-16 Andreas Schwab <schwab@linux-m68k.org>
39496
39497 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
39498 (modules-names): Use them.
39499 (ifunc-test-modules, ifunc-pie-tests): Define.
39500 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
39501 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
39502 (test-extras): Likewise.
39503 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
39504 $(compile-command.c).
39505 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
39506 (all-built-dso): Define.
39507 (check-textrel.out, check-execstack.out): Depend on it.
39508
39509 * configure.in: Don't override --enable-multi-arch.
39510
395112011-01-15 Ulrich Drepper <drepper@gmail.com>
39512
39513 [BZ #6812]
39514 * nscd/hstcache.c (tryagain): Define.
39515 (cache_addhst): Return tryagain not notfound for temporary errors.
39516 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
39517 failed.
39518
395192011-01-14 Ulrich Drepper <drepper@gmail.com>
39520
39521 [BZ #10563]
39522 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39523 to make the syscall.
39524 * sysdeps/unix/sysv/linux/setgroups.c: New file.
39525
39526 [BZ #12378]
39527 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39528 and fall back to matching as normal character if the string ends before
39529 the matching ']' is found. This is what POSIX requires.
39530 * posix/testfnm.c: Adjust test result.
39531 * posix/globtest.sh: Adjust test result. Add new test.
39532 * posix/tst-fnmatch.input: Likewise.
39533 * posix/tst-fnmatch2.c: Add new test.
39534
395352010-12-28 Andreas Schwab <schwab@linux-m68k.org>
39536
39537 * elf/Makefile (check-execstack): Revert last change. Depend on
39538 check-execstack.h.
39539 (check-execstack.h): New target.
39540 (generated): Add check-execstack.h.
39541 * elf/check-execstack.c: Include "check-execstack.h".
39542 (main): Revert last change.
39543 (handle_file): Return zero if GNU_STACK is absent and
39544 DEFAULT_STACK_PERMS doesn't include PF_X.
39545
395462011-01-13 Ulrich Drepper <drepper@gmail.com>
39547
39548 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39549 in child fails because the descriptor is already closed.
39550 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39551 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39552 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
39553
39554 [BZ #12397]
39555 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39556 syscall.
39557
39558 [BZ #10484]
39559 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39560 temporary buffer used to handle multi lookups locally.
39561 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
39562
395632011-01-12 Ulrich Drepper <drepper@gmail.com>
39564
39565 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39566 loader is ld.so.
39567
395682011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
39569
39570 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39571 alignment for SSE2.
39572
395732011-01-12 Ulrich Drepper <drepper@gmail.com>
39574
39575 [BZ #12394]
39576 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39577 characters. When rounding increased number of integer digits recompute
39578 number of groups.
39579 * stdio-common/tst-grouping.c: New file.
39580 * stdio-common/Makefile: Add rules to build and run tst-grouping.
39581
395822011-01-09 Ulrich Drepper <drepper@gmail.com>
39583
39584 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39585 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
39586
39587 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39588 void.
39589 * bits/select.h: Likewise.
39590
395912011-01-08 Ulrich Drepper <drepper@gmail.com>
39592
39593 * po/ja.po: Update from translation team.
39594
395952011-01-04 David S. Miller <davem@sunset.davemloft.net>
39596
39597 [BZ #11155]
39598 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39599 implementation just like for lxstat, fxstatat, et al.
39600
396012010-12-27 Jim Meyering <meyering@redhat.com>
39602
39603 [BZ #12348]
39604 * posix/regexec.c (build_trtable): Return failure indication upon
39605 calloc failure. Otherwise, re_search_internal could infloop on OOM.
39606
396072010-12-25 Ulrich Drepper <drepper@gmail.com>
39608
39609 [BZ #12201]
39610 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39611 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39612 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39613 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39614
39615 [BZ #12207]
39616 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39617
39618 [BZ #12204]
39619 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39620 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39621
396222010-12-15 H.J. Lu <hongjiu.lu@intel.com>
39623
39624 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39625 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39626 script has SORT_BY_INIT_PRIORITY.
39627 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39628 NO_CTORS_DTORS_SECTIONS is defined.
39629 * elf/soinit.c: Likewise.
39630 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39631 NO_CTORS_DTORS_SECTIONS is defined.
39632 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39633 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39634 * sysdeps/sh/init-first.c: Likewise.
39635 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39636
396372010-12-24 Ulrich Drepper <drepper@gmail.com>
39638
39639 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39640 always use the slow path.
39641
396422010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
39643
39644 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39645 similar rule which adds the sysdep directories to the header search in
39646 order to pick up the correct platform stackinfo.h.
39647 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39648 perform test if it is, otherwise return successfully without testing.
39649 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39650 DEFAULT_STACK_PERMS define in stackinfo.h.
39651 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39652 defined in stackinfo.h.
39653 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39654 DEFAULT_STACK_PERMS defined in stackinfo.h.
39655 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39656 * sysdeps/ia64/stackinfo.h: Likewise.
39657 * sysdeps/s390/stackinfo.h: Likewise.
39658 * sysdeps/sh/stackinfo.h: Likewise.
39659 * sysdeps/sparc/stackinfo.h: Likewise.
39660 * sysdeps/x86_64/stackinfo.h: Likewise.
39661 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39662 PF_X for powerpc64. Retain PF_X for powerpc32.
39663
396642010-12-19 Ulrich Drepper <drepper@gmail.com>
39665
39666 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39667 accurately.
39668 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39669 GETDENTS_64BIT_ALIGNED.
39670
396712010-12-14 Ulrich Drepper <dreper@gmail.com>
39672
39673 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
39674
396752010-12-10 Andreas Schwab <schwab@redhat.com>
39676
39677 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39678 _GNU_SOURCE.
39679
39680 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39681 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39682 Remove __restrict.
39683 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39684 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39685
396862010-12-09 Ulrich Drepper <drepper@gmail.com>
39687
39688 [BZ #11655]
39689 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39690 are initialized.
39691
396922010-12-09 Jakub Jelinek <jakub@redhat.com>
39693
39694 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39695
396962010-12-03 Ulrich Drepper <drepper@gmail.com>
39697
39698 * po/it.po: Update from translation team.
39699
397002010-12-01 H.J. Lu <hongjiu.lu@intel.com>
39701
39702 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39703 unused codes.
39704
397052010-11-30 Ulrich Drepper <drepper@gmail.com>
39706
39707 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39708
397092010-11-24 Andreas Schwab <schwab@redhat.com>
39710
39711 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39712 specially.
39713 (gaih_getanswer_slice): Likewise.
39714
397152010-10-20 Jakub Jelinek <jakub@redhat.com>
39716
39717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39718
397192010-05-31 Petr Baudis <pasky@suse.cz>
39720
39721 [BZ #11149]
39722 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39723 silently even in the chroot mode.
39724
397252010-11-22 Ulrich Drepper <drepper@gmail.com>
39726
39727 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39728 last patch a bit. Pretty printing
39729
397302010-05-31 Petr Baudis <pasky@suse.cz>
39731
39732 [BZ #10085]
39733 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39734 initialization of skip_initgroups_dyn.
39735
397362010-11-19 Ulrich Drepper <drepper@gmail.com>
39737
39738 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39739 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39740
397412010-11-16 Ulrich Drepper <drepper@gmail.com>
39742
39743 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39744
397452010-11-11 Andreas Schwab <schwab@redhat.com>
39746
39747 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39748 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39749 (tst-fnmatch-ENV): Set MALLOC_TRACE.
39750 ($(objpfx)tst-fnmatch-mem): New rule.
39751 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39752 * posix/tst-fnmatch.c (main): Call mtrace.
39753
397542010-11-11 H.J. Lu <hongjiu.lu@intel.com>
39755
39756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39757 Support Intel processor model 6 and model 0x2c.
39758
397592010-11-10 Luis Machado <luisgpm@br.ibm.com>
39760
39761 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39762 signed comparison.
39763
397642010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39765
39766 [BZ #12205]
39767 * string/test-strncasecmp.c (check_result): New function.
39768 (do_one_test): Use it.
39769 (check1): New function.
39770 (test_main): Use it.
39771 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39772 Support strcasecmp and strncasecmp.
39773
397742010-11-08 Ulrich Drepper <drepper@gmail.com>
39775
39776 [BZ #12194]
39777 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39778 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39779
397802010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39781
39782 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39783 IFUNC support.
39784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39785 memset-x86-64.
39786 * sysdeps/x86_64/multiarch/bzero.S: New file.
39787 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39788 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39789 * sysdeps/x86_64/multiarch/memset.S: New file.
39790 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39792 Set bit_Prefer_SSE_for_memop for Intel processors.
39793 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39794 Define.
39795 (index_Prefer_SSE_for_memop): Define.
39796 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39797
397982010-11-04 Luis Machado <luisgpm@br.ibm.com>
39799
39800 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39801 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39802
398032010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39804
39805 [BZ #12191]
39806 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39807 (__x86_64_raw_data_cache_size_half): Likewise.
39808 (__x86_64_raw_shared_cache_size): Likewise.
39809 (__x86_64_raw_shared_cache_size_half): Likewise.
39810
39811 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39812 (__x86_64_raw_data_cache_size_half): Likewise.
39813 (__x86_64_raw_shared_cache_size): Likewise.
39814 (__x86_64_raw_shared_cache_size_half): Likewise.
39815 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39816 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39817 and __x86_64_raw_shared_cache_size_half. Round
39818 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39819 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39820 to multiple of 256 bytes.
39821
398222010-11-03 Ulrich Drepper <drepper@gmail.com>
39823
39824 [BZ #12167]
39825 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39826 of inacessible symlinks. Verify result of symlink before returning it.
39827 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39828 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39829
398302010-10-28 Erich Ritz <erichritz@gmail.com>
39831
39832 * math/math.h (isinf): Fix typo in comment.
39833
398342010-11-01 Ulrich Drepper <drepper@gmail.com>
39835
39836 * po/da.po: Update from translation team.
39837
398382010-10-26 Ulrich Drepper <drepper@gmail.com>
39839
39840 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39841 is added to the list.
39842
398432010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39844 Ulrich Drepper <drepper@gmail.com>
39845
39846 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39847 the global list here. Move code to...
39848 (_dl_add_to_namespace_list): ...here. New function.
39849 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39850 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39851 * elf/dl-load.c (lose): Don't remove the element from the list.
39852 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39853 (_dl_map_object): Likewise.
39854
398552010-10-25 Ulrich Drepper <drepper@gmail.com>
39856
39857 [BZ #12159]
39858 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39859 into all bytes of SSE register.
39860 Patch by Richard Li <richardpku@gmail.com>.
39861
398622010-10-24 Ulrich Drepper <drepper@gmail.com>
39863
39864 [BZ #12140]
39865 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39866 perturbing.
39867
398682010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39869
39870 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39871 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39872 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39873 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39875 submachine.
39876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39877
398782010-10-22 Andreas Schwab <schwab@redhat.com>
39879
39880 * include/dlfcn.h (__RTLD_SECURE): Define.
39881 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39882 mode & __RTLD_SECURE instead.
39883 (open_path): Rename preloaded parameter to secure.
39884 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39885 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39886 * elf/dl-deps.c (openaux): Likewise.
39887 * elf/rtld.c (struct map_args): Remove is_preloaded.
39888 (map_doit): Don't use it.
39889 (dl_main): Likewise.
39890 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39891 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39892
398932010-09-09 Andreas Schwab <schwab@redhat.com>
39894
39895 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39896 (sysd-rules-targets): Remove duplicates.
39897 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39898 rtld-%.$o dependency.
39899
399002010-10-18 Andreas Schwab <schwab@redhat.com>
39901
39902 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39903 _dl_map_object do it.
39904
399052010-10-19 Ulrich Drepper <drepper@gmail.com>
39906
39907 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39908 fast fma builtins, define the macros in the C99 standard.
39909 (FP_FAST_FMAF): Likewise.
39910 (FP_FAST_FMAL): Likewise.
39911 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39912
39913 * bits/mathdef.h: Update copyright year.
39914 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39915
399162010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39917
39918 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39919 builtins, define the macros in the C99 standard.
39920 (FP_FAST_FMAF): Likewise.
39921 (FP_FAST_FMAL): Likewise.
39922 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39923 multiply/add.
39924 (FP_FAST_FMAF): Likewise.
39925
399262010-10-15 Jakub Jelinek <jakub@redhat.com>
39927
39928 [BZ #3268]
39929 * math/libm-test.inc (fma_test): Some new testcases.
39930 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39931 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39932 y and infinite z. Do multiplication by C already in long double.
39933 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39935 y and infinite z. Do bitwise or of inexact bit into u.d.
39936 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39937 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39938 * sysdeps/i386/fpu/s_fma.S: Removed.
39939 * sysdeps/i386/fpu/s_fmal.S: Removed.
39940
399412010-10-16 Jakub Jelinek <jakub@redhat.com>
39942
39943 [BZ #3268]
39944 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39946 computation is not scheduled after fetestexcept. Fix value
39947 of minimum denormal long double.
39948
399492010-10-14 Jakub Jelinek <jakub@redhat.com>
39950
39951 [BZ #3268]
39952 * math/libm-test.inc (fma_test): Add some more tests.
39953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39954 correctly.
39955
399562010-10-15 Andreas Schwab <schwab@redhat.com>
39957
39958 * scripts/data/localplt-s390-linux-gnu.data: New file.
39959 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39960
399612010-10-13 Jakub Jelinek <jakub@redhat.com>
39962
39963 [BZ #3268]
39964 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39965 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39966 instead of dbl-64.
39967 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39968 inlines.
39969 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39971 if one of x and y is very large and the other is subnormal.
39972 * sysdeps/s390/fpu/s_fmaf.c: New file.
39973 * sysdeps/s390/fpu/s_fma.c: New file.
39974 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39975 * sysdeps/powerpc/fpu/s_fma.S: New file.
39976 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39977 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39978 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39979
399802010-10-12 Jakub Jelinek <jakub@redhat.com>
39981
39982 [BZ #3268]
39983 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39984 fma tests.
39985 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39986 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39987 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39988 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39989 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39990 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39991 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39992
399932010-10-12 Ulrich Drepper <drepper@redhat.com>
39994
39995 [BZ #12078]
39996 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39997 * posix/bug-regex31.input: Add test case.
39998
399992010-10-11 Ulrich Drepper <drepper@gmail.com>
40000
40001 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40002 * posix/bug-regex31.input: New file.
40003
40004 [BZ #12078]
40005 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40006 (parse_sub_exp): Fix last change, use postorder.
40007
40008 * posix/bug-regex31.c: New file.
40009 * posix/Makefile: Add rules to build and run bug-regex31.
40010
40011 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
40012
40013 [BZ #12078]
40014 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
40015
40016 [BZ #12108]
40017 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
40018 to have entries in sys_siglist.
40019
40020 [BZ #12093]
40021 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
40022 be NULL.
40023
400242010-10-07 Jakub Jelinek <jakub@redhat.com>
40025
40026 [BZ #3268]
40027 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
40028 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
40029 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
40030 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
40031 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40032 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
40033 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
40034 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
40035 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
40036 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
40037 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
40038 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
40039 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40040 * math/ftestexcept.c (fetestexcept): Likewise.
40041 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
40042 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
40043 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
40044 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
40045 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
40046 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
40047 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40048
400492010-10-11 Ulrich Drepper <drepper@gmail.com>
40050
40051 [BZ #12107]
40052 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
40053 newline.
40054
400552010-10-06 Ulrich Drepper <drepper@gmail.com>
40056
40057 * string/bug-strstr1.c: New file.
40058 * string/Makefile: Add rules to build and run bug-strstr1.
40059
400602010-10-05 Eric Blake <eblake@redhat.com>
40061
40062 [BZ #12092]
40063 * string/str-two-way.h (two_way_long_needle): Always clear memory
40064 when skipping input due to the shift table.
40065
400662010-10-03 Ulrich Drepper <drepper@gmail.com>
40067
40068 [BZ #12005]
40069 * malloc/mcheck.c: Handle large requests.
40070
40071 [BZ #12077]
40072 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
40073 for strncmp and strncasecmp.
40074 * string/stratcliff.c: Add tests for strcmp and strncmp.
40075 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
40076
400772010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40078
40079 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
40080 __set_fpscr.
40081
400822010-09-30 Andreas Jaeger <aj@suse.de>
40083
40084 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
40085 (CGROUP_SUPER_MAGIC): Define.
40086 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40087 Handle btrfs and cgroup file systems.
40088 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40089 Likewise.
40090
400912010-09-27 Luis Machado <luisgpm@br.ibm.com>
40092
40093 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
40094 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
40095
400962010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40097
40098 [BZ #12067]
40099 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
40100 trying to locate the ELF header.
40101
401022010-09-27 Andreas Schwab <schwab@redhat.com>
40103
40104 [BZ #11611]
40105 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
40106 Mask out sign-bit copies when constructing f_fsid.
40107
401082010-09-24 Petr Baudis <pasky@suse.cz>
40109
40110 * debug/stack_chk_fail_local.c: Add missing licence exception.
40111 * debug/warning-nop.c: Likewise.
40112
401132010-09-15 Joseph Myers <joseph@codesourcery.com>
40114
40115 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
40116 implementing getdents64 using getdents syscall, set d_type if
40117 __ASSUME_GETDENTS32_D_TYPE.
40118
401192010-09-16 Andreas Schwab <schwab@redhat.com>
40120
40121 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
40122 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
40123
401242010-09-21 Ulrich Drepper <drepper@redhat.com>
40125
40126 [BZ #12037]
40127 * posix/unistd.h: Undo change of feature selection for ftruncate from
40128 2010-01-11.
40129
401302010-09-20 Ulrich Drepper <drepper@redhat.com>
40131
40132 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
40133 detection.
40134
401352010-09-20 Andreas Schwab <schwab@redhat.com>
40136
40137 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
40138 fanotify_mark.
40139 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40140
401412010-09-14 Andreas Schwab <schwab@redhat.com>
40142
40143 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
40144 variables after CHECK_SP call.
40145 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
40146
401472010-09-13 Andreas Schwab <schwab@redhat.com>
40148 Ulrich Drepper <drepper@redhat.com>
40149
40150 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
40151 re-relocationg ld.so.
40152 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
40153 _dl_init_paths call.
40154 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
40155 here anymore.
40156
401572010-09-14 Ulrich Drepper <drepper@redhat.com>
40158
40159 * resolv/res_init.c (__res_vinit): Count the default server we added.
40160
401612010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
40162 Ulrich Drepper <drepper@redhat.com>
40163
40164 [BZ #11968]
40165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40166 (____longjmp_chk): Use %ebx for saving value across system call.
40167 Add unwind info.
40168
401692010-09-06 Andreas Schwab <schwab@redhat.com>
40170
40171 * manual/Makefile: Don't mix pattern rules with normal rules.
40172
401732010-09-05 Andreas Schwab <schwab@linux-m68k.org>
40174
40175 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
40176 operation.
40177 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
40178 * libio/iofopncook.c (_IO_cookie_init): Likewise.
40179 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
40180 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
40181 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40182 Likewise.
40183
401842010-09-04 Ulrich Drepper <drepper@redhat.com>
40185
40186 [BZ #11979]
40187 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
40188 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
40189
401902010-09-02 Ulrich Drepper <drepper@redhat.com>
40191
40192 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
40193 * sysdeps/x86_64/addmul_1.S: Likewise.
40194 * sysdeps/x86_64/lshift.S: Likewise.
40195 * sysdeps/x86_64/mul_1.S: Likewise.
40196 * sysdeps/x86_64/rshift.S: Likewise.
40197 * sysdeps/x86_64/sub_n.S: Likewise.
40198 * sysdeps/x86_64/submul_1.S: Likewise.
40199
402002010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
40201
40202 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
40203 Define __sched_param instead of SCHED_* and sched_param when
40204 <bits/sched.h> is included with __need_schedparam defined.
40205 * bits/sched.h [__need_schedparam]
40206 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
40207 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
40208 (__defined_schedparam): Define to 1.
40209 (__sched_param): New structure, identical to sched_param.
40210 (__need_schedparam): Undefine.
40211
402122010-08-31 Mike Frysinger <vapier@gentoo.org>
40213
40214 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
40215 (epoll_create1): Declare.
40216
40217 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
40218
402192010-08-31 Andreas Schwab <schwab@redhat.com>
40220
40221 [BZ #7066]
40222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
40223 shifting retval into place.
40224
402252010-09-01 Ulrich Drepper <drepper@redhat.com>
40226
40227 * nis/rpcsvc/nis.h: Update copyright notice.
40228 * nis/rpcsvc/nis.x: Likewise.
40229 * nis/rpcsvc/nis_callback.h: Likewise.
40230 * nis/rpcsvc/nis_callback.x: Likewise.
40231 * nis/rpcsvc/nis_object.x: Likewise.
40232 * nis/rpcsvc/nis_tags.h: Likewise.
40233 * nis/rpcsvc/yp.h: Likewise.
40234 * nis/rpcsvc/yp.x: Likewise.
40235 * nis/rpcsvc/ypupd.h: Likewise.
40236 * nis/yp_xdr.c: Likewise.
40237 * nis/ypupdate_xdr.c: Likewise.
40238
40239 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
40240 mainly the body of pmap_getport. Add parameters to specify timeouts.
40241 (pmap_getport): Use __libc_rpc_getport.
40242 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
40243 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
40244 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
40245
402462010-08-31 Andreas Schwab <schwab@linux-m68k.org>
40247
40248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
40249 fanotify_mark.
40250
402512010-08-27 Roland McGrath <roland@redhat.com>
40252
40253 * sysdeps/i386/i686/multiarch/Makefile
40254 (CFLAGS-varshift.c): New variable.
40255
402562010-08-27 Ulrich Drepper <drepper@redhat.com>
40257
40258 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
40259 * sysdeps/i386/i686/multiarch/varshift.c: New file.
40260
40261 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
40262
40263 * sysdeps/x86_64/strlen.S: Minimal code improvement.
40264
402652010-08-26 H.J. Lu <hongjiu.lu@intel.com>
40266
40267 * sysdeps/x86_64/strlen.S: Unroll the loop.
40268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40269 strlen-sse2 strlen-sse2-bsf.
40270 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
40271 __strlen_no_bsf if bit_Slow_BSF is set.
40272 (__strlen_sse42): Removed.
40273 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
40274 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
40275
402762010-08-25 Roland McGrath <roland@redhat.com>
40277
40278 * sysdeps/x86_64/multiarch/varshift.S: File removed.
40279 * sysdeps/x86_64/multiarch/varshift.c: New file.
40280 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
40281 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
40282 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
40283 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40284
402852010-08-25 H.J. Lu <hongjiu.lu@intel.com>
40286
40287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40288 strlen-sse2 strlen-sse2-bsf.
40289 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
40290 __strlen_sse2_bsf if bit_Slow_BSF is unset.
40291 (__strlen_sse2): Removed.
40292 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
40293 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
40294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40295 bit_Slow_BSF for Atom.
40296 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
40297 (index_Slow_BSF): Define.
40298 (HAS_SLOW_BSF): Define.
40299
403002010-08-25 Ulrich Drepper <drepper@redhat.com>
40301
40302 [BZ #10851]
40303 * resolv/res_init.c (__res_vinit): When no server address at all
40304 is given default to loopback.
40305
403062010-08-24 Roland McGrath <roland@redhat.com>
40307
40308 * configure.in: Remove config-name.h generation.
40309 * configure: Regenerated.
40310 * config-name.in: File removed.
40311 * scripts/config-uname.sh: New file.
40312 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
40313 ($(objdir)config-name.h): New target.
40314
40315 * sunrpc/rpc_parse.h: Avoid nested comment.
40316
403172010-08-24 Richard Henderson <rth@redhat.com>
40318 Ulrich Drepper <drepper@redhat.com>
40319 H.J. Lu <hongjiu.lu@intel.com>
40320
40321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
40322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
40323 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
40324 Replace _mm_srli_si128 with __m128i_shift_right. Replace
40325 _mm_alignr_epi8 with _mm_loadu_si128.
40326 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
40327 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
40328 (__m128i_shift_right): Removed.
40329 * sysdeps/i386/i686/multiarch/varshift.h: New file.
40330 * sysdeps/i386/i686/multiarch/varshift.S: New file.
40331 * sysdeps/x86_64/multiarch/varshift.h: New file.
40332 * sysdeps/x86_64/multiarch/varshift.S: New file.
40333
403342010-08-21 Mike Frysinger <vapier@gentoo.org>
40335
40336 * configure.in: Move assembler checks to before sysdep dir checking.
40337
403382010-08-20 Petr Baudis <pasky@suse.cz>
40339
40340 * LICENSES: Sync the sunrpc license.
40341
403422010-08-19 Ulrich Drepper <drepper@redhat.com>
40343
40344 * sunrpc/auth_des.c: Update copyright notice once again.
40345 * sunrpc/auth_none.c: Likewise.
40346 * sunrpc/auth_unix.c: Likewise.
40347 * sunrpc/authdes_prot.c: Likewise.
40348 * sunrpc/authuxprot.c: Likewise.
40349 * sunrpc/bindrsvprt.c: Likewise.
40350 * sunrpc/clnt_gen.c: Likewise.
40351 * sunrpc/clnt_perr.c: Likewise.
40352 * sunrpc/clnt_raw.c: Likewise.
40353 * sunrpc/clnt_simp.c: Likewise.
40354 * sunrpc/clnt_tcp.c: Likewise.
40355 * sunrpc/clnt_udp.c: Likewise.
40356 * sunrpc/clnt_unix.c: Likewise.
40357 * sunrpc/des_crypt.c: Likewise.
40358 * sunrpc/des_soft.c: Likewise.
40359 * sunrpc/get_myaddr.c: Likewise.
40360 * sunrpc/getrpcport.c: Likewise.
40361 * sunrpc/key_call.c: Likewise.
40362 * sunrpc/key_prot.c: Likewise.
40363 * sunrpc/openchild.c: Likewise.
40364 * sunrpc/pm_getmaps.c: Likewise.
40365 * sunrpc/pm_getport.c: Likewise.
40366 * sunrpc/pmap_clnt.c: Likewise.
40367 * sunrpc/pmap_prot.c: Likewise.
40368 * sunrpc/pmap_prot2.c: Likewise.
40369 * sunrpc/pmap_rmt.c: Likewise.
40370 * sunrpc/rpc/auth.h: Likewise.
40371 * sunrpc/rpc/auth_unix.h: Likewise.
40372 * sunrpc/rpc/clnt.h: Likewise.
40373 * sunrpc/rpc/des_crypt.h: Likewise.
40374 * sunrpc/rpc/key_prot.h: Likewise.
40375 * sunrpc/rpc/netdb.h: Likewise.
40376 * sunrpc/rpc/pmap_clnt.h: Likewise.
40377 * sunrpc/rpc/pmap_prot.h: Likewise.
40378 * sunrpc/rpc/pmap_rmt.h: Likewise.
40379 * sunrpc/rpc/rpc.h: Likewise.
40380 * sunrpc/rpc/rpc_des.h: Likewise.
40381 * sunrpc/rpc/rpc_msg.h: Likewise.
40382 * sunrpc/rpc/svc.h: Likewise.
40383 * sunrpc/rpc/svc_auth.h: Likewise.
40384 * sunrpc/rpc/types.h: Likewise.
40385 * sunrpc/rpc/xdr.h: Likewise.
40386 * sunrpc/rpc_clntout.c: Likewise.
40387 * sunrpc/rpc_cmsg.c: Likewise.
40388 * sunrpc/rpc_common.c: Likewise.
40389 * sunrpc/rpc_cout.c: Likewise.
40390 * sunrpc/rpc_dtable.c: Likewise.
40391 * sunrpc/rpc_hout.c: Likewise.
40392 * sunrpc/rpc_main.c: Likewise.
40393 * sunrpc/rpc_parse.c: Likewise.
40394 * sunrpc/rpc_parse.h: Likewise.
40395 * sunrpc/rpc_prot.c: Likewise.
40396 * sunrpc/rpc_sample.c: Likewise.
40397 * sunrpc/rpc_scan.c: Likewise.
40398 * sunrpc/rpc_scan.h: Likewise.
40399 * sunrpc/rpc_svcout.c: Likewise.
40400 * sunrpc/rpc_tblout.c: Likewise.
40401 * sunrpc/rpc_util.c: Likewise.
40402 * sunrpc/rpc_util.h: Likewise.
40403 * sunrpc/rpcinfo.c: Likewise.
40404 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
40405 * sunrpc/rpcsvc/key_prot.x: Likewise.
40406 * sunrpc/rpcsvc/klm_prot.x: Likewise.
40407 * sunrpc/rpcsvc/mount.x: Likewise.
40408 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
40409 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
40410 * sunrpc/rpcsvc/rex.x: Likewise.
40411 * sunrpc/rpcsvc/rstat.x: Likewise.
40412 * sunrpc/rpcsvc/rusers.x: Likewise.
40413 * sunrpc/rpcsvc/sm_inter.x: Likewise.
40414 * sunrpc/rpcsvc/spray.x: Likewise.
40415 * sunrpc/rpcsvc/yppasswd.x: Likewise.
40416 * sunrpc/rtime.c: Likewise.
40417 * sunrpc/svc.c: Likewise.
40418 * sunrpc/svc_auth.c: Likewise.
40419 * sunrpc/svc_authux.c: Likewise.
40420 * sunrpc/svc_raw.c: Likewise.
40421 * sunrpc/svc_run.c: Likewise.
40422 * sunrpc/svc_simple.c: Likewise.
40423 * sunrpc/svc_tcp.c: Likewise.
40424 * sunrpc/svc_udp.c: Likewise.
40425 * sunrpc/svc_unix.c: Likewise.
40426 * sunrpc/svcauth_des.c: Likewise.
40427 * sunrpc/xcrypt.c: Likewise.
40428 * sunrpc/xdr.c: Likewise.
40429 * sunrpc/xdr_array.c: Likewise.
40430 * sunrpc/xdr_float.c: Likewise.
40431 * sunrpc/xdr_mem.c: Likewise.
40432 * sunrpc/xdr_rec.c: Likewise.
40433 * sunrpc/xdr_ref.c: Likewise.
40434 * sunrpc/xdr_sizeof.c: Likewise.
40435 * sunrpc/xdr_stdio.c: Likewise.
40436
40437 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
40438 handling.
40439
404402010-08-19 Andreas Schwab <schwab@redhat.com>
40441
40442 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
40443
404442010-08-19 Luis Machado <luisgpm@br.ibm.com>
40445
40446 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
40447 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
40448 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
40449 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
40450 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
40451 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
40452 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
40453 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
40454 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
40455 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
40456 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
40457 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
40458 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
40459 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
40460
404612010-07-26 Anton Blanchard <anton@samba.org>
40462
40463 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
40464 * malloc/arena.c (heap_trim): Likewise.
40465
404662010-08-16 Ulrich Drepper <drepper@redhat.com>
40467
40468 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
40469 here. Not...
40470 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
40471 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
40472
404732010-08-12 H.J. Lu <hongjiu.lu@intel.com>
40474
40475 * sysdeps/i386/elf/Makefile: New file.
40476
404772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
40478
40479 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
40480 from fanotify_init.
40481 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
40482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40483
404842010-08-15 Ulrich Drepper <drepper@redhat.com>
40485
40486 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
40487 of strncasecmp_l.
40488 * sysdeps/multiarch/strcmp.S: Likewise.
40489
404902010-08-14 Ulrich Drepper <drepper@redhat.com>
40491
40492 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40493 strncase_l-nonascii.
40494 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40495 Add strncase_l-ssse3.
40496 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
40497 * sysdeps/x86_64/strcmp.S: Likewise.
40498 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
40499 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
40500 * sysdeps/x86_64/strncase.S: New file.
40501 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
40502 * sysdeps/x86_64/strncase_l.S: New file.
40503 * string/Makefile (strop-tests): Add strncasecmp.
40504 * string/test-strncasecmp.c: New file.
40505
40506 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
40507 warning.
40508
40509 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
40510 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
40511
405122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
40513
40514 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
40515
405162010-08-12 Ulrich Drepper <drepper@redhat.com>
40517
40518 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40519 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40520 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40521
405222010-05-01 Alan Modra <amodra@gmail.com>
40523
40524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40525 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40526 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40527 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40528 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40529 tidying. Don't tail-call __sigjmp_save for static lib.
40530 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40531 save location.
40532 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40533 (CALL_MCOUNT): Add eh info, and nop after bl.
40534 (TAIL_CALL_SYSCALL_ERROR): New macro.
40535 (PSEUDO_RET): Use it.
40536 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40537 Correct save location of integer regs and cr.
40538 (_dl_profile_resolve): Correct cr save location. Delete nops
40539 after bl when SHARED. Reduce cfi size a little by better
40540 placement of cfi directives.
40541 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40542 make a stack frame. Instead use parm save area as a temp.
40543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40544 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
40545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40546 Don't make a stack frame for parent, use parm save area.
40547 Increase child stack frame to 112 bytes. Don't save unused reg,
40548 and adjust reg usage. Set up cfi on error recovery and
40549 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40551 (__makecontext): Add dummy nop after jump to exit.
40552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40553 Use correct parm save area and cr save, reduce stack frame.
40554 Correct cfi for possible PSEUDO_RET frame setup.
40555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40556 Branch to local label emitted by PSEUDO_RET rather than
40557 __syscall_error.
40558
405592010-08-12 Andreas Schwab <schwab@redhat.com>
40560
40561 [BZ #11904]
40562 * locale/programs/locale.c (print_assignment): New function.
40563 (show_locale_vars): Use it.
40564
405652010-08-11 Ulrich Drepper <drepper@redhat.com>
40566
40567 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40568 field.
40569 (struct statfs64): Likewise.
40570 (_STATFS_F_FLAGS): Define.
40571 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40572 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40573 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40574 (ST_VALID): Define locally.
40575 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40576 __statvfs_getflags, use the provided value.
40577 * sysdeps/unix/sysv/linux/kernel-features.h: Define
40578 __ASSUME_STATFS_F_FLAGS.
40579
40580 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40581
40582 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40583 Add sys/fanotify.h.
40584 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40585 fanotify_mask for GLIBC_2.13.
40586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40587 fanotify_init and fanotify_mark.
40588 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40589 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40590
40591 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40592 Add prlimit.
40593 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40594 prlimit64 for GLIBC_2.13.
40595 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40596 prlimit64.
40597 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40598 syscall.
40599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40600 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40601 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40603 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
40604 add prlimit alias.
40605 * sysdeps/unix/sysv/linux/prlimit.c: New file.
40606
40607 [BZ #11903]
40608 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40609 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40610
40611 * nss/Makefile: Add rules to build and run tst-nss-test1.
40612 * shlib-versions: Add entry for libnss_test1.
40613 * nss/nss_test1.c: New file.
40614 * nss/tst-nss-test1.c: New file.
40615
40616 * nss/nsswitch.c (__nss_database_custom): Define new variable.
40617 (__nss_configure_lookup): Set appropriate entry in
40618 __nss_configure_lookup to true.
40619 * nss/nsswitch.h: Define enum with indeces of databases in
40620 databases and __nss_database_custom arrays. Declare
40621 __nss_database_custom.
40622 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40623 to avoid using nscd when custom rules are installed.
40624 * nss/getXXbyYY_r.c: Likewise.
40625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40626
40627 * nss/nss_files/files-parse.c: Whitespace fixes.
40628
406292010-08-09 Ulrich Drepper <drepper@redhat.com>
40630
40631 [BZ #11883]
40632 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40633 * posix/fnmatch_loop.c: Likewise.
40634
406352010-07-17 Andi Kleen <ak@linux.intel.com>
40636
40637 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40638 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40639 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40640 * Versions.def [GLIBC_2.13]: Add.
40641
406422010-08-06 Ulrich Drepper <drepper@redhat.com>
40643
40644 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40645 Also fail if tpwd after pwuid call is NULL.
40646
406472010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
40648
40649 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40650 when converting to ms.
40651
406522010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40653
40654 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40655 EOPNOTSUPP errors with ENOTTY.
40656 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40657 EOPNOTSUPP errors with ENOTTY.
40658
406592010-07-31 Ulrich Drepper <drepper@redhat.com>
40660
40661 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40662 Add strcasecmp_l-ssse3.
40663 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40664 strcasecmp.
40665 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40666 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40667 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40668
406692010-07-30 Ulrich Drepper <drepper@redhat.com>
40670
40671 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40672
40673 * string/Makefile (strop-tests): Add strcasecmp.
40674 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40675 strcasecmp_l-nonascii.
40676 (gen-as-const-headers): Add locale-defines.sym.
40677 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40678 * sysdeps/x86_64/strcasecmp.S: New file.
40679 * sysdeps/x86_64/strcasecmp_l.S: New file.
40680 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40681 * sysdeps/x86_64/locale-defines.sym: New file.
40682 * string/test-strcasecmp.c: New file.
40683
40684 * string/test-strcasestr.c: Test both ends of the range of characters.
40685 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40686
406872010-07-29 Roland McGrath <roland@redhat.com>
40688
40689 [BZ #11856]
40690 * manual/locale.texi (Yes-or-No Questions): Fix example code.
40691
406922010-07-27 Ulrich Drepper <drepper@redhat.com>
40693
40694 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40695 for ld.so.
40696
406972010-07-27 Andreas Schwab <schwab@redhat.com>
40698
40699 * manual/memory.texi (Malloc Tunable Parameters): Document
40700 M_PERTURB.
40701
407022010-07-26 Roland McGrath <roland@redhat.com>
40703
40704 [BZ #11840]
40705 * configure.in (-fgnu89-inline check): Set and substitute
40706 gnu89_inline, not libc_cv_gnu89_inline.
40707 * configure: Regenerated.
40708 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40709
407102010-07-26 Ulrich Drepper <drepper@redhat.com>
40711
40712 * string/test-strnlen.c: New file.
40713 * string/Makefile (strop-tests): Add strnlen.
40714 * string/tester.c (test_strnlen): Add a few more test cases.
40715 * string/tst-strlen.c: Better error reporting.
40716
40717 * sysdeps/x86_64/strnlen.S: New file.
40718
407192010-07-24 Ulrich Drepper <drepper@redhat.com>
40720
40721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40722 lower-latency instructions.
40723
407242010-07-23 Ulrich Drepper <drepper@redhat.com>
40725
40726 * string/test-strcasestr.c: New file.
40727 * string/test-strstr.c: New file.
40728 * string/Makefile (strop-tests): Add strstr and strcasestr.
40729 * string/str-two-way.h: Don't undefine MAX.
40730 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40731
407322010-07-21 Andreas Schwab <schwab@redhat.com>
40733
40734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40735 strcasestr-nonascii.
40736 (CFLAGS-strcasestr-nonascii.c): Define.
40737 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40738 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40739 Remove unused attribute.
40740
407412010-07-20 Roland McGrath <roland@redhat.com>
40742
40743 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40744 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
40745 ld.so.cache was broken. With it, there is no way to disable dsocaps
40746 like LD_HWCAP_MASK can disable hwcaps.
40747
407482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40749
40750 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40751
407522010-07-16 Ulrich Drepper <drepper@redhat.com>
40753
40754 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40755 call in strcasestr.
40756 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40757 __strcasestr_sse42_nonascii.
40758 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40759 strcasestr-nonascii.c.
40760 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40761
407622010-06-15 Luis Machado <luisgpm@br.ibm.com>
40763
40764 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40765 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40766 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40767 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40768
407692010-07-09 Ulrich Drepper <drepper@redhat.com>
40770
40771 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40772 fcntl.
40773
407742010-07-06 Andreas Schwab <schwab@redhat.com>
40775
40776 [BZ #11577]
40777 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40778 dl_signal_cerror.
40779
407802010-07-06 Ulrich Drepper <drepper@redhat.com>
40781
40782 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40783 _PC_PIPE_BUF using F_GETPIPE_SZ.
40784
407852010-07-05 Roland McGrath <roland@redhat.com>
40786
40787 * manual/arith.texi (Rounding Functions): Fix rint description
40788 implicit in round description.
40789
407902010-07-02 Ulrich Drepper <drepper@redhat.com>
40791
40792 * elf/Makefile: Fix linking for a few tests to make recent linker
40793 happy.
40794
407952010-06-30 Andreas Schwab <schwab@redhat.com>
40796
40797 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40798 $(common-objpfx)libc_nonshared.a.
40799
408002010-06-21 Luis Machado <luisgpm@br.ibm.com>
40801
40802 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40803 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40804 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40805 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40806 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40807 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40808 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40809 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40824 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40825 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40826 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40827 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40828 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40829 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40830 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40831 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40832 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40833 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40834 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40835 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40850
408512010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40852
40853 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40854 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40855 * string/memmove.c (memmove): Renamed to ...
40856 (MEMMOVE): ...this. Default to memmove.
40857 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40858 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40859 (END_CHK): Define.
40860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40861 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40862 mempcpy-ssse3-back memmove-ssse3-back.
40863 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40864 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40865 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40866 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40867 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40868 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40869 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40870 * sysdeps/x86_64/multiarch/memmove.c: New file.
40871 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40872 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40873 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40874 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40875 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40876 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40877 Define.
40878 (index_Fast_Copy_Backward): Define.
40879 (HAS_ARCH_FEATURE): Define.
40880 (HAS_FAST_REP_STRING): Define.
40881 (HAS_FAST_COPY_BACKWARD): Define.
40882
408832010-06-21 Andreas Schwab <schwab@redhat.com>
40884
40885 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40886 Restore proper fallback handling.
40887
408882010-06-19 Ulrich Drepper <drepper@redhat.com>
40889
40890 [BZ #11701]
40891 * posix/group_member.c (__group_member): Correct checking loop.
40892
40893 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40894 OOM in getpwuid_r correctly. Return error number when the caller
40895 should return, otherwise -1.
40896 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40897 call returning > 0 value.
40898 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40899
409002010-06-07 Andreas Schwab <schwab@redhat.com>
40901
40902 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40903 libc_nonshared.a from targets in modules-names.
40904
409052010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40906
40907 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40908 requires it.
40909
409102010-06-10 Luis Machado <luisgpm@br.ibm.com>
40911
40912 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40913 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40914 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40915 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40916
409172010-06-02 Andreas Schwab <schwab@redhat.com>
40918
40919 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40920
409212010-06-14 Ulrich Drepper <drepper@redhat.com>
40922
40923 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40924 and F_GETPIPE_SZ.
40925 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40926 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40929 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40930 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40931
409322010-06-14 Roland McGrath <roland@redhat.com>
40933
40934 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40935
409362010-06-07 Jakub Jelinek <jakub@redhat.com>
40937
40938 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40939 __REDIRECT followed by __THROW.
40940 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40941 * posix/getopt.h (getopt): Likewise.
40942
409432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40944
40945 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40946 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40947 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40948 in AT_FLAGS.
40949 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40950 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40951
409522010-05-28 Luis Machado <luisgpm@br.ibm.com>
40953
40954 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40955
409562010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40957
40958 [BZ #11640]
40959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40960 Properly check family and model.
40961
409622010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40963
40964 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40965
409662010-05-24 Luis Machado <luisgpm@br.ibm.com>
40967
40968 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40969
409702010-05-21 Ulrich Drepper <drepper@redhat.com>
40971
40972 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40973 symbol reference.
40974
409752010-05-19 Andreas Schwab <schwab@redhat.com>
40976
40977 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40978 symbol reference.
40979
409802010-05-21 Andreas Schwab <schwab@redhat.com>
40981
40982 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40983 and internal_recvmmsg.
40984 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40985 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40986 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40987 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40988
40989 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40990 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40991 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40992
409932010-05-20 Andreas Schwab <schwab@redhat.com>
40994
40995 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40996
409972010-05-17 Luis Machado <luisgpm@br.ibm.com>
40998
40999 POWER7 optimizations.
41000 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41001 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41002
410032010-05-19 Ulrich Drepper <drepper@redhat.com>
41004
41005 * version.h: Update for 2.13 development version.
41006
410072010-05-12 Andrew Stubbs <ams@codesourcery.com>
41008
41009 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
41010 exceptions. Return 0.
41011
410122010-05-07 Roland McGrath <roland@redhat.com>
41013
41014 * elf/ldconfig.c (main): Add a const.
41015
410162010-05-06 Ulrich Drepper <drepper@redhat.com>
41017
41018 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
41019 (args_options): Add no-idn option.
41020 (ahosts_keys_int): Add idn_flags to ai_flags.
41021 (parse_option): Handle 'i' option to clear idn_flags.
41022
41023 * malloc/malloc.c (_int_free): Possible race in the most recently
41024 added check. Only act on the data if no current modification
41025 happened.
41026
41027See ChangeLog.17 for earlier changes.