]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Revert po and pot files changes.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3b3c4d40
CD
12013-05-31 Carlos O'Donell <carlos@redhat.com>
2
3 * po/be.po: Revert last change.
4 * po/zh_CN.po: Likewise.
5 * po/header.pot: Likewise.
6
fab7ce3f
JM
72013-05-31 Joseph Myers <joseph@codesourcery.com>
8
9 * Makefile ($(common-objpfx)linkobj/libc.so): Define
10 link-libc-deps to empty as target-specific variable.
11 * Makerules (link-libc-args): New variable.
12 (libc-for-link): Likewise.
13 (link-libc-deps): Likewise.
14 (lib%.so): Depend on $(link-libc-deps). Link with
15 $(link-libc-args).
16 (build-module): Link with $(link-libc-args).
17 (build-module-asneeded): Likewise.
18 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19 list of objects.
20 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21 target-specific variable.
22 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25 libc.
26 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27 libc and ld.so.
28 ($(objpfx)libpcprofile.so): Likewise.
29 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30 libc_nonshared.a.
31 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34 $(link-libc-deps).
35 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
36 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
37 * login/Makefile ($(objpfx)libutil.so): Likewise.
38 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39 * math/Makefile ($(objpfx)libm.so): Likewise.
40 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41 $(objpfx)libnsl.so): Define libc-for-link as target-specific
42 variable instead of depending directly on libc.
43 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
44 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45 $(link-libc-deps).
46 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47 libc.
48 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50 ($(objpfx)libanl.so): Likewise.
51 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52 ld.so.
53 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54 $(link-libc-deps).
55 * sysdeps/i386/fpu/Makefile: Remove file.
56 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
57 ($(objpfx)libm.so): Remove dependency on ld.so.
58
eca5920c
PF
592013-05-30 Patsy Franklin <pfrankli@redhat.com>
60
61 [BZ # 15553]
62 * nis/yp_xdr.c (XDRMAXNAME): Define.
63 (XDRMAXRECORD): Define.
64 (xdr_domainname): Use XDRMAXNAME.
65 (xdr_mapname): Likewise.
66 (xdr_peername): Likewise.
67 (xdr_keydat): Use XDRMAXRECORD.
68 (xdr_valdat): Likewise.
69
702013-05-30 Jeff Law <law@redhat.com>
96945714
JL
71
72 [BZ #14256]
73 * manual/errno.texi (ESTALE): Update to account for more than
74 just NFS file systems.
75 * sysdeps/gnu/errlist.c: Regenerated.
76
b9375348
SP
772013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
78
79 [BZ #15465]
80 * elf/Makefile (tests): Add tst-null-argv.
81 (modules-names): Add tst-null-argv-lib.
82 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
83 (tst-null-argv-ENV): Set environment for tst-null-argv.
84 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
85 (RTLD_PROGNAME): New macro.
86 * elf/tst-null-argv.c: New test case.
87 * elf/tst-null-argv-lib.c: Library for test case.
88 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
89 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
90 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
91 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
92 * elf/dl-init.c (call_init): Likewise.
93 (_dl_init): Likewise.
94 * elf/dl-load.c (print_search_path): Likewise.
95 (_dl_map_object): Likewise.
96 * elf/dl-lookup.c (do_lookup_x): Likewise.
97 (add_dependency): Likewise.
98 (_dl_lookup_symbol_x): Likewise.
99 (_dl_debug_bindings): Likewise.
100 * elf/dl-open.c (_dl_show_scope): Likewise.
101 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
102 * elf/dl-version.c (match_symbol): Likewise.
103 (_dl_check_map_versions): Likewise.
104 * elf/rtld.c (dl_main): Likewise.
105 (print_unresolved): Use RTLD_PROGNAME.
106 (print_missing_version): Likewise.
107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
108 (elf_machine_rela): Likewise.
109 * sysdeps/powerpc/powerpc32/dl-machine.c
110 (__process_machine_rela): Likewise.
111 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
112 Likewise.
113 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
114 Likewise.
115 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
116 Likewise.
117 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
118 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
119 Likewise.
120 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
121 Likewise.
122 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
123
8a9f20c8
CD
1242013-05-28 Carlos O'Donell <carlos@redhat.com>
125
126 * po/be.po: Add descriptive title.
127 * po/zh_CN.po: Likewise.
128 * po/header.pot: Likewise.
129
0e60d68e
MF
1302013-05-28 Mike Frysinger <vapier@gentoo.org>
131
132 * locale/programs/locarchive.c (create_archive): Inlucde fname in
133 error message.
134 (enlarge_archive): Likewise.
135
56b672e9
BN
1362013-05-28 Ben North <ben@redfrontdoor.org>
137
138 * manual/arith.texi (frexp): It is the magnitude of the return
139 value which lies in [0.5, 1), not the return value itself.
140
5e056687
AZ
1412013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
142
143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
144
2b66ef5d
TS
1452013-05-26 Thomas Schwinge <thomas@codesourcery.com>
146
528c2405
TS
147 * stdio-common/bug26.c (main): Correct fscanf template.
148
07b4c13d
TS
149 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
150 declare _dl_skip_args.
151
ec9dd97c
TS
152 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
153 Don't declare.
154
2b66ef5d
TS
155 * manual/platform.texi: Add missing @end deftypefun.
156
4f8dfe27
JM
1572013-05-24 Joseph Myers <joseph@codesourcery.com>
158
0323d086
JM
159 [BZ #15529]
160 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
161 bit of mantissa of 2^16382.
162 * math/libm-test.inc (hypot_test_data): Add more tests.
163
dd4259b9
JM
164 * math/libm-test.inc: Add drem and pow10 to list of tested
165 functions.
166 (pow10_test): New function.
167 (drem_test): Likewise.
168 (drem_test_tonearest): Likewise.
169 (drem_test_towardzero): Likewise.
170 (drem_test_downward): Likewise.
171 (drem_test_upward): Likewise.
172 (main): Call the new functions.
173
4f8dfe27
JM
174 * math/libm-test.inc (finite_test_data): Remove.
175 (finite_test): Run tests from isfinite_test_data.
176 (gamma_test_data): Remove.
177 (gamma_test): Run tests from lgamma_test_data.
178 * sysdeps/i386/fpu/libm-test-ulps: Update.
179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
180
d116b7c4
AZ
1812013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
182
183 * manual/platform.texi: Add PowerPC PPR function set documentation.
184 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
185 implementation.
186
e96e3767
CD
1872013-05-24 Carlos O'Donell <carlos@redhat.com>
188
189 * math/libm-test.inc (MAX_EXP): Define.
190 (ULPDIFF): Define.
191 (ulp): New function.
192 (check_float_internal): Use ULPDIFF.
193 (cpow_test): Disable failing test.
194 (check_ulp): Test ulp() implemetnation.
195 (main): Call check_ulp before starting tests.
196
b679a606
JM
1972013-05-24 Joseph Myers <joseph@codesourcery.com>
198
e8bdba36
JM
199 * math/gen-libm-test.pl (generate_testfile): Do not handle
200 START_DATA and END_DATA.
201 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
202 END_DATA.
203 (acos_tonearest_test_data): Likewise.
204 (acos_towardzero_test_data): Likewise.
205 (acos_downward_test_data): Likewise.
206 (acos_upward_test_data): Likewise.
207 (acosh_test_data): Likewise.
208 (asin_test_data): Likewise.
209 (asin_tonearest_test_data): Likewise.
210 (asin_towardzero_test_data): Likewise.
211 (asin_downward_test_data): Likewise.
212 (asin_upward_test_data): Likewise.
213 (asinh_test_data): Likewise.
214 (atan_test_data): Likewise.
215 (atanh_test_data): Likewise.
216 (atan2_test_data): Likewise.
217 (cabs_test_data): Likewise.
218 (cacos_test_data): Likewise.
219 (cacosh_test_data): Likewise.
220 (carg_test_data): Likewise.
221 (casin_test_data): Likewise.
222 (casinh_test_data): Likewise.
223 (catan_test_data): Likewise.
224 (catanh_test_data): Likewise.
225 (cbrt_test_data): Likewise.
226 (ccos_test_data): Likewise.
227 (ccosh_test_data): Likewise.
228 (ceil_test_data): Likewise.
229 (cexp_test_data): Likewise.
230 (cimag_test_data): Likewise.
231 (clog_test_data): Likewise.
232 (clog10_test_data): Likewise.
233 (conj_test_data): Likewise.
234 (copysign_test_data): Likewise.
235 (cos_test_data): Likewise.
236 (cos_tonearest_test_data): Likewise.
237 (cos_towardzero_test_data): Likewise.
238 (cos_downward_test_data): Likewise.
239 (cos_upward_test_data): Likewise.
240 (cosh_test_data): Likewise.
241 (cosh_tonearest_test_data): Likewise.
242 (cosh_towardzero_test_data): Likewise.
243 (cosh_downward_test_data): Likewise.
244 (cosh_upward_test_data): Likewise.
245 (cpow_test_data): Likewise.
246 (cproj_test_data): Likewise.
247 (creal_test_data): Likewise.
248 (csin_test_data): Likewise.
249 (csinh_test_data): Likewise.
250 (csqrt_test_data): Likewise.
251 (ctan_test_data): Likewise.
252 (ctan_tonearest_test_data): Likewise.
253 (ctan_towardzero_test_data): Likewise.
254 (ctan_downward_test_data): Likewise.
255 (ctan_upward_test_data): Likewise.
256 (ctanh_test_data): Likewise.
257 (ctanh_tonearest_test_data): Likewise.
258 (ctanh_towardzero_test_data): Likewise.
259 (ctanh_downward_test_data): Likewise.
260 (ctanh_upward_test_data): Likewise.
261 (erf_test_data): Likewise.
262 (erfc_test_data): Likewise.
263 (exp_test_data): Likewise.
264 (exp_tonearest_test_data): Likewise.
265 (exp_towardzero_test_data): Likewise.
266 (exp_downward_test_data): Likewise.
267 (exp_upward_test_data): Likewise.
268 (exp10_test_data): Likewise.
269 (exp2_test_data): Likewise.
270 (expm1_test_data): Likewise.
271 (fabs_test_data): Likewise.
272 (fdim_test_data): Likewise.
273 (finite_test_data): Likewise.
274 (floor_test_data): Likewise.
275 (fma_test_data): Likewise.
276 (fma_towardzero_test_data): Likewise.
277 (fma_downward_test_data): Likewise.
278 (fma_upward_test_data): Likewise.
279 (fmax_test_data): Likewise.
280 (fmin_test_data): Likewise.
281 (fmod_test_data): Likewise.
282 (fpclassify_test_data): Likewise.
283 (frexp_test_data): Likewise.
284 (gamma_test_data): Likewise.
285 (hypot_test_data): Likewise.
286 (ilogb_test_data): Likewise.
287 (isfinite_test_data): Likewise.
288 (isgreater_test_data): Likewise.
289 (isgreaterequal_test_data): Likewise.
290 (isinf_test_data): Likewise.
291 (isless_test_data): Likewise.
292 (islessequal_test_data): Likewise.
293 (islessgreater_test_data): Likewise.
294 (isnan_test_data): Likewise.
295 (isnormal_test_data): Likewise.
296 (issignaling_test_data): Likewise.
297 (isunordered_test_data): Likewise.
298 (j0_test_data): Likewise.
299 (j1_test_data): Likewise.
300 (jn_test_data): Likewise.
301 (ldexp_test_data): Likewise.
302 (lgamma_test_data): Likewise.
303 (lrint_test_data): Likewise.
304 (lrint_tonearest_test_data): Likewise.
305 (lrint_towardzero_test_data): Likewise.
306 (lrint_downward_test_data): Likewise.
307 (lrint_upward_test_data): Likewise.
308 (llrint_test_data): Likewise.
309 (llrint_tonearest_test_data): Likewise.
310 (llrint_towardzero_test_data): Likewise.
311 (llrint_downward_test_data): Likewise.
312 (llrint_upward_test_data): Likewise.
313 (log_test_data): Likewise.
314 (log10_test_data): Likewise.
315 (log1p_test_data): Likewise.
316 (log2_test_data): Likewise.
317 (logb_test_data): Likewise.
318 (logb_downward_test_data): Likewise.
319 (lround_test_data): Likewise.
320 (llround_test_data): Likewise.
321 (modf_test_data): Likewise.
322 (nearbyint_test_data): Likewise.
323 (nextafter_test_data): Likewise.
324 (nexttoward_test_data): Likewise.
325 (pow_test_data): Likewise.
326 (pow_tonearest_test_data): Likewise.
327 (pow_towardzero_test_data): Likewise.
328 (pow_downward_test_data): Likewise.
329 (pow_upward_test_data): Likewise.
330 (remainder_test_data): Likewise.
331 (remainder_tonearest_test_data): Likewise.
332 (remainder_towardzero_test_data): Likewise.
333 (remainder_downward_test_data): Likewise.
334 (remainder_upward_test_data): Likewise.
335 (remquo_test_data): Likewise.
336 (rint_test_data): Likewise.
337 (rint_tonearest_test_data): Likewise.
338 (rint_towardzero_test_data): Likewise.
339 (rint_downward_test_data): Likewise.
340 (rint_upward_test_data): Likewise.
341 (round_test_data): Likewise.
342 (scalb_test_data): Likewise.
343 (scalbn_test_data): Likewise.
344 (scalbln_test_data): Likewise.
345 (signbit_test_data): Likewise.
346 (sin_test_data): Likewise.
347 (sin_tonearest_test_data): Likewise.
348 (sin_towardzero_test_data): Likewise.
349 (sin_downward_test_data): Likewise.
350 (sin_upward_test_data): Likewise.
351 (sincos_test_data): Likewise.
352 (sinh_test_data): Likewise.
353 (sinh_tonearest_test_data): Likewise.
354 (sinh_towardzero_test_data): Likewise.
355 (sinh_downward_test_data): Likewise.
356 (sinh_upward_test_data): Likewise.
357 (sqrt_test_data): Likewise.
358 (tan_test_data): Likewise.
359 (tan_tonearest_test_data): Likewise.
360 (tan_towardzero_test_data): Likewise.
361 (tan_downward_test_data): Likewise.
362 (tan_upward_test_data): Likewise.
363 (tanh_test_data): Likewise.
364 (tgamma_test_data): Likewise.
365 (trunc_test_data): Likewise.
366 (y0_test_data): Likewise.
367 (y1_test_data): Likewise.
368 (yn_test_data): Likewise.
369 (significand_test_data): Likewise.
370
b679a606
JM
371 * math/gen-libm-test.pl (@functions): Remove variable.
372 (generate_testfile): Don't handle START and END lines.
373 * math/libm-test.inc (START): New macro.
374 (END): Likewise.
375 (END_COMPLEX): Likewise.
376 (acos_test): Use END macro without arguments.
377 (acos_test_tonearest): Likewise.
378 (acos_test_towardzero): Likewise.
379 (acos_test_downward): Likewise.
380 (acos_test_upward): Likewise.
381 (acosh_test): Likewise.
382 (asin_test): Likewise.
383 (asin_test_tonearest): Likewise.
384 (asin_test_towardzero): Likewise.
385 (asin_test_downward): Likewise.
386 (asin_test_upward): Likewise.
387 (asinh_test): Likewise.
388 (atan_test): Likewise.
389 (atanh_test): Likewise.
390 (atan2_test): Likewise.
391 (cabs_test): Likewise.
392 (cacos_test): Use END_COMPLEX macro without arguments.
393 (cacosh_test): Likewise.
394 (carg_test): Use END macro without arguments.
395 (casin_test): Use END_COMPLEX macro without arguments.
396 (casinh_test): Likewise.
397 (catan_test): Likewise.
398 (catanh_test): Likewise.
399 (cbrt_test): Use END macro without arguments.
400 (ccos_test): Use END_COMPLEX macro without arguments.
401 (ccosh_test): Likewise.
402 (ceil_test): Use END macro without arguments.
403 (cexp_test): Use END_COMPLEX macro without arguments.
404 (cimag_test): Use END macro without arguments.
405 (clog_test): Use END_COMPLEX macro without arguments.
406 (clog10_test): Likewise.
407 (conj_test): Likewise.
408 (copysign_test): Use END macro without arguments.
409 (cos_test): Likewise.
410 (cos_test_tonearest): Likewise.
411 (cos_test_towardzero): Likewise.
412 (cos_test_downward): Likewise.
413 (cos_test_upward): Likewise.
414 (cosh_test): Likewise.
415 (cosh_test_tonearest): Likewise.
416 (cosh_test_towardzero): Likewise.
417 (cosh_test_downward): Likewise.
418 (cosh_test_upward): Likewise.
419 (cpow_test): Use END_COMPLEX macro without arguments.
420 (cproj_test): Likewise.
421 (creal_test): Use END macro without arguments.
422 (csin_test): Use END_COMPLEX macro without arguments.
423 (csinh_test): Likewise.
424 (csqrt_test): Likewise.
425 (ctan_test): Likewise.
426 (ctan_test_tonearest): Likewise.
427 (ctan_test_towardzero): Likewise.
428 (ctan_test_downward): Likewise.
429 (ctan_test_upward): Likewise.
430 (ctanh_test): Likewise.
431 (ctanh_test_tonearest): Likewise.
432 (ctanh_test_towardzero): Likewise.
433 (ctanh_test_downward): Likewise.
434 (ctanh_test_upward): Likewise.
435 (erf_test): Use END macro without arguments.
436 (erfc_test): Likewise.
437 (exp_test): Likewise.
438 (exp_test_tonearest): Likewise.
439 (exp_test_towardzero): Likewise.
440 (exp_test_downward): Likewise.
441 (exp_test_upward): Likewise.
442 (exp10_test): Likewise.
443 (exp2_test): Likewise.
444 (expm1_test): Likewise.
445 (fabs_test): Likewise.
446 (fdim_test): Likewise.
447 (finite_test): Likewise.
448 (floor_test): Likewise.
449 (fma_test): Likewise.
450 (fma_test_towardzero): Likewise.
451 (fma_test_downward): Likewise.
452 (fma_test_upward): Likewise.
453 (fmax_test): Likewise.
454 (fmin_test): Likewise.
455 (fmod_test): Likewise.
456 (fpclassify_test): Likewise.
457 (frexp_test): Likewise.
458 (gamma_test): Likewise.
459 (hypot_test): Likewise.
460 (ilogb_test): Likewise.
461 (isfinite_test): Likewise.
462 (isgreater_test): Likewise.
463 (isgreaterequal_test): Likewise.
464 (isinf_test): Likewise.
465 (isless_test): Likewise.
466 (islessequal_test): Likewise.
467 (islessgreater_test): Likewise.
468 (isnan_test): Likewise.
469 (isnormal_test): Likewise.
470 (issignaling_test): Likewise.
471 (isunordered_test): Likewise.
472 (j0_test): Likewise.
473 (j1_test): Likewise.
474 (jn_test): Likewise.
475 (ldexp_test): Likewise.
476 (lgamma_test): Likewise.
477 (lrint_test): Likewise.
478 (lrint_test_tonearest): Likewise.
479 (lrint_test_towardzero): Likewise.
480 (lrint_test_downward): Likewise.
481 (lrint_test_upward): Likewise.
482 (llrint_test): Likewise.
483 (llrint_test_tonearest): Likewise.
484 (llrint_test_towardzero): Likewise.
485 (llrint_test_downward): Likewise.
486 (llrint_test_upward): Likewise.
487 (log_test): Likewise.
488 (log10_test): Likewise.
489 (log1p_test): Likewise.
490 (log2_test): Likewise.
491 (logb_test): Likewise.
492 (logb_test_downward): Likewise.
493 (lround_test): Likewise.
494 (llround_test): Likewise.
495 (modf_test): Likewise.
496 (nearbyint_test): Likewise.
497 (nextafter_test): Likewise.
498 (nexttoward_test): Likewise.
499 (pow_test): Likewise.
500 (pow_test_tonearest): Likewise.
501 (pow_test_towardzero): Likewise.
502 (pow_test_downward): Likewise.
503 (pow_test_upward): Likewise.
504 (remainder_test): Likewise.
505 (remainder_test_tonearest): Likewise.
506 (remainder_test_towardzero): Likewise.
507 (remainder_test_downward): Likewise.
508 (remainder_test_upward): Likewise.
509 (remquo_test): Likewise.
510 (rint_test): Likewise.
511 (rint_test_tonearest): Likewise.
512 (rint_test_towardzero): Likewise.
513 (rint_test_downward): Likewise.
514 (rint_test_upward): Likewise.
515 (round_test): Likewise.
516 (scalb_test): Likewise.
517 (scalbn_test): Likewise.
518 (scalbln_test): Likewise.
519 (signbit_test): Likewise.
520 (sin_test): Likewise.
521 (sin_test_tonearest): Likewise.
522 (sin_test_towardzero): Likewise.
523 (sin_test_downward): Likewise.
524 (sin_test_upward): Likewise.
525 (sincos_test): Likewise.
526 (sinh_test): Likewise.
527 (sinh_test_tonearest): Likewise.
528 (sinh_test_towardzero): Likewise.
529 (sinh_test_downward): Likewise.
530 (sinh_test_upward): Likewise.
531 (sqrt_test): Likewise.
532 (tan_test): Likewise.
533 (tan_test_tonearest): Likewise.
534 (tan_test_towardzero): Likewise.
535 (tan_test_downward): Likewise.
536 (tan_test_upward): Likewise.
537 (tanh_test): Likewise.
538 (tgamma_test): Likewise.
539 (trunc_test): Likewise.
540 (y0_test): Likewise.
541 (y1_test): Likewise.
542 (yn_test): Likewise.
543 (significand_test): Likewise.
544
bae143d2
OB
5452013-05-24 Ondřej Bílka <neleai@seznam.cz>
546
547 [BZ #15381]
548 * libio/genops.c (_IO_no_init): Initialize wide struct info.
549
9323d39b
EM
5502013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
551
d4ea44a0 552 [BZ #14894]
9323d39b
EM
553 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
554 __ppc_mdoio and __ppc_mdoom.
555 * manual/platform.texi: Document new functions __ppc_yield,
556 __ppc_mdoio and __ppc_mdoom.
557
13e23af7
CD
5582013-05-22 Carlos O'Donell <carlos@redhat.com>
559
560 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
561 (main): Mention "tls" pseudo-hwcap is legacy.
562 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
563
351fe550
JM
5642013-05-22 Joseph Myers <joseph@codesourcery.com>
565
566 * math/gen-libm-test.pl (parse_args): Output only string of
567 arguments as text for test name, not full call or descriptions of
568 tests for extra outputs.
569 (generate_testfile): Do not pass function name to parse_args.
570 Generate this_func variable from START.
571 * math/libm-test.inc (struct test_f_f_data): Rename test_name
572 field to arg_str.
573 (struct test_ff_f_data): Likewise.
574 (test_ff_f_data_nexttoward): Likewise.
575 (struct test_fi_f_data): Likewise.
576 (struct test_fl_f_data): Likewise.
577 (struct test_if_f_data): Likewise.
578 (struct test_fff_f_data): Likewise.
579 (struct test_c_f_data): Likewise.
580 (struct test_f_f1_data): Likewise. Remove field extra_name.
581 (struct test_fF_f1_data): Likewise.
582 (struct test_ffI_f1_data): Likewise.
583 (struct test_c_c_data): Rename test_name field to arg_str.
584 (struct test_cc_c_data): Likewise.
585 (struct test_f_i_data): Likewise.
586 (struct test_ff_i_data): Likewise.
587 (struct test_f_l_data): Likewise.
588 (struct test_f_L_data): Likewise.
589 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
590 and extra2_name.
591 (COMMON_TEST_SETUP): New macro.
592 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
593 (COMMON_TEST_CLEANUP): Likewise.
594 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
595 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
596 macros.
597 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
598 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
599 macros.
600 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
601 (RUN_TEST_fff_f): Take argument string. Call new setup and
602 cleanup macros.
603 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
604 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
605 macros.
606 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
607 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
608 macros.
609 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
610 (RUN_TEST_fF_f1): Take argument string. Call new setup and
611 cleanup macros.
612 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
613 (RUN_TEST_fI_f1): Take argument string. Call new setup and
614 cleanup macros.
615 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
616 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
617 cleanup macros.
618 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
619 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
620 macros.
621 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
622 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
623 macros.
624 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
625 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
626 macros.
627 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
628 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
629 cleanup macros.
630 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
631 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
632 cleanup macros.
633 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
634 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
635 macros.
636 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
637 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
638 cleanup macros.
639 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
640 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
641 macros.
642 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
643 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
644 macros.
645 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
646 (RUN_TEST_fFF_11): Take argument string. Call new setup and
647 cleanup macros.
648 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
649
85118d4d
EBM
6502013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
651
652 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
653 to _sifields.sigfault.
654 (si_addr_lsb): Define new macro.
655 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
656 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
657 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
658
7a44c18f
CD
6592013-05-03 Carlos O'Donell <carlos at redhat.com>
660
661 [BZ #15441]
662 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
663 returns -1.
664 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
665 null return -1.
666 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
667 loading the domain.
668
b50a7181
JM
6692013-05-22 Joseph Myers <joseph@codesourcery.com>
670
671 * math/gen-libm-test.pl (parse_args): Do not include expected
672 result in test name.
673 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
674 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
675 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
676 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
677 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
679
051063c8
SP
6802013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
681
3ce9e010
SP
682 * benchtests/Makefile: Sort function entries.
683
051063c8
SP
684 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
685 tanh, asinh, acosh, atanh.
686 * benchtests/acos-inputs: New file.
687 * benchtests/acosh-inputs: New file.
688 * benchtests/asin-inputs: New file.
689 * benchtests/asinh-inputs: New file.
690 * benchtests/atanh-inputs: New file.
691 * benchtests/cosh-inputs: New file.
692 * benchtests/log-inputs: New file.
693 * benchtests/sinh-inputs: New file.
694 * benchtests/tanh-inputs: New file.
695
47c22455
DL
6962013-05-21 Dmitry V. Levin <ldv@altlinux.org>
697
698 [BZ #15339]
699 * posix/tst-getaddrinfo4.c: New test.
700 * posix/Makefile (tests): Add it.
701
3d04f5db
SP
7022013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
703
704 [BZ #15339]
705 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
706 when no services were used.
707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
708 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
709
d5dd6189
AS
7102013-05-21 Andreas Schwab <schwab@suse.de>
711
712 [BZ #15014]
713 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
714 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
715 successful.
716 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
717 redundant variable declarations and reallocation of buffer when
718 parsing as IPv6 address. Always set NSS status when called from
719 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
720 buffer too small. Correct computation of needed size.
721 * nss/Makefile (tests): Add test-digits-dots.
722 * nss/test-digits-dots.c: New test.
723
fef94eab
SP
7242013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
725
726 * benchtests/Makefile: Remove instructions for adding
727 benchmark tests.
728 * benchtests/README: New file to explain how to execute and
729 enhance the benchmark tests.
730
e39adf43
AS
7312013-05-21 Andreas Schwab <schwab@suse.de>
732
733 [BZ #15493]
734 * setjmp/Makefile (tests): Add tst-sigsetjmp.
735 * setjmp/tst-sigsetjmp.c: New test.
736
b2b671b6
OB
7372013-05-20 Ondřej Bílka <neleai@seznam.cz>
738
739 * sysdeps/x86_64/memset.S (memset): New implementation.
740 (__bzero): Likewise.
741 (__memset_tail): New function.
742
2d48b41c
OB
7432013-05-20 Ondřej Bílka <neleai@seznam.cz>
744
745 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
746 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
747 __memcpy_sse2_unaligned ifunc selection.
748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
749 Add memcpy-sse2-unaligned.S.
750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
751 Add: __memcpy_sse2_unaligned.
752
f16cc3eb
JM
7532013-05-19 Joseph Myers <joseph@codesourcery.com>
754
3e694268
JM
755 [BZ #15490]
756 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
757 math_force_eval before restoring floating-point envrionment.
758 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
760 Likewise.
761 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
762 <math_private.h>.
763 (__nearbyintl): Use math_force_eval before restoring
764 floating-point environment.
765 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
766
db62a907
JM
767 * math/gen-libm-test.pl (special_functions): Remove.
768 (parse_args): Don't handle TEST_extra. Handle functions with no
769 return value.
770 * math/libm-test.inc (struct test_sincos_data): Replace with
771 struct test_fFF_11_data.
772 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
773 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
774 (sincos_test_data): Change element type to struct
775 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
776 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
777 RUN_TEST_LOOP_sincos.
778 * math/README.libm-test: Don't mention special handling of
779 individual functions.
780 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
782 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
783 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
784 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
786
f16cc3eb
JM
787 * math/gen-libm-test.pl (get_variable): Remove function.
788 (parse_args): Don't show pointer parameters to call in test
789 names. Use "extra output N" in test names for extra outputs
790 rather than naming variables.
791
3779b5b6
JM
7922013-05-18 Joseph Myers <joseph@codesourcery.com>
793
2ee094ff
JM
794 [BZ #15488]
795 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
796 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
797 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
798 double tests.
799 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
800 disable.
801 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
802 check_long_double.
803
3779b5b6
JM
804 * math/gen-libm-test.pl (@tests): Remove variable.
805 ($count): Likewise.
806 (new_test): Remove function.
807 (show_exceptions): New function.
808 (special_functions): Use show_exceptions instead of new_test.
809 (parse_args): Likewise.
810 (generate_testfile): Pass only function name in generated call to
811 print_max_error or print_complex_max_error.
812 (get_ulps): Do not handle complex tests specially.
813 (output_test): Rename to ...
814 (get_all_ulps_for_test): ... this. Return a string rather than
815 printing to a file. Require ulps to be present.
816 (output_ulps): Generate arrays rather than #defines.
817 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
818 (struct ulp_data): New type.
819 (BUILD_COMPLEX_ULP): Remove macro.
820 (compare_ulp_data): New function.
821 (find_ulps): Likewise.
822 (find_test_ulps): Likewise.
823 (find_function_ulps): Likewise.
824 (find_complex_function_ulps): Likewise.
825 (print_max_error): Determine allowed ulps using
826 find_function_ulps.
827 (print_complex_max_error): Determine allowed ulps using
828 find_complex_function_ulps.
829 (check_float_internal): Determine max ulps using find_test_ulps.
830 (check_float): Do not take max_ulp parameter. Update call to
831 check_float_internal.
832 (check_complex): Likewise.
833 (check_int): Do not take max_ulp parameter.
834 (check_long): Likewise.
835 (check_bool): Likewise.
836 (check_longlong): Likewise.
837 (struct test_f_f_data): Remove max_ulp field.
838 (struct test_ff_f_data): Likewise.
839 (struct test_ff_f_data_nexttoward): Likewise.
840 (struct test_fi_f_data): Likewise.
841 (struct test_fl_f_data): Likewise.
842 (struct test_if_f_data): Likewise.
843 (struct test_fff_f_data): Likewise.
844 (struct test_c_f_data): Likewise.
845 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
846 (struct test_fF_f1_data): Likewise.
847 (struct test_ffI_f1_data): Likewise.
848 (struct test_c_c_data): Remove max_ulp field.
849 (struct test_cc_c_data): Likewise.
850 (struct test_f_i_data): Likewise.
851 (struct test_ff_i_data): Likewise.
852 (struct test_f_l_data): Likewise.
853 (struct test_f_L_data): Likewise.
854 (struct test_sincos_data): Likewise.
855 (RUN_TEST_f_f): Do not handle ulps.
856 (RUN_TEST_LOOP_f_f): Likewise.
857 (RUN_TEST_2_f): Likewise.
858 (RUN_TEST_LOOP_2_f): Likewise.
859 (RUN_TEST_fff_f): Likewise.
860 (RUN_TEST_LOOP_fff_f): Likewise.
861 (RUN_TEST_c_f): Likewise.
862 (RUN_TEST_LOOP_c_f): Likewise.
863 (RUN_TEST_f_f1): Likewise.
864 (RUN_TEST_LOOP_f_f1): Likewise.
865 (RUN_TEST_fF_f1): Likewise.
866 (RUN_TEST_LOOP_fF_f1): Likewise.
867 (RUN_TEST_fI_f1): Likewise.
868 (RUN_TEST_LOOP_fI_f1): Likewise.
869 (RUN_TEST_ffI_f1): Likewise.
870 (RUN_TEST_LOOP_ffI_f1): Likewise.
871 (RUN_TEST_c_c): Likewise.
872 (RUN_TEST_LOOP_c_c): Likewise.
873 (RUN_TEST_cc_c): Likewise.
874 (RUN_TEST_LOOP_cc_c): Likewise.
875 (RUN_TEST_f_i): Likewise.
876 (RUN_TEST_LOOP_f_i): Likewise.
877 (RUN_TEST_f_i_tg): Likewise.
878 (RUN_TEST_LOOP_f_i_tg): Likewise.
879 (RUN_TEST_ff_i_tg): Likewise.
880 (RUN_TEST_LOOP_ff_i_tg): Likewise.
881 (RUN_TEST_f_b): Likewise.
882 (RUN_TEST_LOOP_f_b): Likewise.
883 (RUN_TEST_f_b_tg): Likewise.
884 (RUN_TEST_LOOP_f_b_tg): Likewise.
885 (RUN_TEST_f_l): Likewise.
886 (RUN_TEST_LOOP_f_l): Likewise.
887 (RUN_TEST_f_L): Likewise.
888 (RUN_TEST_LOOP_f_L): Likewise.
889 (RUN_TEST_sincos): Likewise.
890 (RUN_TEST_LOOP_sincos): Likewise.
891
8269107f
JM
8922013-05-17 Joseph Myers <joseph@codesourcery.com>
893
bb38759d
JM
894 [BZ #15480]
895 [BZ #15485]
896 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
897 main case of finite arguments, set rounding mode to FE_TONEAREST
898 and discard exceptions.
899 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
900 exceptions.
901 (remainder_tonearest_test_data): New variable.
902 (remainder_test_tonearest): New function.
903 (remainder_towardzero_test_data): New variable.
904 (remainder_test_towardzero): New function.
905 (remainder_downward_test_data): New variable.
906 (remainder_test_downward): New function.
907 (remainder_upward_test_data): New variable.
908 (remainder_test_upward): New function.
909 (main): Call the new test functions.
910
a00bdcf0
JM
911 * math/libm-test.inc (struct test_f_f1_data): Remove field
912 extra_init.
913 (struct test_fF_f1_data): Likewise.
914 (struct test_ffI_f1_data): Likewise.
915 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
916 based on value of EXTRA_EXPECTED.
917 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
918 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
919 EXTRA_VAR based on value of EXTRA_EXPECTED.
920 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
921 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
922 EXTRA_VAR based on value of EXTRA_EXPECTED.
923 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
924 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
925 EXTRA_VAR based on value of EXTRA_EXPECTED.
926 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
927 * math/gen-libm-test.pl (parse_args): Don't output initializers
928 for extra output values.
929
de407f79
JM
930 * math/libm-test.inc (check_int): Expect result to be exactly
931 equal to expected value and do not handle ulps.
932 (check_long): Likewise.
933 (check_longlong): Likewise.
934
8269107f
JM
935 * math/libm-test.inc (ceil_test_data): Test for "inexact"
936 exceptions.
937 (cimag_test_data): Likewise.
938 (conj_test_data): Likewise.
939 (copysign_test_data): Likewise.
940 (cproj_test_data): Likewise.
941 (creal_test_data): Likewise.
942 (fabs_test_data): Likewise.
943 (fdim_test_data): Likewise.
944 (finite_test_data): Likewise.
945 (floor_test_data): Likewise.
946 (fmax_test_data): Likewise.
947 (fmin_test_data): Likewise.
948 (fmod_test_data): Likewise.
949 (fpclassify_test_data): Likewise.
950 (frexp_test_data): Likewise.
951 (ilogb_test_data): Likewise.
952 (isfinite_test_data): Likewise.
953 (isgreater_test_data): Likewise.
954 (isgreaterequal_test_data): Likewise.
955 (isinf_test_data): Likewise.
956 (isless_test_data): Likewise.
957 (islessequal_test_data): Likewise.
958 (islessgreater_test_data): Likewise.
959 (isnan_test_data): Likewise.
960 (isnormal_test_data): Likewise.
961 (issignaling_test_data): Likewise.
962 (isunordered_test_data): Likewise.
963 (ldexp_test_data): Likewise.
964 (lrint_test_data): Likewise.
965 (lrint_test_data) [TEST_FLOAT]: Disable one test.
966 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
967 (lrint_tonearest_test_data): Test for "inexact" exceptions.
968 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
969 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
970 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
971 test input.
972 (lrint_towardzero_test_data): Test for "inexact" exceptions.
973 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
974 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
975 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
976 that test input.
977 (lrint_downward_test_data): Test for "inexact" exceptions.
978 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
979 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
980 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
981 test input.
982 (lrint_upward_test_data): Test for "inexact" exceptions.
983 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
984 test input.
985 (llrint_test_data): Test for "inexact" exceptions.
986 (llrint_test_data) [TEST_FLOAT]: Disable one test.
987 (llrint_tonearest_test_data): Test for "inexact" exceptions.
988 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
989 (llrint_towardzero_test_data): Test for "inexact" exceptions.
990 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
991 (llrint_downward_test_data): Test for "inexact" exceptions.
992 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
993 (llrint_upward_test_data): Test for "inexact" exceptions.
994 (logb_test_data): Likewise.
995 (logb_downward_test_data): Likewise.
996 (nextafter_test_data): Likewise.
997 (nexttoward_test_data): Likewise.
998 (remainder_test_data): Likewise.
999 (remquo_test_data): Likewise.
1000 (scalbn_test_data): Likewise.
1001 (scalbln_test_data): Likewise.
1002 (signbit_test_data): Likewise.
1003 (sqrt_test_data): Likewise.
1004 (significand_test_data): Likewise.
1005
48a18de1
SP
10062013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1007
1008 [BZ #15424]
1009 * benchtests/bench-modf.c (struct args): Mark arg0 as
1010 volatile.
1011 * scripts/bench.pl: Mark members of struct args as volatile.
1012
13d3b41a
AZ
10132013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1014
68191c1d 1015 [BZ # 15497]
13d3b41a
AZ
1016 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1017 negative infinity on POWER6 or lower.
1018 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1019
2848b105
MR
10202013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1021
1022 [BZ #15442]
1023 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1024 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1025 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1026 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1027 (_FP_SETQNAN): New macro.
1028 (_FP_SETQNAN_SEMIRAW): Likewise.
1029 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1030 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1031 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1032 (FP_EXTEND): Use _FP_FRAC_SNANP.
1033 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1034 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1035 into account.
1036 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1037 New macro.
1038 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1039 Likewise.
1040
323e5cb7
JM
10412013-05-16 Joseph Myers <joseph@codesourcery.com>
1042
c58b274f
JM
1043 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1044 with DIVIDE_BY_ZERO_EXCEPTION.
1045 (gamma_test_data): Likewise.
1046 (lgamma_test_data): Likewise.
1047 (log_test_data): Likewise.
1048 (log10_test_data): Likewise.
1049 (log2_test_data): Likewise.
1050 (tgamma_test_data): Likewise.
1051
0ab34904
JM
1052 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1053 (acos_test_tonearest): Likewise.
1054 (acos_test_towardzero): Likewise.
1055 (acos_test_downward): Likewise.
1056 (acos_test_upward): Likewise.
1057 (acosh_test): Likewise.
1058 (asin_test): Likewise.
1059 (asin_test_tonearest): Likewise.
1060 (asin_test_towardzero): Likewise.
1061 (asin_test_downward): Likewise.
1062 (asin_test_upward): Likewise.
1063 (asinh_test): Likewise.
1064 (atan_test): Likewise.
1065 (atanh_test): Likewise.
1066 (atan2_test): Likewise.
1067 (cabs_test): Likewise.
1068 (cacos_test): Likewise.
1069 (cacosh_test): Likewise.
1070 (casin_test): Likewise.
1071 (casinh_test): Likewise.
1072 (catan_test): Likewise.
1073 (catanh_test): Likewise.
1074 (cbrt_test): Likewise.
1075 (ccos_test): Likewise.
1076 (ccosh_test): Likewise.
1077 (cexp_test): Likewise.
1078 (clog_test): Likewise.
1079 (clog10_test): Likewise.
1080 (cos_test): Likewise.
1081 (cos_test_tonearest): Likewise.
1082 (cos_test_towardzero): Likewise.
1083 (cos_test_downward): Likewise.
1084 (cos_test_upward): Likewise.
1085 (cosh_test): Likewise.
1086 (cosh_test_tonearest): Likewise.
1087 (cosh_test_towardzero): Likewise.
1088 (cosh_test_downward): Likewise.
1089 (cosh_test_upward): Likewise.
1090 (cpow_test): Likewise.
1091 (csin_test): Likewise.
1092 (csinh_test): Likewise.
1093 (csqrt_test): Likewise.
1094 (ctan_test): Likewise.
1095 (ctan_test_tonearest): Likewise.
1096 (ctan_test_towardzero): Likewise.
1097 (ctan_test_downward): Likewise.
1098 (ctan_test_upward): Likewise.
1099 (ctanh_test): Likewise.
1100 (ctanh_test_tonearest): Likewise.
1101 (ctanh_test_towardzero): Likewise.
1102 (ctanh_test_downward): Likewise.
1103 (ctanh_test_upward): Likewise.
1104 (erf_test): Likewise.
1105 (erfc_test): Likewise.
1106 (exp_test): Likewise.
1107 (exp_test_tonearest): Likewise.
1108 (exp_test_towardzero): Likewise.
1109 (exp_test_downward): Likewise.
1110 (exp_test_upward): Likewise.
1111 (exp10_test): Likewise.
1112 (exp2_test): Likewise.
1113 (expm1_test): Likewise.
1114 (fmod_test): Likewise.
1115 (gamma_test): Likewise.
1116 (hypot_test): Likewise.
1117 (j0_test): Likewise.
1118 (j1_test): Likewise.
1119 (jn_test): Likewise.
1120 (lgamma_test): Likewise.
1121 (log_test): Likewise.
1122 (log10_test): Likewise.
1123 (log1p_test): Likewise.
1124 (log2_test): Likewise.
1125 (logb_test_downward): Likewise.
1126 (pow_test): Likewise.
1127 (pow_test_tonearest): Likewise.
1128 (pow_test_towardzero): Likewise.
1129 (pow_test_downward): Likewise.
1130 (pow_test_upward): Likewise.
1131 (remainder_test): Likewise.
1132 (remquo_test): Likewise.
1133 (sin_test): Likewise.
1134 (sin_test_tonearest): Likewise.
1135 (sin_test_towardzero): Likewise.
1136 (sin_test_downward): Likewise.
1137 (sin_test_upward): Likewise.
1138 (sincos_test): Likewise.
1139 (sinh_test): Likewise.
1140 (sinh_test_tonearest): Likewise.
1141 (sinh_test_towardzero): Likewise.
1142 (sinh_test_downward): Likewise.
1143 (sinh_test_upward): Likewise.
1144 (sqrt_test): Likewise.
1145 (tan_test): Likewise.
1146 (tan_test_tonearest): Likewise.
1147 (tan_test_towardzero): Likewise.
1148 (tan_test_downward): Likewise.
1149 (tan_test_upward): Likewise.
1150 (tanh_test): Likewise.
1151 (tgamma_test): Likewise.
1152 (y0_test): Likewise.
1153 (y1_test): Likewise.
1154 (yn_test): Likewise.
1155
323e5cb7
JM
1156 * math/gen-libm-test.pl (adjust_arg): Remove function.
1157 (special_function): Remove argument $in_func. Only handle
1158 generating output for tables of tests, not inside functions.
1159 (parse_args): Likewise.
1160 (generate_testfile): Remove variable $in_func. Update call to
1161 parse_args.
1162 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1163 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1164 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1165 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1166 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1167 (MAX_VALUE_INIT): Rename macro to max_value.
1168 (MIN_VALUE_INIT): Rename macro to min_value.
1169 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1170 (plus_zero): Remove variable.
1171 (minus_zero): Likewise.
1172 (plus_infty): Likewise.
1173 (minus_infty): Likewise.
1174 (qnan_value): Likewise.
1175 (max_value): Likewise.
1176 (min_value): Likewise.
1177 (min_subnorm_value): Likewise.
1178
e054f494
RA
11792013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1180
1181 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1182 uint64_t or uint32_t usage.
1183 * crypt/sha256-block.c: Likewise.
1184 * crypt/sha256-crypt.c: Likewise.
1185 * crypt/sha256.c: Likewise.
1186 * crypt/sha512-block.c: Likewise.
1187 * crypt/sha512-crypt.c: Likewise.
1188 * crypt/sha512.c: Likewise.
1189 * debug/backtrace-tst.c: Likewise.
1190 * debug/pcprofiledump.c: Likewise.
1191 * elf/cache.c: Likewise.
1192 * elf/dl-cache.c: Likewise.
1193 * elf/dl-misc.c: Likewise.
1194 * elf/dl-profile.c: Likewise.
1195 * elf/dl-support.c: Likewise.
1196 * elf/ldconfig.c: Likewise.
1197 * elf/sprof.c: Likewise.
1198 * iconv/dummy-repertoire.c: Likewise.
1199 * iconv/iconv_charmap.c: Likewise.
1200 * iconv/skeleton.c: Likewise.
1201 * iconvdata/8bit-generic.c: Likewise.
1202 * iconvdata/cp737.h: Likewise.
1203 * iconvdata/cp775.h: Likewise.
1204 * iconvdata/ibm1008.h: Likewise.
1205 * iconvdata/ibm1025.h: Likewise.
1206 * iconvdata/ibm1046.h: Likewise.
1207 * iconvdata/ibm1097.h: Likewise.
1208 * iconvdata/ibm1112.h: Likewise.
1209 * iconvdata/ibm1122.h: Likewise.
1210 * iconvdata/ibm1123.h: Likewise.
1211 * iconvdata/ibm1124.h: Likewise.
1212 * iconvdata/ibm1129.h: Likewise.
1213 * iconvdata/ibm1130.h: Likewise.
1214 * iconvdata/ibm1132.h: Likewise.
1215 * iconvdata/ibm1133.h: Likewise.
1216 * iconvdata/ibm1137.h: Likewise.
1217 * iconvdata/ibm1140.h: Likewise.
1218 * iconvdata/ibm1141.h: Likewise.
1219 * iconvdata/ibm1142.h: Likewise.
1220 * iconvdata/ibm1143.h: Likewise.
1221 * iconvdata/ibm1144.h: Likewise.
1222 * iconvdata/ibm1145.h: Likewise.
1223 * iconvdata/ibm1146.h: Likewise.
1224 * iconvdata/ibm1147.h: Likewise.
1225 * iconvdata/ibm1148.h: Likewise.
1226 * iconvdata/ibm1149.h: Likewise.
1227 * iconvdata/ibm1153.h: Likewise.
1228 * iconvdata/ibm1154.h: Likewise.
1229 * iconvdata/ibm1155.h: Likewise.
1230 * iconvdata/ibm1156.h: Likewise.
1231 * iconvdata/ibm1157.h: Likewise.
1232 * iconvdata/ibm1158.h: Likewise.
1233 * iconvdata/ibm1160.h: Likewise.
1234 * iconvdata/ibm1161.h: Likewise.
1235 * iconvdata/ibm1162.h: Likewise.
1236 * iconvdata/ibm1163.h: Likewise.
1237 * iconvdata/ibm1164.h: Likewise.
1238 * iconvdata/ibm1166.h: Likewise.
1239 * iconvdata/ibm1167.h: Likewise.
1240 * iconvdata/ibm12712.h: Likewise.
1241 * iconvdata/ibm1390.h: Likewise.
1242 * iconvdata/ibm1399.h: Likewise.
1243 * iconvdata/ibm16804.h: Likewise.
1244 * iconvdata/ibm4517.h: Likewise.
1245 * iconvdata/ibm4899.h: Likewise.
1246 * iconvdata/ibm4909.h: Likewise.
1247 * iconvdata/ibm4971.h: Likewise.
1248 * iconvdata/ibm5347.h: Likewise.
1249 * iconvdata/ibm803.h: Likewise.
1250 * iconvdata/ibm856.h: Likewise.
1251 * iconvdata/ibm901.h: Likewise.
1252 * iconvdata/ibm902.h: Likewise.
1253 * iconvdata/ibm9030.h: Likewise.
1254 * iconvdata/ibm9066.h: Likewise.
1255 * iconvdata/ibm921.h: Likewise.
1256 * iconvdata/ibm922.h: Likewise.
1257 * iconvdata/ibm9448.h: Likewise.
1258 * iconvdata/isiri-3342.h: Likewise.
1259 * iconvdata/jis0201.h: Likewise.
1260 * include/link.h: Likewise.
1261 * include/netdb.h: Likewise.
1262 * inet/check_native.c: Likewise.
1263 * inet/check_pf.c: Likewise.
1264 * inet/getipv4sourcefilter.c: Likewise.
1265 * inet/getnameinfo.c: Likewise.
1266 * inet/getsourcefilter.c: Likewise.
1267 * inet/htonl.c: Likewise.
1268 * inet/setipv4sourcefilter.c: Likewise.
1269 * inet/setsourcefilter.c: Likewise.
1270 * inet/test-inet6_opt.c: Likewise.
1271 * inet/tst-network.c: Likewise.
1272 * locale/C-collate.c: Likewise.
1273 * locale/C-ctype.c: Likewise.
1274 * locale/C-time.c: Likewise.
1275 * locale/C-translit.h: Likewise.
1276 * locale/loadarchive.c: Likewise.
1277 * locale/programs/3level.h: Likewise.
1278 * locale/programs/charmap.c: Likewise.
1279 * locale/programs/charmap.h: Likewise.
1280 * locale/programs/ld-address.c: Likewise.
1281 * locale/programs/ld-collate.c: Likewise.
1282 * locale/programs/ld-ctype.c: Likewise.
1283 * locale/programs/ld-identification.c: Likewise.
1284 * locale/programs/ld-measurement.c: Likewise.
1285 * locale/programs/ld-messages.c: Likewise.
1286 * locale/programs/ld-monetary.c: Likewise.
1287 * locale/programs/ld-name.c: Likewise.
1288 * locale/programs/ld-numeric.c: Likewise.
1289 * locale/programs/ld-paper.c: Likewise.
1290 * locale/programs/ld-telephone.c: Likewise.
1291 * locale/programs/ld-time.c: Likewise.
1292 * locale/programs/linereader.c: Likewise.
1293 * locale/programs/locale.c: Likewise.
1294 * locale/programs/locarchive.c: Likewise.
1295 * locale/programs/locfile.h: Likewise.
1296 * locale/programs/repertoire.c: Likewise.
1297 * locale/programs/simple-hash.c: Likewise.
1298 * locale/programs/simple-hash.h: Likewise.
1299 * malloc/memusage.c: Likewise.
1300 * malloc/memusagestat.c: Likewise.
1301 * nis/nis_defaults.c: Likewise.
1302 * nis/nis_hash.c: Likewise.
1303 * nis/nis_print.c: Likewise.
1304 * nis/nis_xdr.c: Likewise.
1305 * nscd/connections.c: Likewise.
1306 * nscd/hstcache.c: Likewise.
1307 * nscd/nscd_gethst_r.c: Likewise.
1308 * nscd/nscd_getserv_r.c: Likewise.
1309 * nscd/nscd_helper.c: Likewise.
1310 * nscd/servicescache.c: Likewise.
1311 * nss/makedb.c: Likewise.
1312 * nss/nss_db/db-XXX.c: Likewise.
1313 * nss/nss_db/db-initgroups.c: Likewise.
1314 * nss/nss_db/db-netgrp.c: Likewise.
1315 * nss/nss_files/files-network.c: Likewise.
1316 * nss/nss_files/files-parse.c: Likewise.
1317 * posix/bug-regex5.c: Likewise.
1318 * posix/fnmatch_loop.c: Likewise.
1319 * posix/regcomp.c: Likewise.
1320 * posix/regexec.c: Likewise.
1321 * posix/tst-rfc3484-2.c: Likewise.
1322 * posix/tst-rfc3484-3.c: Likewise.
1323 * posix/tst-rfc3484.c: Likewise.
1324 * resolv/nss_dns/dns-canon.c: Likewise.
1325 * resolv/nss_dns/dns-network.c: Likewise.
1326 * resolv/res_init.c: Likewise.
1327 * resolv/res_mkquery.c: Likewise.
1328 * resolv/tst-aton.c: Likewise.
1329 * stdlib/cxa_atexit.c: Likewise.
1330 * stdlib/cxa_finalize.c: Likewise.
1331 * stdlib/gen-fpioconst.c: Likewise.
1332 * stdlib/strtol_l.c: Likewise.
1333 * string/tst-endian.c: Likewise.
1334 * sunrpc/auth_des.c: Likewise.
1335 * sunrpc/clnt_udp.c: Likewise.
1336 * sunrpc/rtime.c: Likewise.
1337 * sunrpc/svcauth_des.c: Likewise.
1338 * sunrpc/xdr.c: Likewise.
1339 * sunrpc/xdr_intXX_t.c: Likewise.
1340 * sunrpc/xdr_rec.c: Likewise.
1341 * sysdeps/generic/ldconfig.h: Likewise.
1342 * sysdeps/generic/ldsodefs.h: Likewise.
1343 * sysdeps/generic/memusage.h: Likewise.
1344 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1345 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1346 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1347 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1349 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1350 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1351 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1352 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1353 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1354 * sysdeps/posix/getaddrinfo.c: Likewise.
1355 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1356 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1357 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1358 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1359 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1360 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1361 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1362 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1363 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1364 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1365 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1366 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1367 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1368 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1369 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1370 * sysdeps/x86_64/dl-tls.h: Likewise.
1371 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1372 * time/alt_digit.c: Likewise.
1373 * time/era.c: Likewise.
1374 * wcsmbs/tst-c16c32-1.c: Likewise.
1375
8c75f674
JM
13762013-05-16 Joseph Myers <joseph@codesourcery.com>
1377
1378 * math/libm-test.inc (struct test_sincos_data): New type.
1379 (RUN_TEST_LOOP_sincos): New macro.
1380 (sincos_test_data): New variable.
1381 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1382
e6e49e59
RH
13832013-05-16 Richard Henderson <rth@redhat.com>
1384
1385 * math/atest-exp2.c (LIMB64): New macro.
1386 (CONSTSZ): New macro.
1387 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1388 (hexdig): Move ...
1389 (print_mpn_fp): ... to function scope.
1390 (read_mpn_hex): Remove.
1391 (get_log2): Remove.
1392 (exp2_mpn): Use mp_log2.
1393 (main): Use mp_exp1.
1394
15c7c18d
JM
13952013-05-16 Joseph Myers <joseph@codesourcery.com>
1396
105a07df
JM
1397 * math/libm-test.inc: Remove comment about not testing "inexact"
1398 exceptions.
1399 (INEXACT_EXCEPTION): New macro.
1400 (NO_INEXACT_EXCEPTION): Likewise.
1401 (INVALID_EXCEPTION_OK): Update value.
1402 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1403 (OVERFLOW_EXCEPTION_OK): Likewise.
1404 (UNDERFLOW_EXCEPTION_OK): Likewise.
1405 (IGNORE_ZERO_INF_SIGN): Likewise.
1406 (ERRNO_UNCHANGED): Likewise.
1407 (ERRNO_EDOM): Likewise.
1408 (ERRNO_ERANGE): Likewise.
1409 (test_exceptions): Handle testing "inexact" exceptions.
1410 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1411 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1412 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1413 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1414 INEXACT_EXCEPTION.
1415 (rint_towardzero_test_data): Likewise.
1416 (rint_downward_test_data): Likewise.
1417 (rint_upward_test_data): Likewise.
1418
e9eee333
JM
1419 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1420 with OVERFLOW_EXCEPTION.
1421 (exp10_test_data): Likewise.
1422 (exp2_test_data): Likewise.
1423 (expm1_test_data): Likewise.
1424 (lgamma_test_data): Likewise.
1425 (pow_test_data): Likewise.
1426 (tgamma_test_data): Likewise.
1427 (yn_test_data): Remove duplicate test of overflow.
1428
1c38ff73
JM
1429 * math/libm-test.inc (struct test_cc_c_data): New type.
1430 (RUN_TEST_LOOP_cc_c): New macro.
1431 (cpow_test_data): New variable.
1432 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1433
15c7c18d
JM
1434 * math/libm-test.inc (struct test_f_L_data): New type.
1435 (RUN_TEST_LOOP_f_L): New macro.
1436 (llrint_test_data): New variable.
1437 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1438 (llrint_tonearest_test_data): New variable.
1439 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1440 (llrint_towardzero_test_data): New variable.
1441 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1442 (llrint_downward_test_data): New variable.
1443 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1444 (llrint_upward_test_data): New variable.
1445 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1446 (llround_test_data): New variable.
1447 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1448
f137ff13
PC
14492013-05-13 Peter Collingbourne <pcc@google.com>
1450
1451 * math/atest-exp2.c (get_log2): Remove const attribute.
1452
3608cb24
JM
14532013-05-15 Joseph Myers <joseph@codesourcery.com>
1454
1455 * math/libm-test.inc (struct test_f_l_data): New type.
1456 (RUN_TEST_LOOP_f_l): New macro.
1457 (lrint_test_data): New variable.
1458 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1459 (lrint_tonearest_test_data): New variable.
1460 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1461 (lrint_towardzero_test_data): New variable.
1462 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1463 (lrint_downward_test_data): New variable.
1464 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1465 (lrint_upward_test_data): New variable.
1466 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1467 (lround_test_data): New variable.
1468 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1469
39b1f617
PC
14702013-05-15 Peter Collingbourne <pcc@google.com>
1471
1deff3dc
PC
1472 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1473 (EXTRACT_WORDS64) Use where appropriate.
1474 (INSERT_WORDS64) Likewise.
1475
791f3ba0
PC
1476 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1477 constraints with x constraints.
1478 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1479
39b1f617
PC
1480 * malloc/obstack.c (_obstack_compat): Add initializer.
1481
12fba011
EM
14822013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1483
1484 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1485 si_trapno and add si_addr_lsb to _sifields.sigfault.
1486 (si_trapno): Remove macro.
1487 (si_addr_lsb): Define new macro.
1488 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1489
d369f531
JM
14902013-05-15 Joseph Myers <joseph@codesourcery.com>
1491
b861c6c4
JM
1492 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1493 instead of TEST_f_l.
1494 (llrint_test_tonearest): Likewise.
1495 (llrint_test_towardzero): Likewise.
1496 (llrint_test_downward): Likewise.
1497 (llrint_test_upward): Likewise.
1498 (llround_test): Likewise.
1499
7abeee12
JM
1500 * math/libm-test.inc (struct test_f_i_data): Add comment.
1501 (RUN_TEST_LOOP_f_b): New macro.
1502 (RUN_TEST_LOOP_f_b_tg): Likewise.
1503 (finite_test_data): New variable.
1504 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1505 (isfinite_test_data): New variable.
1506 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1507 (isinf_test_data): New variable.
1508 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1509 (isnan_test_data): New variable.
1510 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1511 (isnormal_test_data): New variable.
1512 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1513 (issignaling_test_data): New variable.
1514 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1515 (signbit_test_data): New variable.
1516 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1517
cbe8c4d3
JM
1518 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1519 with INVALID_EXCEPTION.
1520 (acosh_test_data): Likewise.
1521 (asin_test_data): Likewise.
1522 (atanh_test_data): Likewise.
1523 (fmod_test_data): Likewise.
1524 (log_test_data): Likewise.
1525 (log10_test_data): Likewise.
1526 (log2_test_data): Likewise.
1527 (pow_test_data): Likewise.
1528 (sqrt_test_data): Likewise.
1529 (y0_test_data): Likewise.
1530 (y1_test_data): Likewise.
1531 (yn_test_data): Likewise.
1532
5575c0e5
JM
1533 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1534 function contents.
1535
d369f531
JM
1536 * math/libm-test.inc (struct test_ff_i_data): New type.
1537 (RUN_TEST_LOOP_ff_i_tg): New macro.
1538 (isgreater_test_data): New variable.
1539 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1540 (isgreaterequal_test_data): New variable.
1541 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1542 (isless_test_data): New variable.
1543 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1544 (islessequal_test_data): New variable.
1545 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1546 (islessgreater_test_data): New variable.
1547 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1548 (isunordered_test_data): New variable.
1549 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1550
781fd748
DM
15512013-05-14 David S. Miller <davem@davemloft.net>
1552
1553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1554
87aa21df
JM
15552013-05-14 Joseph Myers <joseph@codesourcery.com>
1556
5e908270
JM
1557 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1558
f71172e5
JM
1559 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1560 extra_test to int.
1561 (struct test_f_i_data): Change type of max_ulp to int.
1562
8cfa635a
JM
1563 * math/libm-test.inc (test_ffI_f1_data): New type.
1564 (RUN_TEST_LOOP_ffI_f1): New macro.
1565 (remquo_test_data): New variable.
1566 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1567
2bcb36b2
JM
1568 * setjmp/tst-setjmp-fp.c: New file.
1569 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1570 (link-libm): New variable.
1571 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1572
acbd839a
JM
1573 * math/libm-test.inc (struct test_f_i_data): New type.
1574 (RUN_TEST_LOOP_f_i): New macro.
1575 (RUN_TEST_LOOP_f_i_tg): Likewise.
1576 (fpclassify_test_data): New variable.
1577 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1578 (ilogb_test_data): New variable.
1579 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1580
e414d745
JM
1581 * math/libm-test.inc (scalbln_test): Correct function name in END
1582 call.
1583
d9c2a0fd
JM
1584 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1585 (RUN_TEST_LOOP_fI_f1): New macro.
1586 (frexp_test_data): New variable.
1587 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1588
9dc9095d
JM
1589 * math/libm-test.inc (struct test_fF_f1_data): New type.
1590 (RUN_TEST_LOOP_fF_f1): New macro.
1591 (modf_test_data): New variable.
1592 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1593
87aa21df
JM
1594 * math/libm-test.inc (struct test_f_f1_data): New type.
1595 (RUN_TEST_LOOP_f_f1): New macro.
1596 (gamma_test_data): New variable.
1597 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1598 (lgamma_test_data): New variable.
1599 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1600
141af660
CD
16012013-05-13 Carlos O'Donell <carlos@redhat.com>
1602
1603 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1604 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1605 (main): Comment "tls" pseudo-hwcap.
1606
6d33265c
JM
16072013-05-13 Joseph Myers <joseph@codesourcery.com>
1608
68fc074c
JM
1609 * math/libm-test.inc (struct test_fl_f_data): New type.
1610 (RUN_TEST_LOOP_fl_f): New variable.
1611 (scalbln_test_data): New variable.
1612 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1613
243216e1
JM
1614 * math/libm-test.inc (struct test_fi_f_data): New type.
1615 (RUN_TEST_LOOP_fi_f): New macro.
1616 (ldexp_test_data): New variable.
1617 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1618 (scalbn_test_data): New variable.
1619 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1620
6a1992e2
JM
1621 * math/libm-test.inc (struct test_c_f_data): New type.
1622 (RUN_TEST_LOOP_c_f): New macro.
1623 (cabs_test_data): New variable.
1624 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1625 (carg_test_data): New variable.
1626 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1627 (cimag_test_data): New variable.
1628 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1629 (creal_test_data): New variable.
1630 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1631
0e400df5
JM
1632 * math/libm-test.inc (struct test_if_f_data): New type.
1633 (RUN_TEST_LOOP_if_f): New macro.
1634 (jn_test_data): New variable.
1635 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1636 (yn_test_data): New variable.
1637 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1638
6d33265c
JM
1639 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1640
f98ece5f
AZ
16412013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642
1643 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1644 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1645
0f7d347b
SP
16462013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1647
43fe811b
SP
1648 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1649 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1650 (bench-deps): Add bench-timing.h.
1651 * benchtests-bench-skeleton.c: Include bench-timing.h.
1652 (main): Use TIMING_* macros instead of clock_gettime.
1653 * benchtests/bench-timing.h: New file.
1654
0f7d347b
SP
1655 [BZ #14582]
1656 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1657 Renamed from _LIB_VERSION.
1658 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1659
601a3a5f
JM
16602013-05-12 Joseph Myers <joseph@codesourcery.com>
1661
4f184d30
JM
1662 * math/libm-test.inc (struct test_fff_f_data): New type.
1663 (RUN_TEST_LOOP_fff_f): New macro.
1664 (fma_test_data): New variable.
1665 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1666 (fma_towardzero_test_data): New variable.
1667 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1668 (fma_downward_test_data): New variable.
1669 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1670 (fma_upward_test_data): New variable.
1671 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1672
08198877
JM
1673 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1674 (struct test_c_c_data): New type.
1675 (RUN_TEST_LOOP_c_c): New macro.
1676 (cacos_test_data): New variable.
1677 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1678 (cacosh_test_data): New variable.
1679 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1680 (casin_test_data): New variable.
1681 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1682 (casinh_test_data): New variable.
1683 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1684 (catan_test_data): New variable.
1685 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1686 (catanh_test_data): New variable.
1687 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1688 (ccos_test_data): New variable.
1689 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1690 (ccosh_test_data): New variable.
1691 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1692 (cexp_test_data): New variable.
1693 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1694 (clog_test_data): New variable.
1695 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1696 (clog10_test_data): New variable.
1697 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1698 (conj_test_data): New variable.
1699 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1700 (cproj_test_data): New variable.
1701 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1702 (csin_test_data): New variable.
1703 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1704 (csinh_test_data): New variable.
1705 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1706 (csqrt_test_data): New variable.
1707 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1708 (ctan_test_data): New variable.
1709 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1710 (ctan_tonearest_test_data): New variable.
1711 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1712 (ctan_towardzero_test_data): New variable.
1713 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1714 (ctan_downward_test_data): New variable.
1715 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1716 (ctan_upward_test_data): New variable.
1717 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1718 (ctanh_test_data): New variable.
1719 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1720 (ctanh_tonearest_test_data): New variable.
1721 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1722 (ctanh_towardzero_test_data): New variable.
1723 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1724 (ctanh_downward_test_data): New variable.
1725 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1726 (ctanh_upward_test_data): New variable.
1727 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1728 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1729 of BUILD_COMPLEX.
1730
601a3a5f
JM
1731 * math/libm-test.inc (struct test_ff_f_data): New type.
1732 (struct test_ff_f_data_nexttoward): Likewise.
1733 (RUN_TEST_LOOP_2_f): New macro.
1734 (RUN_TEST_LOOP_ff_f): Likewise.
1735 (atan2_test_data): New variable.
1736 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1737 (copysign_test_data): New variable.
1738 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1739 (fdim_test_data): New variable.
1740 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1741 (fmax_test_data): New variable.
1742 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1743 (fmin_test_data): New variable.
1744 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1745 (fmod_test_data): New variable.
1746 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1747 (hypot_test_data): New variable.
1748 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1749 (nextafter_test_data): New variable.
1750 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1751 (nexttoward_test_data): New variable.
1752 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1753 (pow_test_data): New variable.
1754 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1755 (pow_tonearest_test_data): New variable.
1756 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1757 (pow_towardzero_test_data): New variable.
1758 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1759 (pow_downward_test_data): New variable.
1760 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1761 (pow_upward_test_data): New variable.
1762 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1763 (remainder_test_data): New variable.
1764 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1765 (scalb_test_data): New variable.
1766 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768
74c57478
JM
17692013-05-11 Joseph Myers <joseph@codesourcery.com>
1770
8329e4da
JM
1771 * math/libm-test.inc (fma_test): Use max_value instead of local
1772 variable fltmax.
1773 (nextafter_test): Likewise.
1774
74c57478
JM
1775 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1776 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1777 (acos_downward_test_data): New variable.
1778 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1779 (acos_upward_test_data): New variable.
1780 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1781 (acosh_test_data): New variable.
1782 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1783 (asin_test_data): New variable.
1784 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1785 (asin_tonearest_test_data): New variable.
1786 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1787 (asin_towardzero_test_data): New variable.
1788 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1789 (asin_downward_test_data): New variable.
1790 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1791 (asin_upward_test_data): New variable.
1792 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1793 (asinh_test_data): New variable.
1794 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1795 (atan_test_data): New variable.
1796 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1797 (atanh_test_data): New variable.
1798 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1799 (cbrt_test_data): New variable.
1800 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1801 (ceil_test_data): New variable.
1802 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1803 (cos_test_data): New variable.
1804 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1805 (cos_tonearest_test_data): New variable.
1806 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1807 (cos_towardzero_test_data): New variable.
1808 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1809 (cos_downward_test_data): New variable.
1810 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1811 (cos_upward_test_data): New variable.
1812 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1813 (cosh_test_data): New variable.
1814 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1815 (cosh_tonearest_test_data): New variable.
1816 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1817 (cosh_towardzero_test_data): New variable.
1818 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1819 (cosh_downward_test_data): New variable.
1820 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1821 (cosh_upward_test_data): New variable.
1822 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1823 (erf_test_data): New variable.
1824 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1825 (erfc_test_data): New variable.
1826 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1827 (exp_test_data): New variable.
1828 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1829 (exp_tonearest_test_data): New variable.
1830 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1831 (exp_towardzero_test_data): New variable.
1832 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1833 (exp_downward_test_data): New variable.
1834 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1835 (exp_upward_test_data): New variable.
1836 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1837 (exp10_test_data): New variable.
1838 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1839 (exp2_test_data): New variable.
1840 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1841 (expm1_test_data): New variable.
1842 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1843 (fabs_test_data): New variable.
1844 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1845 (floor_test_data): New variable.
1846 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1847 (j0_test_data): New variable.
1848 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1849 (j1_test_data): New variable.
1850 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1851 (log_test_data): New variable.
1852 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1853 (log10_test_data): New variable.
1854 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1855 (log1p_test_data): New variable.
1856 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1857 (log2_test_data): New variable.
1858 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1859 (logb_test_data): New variable.
1860 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1861 (logb_downward_test_data): New variable.
1862 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1863 (nearbyint_test_data): New variable.
1864 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1865 (rint_test_data): New variable.
1866 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1867 (rint_tonearest_test_data): New variable.
1868 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1869 (rint_towardzero_test_data): New variable.
1870 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1871 (rint_downward_test_data): New variable.
1872 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1873 (rint_upward_test_data): New variable.
1874 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1875 (round_test_data): New variable.
1876 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1877 (sin_test_data): New variable.
1878 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1879 (sin_tonearest_test_data): New variable.
1880 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1881 (sin_towardzero_test_data): New variable.
1882 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1883 (sin_downward_test_data): New variable.
1884 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1885 (sin_upward_test_data): New variable.
1886 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1887 (sinh_test_data): New variable.
1888 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1889 (sinh_tonearest_test_data): New variable.
1890 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1891 (sinh_towardzero_test_data): New variable.
1892 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1893 (sinh_downward_test_data): New variable.
1894 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1895 (sinh_upward_test_data): New variable.
1896 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1897 (sqrt_test_data): New variable.
1898 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1899 (tan_test_data): New variable.
1900 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1901 (tan_tonearest_test_data): New variable.
1902 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1903 (tan_towardzero_test_data): New variable.
1904 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1905 (tan_downward_test_data): New variable.
1906 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1907 (tan_upward_test_data): New variable.
1908 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1909 (tanh_test_data): New variable.
1910 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1911 (tgamma_test_data): New variable.
1912 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1913 (trunc_test_data): New variable.
1914 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1915 (y0_test_data): New variable.
1916 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1917 (y1_test_data): New variable.
1918 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1919 (significand_test_data): New variable.
1920 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1921
7187d844
CG
19222013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1923
1924 [BZ #12387]
1925 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1926
f63fae73
PT
19272013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1928
1929 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1930
8a67a4b3
AJ
19312013-05-10 Andreas Jaeger <aj@suse.de>
1932
1933 [BZ #15448]
1934 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1935 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1936
51df539d
JM
19372013-05-10 Joseph Myers <joseph@codesourcery.com>
1938
1939 * math/gen-libm-test.pl (adjust_arg): New function.
1940 (special_functions): Handle generating output in both functions
1941 and arrays.
1942 (parse_args): Likewise.
1943 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1944 $in_func argument to parse_args.
1945 * math/libm-test.inc (struct test_f_f_data): New type.
1946 (IF_ROUND_INIT_): New macro.
1947 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1948 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1949 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1950 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1951 (ROUND_RESTORE_): Likewise.
1952 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1953 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1954 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1955 (ROUND_RESTORE_FE_UPWARD): Likewise.
1956 (RUN_TEST_LOOP_f_f): New macro.
1957 (acos_test_data): New variable.
1958 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1959 (acos_tonearest_test_data): New variable.
1960 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1961
5c637fe5
SP
19622013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1963
1964 * benchtests/bench-skeleton.c (startup): Fix coding style.
1965
ab2b9461
JM
19662013-05-10 Joseph Myers <joseph@codesourcery.com>
1967
1968 [BZ #6809]
1969 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1970 negative infinity argument.
1971 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1972 negative infinity argument.
1973 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1974 negative infinity argument.
1975 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1976 domain errors.
1977
4c0fe6fe
FW
19782013-05-10 Florian Weimer <fweimer@redhat.com>
1979
1980 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1981 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1982 * iconv/iconv_prog.c (main): Likewise.
1983 * locale/programs/charmap-dir.c (charmap_readdir)
1984 (fopen_uncompressed): Likewise.
1985 * locale/programs/locfile.c (siblings_uncached)
1986 (write_locale_data): Use lstat64 instead of lstat.
1987 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1988 stat.
1989
a3375d29
AJ
19902013-05-10 Andreas Jaeger <aj@suse.de>
1991
1992 [BZ #15395]
1993 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1994 localization.
1995 Include <locale.h>.
1996
36129722
CD
19972013-05-09 Carlos O'Donell <carlos@redhat.com>
1998
1999 * elf/dl-close.c (_dl_close_worker): Add comments.
2000
faa7f811
JM
20012013-05-09 Joseph Myers <joseph@codesourcery.com>
2002
ed41ffef
JM
2003 [BZ #15359]
2004 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2005 high part of pi/2.
2006 (__ieee754_rem_pio2l): Update comments.
2007
d0213cd0
JM
2008 [BZ #15429]
2009 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2010 high part of pi/2.
2011 (__ieee754_rem_pio2l): Update comments.
2012
0d3e777a
JM
2013 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2014 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2015
24f56066
JM
2016 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2017 M_PI_4l.
2018
faa7f811
JM
2019 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2020 (M_PI_34_LOG10El): Likewise.
2021 (M_PI2_LOG10El): Likewise.
2022 (M_PI4_LOG10El): Likewise.
2023 (M_PI_LOG10El): Likewise.
2024
e9a5e0fd
AZ
20252013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2026
2027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2028
d8cd06db
JM
20292013-05-08 Joseph Myers <joseph@codesourcery.com>
2030
a0d9f9d7
JM
2031 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2032 (MINUS_ZERO_INIT): Likewise.
2033 (PLUS_INFTY_INIT): Likewise.
2034 (MINUS_INFTY_INIT): Likewise.
2035 (QNAN_VALUE_INIT): Likewise.
2036 (MAX_VALUE_INIT): Likewise.
2037 (MIN_VALUE_INIT): Likewise.
2038 (MIN_SUBNORM_VALUE_INIT): Likewise.
2039 (plus_zero): Initialize with PLUS_ZERO_INIT.
2040 (minus_zero): Initialize with MINUS_ZERO_INIT.
2041 (plus_infty): Initialize with PLUS_INFTY_INIT.
2042 (minus_infty): Initialize with MINUS_INFTY_INIT.
2043 (qnan_value): Initialize with QNAN_VALUE_INIT.
2044 (max_value): Initialize with MAX_VALUE_INIT.
2045 (min_value): Initialize with MIN_VALUE_INIT.
2046 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2047
ae08db3b
JM
2048 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2049 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2050 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2051 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2052
f44bf14a
JM
2053 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2054 (RUN_TEST_2_f): Likewise.
2055 (RUN_TEST_ff_f): Likewise.
2056 (RUN_TEST_fi_f): Likewise.
2057 (RUN_TEST_fl_f): Likewise.
2058 (RUN_TEST_fff_f): Likewise.
2059 (RUN_TEST_c_f): Likewise.
2060 (RUN_TEST_f_f1): Likewise.
2061 (RUN_TEST_fF_f1): Likewise.
2062 (RUN_TEST_fI_f1): Likewise.
2063 (RUN_TEST_ffI_f1): Likewise.
2064 (RUN_TEST_c_c): Likewise.
2065 (RUN_TEST_cc_c): Likewise.
2066 (RUN_TEST_f_i): Likewise.
2067 (RUN_TEST_f_i_tg): Likewise.
2068 (RUN_TEST_ff_i_tg): Likewise.
2069 (RUN_TEST_f_b): Likewise.
2070 (RUN_TEST_f_b_tg): Likewise.
2071 (RUN_TEST_f_l): Likewise.
2072 (RUN_TEST_f_L): Likewise.
2073 (RUN_TEST_sincos): Likewise.
2074 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2075 whether to show exceptions. Do not include ");\n" in return
2076 value.
2077 (special_functions): Output call to RUN_TEST_sincos instead of
2078 check_float calls. Update calls to new_test.
2079 (parse_args): Output call to single RUN_TEST_* macro instead of
2080 check_* calls and other assignments. Update calls to new_test.
2081
d8cd06db
JM
2082 [BZ #2546]
2083 [BZ #2560]
2084 [BZ #5159]
2085 [BZ #15426]
2086 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2087 input to result for tgamma overflow.
2088 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2089 (gamma_coeff): New variable.
2090 (NCOEFF): New macro.
2091 (gamma_positive): New function.
2092 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2093 underflow here. Use gamma_positive instead of exp (lgamma) for
2094 other arguments.
2095 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2096 (gamma_coeff): New variable.
2097 (NCOEFF): New macro.
2098 (gammaf_positive): New function.
2099 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2100 underflow here. Use gamma_positive instead of exp (lgamma) for
2101 other arguments.
2102 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2103 (gamma_coeff): New variable.
2104 (NCOEFF): New macro.
2105 (gammal_positive): New function.
2106 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2107 underflow here. Use gamma_positive instead of exp (lgamma) for
2108 other arguments.
2109 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2110 (gamma_coeff): New variable.
2111 (NCOEFF): New macro.
2112 (gammal_positive): New function.
2113 (__ieee754_gammal_r): Handle positive infinity, overflow and
2114 underflow here. Handle NaN the same as positive infinity. Remove
2115 check x < 0xffffffff for negative integers. Use gamma_positive
2116 instead of exp (lgamma) for other arguments.
2117 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2118 (gamma_coeff): New variable.
2119 (NCOEFF): New macro.
2120 (gammal_positive): New function.
2121 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2122 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2126 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2127 * sysdeps/generic/math_private.h (__gamma_productf): New
2128 prototype.
2129 (__gamma_product): Likewise.
2130 (__gamma_productl): Likewise.
2131 * math/Makefile (libm-calls): Add gamma_product.
2132 * math/libm-test.inc (tgamma_test): Add more tests.
2133 * sysdeps/i386/fpu/libm-test-ulps: Update.
2134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2135
bb7cf681
OB
21362013-05-08 Ondřej Bílka <neleai@seznam.cz>
2137
2138 * benchtests/bench-skeleton.c (main): Preheat CPU.
2139
ba853947
AJ
21402013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2141
2142 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2143
8347c74c
RM
21442013-05-07 Roland McGrath <roland@hack.frob.com>
2145
2146 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2147 and _dl_skip_args_internal.
2148
e8dd4791
CD
21492013-05-07 Carlos O'Donell <carlos@redhat.com>
2150
2151 * manual/message.texi (Message Translation): Talk about users.
2152 Message to key mapping impacts design.
2153
c7405830
RM
21542013-05-06 Roland McGrath <roland@hack.frob.com>
2155
a9173057
RM
2156 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2157
976e2f03
RM
2158 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2159
9723ffc5
RM
2160 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2161 * sysdeps/wordsize-64/glob64.c: ... here.
2162
962e6658
RM
2163 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2164 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2165 New macros.
2166
ee586a6d
RM
2167 * debug/getlogin_r_chk.c: Moved to ...
2168 * login/getlogin_r_chk.c: ... here.
2169 * debug/Makefile (routines): Move getlogin_r_chk to ...
2170 * login/Makefile (routines): ... here.
2171 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2172 * login/Versions (libc: GLIBC_2.4): ... here.
2173
355f9165
RM
2174 * io/poll.c (__poll): Renamed from poll.
2175 Add libc_hidden_def.
2176 (poll): Define as weak alias.
2177
bd9ffde6
RM
2178 * debug/ptsname_r_chk.c: Moved to ...
2179 * login/ptsname_r_chk.c: ... here.
2180 * debug/Makefile (routines): Move ptsname_r_chk to ...
2181 * login/Makefile (routines): ... here.
2182 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2183 * login/Versions (libc: GLIBC_2.4): ... here.
2184
8fb16a04
RM
2185 * posix/getlogin.c: Moved to ...
2186 * login/getlogin.c: ... here.
2187 * posix/getlogin_r.c: Moved to ...
2188 * login/getlogin_r.c: ... here.
2189 * posix/getlogin_r.c: Moved to ...
2190 * login/getlogin_r.c: ... here.
2191 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2192 * login/Makefile (routines): ... here.
2193 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2194 * login/Versions (libc: GLIBC_2.0): ... here.
2195
b99b892f
RM
2196 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2197 (setrlimit): Define as weak alias.
2198
c7405830
RM
2199 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2200 Call __ names for open, ftruncate, and close.
2201 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2202 (truncate): Define as weak alias.
2203
5bf96de5
JM
22042013-05-06 Joseph Myers <joseph@codesourcery.com>
2205
9ea3513c
JM
2206 * math/gen-libm-test.pl (parse_args): Initialize x before each
2207 test of frexp, modf and remquo.
2208
5bf96de5
JM
2209 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2210 test signgam value.
2211
16e616a7
AZ
22122013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2213
2214 [BZ #15418]
2215 [BZ #15419]
2216 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2217 internal tests.
2218 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2219
d5e82754
RM
22202013-05-06 Roland McGrath <roland@hack.frob.com>
2221
2222 * elf/dl-writev.h: New file.
2223 * elf/dl-misc.c: Include it.
2224 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2225 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2226
a7548d41
JM
22272013-05-04 Joseph Myers <joseph@codesourcery.com>
2228
b7dab1e4
JM
2229 * math/libm-test.inc (noXFails): Remove variable.
2230 (noXPasses): Likewise.
2231 (BUILD_COMPLEX_INT): Remove macro.
2232 (print_screen): Remove xfail argument.
2233 (print_screen_max_error): Likewise.
2234 (update_stats): Likewise.
2235 (print_max_error): Likewise. Update calls to other affected
2236 functions.
2237 (print_complex_max_error): Likewise.
2238 (test_single_exception): Update calls to print_screen.
2239 (test_single_errno): Likewise.
2240 (check_float_internal): Remove xfail argument. Update calls to
2241 other affected functions.
2242 (check_float): Likewise.
2243 (check_complex): Likewise.
2244 (check_int): Likewise.
2245 (check_long): Likewise.
2246 (check_bool): Likewise.
2247 (check_longlong): Likewise.
2248 (main): Don't print noXFails and noXPasses.
2249 * math/gen-libm-test.pl (top level): Don't mention expected
2250 failure handling in comment.
2251 (new_test): Don't handle expected failures.
2252 (parse_args): Don't mention expected failure handling in comment.
2253 (generate_testfile): Don't handle expected failures.
2254 (parse_ulps): Likewise.
2255 (print_ulps_file): Likewise.
2256 (get_failure): Remove function.
2257 (output_test): Don't handle expected failures.
2258 * make/README.libm-test: Don't mention expected failure handling.
2259
a7548d41
JM
2260 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2261 (minus_zero): Likewise.
2262 (plus_infty): Likewise.
2263 (minus_infty): Likewise.
2264 (qnan_value): Likewise.
2265 (max_value): Likewise.
2266 (min_value): Likewise.
2267 (min_subnorm_value): Likewise.
2268 (initialize): Do not initialize those variables dynamically.
2269
60bfd54c
RM
22702013-05-03 Roland McGrath <roland@hack.frob.com>
2271
cc0e6ed8
RM
2272 * io/open.c (__open_2): Moved to ...
2273 * io/open_2.c: ... this new file.
2274 * io/open64.c (__open64_2): Moved to ...
2275 * io/open64_2.c: ... this new file.
2276 * io/openat.c (__openat_2): Moved to ...
2277 * io/openat_2.c: ... this new file.
2278 * io/openat64.c (__openat64_2): Moved to ...
2279 * io/openat64_2.c: ... this new file.
2280 * io/Makefile (routines): Add them.
2281 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2282 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2283 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2284 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2285 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2286 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2287 (__openat64): Add hidden_ver.
2288 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2289 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2290
60bfd54c
RM
2291 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2292 Separately conditionalize setting of GLRO(dl_sysinfo) so
2293 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2294 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2295
83e7640f
AZ
22962013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2297
2298 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2299 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2300 definition.
2301 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2302 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2303 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2304 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2305 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2306
d5dc2af3
JM
23072013-05-03 Joseph Myers <joseph@codesourcery.com>
2308
c31a5b1e
JM
2309 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2310 test signgam value.
2311
d5dc2af3
JM
2312 * math/libm-test.inc (hypot_test): Do not use
2313 IGNORE_ZERO_INF_SIGN.
2314
164fd39d
AJ
23152013-05-03 Andreas Jaeger <aj@suse.de>
2316
2317 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2318 Linux 3.9.
2319 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2320 (PF_MAX): Adjust for VSOCK change.
2321
8237f48c
AZ
23222013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323
2324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2325
9df02941
CD
23262013-05-02 Carlos O'Donell <carlos@redhat.com>
2327
2328 [BZ #15264]
2329 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2330 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2331 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2332
d422395e
DM
23332013-05-02 David S. Miller <davem@davemloft.net>
2334
2335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2336
a07c5731
OB
23372013-05-01 Ondřej Bílka <neleai@seznam.cz>
2338
2339 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2340
1324e37f
RM
23412013-05-01 Roland McGrath <roland@hack.frob.com>
2342
2343 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2344
0695940b
RS
23452013-05-01 Richard Smith <richard@metafoo.co.uk>
2346
bb5f27ad 2347 [BZ #14952]
0695940b
RS
2348 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2349 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2350 Use __attribute__ ((__gnu_inline__)).
2351 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2352 Don't use __attribute__ ((__gnu_inline__)).
2353
10de07f5
JM
23542013-05-01 Joseph Myers <joseph@codesourcery.com>
2355
2356 [BZ #15423]
2357 * math/s_catan.c (__catan): Handle small real or imaginary part of
2358 input specially to avoid spurious underflow.
2359 * math/s_catanf.c (__catanf): Likewise.
2360 * math/s_catanh.c (__catanh): Likewise.
2361 * math/s_catanhf.c (__catanhf): Likewise.
2362 * math/s_catanhl.c (__catanhl): Likewise.
2363 * math/s_catanl.c (__catanl): Likewise.
2364 * math/libm-test.inc (catan_test): Add more tests.
2365 (catanh_test): Likewise.
2366 * sysdeps/i386/fpu/libm-test-ulps: Update.
2367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2368
cb4d5414
AZ
23692013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2370
2371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2372
caf84319
JM
23732013-04-30 Joseph Myers <joseph@codesourcery.com>
2374
2375 [BZ #15416]
2376 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2377 accurately for denominator in atan2.
2378 * math/s_catanf.c (__catanf): Likewise.
2379 * math/s_catanh.c (__catanh): Likewise.
2380 * math/s_catanhf.c (__catanhf): Likewise.
2381 * math/s_catanhl.c (__catanhl): Likewise.
2382 * math/s_catanl.c (__catanl): Likewise.
2383 * math/libm-test.inc (catan_test): Add more tests.
2384 (catanh_test): Likewise.
2385 * sysdeps/i386/fpu/libm-test-ulps: Update.
2386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2387
d569c6ee
SP
23882013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2389
6dbe713d
SP
2390 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2391
f0ee064b
SP
2392 * benchtests/Makefile (bench): Remove slow benchmarks.
2393 * benchtests/atan-inputs: Add slow benchmark inputs.
2394 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2395 (BENCH_FUNC): Accept variant offset.
2396 (VARIANT): Define.
2397 * benchtests/bench-skeleton.c (main): Run benchmark for each
2398 variant.
2399 * benchtests/cos-inputs: Add slow benchmark inputs.
2400 * benchtests/exp-inputs: Likewise.
2401 * benchtests/pow-inputs: Likewise.
2402 * benchtests/sin-inputs: Likewise.
2403 * benchtests/slowatan-inputs: Remove.
2404 * benchtests/slowatan.c: Remove.
2405 * benchtests/slowcos-inputs: Remove.
2406 * benchtests/slowcos.c: Remove.
2407 * benchtests/slowexp-inputs: Remove.
2408 * benchtests/slowexp.c: Remove.
2409 * benchtests/slowpow-inputs: Remove.
2410 * benchtests/slowpow.c: Remove.
2411 * benchtests/slowsin-inputs: Remove.
2412 * benchtests/slowsin.c: Remove.
2413 * benchtests/slowtan-inputs: Remove.
2414 * benchtests/slowtan.c: Remove.
2415 * benchtests/tan-inputs: Add slow benchmark inputs.
2416 * scripts/bench.pl: Parse comments and directives.
2417
d569c6ee
SP
2418 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2419 in CPPFLAGS.
2420 ($(objpfx)bench-%.c): Remove *-ITER.
2421 * benchtests/bench-modf.c: Remove definition of ITER.
2422 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2423 (main): Loop for DURATION seconds instead of fixed number of
2424 iterations.
2425 * scripts/bench.pl: Don't expect iterations in parameters.
2426
a6a242fe
RM
24272013-04-29 Roland McGrath <roland@hack.frob.com>
2428
2429 * io/fchdir.c (__fchdir): Renamed from fchdir.
2430 (fchdir): Define as weak alias.
2431
f2da7793
JM
24322013-04-29 Joseph Myers <joseph@codesourcery.com>
2433
2434 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2435 (ERRNO_EDOM): Likewise.
2436 (ERRNO_ERANGE): Likewise.
2437 (noErrnoTests): New variable.
2438 (init_max_error): Set errno to 0.
2439 (test_single_errno): New function.
2440 (test_errno): Likewise.
2441 (check_float_internal): Call test_errno. Set errno to 0.
2442 (check_complex): Refer to errno tests in comment.
2443 (check_int): Call test_errno. Set errno to 0.
2444 (check_long): Likewise.
2445 (check_bool): Likewise.
2446 (check_longlong): Likewise.
2447 (cos_test): Use ERRNO_* flags for errno tests instead of
2448 check_int.
2449 (expm1_test): Likewise.
2450 (fmod_test): Likewise.
2451 (ilogb_test): Likewise.
2452 (lgamma_test): Likewise.
2453 (pow_test): Likewise.
2454 (remainder_test): Likewise.
2455 (sin_test): Likewise.
2456 (tan_test): Likewise.
2457 (yn_test): Likewise.
2458 (initialize): Set errno to 0.
2459 (main): Print number of errno tests.
2460 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2461
b1a36ceb
AJ
24622013-04-29 Andreas Jaeger <aj@suse.de>
2463
c3ed8088
AJ
2464 [BZ #15084]
2465 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2466 and RES_USEVC.
2467
f1a24198
AJ
2468 [BZ #15085]
2469 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2470 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2471 unimplemented.
2472
9ce3b2cb
AJ
2473 [BZ #15380]
2474 * stdlib/random.c (__initstate): Return NULL if
2475 __initstate fails.
2476
f1a24198 2477 [BZ #15086]
b1a36ceb
AJ
2478 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2479 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2480 RES_SNGLKUPREOP.
2481
7e7b6f36
AZ
24822013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2483
2484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2485
4d14f449
JM
24862013-04-29 Joseph Myers <joseph@codesourcery.com>
2487
2488 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2489 of individual tests.
2490 (casin_test): Likewise.
2491 (casinh_test): Likewise.
2492
5b4217d7
JM
24932013-04-27 Joseph Myers <joseph@codesourcery.com>
2494
2495 [BZ #15409]
2496 * math/s_catan.c (__catan): Handle arguments with large real or
2497 imaginary part separately without squaring.
2498 * math/s_catanf.c (__catanf): Likewise.
2499 * math/s_catanh.c (__catanh): Likewise.
2500 * math/s_catanhf.c (__catanhf): Likewise.
2501 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2502 and redefine.
2503 (__catanhl): Handle arguments with large real or imaginary part
2504 separately without squaring.
2505 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2506 and redefine.
2507 (__catanl): Handle arguments with large real or imaginary part
2508 separately without squaring.
2509 * math/libm-test.inc (catan_test): Add more tests.
2510 (catanh_test): Likewise.
2511 * sysdeps/i386/fpu/libm-test-ulps: Update.
2512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2513
4220c3ef
AJ
25142013-04-27 Andreas Jaeger <aj@suse.de>
2515
2516 [BZ #15007]
2517 * stdlib/stdlib.h: Update guards for qecvt.
2518 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2519 <stdlib.h>.
2520
4721b2d1
AM
25212013-04-27 Allan McRae <allan@archlinux.org>
2522
2523 * sysdeps/i386/fpu/libm-test-ulps: Update.
2524
f0302940
JM
25252013-04-26 Joseph Myers <joseph@codesourcery.com>
2526
9457fd95
JM
2527 [BZ #15406]
2528 * math/s_catan.c: Include <float.h>.
2529 (__catan): Ensure underflow exception occurs for underflowed
2530 result.
2531 * math/s_catanf.c: Include <float.h>.
2532 (__catanf): Ensure underflow exception occurs for underflowed
2533 result.
2534 * math/s_catanh.c: Include <float.h>.
2535 (__catanh): Ensure underflow exception occurs for underflowed
2536 result.
2537 * math/s_catanhf.c: Include <float.h>.
2538 (__catanhf): Ensure underflow exception occurs for underflowed
2539 result.
2540 * math/s_catanhl.c: Include <float.h>.
2541 (__catanhl): Ensure underflow exception occurs for underflowed
2542 result.
2543 * math/s_catanl.c: Include <float.h>.
2544 (__catanl): Ensure underflow exception occurs for underflowed
2545 result.
2546 * math/libm-test.inc (catan_test): Add more tests.
2547 (catanh_test): Likewise.
2548
f0302940
JM
2549 [BZ #15405]
2550 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2551 underflowed result.
2552 * math/s_ccoshf.c (__ccoshf): Likewise.
2553 * math/s_ccoshl.c (__ccoshl): Likewise.
2554 * math/s_csin.c (__csin): Likewise.
2555 * math/s_csinf.c (__csinf): Likewise.
2556 * math/s_csinh.c (__csinh): Likewise.
2557 * math/s_csinhf.c (__csinhf): Likewise.
2558 * math/s_csinhl.c (__csinhl): Likewise.
2559 * math/s_csinl.c (__csinl): Likewise.
2560 * math/libm-test.inc (ccos_test): Add more tests.
2561 (ccosh_test): Likewise.
2562 (csin_test): Likewise.
2563 (csinh_test): Likewise.
2564
aa630f59
AZ
25652013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2566
2567 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2568 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2569 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2570 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2571 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2572 powerpc/power5+/fpu folders.
2573 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2574
2575
1b835983
MT
25762013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2577
2578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2579
73709b26
JM
25802013-04-25 Joseph Myers <joseph@codesourcery.com>
2581
2582 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2583 additions to variable.
2584 [$(config-machine) = x86_64] (modules-names): Likewise.
2585 ($(objpfx)tst-audit3): Remove dependency.
2586 ($(objpfx)tst-audit3.out): Likewise.
2587 ($(objpfx)tst-audit4): Likewise.
2588 ($(objpfx)tst-audit4.out): Likewise.
2589 ($(objpfx)tst-audit5): Likewise.
2590 ($(objpfx)tst-audit5.out): Likewise.
2591 ($(objpfx)tst-audit6): Likewise.
2592 ($(objpfx)tst-audit6.out): Likewise.
2593 ($(objpfx)tst-audit7): Likewise.
2594 ($(objpfx)tst-audit7.out): Likewise.
2595 (tst-audit3-ENV): Remove variable.
2596 (tst-audit4-ENV): Likewise.
2597 (tst-audit5-ENV): Likewise.
2598 (tst-audit6-ENV): Likewise.
2599 (tst-audit7-ENV): Likewise.
2600 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2601 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2602 addition to variable.
2603 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2604 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2605 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2606 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2607 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2608 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2609 tst-audit3, tst-audit4 and tst-audit5.
2610 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2611 tst-audit6 and tst-audit7.
2612 [$(subdir) = elf] (modules-names): Add audit modules for those
2613 tests.
2614 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2615 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2616 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2617 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2618 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2619 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2620 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2621 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2622 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2623 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2624 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2625 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2626 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2627 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2628 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2629 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2630 Likewise.
2631 [$(subdir) = elf && $(config-cflags-avx) = yes]
2632 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2633 [$(subdir) = elf && $(config-cflags-avx) = yes]
2634 (CFLAGS-tst-auditmod4a.c): Likewise.
2635 [$(subdir) = elf && $(config-cflags-avx) = yes]
2636 (CFLAGS-tst-auditmod4b.c): Likewise.
2637 [$(subdir) = elf && $(config-cflags-avx) = yes]
2638 (CFLAGS-tst-auditmod6b.c): Likewise.
2639 [$(subdir) = elf && $(config-cflags-avx) = yes]
2640 (CFLAGS-tst-auditmod6c.c): Likewise.
2641 [$(subdir) = elf && $(config-cflags-avx) = yes]
2642 (CFLAGS-tst-auditmod7b.c): Likewise.
2643 * elf/tst-audit3.c: Move to ...
2644 * sysdeps/x86_64/tst-audit3.c: ... here.
2645 * elf/tst-audit4.c: Move to ...
2646 * sysdeps/x86_64/tst-audit4.c: ... here.
2647 * elf/tst-audit5.c: Move to ...
2648 * sysdeps/x86_64/tst-audit5.c: ... here.
2649 * elf/tst-audit6.c: Move to ...
2650 * sysdeps/x86_64/tst-audit6.c: ... here.
2651 * elf/tst-audit7.c: Move to ...
2652 * sysdeps/x86_64/tst-audit7.c: ... here.
2653 * elf/tst-auditmod3a.c: Move to ...
2654 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2655 * elf/tst-auditmod3b.c: Move to ...
2656 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2657 * elf/tst-auditmod4a.c: Move to ...
2658 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2659 * elf/tst-auditmod4b.c: Move to ...
2660 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2661 * elf/tst-auditmod5a.c: Move to ...
2662 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2663 * elf/tst-auditmod5b.c: Move to ...
2664 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2665 * elf/tst-auditmod6a.c: Move to ...
2666 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2667 * elf/tst-auditmod6b.c: Move to ...
2668 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2669 * elf/tst-auditmod6c.c: Move to ...
2670 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2671 * elf/tst-auditmod7a.c: Move to ...
2672 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2673 * elf/tst-auditmod7b.c: Move to ...
2674 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2675
1ef74943
PP
26762013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2677
2678 [BZ #15366]
2679 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2680 define unconditionally.
2681 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2682 define unconditionally.
2683 (INT8_C, INT16_C, etc.): Likewise.
2684
93fd48c5
MR
26852013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2686
ae9552cf
MR
2687 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2688 __ehdr_start with hidden visibility.
2689
93fd48c5
MR
2690 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2691
418601aa
CD
26922013-04-24 Carlos O'Donell <carlos@redhat.com>
2693
2694 * math/libm-test.inc (cos_test): Use accurate hex constants.
2695 (sincost_test): Likewise.
2696
2f38fbfe
JM
26972013-04-24 Joseph Myers <joseph@codesourcery.com>
2698
5e221800
JM
2699 * math/libm-test.inc (catan_test): Add more tests.
2700 (catanh_test): Likewise.
2701
77f143fd
JM
2702 * math/s_catanf.c (__catanf): Use suffixed floating-point
2703 constants.
2704 * math/s_catanhf.c (__catanhf): Likewise.
2705 * math/s_catanhl.c (__catanhl): Likewise.
2706 * math/s_catanl.c (__catanl): Likewise.
2707
2f38fbfe
JM
2708 [BZ #15394]
2709 * math/s_catan.c (__catan): Calculate imaginary part of result
2710 with log1p not log unless computing log of number close to 0.
2711 * math/s_catanf.c (__catanf): Likewise.
2712 * math/s_catanl.c (__catanl): Likewise.
2713 * math/s_catanh.c (__catanh): Calculate real part of result with
2714 log1p not log unless computing log of number close to 0.
2715 * math/s_catanhf.c (__catanhf): Likewise.
2716 * math/s_catanhl.c (__catanhl): Likewise.
2717 * math/libm-test.inc (catan_test): Add more tests.
2718 (catanh_test): Likewise.
2719 * sysdeps/i386/fpu/libm-test-ulps: Update.
2720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2721
45d69176
SP
27222013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2723
2724 * benchtests/Makefile: Mention files in which fast and slow
2725 paths of math functions are implemented.
2726
87f51853
RM
27272013-04-23 Roland McGrath <roland@hack.frob.com>
2728
2729 * sysdeps/posix/timespec_get.c: New file.
2730
3c026539
AZ
27312013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2732
2733 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2734 POWER.
2735 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2736 for POWER.
2737 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2738 powerpc/power5/fpu folders.
2739 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2740 * benchtests/Makefile: Add modf testcase.
2741 * benchtests/bench-modf.c: New file: Benchmark test for mo
2742
ff491d14
SP
27432013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2744
2745 [BZ #14888]
2746 * time/Makefile (tests): Add tst-strptime-whitespace.
2747 * time/strptime_l.c (get_number): Use ISSPACE.
2748 (__strptime_internal): Likewise.
2749 * time/tst-strptime-whitespace.c: New test case.
2750
7ed3f4e8
AS
27512013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2752
2753 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2754 member.
2755 (_nss_files_init): Set it here.
2756
5c95f7b6
HC
27572013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2758
2759 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2760 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2761 unsigned.
2762
d34c9158
JBG
27632013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2764
2765 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2766
2169712d
SP
27672013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2768
2769 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2770 size just once.
2771
29c5de99
DM
27722013-04-21 David S. Miller <davem@davemloft.net>
2773
2774 * po/ru.po: Update Russion translation from translation project.
2775
ccdad15d
AC
27762013-04-17 Adam Conrad <adconrad@0c3.net>
2777
2778 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2779 and setfsgid.
2780
0f122b8d
CD
27812013-04-17 Carlos O'Donell <carlos@redhat.com>
2782
5c5b07da 2783 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 2784 * configure: Regenerate.
5c5b07da 2785 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
2786 Add example to error message.
2787 * sysdeps/i386/configure: Regenerate.
2788
037714dd
SP
27892013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2790
2791 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2792 slowtan.
2793 * benchtests/cos-inputs: New file.
2794 * benchtests/slowcos-inputs: New file.
2795 * benchtests/slowcos.c: New file.
2796 * benchtests/slowtan-inputs: New file.
2797 * benchtests/slowtan.c: New file.
2798 * benchtests/tan-inputs: New file.
2799
e913141d
RM
28002013-04-16 Roland McGrath <roland@hack.frob.com>
2801
2802 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2803 considered kosher.
2804
a2964074
SP
28052013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2806
4856bcd2
SP
2807 * benchtests/Makefile: Include cppflags-iterator.mk to add
2808 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2809
a2964074
SP
2810 * Makefile.in (bench-clean): New target.
2811 * benchtests/Makefile (bench-clean): Likewise.
2812
9fbf9aca
DH
28132013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2814
2815 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2816
207d1e2a
TS
28172013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2818
2819 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2820
306dfba9
AS
28212013-04-15 Andreas Schwab <schwab@suse.de>
2822
2823 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2824 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2825 * nscd/pwdcache.c (cache_addpw): Likewise.
2826 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2827 more than recsize.
2828
206a6699
SP
28292013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2830
2831 * benchtests/Makefile (bench): Write all output to
2832 bench-out.tmp together.
2833
0582f6b3
AS
28342013-04-15 Andreas Schwab <schwab@suse.de>
2835
2836 * nscd/nscd.c (main): Don't fork again after closing files.
2837
acb4325f
SP
28382013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2839
5cb26d0a
SP
2840 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2841
acb4325f
SP
2842 * benchtests/Rules (bench-deps): Collect dependencies into a
2843 single variable. Add Makefile to dependencies.
2844 ($(objpfx)bench-%.c): Depend on bench-deps.
2845
47792506
RM
28462013-04-12 Roland McGrath <roland@hack.frob.com>
2847 Xavier Roche <roche+kml2@exalead.com>
2848
2849 [BZ #15361]
2850 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2851 just that it's a file descriptor.
2852 * manual/llio.texi (Synchronizing AIO Operations): Update description
2853 for EBADF error from aio_fsync.
2854
8fc1bee5
SP
28552013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2856
2857 * Rules (bench): Move target definition...
2858 * benchtests/Makefile: ... here.
2859
aba5e333
CD
28602013-04-11 Carlos O'Donell <carlos@redhat.com>
2861
2862 * math/libm-test.inc (cos_test): Fix PI/2 test.
2863 (sincos_test): Likewise.
2864 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2865 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2866
273cdee8
AS
28672013-04-11 Andreas Schwab <schwab@suse.de>
2868
6ecec3b6
AS
2869 [BZ #13988]
2870 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2871 accept exponent character only when digits were seen.
2872 * stdio-common/Makefile (tests): Add bug26.
2873 * stdio-common/bug26.c: New file.
2874
273cdee8
AS
2875 [BZ #14293]
2876 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2877 non-freeable.
2878
8da491f5
SP
28792013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2880
01dc6df9
SP
2881 * Makeconfig (rtld-prefix): Define built linker prefix.
2882 * Rules (run-bench): Use it.
2883 * math/Makefile (run-regen-ulps): Likewise.
2884
8da491f5
SP
2885 * Rules (bench): Remove eval.
2886
abe7f530
SP
28872013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2888 Roland McGrath <roland@hack.frob.com>
2889 Ondrej Bilka <neleai@seznam.cz>
2890
2891 [BZ #15346]
2892 * time/getdate.c: Include ctype.h and alloca.h.
2893 (__getdate_r): Trim leading and trailing spaces of input.
2894 * time/tst-getdate.c (tests): Add tests with leading and
2895 trailing spaces.
2896
61c23e62
RM
28972013-04-08 Roland McGrath <roland@hack.frob.com>
2898
2899 [BZ #14280]
2900 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2901 when computing value.
2902
7208a313
CD
29032013-04-06 Carlos O'Donell <carlos@redhat.com>
2904
085b2d41
CD
2905 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2906 Use testrun.sh to run libm tests.
2907
7208a313
CD
2908 [BZ #15309]
2909 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2910
872c0acd
MM
29112013-04-06 Marko Myllynen <myllynen@redhat.com>
2912
2913 [BZ #15264]
2914 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2915
26510bdd
CD
29162013-04-06 Carlos O'Donell <carlos@redhat.com>
2917
2918 * Makefile.in (regen-ulps): New target.
2919 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2920 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2921 [ifneq (no,$(PERL)] (regen-ulps): New target.
2922 [ifeq (no,$(PERL)] (regen-ulps): New target.
2923 * math/libm-test.inc (ulps_file_name): Define.
2924 (output_dir): New variable.
2925 (options): Add "output-dir" option.
2926 (parse_opt): Handle 'o' case.
2927 (main): If output_dir is non-NULL use it as a prefix
2928 otherwise use "".
2929 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2930
a01f19c8
CD
29312013-04-06 Carlos O'Donell <carlos@redhat.com>
2932
2933 [BZ #10060, #10062]
2934 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2935 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2936 fail configure if __sync_val_compare_and_swap is not inlined.
2937 * sysdeps/i386/configure: Regenerate.
2938 * configure.in: Build for i686 when configured for i386.
2939 * configure: Regenerate.
2940 * README: Remove i386 reference.
2941
b7a329a5
CD
29422013-04-06 Carlos O'Donell <carlos@redhat.com>
2943
2944 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2945 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2946
bf0f50df
TS
29472013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2948
ee091edf
TS
2949 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2950 (lmsnanval): New variables.
2951 (F): Add conversion tests.
2952 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2953 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2954
a8b792d6
TS
2955 * stdio-common/tstdiomisc.c (F): Properly collect individual
2956 tests' results.
2957
a1cbf437
TS
2958 [BZ #14686, #15336]
2959 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2960 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2961 Instead, use input NaN values or generate a qNaN by arithmetic
2962 operation. Also fix bugs to comply with the standard.
2963 * math/libm-test.inc (remainder_test): Add more tests.
2964
8b43a0c9
TS
2965 [BZ #15335, #15342]
2966 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2967 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2968 input NaN values or generate a qNaN by arithmetic operation.
2969
d91da4ce
TS
2970 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2971 unreachable code.
2972
bf0f50df
TS
2973 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2974 definitions.
2975
05e166c8
JM
29762013-04-03 Joseph Myers <joseph@codesourcery.com>
2977
2978 [BZ #14478]
2979 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2980 underflowed result.
2981 * math/s_cexpf.c (__cexpf): Likewise.
2982 * math/s_cexpl.c (__cexpl): Likewise.
2983 * math/libm-test.inc (cexp_test): Add more tests.
2984
1cef1b19
AS
29852013-04-03 Andreas Schwab <schwab@suse.de>
2986
2987 [BZ #15330]
2988 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2989 order arrays from heap if bigger than alloca cutoff.
2990
74d87055
TS
29912013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2992
2993 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2994 (SNAN_TESTS_double): Refer to GCC PR56831.
2995 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2996 GCC PR56828.
2997
d755bba4
SP
29982013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2999
90d5d5bb
SP
3000 * Rules (bench): Move bench.out after the run is complete.
3001
73e0cd5d
SP
3002 * Rules (bench): Echo currently running benchmark.
3003
64aabd4b
SP
3004 * benchtests/Makefile (bench): Add atan and slowatan.
3005 * benchtests/atan-inputs: New file.
3006 * benchtests/slowatan-inputs: New file.
3007 * benchtests/slowatan.c: New file.
3008
c871eccd
SP
3009 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3010 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3011 its value.
3012
d755bba4
SP
3013 [BZ #15305]
3014 * sysdeps/unix/sysv/linux/kernel-features.h
3015 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3016 __ASSUME_XFS_RESTRICTED_CHOWN.
3017 * sysdeps/unix/sysv/linux/pathconf.c
3018 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3019 Save and restore errno.
3020
52ce4860
JM
30212013-04-02 Joseph Myers <joseph@codesourcery.com>
3022
3023 [BZ #15327]
3024 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3025 arguments using __kernel_casinh.
3026 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3027 arguments using __kernel_casinhf.
3028 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3029 arguments using __kernel_casinhl.
3030 * math/libm-test.inc (cacosh_test): Add more tests.
3031 * sysdeps/i386/fpu/libm-test-ulps: Update.
3032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3033
81f311c2
SP
30342013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3035
e7906a47
SP
3036 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3038
92e3664b
SP
3039 * bench/Makefile (bench): Add sin and slowsin.
3040 * benchtests/sin-inputs: New file.
3041 * benchtests/slowsin-inputs: New file.
3042 * benchtests/slowsin.c: New file.
3043
81f311c2
SP
3044 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3045 (bench): Add slowexp and slowpow.
3046 (exp-ITER): Increase iterations.
3047 (pow-ITER): Likewise.
3048 * benchtests/exp-inputs: Change input.
3049 * benchtests/pow-inputs: Likewise.
3050 * benchtests/slowexp-inputs: New file.
3051 * benchtests/slowexp.c: New file.
3052 * benchtests/slowpow-inputs: New file.
3053 * benchtests/slowpow.c: New file.
3054
ab0f1aa9
AZ
30552013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3056
3057 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3058 instructions.
3059 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3060 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3061 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3062 * benchtests/Makefile: Add rint benchtest.
3063 * benchtests/rint-inputs: Input for rint benchtest.
3064
57267616
TS
30652013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3066
3067 * Versions.def (libm): Add GLIBC_2.18.
3068 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3069 hidden libm prototypes.
3070 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3071 * math/Makefile (libm-calls): Add s_issignaling.
3072 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3073 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3074 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3075 declaration.
3076 * math/math.h [__USE_GNU] (issignaling): New macro.
3077 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3078 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3079 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3080 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3081 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3082 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3083 * manual/arith.texi (issignaling): New section.
3084 * manual/libm-err-tab.pl (@all_functions): Update comment.
3085 * math/gen-libm-test.pl (parse_args): Apply special handling for
3086 issignaling.
3087 * math/libm-test.inc (print_float, issignaling_test): New
3088 functions.
3089 (check_float_internal): Add issignaling checks.
3090 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3091 default definition.
3092 * sysdeps/powerpc/math-tests.h: New file.
3093 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3094 tests.
3095 * math/test-snan.c (TEST_FUNC): Likewise.
3096
6142896d
DM
30972013-03-30 David S. Miller <davem@davemloft.net>
3098
3099 * po/de.po: Update from translation team.
3100
ccc8cadf
JM
31012013-03-30 Joseph Myers <joseph@codesourcery.com>
3102
3103 [BZ #10357]
3104 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3105 imaginary part less than 1.0 and real part less than 0.5
3106 specially.
3107 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3108 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3109 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3110 (cacos_test): Add more tests.
3111 (casin_test): Likewise.
3112 (casinh_test): Likewise.
3113 * sysdeps/i386/fpu/libm-test-ulps: Update.
3114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3115
0f6a8d4b
SP
31162013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3117
0d1029de
SP
3118 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3119 ONE with its value.
3120
c2d94018
SP
3121 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3122 (__pow_mp): Replace ONE and MONE with their values.
3123 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3124 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3125 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3126 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3127 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3128 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3129
27ec37f1
SP
3130 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3131
a64d7e0e
SP
3132 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3133 (__pow_mp): Replace ZERO and MZERO with their values.
3134 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3135 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3136 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3137 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3138 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3139 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3140 (__sqr): Likewise.
3141
d26dd3eb
SP
3142 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3143
0f6a8d4b
SP
3144 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3145
e57b0c61
RM
31462013-03-28 Roland McGrath <roland@hack.frob.com>
3147
3148 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3149 Declare with __attribute__ ((weak)).
3150 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3151 Call __call_tls_dtors only if it's not NULL.
3152
356b3480
RM
31532013-03-28 Roland McGrath <roland@hack.frob.com>
3154
288f7d79
RM
3155 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3156 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3157 magic __ehdr_start linker symbol if it's defined.
3158 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3159 them up here if it was already done.
3160
dc0a0263
RM
3161 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3162 (_dl_aux_init): Use const in cast when setting it.
3163 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3164 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3165 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3166
3d3436ae
RM
3167 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3168 Declare them here.
3169 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3170 * csu/libc-tls.c: Nor here.
3171 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3172
356b3480
RM
3173 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3174 (__libc_message): Never call vsyslog.
3175
b0f1246a
AM
31762013-03-28 Alan Modra <amodra@gmail.com>
3177
3178 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3179 Define as empty.
3180 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3181 Likewise.
3182
fbbe2b9a
AZ
31832013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3184
3185 [BZ #15214]
3186 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3187 underflow.
3188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3189
1728ab37
SP
31902013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3191
7a86be6e
SP
3192 [BZ #15304]
3193 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3194 Don't add gid passed as argument.
3195
1728ab37
SP
3196 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3197
3a7182a1
JM
31982013-03-27 Joseph Myers <joseph@codesourcery.com>
3199
3200 [BZ #15307]
3201 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3202 imaginary part between 1.0 and 1.5 and real part less than 0.5
3203 specially.
3204 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3205 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3206 * math/libm-test.inc (cacos_test): Add more tests.
3207 (casin_test): Likewise.
3208 (casinh_test): Likewise.
3209 * sysdeps/i386/fpu/libm-test-ulps: Update.
3210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3211
6f2e90e7
SP
32122013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3213
5739f705
SP
3214 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3215 constants.
3216 (norm): Likewise.
3217 (denorm): Likewise.
3218 (__dbl_mp): Likewise.
3219 (add_magnitudes): Likewise.
3220 (sub_magnitudes): Likewise.
3221 (__add): Likewise.
3222 (__sub): Likewise.
3223 (__mul): Likewise.
3224 (__sqr): Likewise.
3225 (__inv): Likewise.
3226 (__dvd): Likewise.
3227
e375e83d
SP
3228 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3229 commented code.
3230 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3231 (__dubcos): Likewise.
3232 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3233 (__ieee754_acos): Likewise.
3234 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3235 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3236 (__exp1): Likewise.
3237 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3238 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3239 (log1): Likewise.
3240 (my_log2): Likewise.
3241 (checkint): Likewise.
3242 * sysdeps/ieee754/dbl-64/e_remainder.c
3243 (__ieee754_remainder): Likewise.
3244 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3245 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3246 (bsloww): Likewise.
3247 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3248
6f2e90e7
SP
3249 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3250 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3251 MANTISSA_STORE_T to store computations on mantissa. Use
3252 macros for rounding and division.
3253 (denorm): Likewise.
3254 (__dbl_mp): Likewise.
3255 (add_magnitudes): Likewise.
3256 (sub_magnitudes): Likewise.
3257 (__mul): Likewise.
3258 (__sqr): Likewise.
3259 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3260 powers of two in terms of TWOPOW macro.
3261 (mp_no): Make type of mantissa as MANTISSA_T.
3262 [!RADIXI]: Define RADIXI.
3263 [!TWO52]: Define TWO52.
3264 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3265
fce14d4e
AZ
32662013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3267
3268 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3269 llroundl symbol when building for PPC32.
3270
9ad027fb
MW
32712013-03-24 Mark H Weaver <mhw@netris.org>
3272
3273 * manual/arith.texi (Normalization Functions): Fix prototypes for
3274 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3275
e42a38dd
AZ
32762013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3277
3278 [BZ #13889]
3279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3280 high value to check if expl overflow.
3281 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3282 to check for underflow and overflow.
3283 * math/libm-test.inc: Add exp test.
3284
2e0fb521
DL
32852013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3286
3287 [BZ #11120]
3288 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3289 with NOT_IN_libc.
3290
b5784d95
AZ
32912013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3292
3293 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3294 symbol.
3295
5aa4a1a1
TS
32962013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3297
bdef0be7
TS
3298 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3299 wrap blocks consisting of several statements.
3300
5aa4a1a1
TS
3301 * sysdeps/generic/math-tests.h: New file.
3302 * sysdeps/i386/fpu/math-tests.h: Likewise.
3303 * math/test-snan.c: Include it.
3304 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3305
98c48fe5
JM
33062013-03-21 Joseph Myers <joseph@codesourcery.com>
3307
3308 [BZ #15285]
3309 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3310 (__ieee754_j0l): Do not improve calculations using cos of twice
3311 input for inputs above LDBL_MAX / 2.0L.
3312 (__ieee754_y0l): Likewise.
3313 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3314 (__ieee754_j1l): Do not improve calculations using cos of twice
3315 input for inputs above LDBL_MAX / 2.0L.
3316 (__ieee754_y1l): Likewise.
3317 * math/libm-test.inc (j0_test): Add another test.
3318 (j1_test): Likewise.
3319 (y0_test): Likewise.
3320 (y1_test): Likewise.
3321 * sysdeps/i386/fpu/libm-test-ulps: Update.
3322
3775a8bc
SP
33232013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3324
3325 * Rules ($(objpfx)bench-%.c): Include code from a C source
3326 file.
3327
0a1b2ae6
JM
33282013-03-21 Joseph Myers <joseph@codesourcery.com>
3329
3330 [BZ #15287]
3331 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3332 imaginary part 1.0 and real part less than 0.5 specially.
3333 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3334 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3335 * math/libm-test.inc (cacos_test): Add more tests.
3336 (casin_test): Likewise.
3337 (casinh_test): Likewise.
3338 * sysdeps/i386/fpu/libm-test-ulps: Update.
3339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3340
b33d4ce4
SP
33412013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3342
3343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3344 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3345
bef0b507
JM
33462013-03-20 Joseph Myers <joseph@codesourcery.com>
3347
3348 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3349 * config.make.in (config-cflags-sse4): Remove variable.
3350 (config-cflags-avx): Likewise.
3351 (config-cflags-sse2avx): Likewise.
3352 (config-cflags-novzeroupper): Likewise.
3353 (config-asflags-i686): Likewise.
3354 (have-mfma4): Likewise.
3355 (have-as-vis3): Likewise.
3356 (MIG): Likewise.
3357 * configure.in (MIG): Do not AC_SUBST.
3358 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3359 (libc_cv_cc_sse4): Do not AC_SUBST.
3360 (libc_cv_cc_avx): Likewise.
3361 (libc_cv_cc_sse2avx): Likewise.
3362 (libc_cv_cc_novzeroupper): Likewise.
3363 (libc_cv_cc_fma4): Likewise.
3364 (libc_cv_as_i686): Likewise.
3365 (libc_cv_sparc_as_vis3): Likewise.
3366 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3367 LIBC_CONFIG_VAR.
3368 (config-asflags-i686): Likewise.
3369 (config-cflags-avx): Likewise.
3370 (config-cflags-sse2avx): Likewise.
3371 (have-mfma4): Likewise.
3372 (config-cflags-novzeroupper): Likewise.
3373 * sysdeps/mach/configure.in (MIG): Likewise.
3374 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3375 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3376 LIBC_CONFIG_VAR.
3377 (config-cflags-avx): Likewise.
3378 (config-cflags-sse2avx): Likewise.
3379 (have-mfma4): Likewise.
3380 (config-cflags-novzeroupper): Likewise.
3381 * configure: Regenerated.
3382 * sysdeps/i386/configure: Likewise.
3383 * sysdeps/mach/configure: Likewise.
3384 * sysdeps/sparc/configure: Likewise.
3385 * sysdeps/x86_64/configure: Likewise.
3386
912cc4b3
RM
33872013-03-20 Roland McGrath <roland@hack.frob.com>
3388
3389 [BZ #14812]
3390 * locale/programs/localedef.c (options): Put N_ translation marker
3391 on argument names, not just descriptions.
3392
04eed2b0
MS
33932013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3394
3395 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3396
a065ceff
OB
33972013-03-20 Ondřej Bílka <neleai@seznam.cz>
3398
9bb2a810 3399 [BZ #14176]
a065ceff
OB
3400 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3401
a600e5ce
RM
34022013-03-19 Roland McGrath <roland@hack.frob.com>
3403
3404 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3405 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3406 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3407 [!BEFORE_ABORT] (before_abort): New function.
3408 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3409 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3410 (writev_for_fatal): New function.
3411 (WRITEV_FOR_FATAL): New macro; call that.
3412 (backtrace_and_maps): New function.
3413 (BEFORE_ABORT): New macro; call that.
3414 (struct str_list): Type removed.
3415 (__libc_message, __libc_fatal): Functions removed.
3416 Include <sysdeps/posix/libc_fatal.c> instead.
3417
6b18bea6
JM
34182013-03-19 Joseph Myers <joseph@codesourcery.com>
3419
3420 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3421 constants.
3422 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3423 double constants.
3424
aaa8cb4b
AS
34252013-03-19 Andreas Schwab <schwab@suse.de>
3426
44673770
AS
3427 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3428 * sysdeps/gnu/configure: Regenerate.
3429
aaa8cb4b
AS
3430 * configure.in: Substitute libc_cv_rtlddir.
3431 * configure: Regenerate.
3432 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3433 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3434 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3435 * elf/Makefile (install-others, CFLAGS-interp.c)
3436 (ldso_install, common-ldd-rewrite): Likewise.
3437 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3438 $(inst_slibdir)/$(rtld-installed-name).
3439 * scripts/rellns-sh: Add -p option.
3440 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3441 for source.
3442
d3cfc668
SP
34432013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3444
3445 * manual/nptl.texi: Renamed to ...
3446 * manual/threads.texi: ... this.
3447 * manual/Makefile (chapters): Update.
3448
0e2b9cdd
RM
34492013-03-18 Roland McGrath <roland@hack.frob.com>
3450
3451 [BZ #14812]
3452 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3453 on argument names, not just descriptions.
0e2b9cdd
RM
3454 * malloc/memusagestat.c (options): Likewise.
3455 * nss/getent.c (options): Likewise.
63270c24
RM
3456
34572013-03-18 Benno Schulenberg <bensberg@justemail.net>
3458
3459 [BZ #14812]
3460 * iconv/iconv_prog.c (options): Put N_ translation marker
3461 on argument names, not just descriptions.
3462 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 3463
b2e1393c
OB
34642013-03-18 Ondrej Bilka <neleai@seznam.cz>
3465
3466 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3467 implementation which is faster on all x86_64 architectures.
3468 Tested on AMD, Intel Nehalem, SNB, IVB.
3469 * sysdeps/x86_64/strnlen.S: Likewise.
3470
3471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3472 Remove all multiarch strlen and strnlen versions.
3473 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3474 Remove strlen and strnlen related parts.
3475
3476 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3477 Inline strlen part.
3478 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3479
3480 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3481 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3482 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3483 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3484 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3485 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3486
ec4ff04d
CD
34872013-03-17 Carlos O'Donell <carlos@redhat.com>
3488
3489 * manual/memory.texi (Malloc Tunable Parameters):
3490 Sort parameters alphabetically. Add comments for missing entries.
3491
cd18e90a
DM
34922013-03-17 David S. Miller <davem@davemloft.net>
3493
3494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3495
2a185d32
JM
34962013-03-16 Joseph Myers <joseph@codesourcery.com>
3497
d2f9799e
JM
3498 [BZ #15283]
3499 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3500 for arguments at most half maximum finite value.
3501 * math/libm-test.inc (j0_test): Add more tests.
3502 (j1_test): Likewise.
3503 (y0_test): Likewise.
3504 (y1_test): Likewise.
3505 * sysdeps/i386/fpu/libm-test-ulps: Update.
3506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3507
2a185d32
JM
3508 [BZ #14155]
3509 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3510 1 / x and functions P and Q for arguments above 0x1p256L.
3511 (__ieee754_y0l): Likewise.
3512 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3513 (__ieee754_y1l): Likewise.
3514 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3515 (j1_test): Likewise.
3516 (y0_test): Likewise.
3517 (y1_test): Likewise.
3518
6cbec759
TS
35192013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3520
3521 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3522 variable.
3523
bc16e260
RM
35242013-03-15 Roland McGrath <roland@hack.frob.com>
3525
aefc9b8c
RM
3526 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3527 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3528 zero since it's initialized to EXEC_PAGESIZE.
3529
bc16e260
RM
3530 * sysdeps/unix/sysv/linux/ldsodefs.h
3531 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3532 * sysdeps/generic/ldsodefs.h: ... here.
3533
a57da955
TS
35342013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3535
af00a34d
TS
3536 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3537
495ded2c
TS
3538 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3539 math/test-snan.c.
3540 * math/test-snan.c: Renamed from
3541 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3542 * math/Makefile (tests): Add test-snan.
3543 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3544 test-powerpc-snan.
3545
777b0332
TS
3546 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3547 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3548 functions.
3549 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3550 __builtin_nan family of functions.
3551 * math/libm-test.inc (initialize): Initialize qnan_value with
3552 __builtin_nan family of functions.
3553 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3554 Remove variables.
3555 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3556 Remove functions.
3557 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3558 storage class. Initialize qNaN_var and sNaN_var with
3559 __builtin_nan and __builtin_nans families of functions,
3560 respectively.
3561
64d063b8
TS
3562 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3563 (sqrt_test): Remove duplicate test with qNaN input.
3564 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3565 (round_test, signbit_test, significand_test): Note missing +/-Inf
3566 as well as qNaN tests.
3567
67e971f1
TS
3568 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3569 qNaN_var. Fix a few strings, too.
3570 * math/libm-test.inc (nan_value): Rename to qnan_value.
3571 * math/gen-libm-test.pl (%beautify): Adjust to that.
3572 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3573 * math/test-misc.c (main): Likewise.
3574 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3575 to __qnan_bytes, and __qnan_union, respectively.
3576 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3577 Likewise.
3578 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3579 and lqnanval, respectively.
3580 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3581 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3582 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3583 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3584
64487e12
TS
3585 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3586 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3587 doubles.
3588
e015e27b
TS
3589 * math/test-misc.c (main): Fix copy'n'pastos.
3590 * misc/tst-efgcvt.c (special): Likewise.
3591
a57da955
TS
3592 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3593 Remove declarations.
3594
1e380345
SP
35952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3596
3597 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3598 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3599 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3600 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3601
ef26eece
AZ
36022013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3603
3604 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3605 macro to return vdso values correctly in IFUNC implementations.
3606 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3607 Optimization by using IFUNC.
3608
8cfdb7e0
SP
36092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3610 Richard Henderson <rth@redhat.com>
3611 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3612
3613 * Makefile.in (bench): New target.
3614 * NEWS: Mention the benchmark framework.
3615 * Rules (bench): Likewise.
3616 (binaries-bench): Generate binaries for functions to
3617 benchmark.
3618 * benchtests/Makefile: New makefile for benchmark tests.
3619 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3620 programs.
3621 * benchtests/exp-inputs: New input file for EXP function.
3622 * benchtests/pow-inputs: New input file for POW function.
3623 * scripts/bench.pl: New script to generate source files for
3624 benchmark programs.
3625
bcda9880
SP
36262013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3627
d22ca8cd
SP
3628 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3629 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3630 computations on mantissa. Use macros for rounding and
3631 division.
3632 (denorm): Likewise.
3633 (__dbl_mp): Likewise.
3634 (add_magnitudes): Likewise.
3635 (sub_magnitudes): Likewise.
3636 (__mul): Likewise.
3637 (__sqr): Likewise.
3638 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3639 powers of two in terms of TWOPOW macro.
3640 (mp_no): Make type of mantissa as MANTISSA_T.
3641 [!RADIXI]: Define RADIXI.
3642 [!TWO52]: Define TWO52.
3643 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3644
bcda9880
SP
3645 * manual/nptl.texi (cindex): Modify threads to pthreads.
3646
06d5adfb
JM
36472013-03-15 Joseph Myers <joseph@codesourcery.com>
3648
3649 * sysdeps/x86_64/preconfigure: Regenerated.
3650
41c7328e
JM
36512013-03-14 Joseph Myers <joseph@codesourcery.com>
3652
3653 [BZ #14155]
3654 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3655 0x1p28 and above.
3656 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3657 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3658 0x1p28 and above.
3659 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3660 * math/libm-test.inc (j0_test): Do not allow one spurious
3661 underflow exception.
3662 (y1_test): Likewise.
3663
e25cfa60
SP
36642013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3665
0409959c
SP
3666 * manual/Makefile (chapters): Add nptl.
3667 * manual/debug.texi (Debugging Support): Add link to Threads
3668 chapter.
3669 * manual/nptl.texi: New file.
3670
e25cfa60
SP
3671 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3672
58a1335e
PB
36732013-03-14 Petr Baudis <pasky@ucw.cz>
3674
3675 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3676 for non-NULL pointer before the memory validity test. Pointed
3677 out by Holger Brunck <holger.brunck@keymile.com>.
3678
9dc7c64f
AS
36792013-03-13 Andreas Schwab <schwab@suse.de>
3680
3681 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3682 instead of .os.
3683
54206aa6
JM
36842013-03-13 Joseph Myers <joseph@codesourcery.com>
3685
3686 * timezone/zic.c: Update from tzcode 2013b.
3687
e98cdb38
CD
36882013-03-12 Carlos O'Donell <carlos@redhat.com>
3689
3690 * manual/install.texi (Configuring and compiling):
3691 Mention i686 and i586.
3692 * INSTALL: Regenerate.
3693
9967e003
RM
36942013-03-12 Roland McGrath <roland@hack.frob.com>
3695
3696 * sysdeps/init_array/elf-init.c: New file.
3697 * csu/elf-init.c
3698 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3699 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3700
3701 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3702 __gmon_start__ as global, but as static with a .preinit_array pointer.
3703 * sysdeps/init_array/gmon-start.c: New file. Use that.
3704 * sysdeps/init_array/crti.S: New file, empty except for comments.
3705 * sysdeps/init_array/crtn.S: Likewise.
3706
e6b5a293 37072013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
3708
3709 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3710 definining bcopy.
80f844c9
OB
3711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3712 Remove Prefer_SSE_for_memop.
3713 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3714 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3715 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
3716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3717 memset-x86-64.
80f844c9 3718 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 3719 Remove bzero, memset ifunc support.
80f844c9
OB
3720 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3721 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3722 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3723 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3724
fb6b0fcb
AS
37252013-03-11 Andreas Schwab <schwab@suse.de>
3726
3727 [BZ #15234]
3728 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3729 by SHLIB_COMPAT.
3730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3731 (GLIBC_2.16): Remove pthread_atfork.
3732
3e6bd4b1
PP
37332013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3734
3735 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3736 (ptestcases.h): Likewise.
3737
222d7f00
RM
37382013-03-08 Roland McGrath <roland@hack.frob.com>
3739
3740 * Makeconfig ($(common-objpfx)config.status): Depend on
3741 sysdeps/*/preconfigure{,.in} too.
3742
1ba4f030
JM
37432013-03-08 Joseph Myers <joseph@codesourcery.com>
3744
a222d91a
JM
3745 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3746 (__free_hook): Use void * instead of __malloc_ptr_t.
3747 (__malloc_hook): Likewise.
3748 (__realloc_hook): Likewise.
3749 (__memalign_hook): Likewise.
3750 (__after_morecore_hook): Likewise.
3751 * malloc/arena.c (save_malloc_hook): Likewise.
3752 (save_free_hook): Likewise.
3753 * malloc/hooks.c (malloc_hook_ini): Likewise.
3754 (realloc_hook_ini): Likewise.
3755 (memalign_hook_ini): Likewise.
3756 * malloc/malloc.c (malloc_hook_ini): Likewise.
3757 (realloc_hook_ini): Likewise.
3758 (memalign_hook_ini): Likewise.
3759 (__free_hook): Likewise.
3760 (__malloc_hook): Likewise.
3761 (__realloc_hook): Likewise.
3762 (__memalign_hook): Likewise.
3763 (__libc_malloc): Likewise.
3764 (__libc_free): Likewise.
3765 (__libc_realloc): Likewise.
3766 (__libc_memalign): Likewise.
3767 (__libc_valloc): Likewise.
3768 (__libc_pvalloc): Likewise.
3769 (__libc_calloc): Likewise.
3770 (__posix_memalign): Likewise.
3771 * malloc/morecore.c (__sbrk): Likewise.
3772 (__default_morecore): Likewise.
3773
5cc45e10
JM
3774 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3775
dd54b864
JM
3776 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3777 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3778 __malloc_ptrdiff_t.
3779
1ba4f030
JM
3780 * malloc/malloc.h (__malloc_size_t): Remove macro.
3781 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3782 __malloc_size_t.
3783 (old_memalign_hook): Likewise.
3784 (old_realloc_hook): Likewise.
3785 (struct hdr): Likewise.
3786 (flood): Likewise.
3787 (mallochook): Likewise.
3788 (memalignhook): Likewise.
3789 (reallochook): Likewise.
3790 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3791 (tr_old_realloc_hook): Likewise.
3792 (tr_old_memalign_hook): Likewise.
3793 (tr_mallochook): Likewise.
3794 (tr_reallochook): Likewise.
3795 (tr_memalignhook): Likewise.
3796
edf66e57
AZ
37972013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3798
3799 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3800 default_ldbl_pack and using as default implementation.
3801 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3802 implementation.
3803 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3804 redundant definition.
3805 (ldbl_insert_mantissa): Likewise.
3806 (ldbl_canonicalize): Likewise.
3807 (ldbl_nearbyint): Likewise.
3808 (ldbl_pack): Rename to ldbl_pack_ppc.
3809 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3810 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3811 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3812
6d9145d8
SP
38132013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3814
3815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3816 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3817 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3818 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3820 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3821 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3822 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3823
4dd4e157
AJ
38242013-03-07 Andreas Jaeger <aj@suse.de>
3825
3826 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3827 bits/mman-linux.h.
3828
adbb8027
SP
38292013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3830
ce544b5b
SP
3831 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3832 Include mpa.h and declare __MPEXP.
3833 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3834 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3835 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3836 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3837 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3838 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3839 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3840
4cc149fd
SP
3841 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3842 (__slowpow): Use long double EXPL and LOGL functions to
3843 compute POW.
3844 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3845 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3846 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3847 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3848 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3849 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3850
e6ebd4a7
SP
3851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3852 intermediate variable to calculate exponent.
3853 (__sqr): Likewise.
3854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3855 Likewise.
3856 (__sqr): Likewise.
3857
82a9811d
SP
3858 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3859 [!NO__SQR]: Define __sqr.
3860 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3861 and NO__SQR. Remove all code except __mul and __sqr. Include
3862 sysdeps/ieee754/dbl-64/mpa.c.
3863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3864
adbb8027
SP
3865 [BZ #12723]
3866 * posix/Makefile (tests): Add tst-pathconf.
3867 * posix/tst-pathconf.c: New test case.
3868 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3869 _PC_PIPE_BUF.
3870 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3871
39120df9
PF
38722013-03-06 Patsy Franklin <pfrankli@redhat.com>
3873
3874 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3875
67525cb8
AJ
38762013-03-06 Andreas Jaeger <aj@suse.de>
3877
664a9ce4
AJ
3878 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3879 definition via __MAP_ANONYMOUS.
3880
8e39047d
AJ
3881 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3882 it's not part of Linux headers.
3883
67525cb8
AJ
3884 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3885 (MAP_HUGE_MASK): Define.
3886
3887 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3888 Define.
3889 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3890 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3891 Define.
3892 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3893 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3894 Define.
3895 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3896 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3897 Define.
3898 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3899
3900 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3901 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3902 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3903 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3904 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3905 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3906
3907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3908 Handle f2fs.
3909
3910 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3911 Handle f2fs and efivarfs.
3912
3913 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3914 f2fs.
3915
3916 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3917 (EFIVARFS_MAGIC): Add.
3918 (F2FS_LINK_MAX): Add.
3919
e1b42695
PP
39202013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3921
3922 * stdio-common/vfprintf.c: Replace __builtin_expect with
3923 __glibc_unlikely.
3924
2d67d91a
JM
39252013-03-06 Joseph Myers <joseph@codesourcery.com>
3926
3927 [BZ #13550]
3928 * sysdeps/generic/bp-sym.h: Remove file.
3929 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3930 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3931 <bp-sym.h> and <bp-asm.h>.
3932 (__longjmp): Don't use BP_SYM.
3933 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3934 and <bp-asm.h>.
3935 (memcpy): Don't use BP_SYM.
3936 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3937 <bp-sym.h> and <bp-asm.h>.
3938 (memcpy): Don't use BP_SYM.
3939 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3940 <bp-asm.h>.
3941 (memcpy): Don't use BP_SYM.
3942 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3943 <bp-asm.h>.
3944 (memset): Don't use BP_SYM.
3945 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3946 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3947 (__bzero): Don't use BP_SYM.
3948 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3949 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3950 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3951 <bp-sym.h> and <bp-asm.h>.
3952 (memcmp): Don't use BP_SYM. Remove comment about bounded
3953 pointers.
3954 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3955 <bp-sym.h> and <bp-asm.h>.
3956 (memcpy): Don't use BP_SYM.
3957 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3958 <bp-sym.h> and <bp-asm.h>.
3959 (memset): Don't use BP_SYM.
3960 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3961 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3962 (__bzero): Don't use BP_SYM.
3963 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3964 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3965 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3966 <bp-sym.h> and <bp-asm.h>.
3967 (strncmp): Don't use BP_SYM. Remove comment about bounded
3968 pointers.
3969 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3970 <bp-sym.h> and <bp-asm.h>.
3971 (memcpy): Don't use BP_SYM.
3972 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3973 <bp-sym.h> and <bp-asm.h>.
3974 (memset): Don't use BP_SYM.
3975 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3976 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3977 (__bzero): Don't use BP_SYM.
3978 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3979 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3980 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3981 <bp-sym.h> and <bp-asm.h>.
3982 (__memchr): Don't use BP_SYM.
3983 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3984 <bp-sym.h> and <bp-asm.h>.
3985 (memcmp): Don't use BP_SYM. Remove comment about bounded
3986 pointers.
3987 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3988 <bp-sym.h> and <bp-asm.h>.
3989 (memcpy): Don't use BP_SYM.
3990 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3991 <bp-sym.h> and <bp-asm.h>.
3992 (__mempcpy): Don't use BP_SYM.
3993 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3994 <bp-sym.h> and <bp-asm.h>.
3995 (__memrchr): Don't use BP_SYM.
3996 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3997 <bp-sym.h> and <bp-asm.h>.
3998 (memset): Don't use BP_SYM.
3999 (__bzero): Likewise.
4000 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4001 <bp-sym.h> and <bp-asm.h>.
4002 (__rawmemchr): Don't use BP_SYM.
4003 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4004 <bp-sym.h> and <bp-asm.h>.
4005 (__STRCMP): Don't use BP_SYM.
4006 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4007 <bp-sym.h> and <bp-asm.h>.
4008 (strchr): Don't use BP_SYM.
4009 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4010 <bp-sym.h> and <bp-asm.h>.
4011 (__strchrnul): Don't use BP_SYM.
4012 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4013 <bp-sym.h> and <bp-asm.h>.
4014 (strlen): Don't use BP_SYM.
4015 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4016 <bp-sym.h> and <bp-asm.h>.
4017 (strncmp): Don't use BP_SYM. Remove comment about bounded
4018 pointers.
4019 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4020 <bp-sym.h> and <bp-asm.h>.
4021 (__strnlen): Don't use BP_SYM.
4022 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4023 <bp-sym.h> and <bp-asm.h>.
4024 (__GI__setjmp): Don't use BP_SYM.
4025 (_setjmp): Likewise.
4026 (__sigsetjmp): Likewise.
4027 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4028 (L(start_addresses)): Don't use BP_SYM.
4029 (_start): Likewise.
4030 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4031 <bp-asm.h>.
4032 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4033 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4034 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4035 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4036 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4037 <bp-asm.h>.
4038 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4039 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4040 about bounded pointers.
4041 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4042 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4043 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4044 <bp-asm.h>.
4045 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4046 about bounded pointers. Remove GKM FIXME comments.
4047 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4048 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4049 <bp-asm.h>.
4050 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4051 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4052 Remove GKM FIXME comments.
4053 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4054 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4055 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4056 <bp-asm.h>.
4057 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4058 about bounded pointers. Remove GKM FIXME comment.
4059 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4060 and <bp-asm.h>.
4061 (strncmp): Don't use BP_SYM. Remove comment about bounded
4062 pointers.
4063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4064 <bp-sym.h> and <bp-asm.h>.
4065 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4067 <bp-sym.h> and <bp-asm.h>.
4068 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4069 comment.
4070
cdcf361f
PP
40712013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4072
4073 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4074 call free(NULL).
4075
3c4a2b15
DM
40762013-03-05 David S. Miller <davem@davemloft.net>
4077
4078 * po/es.po: Update from translation team.
4079
cdcf361f 40802013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
4081
4082 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4083 <bits/mman-linux.h>.
4084 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4085 is fine.
4086 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4087 <bits/mman-linux.h> to end of file.
4088 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4089 is fine.
4090 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4091 <bits/mman-linux.h> to end of file.
4092 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4093 is fine.
4094 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4095 <bits/mman-linux.h> to end of file.
4096
4097 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4098 (MCL_CURRENT, MCL_FUTURE): Define here.
4099
5f67c04f
AK
41002013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4101
8a4473cc 4102 [BZ #15232]
5f67c04f
AK
4103 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4104 attribute_hidden.
4105 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4106
c3e94a95
AK
41072013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4108
4109 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4110 fourth parameter needed for rt_sigprocmask syscall.
4111 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4112 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4113 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4114 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4115 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4116 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4117
cfb6382a
JM
41182013-03-04 Joseph Myers <joseph@codesourcery.com>
4119
4120 [BZ #13550]
4121 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4122 comment about bounded pointers.
4123 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4124 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4125
539d8e01
AJ
41262013-03-04 Andreas Jaeger <aj@suse.de>
4127
4128 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4129 common definitions.
4130
4131 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4132 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4133 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4134 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4135 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
4136 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4137
2e167a70 41382013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
4139
4140 [BZ #15055]
4141 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4142 __ieee754_sqrl instead of __sqrl.
4143
68508633
JM
41442013-03-01 Joseph Myers <joseph@codesourcery.com>
4145
4146 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4147 * sysdeps/powerpc/fpu_control.h: ... here.
4148 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4149 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4150 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4151 * sysdeps/powerpc/bits/mathinline.h: ... here.
4152
7775448e
RM
41532013-03-01 Roland McGrath <roland@hack.frob.com>
4154
4155 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4156 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4157 to just [NEED_DL_SYSINFO_DSO].
4158 * elf/dl-support.c: Likewise.
4159 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4160 * elf/rtld.c (dl_main): Likewise.
4161 * elf/setup-vdso.h (setup_vdso): Likewise.
4162 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4163 * sysdeps/unix/sysv/linux/dl-sysdep.c
4164 (_dl_discover_osversion): Likewise.
4165
4e9b5995
CD
41662013-03-01 Carlos O'Donell <carlos@redhat.com>
4167
4168 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4169 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4170
e23872c8
SP
41712013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4172
e5c74c63
SP
4173 * NEWS: Mention libm performance improvements and non-x86 PI
4174 futex support.
4175
e23872c8
SP
4176 * csu/libc-start.c (__pthread_initialize_minimal): Change
4177 function arguments.
4178 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4179
b5510883
JM
41802013-02-28 Joseph Myers <joseph@codesourcery.com>
4181
4182 [BZ #13550]
4183 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4184 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4185 <bp-sym.h> and <bp-asm.h>.
4186 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4187 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4188 and <bp-asm.h>.
4189 (memcpy): Don't use BP_SYM.
4190 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4191 <bp-asm.h>.
4192 (__mpn_add_n): Don't use BP_SYM.
4193 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4194 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4195 and <bp-asm.h>.
4196 (__mpn_addmul_1): Don't use BP_SYM.
4197 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4198 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4199 <bp-sym.h>.
4200 (_setjmp): Don't use BP_SYM.
4201 (__novmx_setjmp): Likewise.
4202 (__GI__setjmp): Likewise.
4203 (__vmx_setjmp): Likewise.
4204 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4205 <bp-sym.h>.
4206 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4207 (__bzero): Don't use BP_SYM.
4208 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4209 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4210 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4211 <bp-sym.h> and <bp-asm.h>.
4212 (memcpy): Don't use BP_SYM.
4213 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4214 <bp-sym.h> and <bp-asm.h>.
4215 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4216 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4217 <bp-sym.h> and <bp-asm.h>.
4218 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4219 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4220 <bp-asm.h>.
4221 (__mpn_lshift): Don't use BP_SYM.
4222 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4223 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4224 <bp-asm.h>.
4225 (memset): Don't use BP_SYM.
4226 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4227 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4228 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4229 <bp-asm.h>.
4230 (__mpn_mul_1): Don't use BP_SYM.
4231 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4232 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4233 <bp-sym.h> and <bp-asm.h>.
4234 (memcmp): Don't use BP_SYM.
4235 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4236 <bp-sym.h> and <bp-asm.h>.
4237 (memcpy): Don't use BP_SYM.
4238 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4239 <bp-sym.h> and <bp-asm.h>.
4240 (memset): Don't use BP_SYM.
4241 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4242 <bp-sym.h> and <bp-asm.h>.
4243 (strncmp): Don't use BP_SYM.
4244 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4245 <bp-sym.h> and <bp-asm.h>.
4246 (memcpy): Don't use BP_SYM.
4247 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4248 <bp-sym.h> and <bp-asm.h>.
4249 (memset): Don't use BP_SYM.
4250 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4251 <bp-sym.h> and <bp-asm.h>.
4252 (__memchr): Don't use BP_SYM.
4253 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4254 <bp-sym.h> and <bp-asm.h>.
4255 (memcmp): Don't use BP_SYM.
4256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4257 <bp-sym.h> and <bp-asm.h>.
4258 (memcpy): Don't use BP_SYM.
4259 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4260 <bp-sym.h> and <bp-asm.h>.
4261 (__mempcpy): Don't use BP_SYM.
4262 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4263 <bp-sym.h> and <bp-asm.h>.
4264 (__memrchr): Don't use BP_SYM.
4265 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4266 <bp-sym.h> and <bp-asm.h>.
4267 (memset): Don't use BP_SYM.
4268 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4269 <bp-sym.h> and <bp-asm.h>.
4270 (__rawmemchr): Don't use BP_SYM.
4271 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4272 <bp-sym.h> and <bp-asm.h>.
4273 (__STRCMP): Don't use BP_SYM.
4274 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4275 <bp-sym.h> and <bp-asm.h>.
4276 (strchr): Don't use BP_SYM.
4277 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4278 <bp-sym.h> and <bp-asm.h>.
4279 (__strchrnul): Don't use BP_SYM.
4280 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4281 <bp-sym.h> and <bp-asm.h>.
4282 (strlen): Don't use BP_SYM.
4283 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4284 <bp-sym.h> and <bp-asm.h>.
4285 (strncmp): Don't use BP_SYM.
4286 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4287 <bp-sym.h> and <bp-asm.h>.
4288 (__strnlen): Don't use BP_SYM.
4289 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4290 <bp-asm.h>.
4291 (__mpn_rshift): Don't use BP_SYM.
4292 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4293 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4294 <bp-sym.h> and <bp-asm.h>.
4295 (__sigsetjmp): Don't use BP_SYM.
4296 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4297 (L(start_addresses)): Don't use BP_SYM.
4298 (_start): Likewise.
4299 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4300 <bp-asm.h>.
4301 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4302 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4303 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4304 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4305 <bp-asm.h>.
4306 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4307 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4308 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4309 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4310 <bp-asm.h>.
4311 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4312 comments.
4313 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4314 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4315 <bp-asm.h>.
4316 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4317 FIXME comments.
4318 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4319 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4320 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4321 <bp-asm.h>.
4322 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4323 comment.
4324 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4325 and <bp-asm.h>.
4326 (strncmp): Don't use BP_SYM,
4327 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4328 <bp-asm.h>.
4329 (__mpn_sub_n): Don't use BP_SYM.
4330 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4331 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4332 and <bp-asm.h>.
4333 (__mpn_submul_1): Don't use BP_SYM.
4334 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4336 <bp-sym.h> and <bp-asm.h>.
4337 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4339 <bp-sym.h> and <bp-asm.h>.
4340 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4341 comment.
4342
8d19fe64
SP
43432013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4344
4345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4346 Use ZK to minimize writes to Z.
4347 (sub_magnitudes): Simplify code a bit.
4348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4349 Use ZK to minimize writes to Z.
4350 (sub_magnitudes): Simplify code a bit.
4351
85bd816a
RM
43522013-02-27 Roland McGrath <roland@hack.frob.com>
4353
4354 * csu/gmon-start.c: Add special exception to license text.
4355
b5977bf2
RH
43562013-02-27 Richard Henderson <rth@redhat.com>
4357
4358 * scripts/config.guess: Update from config.git.
4359 * scripts/config.sub: Likewise.
4360
11d6e2f2
SP
43612013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4362
09c14ed2
SP
4363 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4364
a688864e
SP
4365 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4366
6295157a
SP
4367 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4368
b8de2202
SP
4369 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4370
11d6e2f2
SP
4371 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4372
7e80ddb8
RM
43732013-02-26 Roland McGrath <roland@hack.frob.com>
4374
4375 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4376 [$(build-shared = yes].
7e80ddb8 4377
7da6d9ed
SP
43782013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4379
45f05884
SP
4380 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4381 (__mul): Reduce iterations for calculating mantissa.
4382
2236d359
SP
4383 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4384 MPTWO.
4385 (__mpranred): Likewise.
4386
7da6d9ed
SP
4387 [BZ #15160]
4388 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4389 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4390
b7688c42
PE
43912013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4392
4393 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4394 Define __attribute__.
4395
53a5c423
SP
43962013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4397
4398 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4399 unused.
4400 * posix/regex_internal.h (__attribute): Remove.
4401 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4402 (re_string_context_at): Likewise.
4403 (bitset_not): Use __attribute__ and mark function as possibly
4404 unused.
4405 (bitset_merge): Likewise.
4406 (bitset_mask): Likewise.
4407 (re_string_char_size_at): Likewise.
4408 (re_string_wchar_at): Likewise.
4409 (re_string_elem_size_at): Likewise.
4410
60f5a8b5
SP
44112013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4412
2a983a2e
SP
4413 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4414 code.
4415 (cc32): Likewise.
4416
e69804d1
SP
4417 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4418 (__acr): Likewise.
4419 (__cpy): Likewise.
4420 (norm): Likewise.
4421 (denorm): Likewise.
4422 (__dbl_mp): Likewise.
4423 (add_magnitudes): Likewise.
4424 (sub_magnitudes): Likewise.
4425 (__mul): Likewise.
4426 (__inv): Likewise.
4427
2f22a1e8
SP
4428 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4429 style.
4430
8930ddc7
SP
4431 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4432 style.
4433
dc60cb11
SP
4434 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4435 code.
4436
60f5a8b5
SP
4437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4438 up changes with default code.
4439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4440 Likewise.
4441
b4d1fd33
AM
44422013-02-24 Allan McRae <allan@archlinux.org>
4443
faf6f8bc
AM
4444 * manual/socket.texi (The Internet Namespace): Order menu items
4445 to match that in the file.
4446
b4d1fd33
AM
4447 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4448 node listing of the info page menu.
4449
2366713d
JM
44502013-02-21 Joseph Myers <joseph@codesourcery.com>
4451
4452 [BZ #13550]
4453 * sysdeps/i386/bp-asm.h: Remove file.
4454 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4455 (PARMS): Do not use macros from bp-asm.h.
4456 (S1): Likewise.
4457 (S2): Likewise.
4458 (SIZE): Likewise.
4459 (__mpn_add_n): Do not use BP_SYM
4460 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4461 "bp-asm.h".
4462 (PARMS): Do not use macros from bp-asm.h.
4463 (S1): Likewise.
4464 (SIZE): Likewise.
4465 (__mpn_addmul_1): Do not use BP_SYM
4466 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4467 "bp-asm.h".
4468 (PARMS): Do not use macros from bp-asm.h.
4469 (SIGMSK): Likewise.
4470 (_setjmp): Likewise. Do not use BP_SYM.
4471 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4472 "bp-asm.h".
4473 (PARMS): Do not use macros from bp-asm.h.
4474 (SIGMSK): Likewise.
4475 (setjmp): Likewise. Do not use BP_SYM.
4476 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4477 "bp-asm.h".
4478 (PARMS): Do not use macros from bp-asm.h.
4479 (__frexp): Do not use BP_SYM.
4480 (frexp): Likewise.
4481 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4482 "bp-asm.h".
4483 (PARMS): Do not use macros from bp-asm.h.
4484 (__frexpf): Do not use BP_SYM.
4485 (frexpf): Likewise.
4486 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4487 "bp-asm.h".
4488 (PARMS): Do not use macros from bp-asm.h.
4489 (__frexpl): Do not use BP_SYM.
4490 (frexpl): Likewise.
4491 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4492 "bp-asm.h".
4493 (PARMS): Do not use macros from bp-asm.h.
4494 (__remquo): Do not use BP_SYM.
4495 (remquo): Likewise.
4496 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4497 "bp-asm.h".
4498 (PARMS): Do not use macros from bp-asm.h.
4499 (__remquof): Do not use BP_SYM.
4500 (remquof): Likewise.
4501 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4502 "bp-asm.h".
4503 (PARMS): Do not use macros from bp-asm.h.
4504 (__remquol): Do not use BP_SYM.
4505 (remquol): Likewise.
4506 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4507 "bp-asm.h".
4508 (PARMS): Do not use macros from bp-asm.h.
4509 (DEST): Likewise.
4510 (SRC): Likewise.
4511 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4512 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4513 "bp-asm.h".
4514 (PARMS): Do not use macros from bp-asm.h.
4515 (strlen): Do not use BP_SYM.
4516 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4517 "bp-asm.h".
4518 (PARMS): Do not use macros from bp-asm.h.
4519 (S1): Likewise.
4520 (S2): Likewise.
4521 (SIZE): Likewise.
4522 (__mpn_add_n): Do not use BP_SYM.
4523 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4524 "bp-asm.h".
4525 (PARMS): Do not use macros from bp-asm.h.
4526 (S1): Likewise.
4527 (SIZE): Likewise.
4528 (__mpn_addmul_1): Do not use BP_SYM.
4529 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4530 weak_alias.
4531 (bzero): Likewise.
4532 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4533 "bp-asm.h".
4534 (PARMS): Do not use macros from bp-asm.h.
4535 (S): Likewise.
4536 (SIZE): Likewise.
4537 (__mpn_lshift): Do not use BP_SYM.
4538 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4539 "bp-asm.h".
4540 (PARMS): Do not use macros from bp-asm.h.
4541 (DEST): Likewise.
4542 (SRC): Likewise.
4543 (LEN): Likewise.
4544 (memcpy): Likewise. Do not use BP_SYM.
4545 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4546 libc_hidden_def and weak_alias.
4547 (mempcpy): Do not use BP_SYM in weak_alias.
4548 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4549 "bp-asm.h".
4550 (PARMS): Do not use macros from bp-asm.h.
4551 (DEST): Likewise.
4552 (LEN): Likewise.
4553 [!BZERO_P] (CHR): Likewise.
4554 (memset): Likewise. Do not use BP_SYM.
4555 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4556 "bp-asm.h".
4557 (PARMS): Do not use macros from bp-asm.h.
4558 (S1): Likewise.
4559 (SIZE): Likewise.
4560 (__mpn_mul_1): Do not use BP_SYM.
4561 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4562 "bp-asm.h".
4563 (PARMS): Do not use macros from bp-asm.h.
4564 (S): Likewise.
4565 (SIZE): Likewise.
4566 (__mpn_rshift): Do not use BP_SYM.
4567 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4568 "bp-asm.h".
4569 (PARMS): Do not use macros from bp-asm.h.
4570 (STR): Likewise.
4571 (CHR): Likewise.
4572 (strchr): Likewise. Do not use BP_SYM.
4573 (index): Do not use BP_SYM in weak_alias.
4574 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4575 "bp-asm.h".
4576 (PARMS): Do not use macros from bp-asm.h.
4577 (DEST): Likewise.
4578 (SRC): Likewise.
4579 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4580 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4581 "bp-asm.h".
4582 (PARMS): Do not use macros from bp-asm.h.
4583 (strlen): Do not use BP_SYM.
4584 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4585 "bp-asm.h".
4586 (PARMS): Do not use macros from bp-asm.h.
4587 (S1): Likewise.
4588 (S2): Likewise.
4589 (SIZE): Likewise.
4590 (__mpn_sub_n): Do not use BP_SYM.
4591 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4592 "bp-asm.h".
4593 (PARMS): Do not use macros from bp-asm.h.
4594 (S1): Likewise.
4595 (SIZE): Likewise.
4596 (__mpn_submul_1): Do not use BP_SYM.
4597 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4598 "bp-asm.h".
4599 (PARMS): Do not use macros from bp-asm.h.
4600 (S1): Likewise.
4601 (S2): Likewise.
4602 (SIZE): Likewise.
4603 (__mpn_add_n): Do not use BP_SYM.
4604 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4605 weak_alias.
4606 (bzero): Likewise.
4607 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4608 "bp-asm.h".
4609 (PARMS): Do not use macros from bp-asm.h.
4610 (BLK2): Likewise.
4611 (LEN): Likewise.
4612 (memcmp): Do not use BP_SYM.
4613 (bcmp): Do not use BP_SYM in weak_alias.
4614 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4615 "bp-asm.h".
4616 (PARMS): Do not use macros from bp-asm.h.
4617 (DEST): Likewise.
4618 (SRC): Likewise.
4619 (LEN): Likewise.
4620 (memcpy): Likewise. Do not use BP_SYM.
4621 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4622 "bp-asm.h".
4623 (PARMS): Do not use macros from bp-asm.h.
4624 (DEST): Likewise.
4625 (SRC): Likewise.
4626 (LEN): Likewise.
4627 (memmove): Likewise. Do not use BP_SYM.
4628 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4629 "bp-asm.h".
4630 (PARMS): Do not use macros from bp-asm.h.
4631 (DEST): Likewise.
4632 (SRC): Likewise.
4633 (LEN): Likewise.
4634 (__mempcpy): Likewise. Do not use BP_SYM.
4635 (mempcpy): Do not use BP_SYM in weak_alias.
4636 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4637 "bp-asm.h".
4638 (PARMS): Do not use macros from bp-asm.h.
4639 (DEST): Likewise.
4640 (LEN): Likewise.
4641 [!BZERO_P] (CHR): Likewise.
4642 (memset): Likewise. Do not use BP_SYM.
4643 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4644 "bp-asm.h".
4645 (PARMS): Do not use macros from bp-asm.h.
4646 (STR2): Likewise.
4647 (strcmp): Do not use BP_SYM.
4648 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4649 "bp-asm.h".
4650 (PARMS): Do not use macros from bp-asm.h.
4651 (STR): Likewise.
4652 (DELIM): Likewise.
4653 [USE_AS_STRTOK_R] (SAVE): Likewise.
4654 (FUNCTION): Likewise. Do not use BP_SYM.
4655 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4656 aliases.
4657 (strtok_r): Likewise.
4658 (__GI___strtok_r): Likewise.
4659 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4660 (PARMS): Do not use macros from bp-asm.h.
4661 (S): Likewise.
4662 (SIZE): Likewise.
4663 (__mpn_lshift): Do not use BP_SYM.
4664 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4665 (PARMS): Do not use macros from bp-asm.h.
4666 (STR): Likewise.
4667 (CHR): Likewise.
4668 (__memchr): Do not use BP_SYM.
4669 (memchr): Do not use BP_SYM in weak_alias.
4670 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4671 (PARMS): Do not use macros from bp-asm.h.
4672 (BLK2): Likewise.
4673 (LEN): Likewise.
4674 (memcmp): Do not use BP_SYM.
4675 (bcmp): Do not use BP_SYM in weak_alias.
4676 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4677 (PARMS): Do not use macros from bp-asm.h.
4678 (S1): Likewise.
4679 (SIZE): Likewise.
4680 (__mpn_mul_1): Do not use BP_SYM.
4681 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4682 "bp-asm.h".
4683 (PARMS): Do not use macros from bp-asm.h.
4684 (STR): Likewise.
4685 (CHR): Likewise.
4686 (__rawmemchr): Do not use BP_SYM.
4687 (rawmemchr): Do not use BP_SYM in weak_alias.
4688 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4689 (PARMS): Do not use macros from bp-asm.h.
4690 (S): Likewise.
4691 (SIZE): Likewise.
4692 (__mpn_rshift): Do not use BP_SYM.
4693 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4694 (PARMS): Do not use macros from bp-asm.h.
4695 (SIGMSK): Likewise.
4696 (__sigsetjmp): Likewise. Do not use BP_SYM.
4697 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4698 (_start): Do not use BP_SYM.
4699 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4700 (PARMS): Do not use macros from bp-asm.h.
4701 (DEST): Likewise.
4702 (SRC): Likewise.
4703 (__stpcpy): Likewise. Do not use BP_SYM.
4704 (stpcpy): Do not use BP_SYM in weak_alias.
4705 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4706 "bp-asm.h".
4707 (PARMS): Do not use macros from bp-asm.h.
4708 (DEST): Likewise.
4709 (SRC): Likewise.
4710 (LEN): Likewise.
4711 (__stpncpy): Likewise. Do not use BP_SYM.
4712 (stpncpy): Do not use BP_SYM in weak_alias.
4713 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4714 (PARMS): Do not use macros from bp-asm.h.
4715 (STR): Likewise.
4716 (CHR): Likewise.
4717 (strchr): Likewise. Do not use BP_SYM.
4718 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4719 "bp-asm.h".
4720 (PARMS): Do not use macros from bp-asm.h.
4721 (STR): Likewise.
4722 (CHR): Likewise.
4723 (__strchrnul): Likewise. Do not use BP_SYM.
4724 (strchrnul): Do not use BP_SYM in weak_alias.
4725 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4726 "bp-asm.h".
4727 (PARMS): Do not use macros from bp-asm.h.
4728 (STOP): Likewise.
4729 (strcspn): Do not use BP_SYM.
4730 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4731 "bp-asm.h".
4732 (PARMS): Do not use macros from bp-asm.h.
4733 (STR): Likewise.
4734 (STOP): Likewise.
4735 (strpbrk): Likewise. Do not use BP_SYM.
4736 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4737 "bp-asm.h".
4738 (PARMS): Do not use macros from bp-asm.h.
4739 (STR): Likewise.
4740 (CHR): Likewise.
4741 (strrchr): Likewise. Do not use BP_SYM.
4742 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4743 (PARMS): Do not use macros from bp-asm.h.
4744 (SKIP): Likewise.
4745 (strspn): Do not use BP_SYM.
4746 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4747 (PARMS): Do not use macros from bp-asm.h.
4748 (STR): Likewise.
4749 (DELIM): Likewise.
4750 (SAVE): Likewise.
4751 (FUNCTION): Likewise. Do not use BP_SYM.
4752 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4753 aliases.
4754 (strtok_r): Likewise.
4755 (__GI___strtok_r): Likewise.
4756 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4757 (PARMS): Do not use macros from bp-asm.h.
4758 (S1): Likewise.
4759 (S2): Likewise.
4760 (SIZE): Likewise.
4761 (__mpn_sub_n): Do not use BP_SYM.
4762 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4763 "bp-asm.h".
4764 (PARMS): Do not use macros from bp-asm.h.
4765 (S1): Likewise.
4766 (SIZE): Likewise.
4767 (__mpn_submul_1): Do not use BP_SYM.
4768 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4769 <bp-sym.h>.
4770 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4771 and <bp-asm.h>.
4772 (PARMS): Do not use macros from bp-asm.h.
4773 (FLAGS): Likewise.
4774 (PTID): Likewise.
4775 (TLS): Likewise.
4776 (CTID): Likewise.
4777 (__clone): Do not use BP_SYM.
4778 (clone): Do not use BP_SYM in weak_alias.
4779 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4780 and <bp-asm.h>.
4781 (PARMS): Do not use macros from bp-asm.h.
4782 (LEN): Likewise.
4783 (__mmap64): Do not use BP_SYM.
4784 (mmap64): Do not use BP_SYM in weak_alias.
4785 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4786 <bp-sym.h> and <bp-asm.h>.
4787 (PARMS): Do not use macros from bp-asm.h.
4788 (__posix_fadvise64_l64): Do not use BP_SYM.
4789 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4790 (PARMS): Do not use macros from bp-asm.h.
4791 (NSOPS): Likewise.
4792 (semtimedop): Do not use BP_SYM.
4793 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4794 and <bp-asm.h>.
4795
582a3cff
AM
47962013-02-21 Allan McRae <allan@archlinux.org>
4797
4798 * manual/message.texi (Charset conversion in gettext):
4799 Move @end statement to beginning of line.
4800
bab8a695
SP
48012013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4802
80945231
SP
4803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4804 static.
4805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4806 Likewise.
4807
bab8a695
SP
4808 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4809 (denorm): Likewise.
4810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4812
e21d7aa7
AK
48132013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4814
4815 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4816 tail-call to the resolved function if pltexit isn't needed.
4817
4c7a4263
SP
48182013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4819
4820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4821 or Y being zero as being unlikely.
4822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4823 Likewise.
4824
41f49342
CD
48252013-02-20 Carlos O'Donell <carlos@redhat.com>
4826
4827 * manual/nss.texi (System Databases and Name Service Switch):
4828 Remove frobnicate @pxref.
4829
50022a93
TS
48302013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4831
4832 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4833 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4834
08cbd996
PM
48352013-02-20 Petr Machata <pmachata@redhat.com>
4836
4837 * elf/elf.h (R_ARM_TARGET1): New macro.
4838 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4839 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4840 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4841 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4842 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4843 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4844 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4845 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4846 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4847 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4848 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4849 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4850 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4851 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4852 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4853 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4854 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4855 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4856 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4857 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4858 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4859 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4860 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4861 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4862 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4863 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4864 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4865 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4866 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4867 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4868 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4869 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4870 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4871 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4872 (R_ARM_THM_GOT_BREL12): Likewise.
4873 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4874 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4875 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4876 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4877 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4878 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4879 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4880 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4881 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4882
c7b275d6
TS
48832013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4884
4885 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4886 __attribute_used__ to __attribute__ ((unused)).
4887
20cd7fb3
SP
48882013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4889
4890 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4891 powerpc mpa.c.
4892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4893 comment formatting.
4894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4895
92945b52
JM
48962013-02-19 Joseph Myers <joseph@codesourcery.com>
4897
4898 [BZ #13550]
4899 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4900 Remove macro.
4901 (ENTER): Remove both macro definitions.
4902 (LEAVE): Likewise.
4903 (CHECK_BOUNDS_LOW): Likewise.
4904 (CHECK_BOUNDS_HIGH): Likewise.
4905 (CHECK_BOUNDS_BOTH): Likewise.
4906 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4907 (RETURN_BOUNDED_POINTER): Likewise.
4908 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4909 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4910 (POP_ERRNO_LOCATION_RETURN): Likewise.
4911 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4912 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4913 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4914 macros.
4915 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4916 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4917 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4918 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4919 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4920 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4921 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4922 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4923 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4924 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4925 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4926 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4927 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4928 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4929 removed macros.
4930 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4931 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4932 macros.
4933 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4934 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4935 * sysdeps/i386/i586/memset.S (memset): Likewise.
4936 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4937 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4938 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4939 macros.
4940 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4941 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4942 Change uses of L(2) to L(out).
4943 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4944 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4945 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4946 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4947 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4948 removed macros.
4949 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4950 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4951 macros.
4952 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4953 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4954 (RETURN): Do not use macro LEAVE.
4955 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4956 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4957 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4958 * sysdeps/i386/i686/memset.S (memset): Likewise.
4959 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4960 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4961 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4962 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4963 Likewise.
4964 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4965 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4966 L(1_2) and L(1_3) into L(1).
4967 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4968 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4969 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4970 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4971 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4972 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4973 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4974 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4975 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4976 macros.
4977 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4978 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4979 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4980 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4981 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4982 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4983 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4984 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4985 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4986 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4987 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4988 * sysdeps/i386/strspn.S (strspn): Likewise.
4989 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4990 conditional code.
4991 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4992 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4993 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4994 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4995 L(1_3) into L(1_1).
4996 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4997 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4998 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4999 macros.
5000 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5001
2389741a
JJ
50022013-02-19 Jakub Jelinek <jakub@redhat.com>
5003
5004 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5005 macro.
5006
2016b3cd
SP
50072013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5008
e4f22324
SP
5009 * math/atest-exp.c (exp_mpn): Remove ROUND.
5010 * math/atest-exp2.c (exp_mpn): Likewise.
5011 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5012
2016b3cd
SP
5013 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5014 * stdlib/tst-tls-atexit-lib.c: Likewise.
5015 * stdlib/tst-tls-atexit.c: Likewise.
5016
4be9b544
MF
50172013-02-18 Mike Frysinger <vapier@gentoo.org>
5018
5019 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5020 and __attribute_alloc_size__.
5021
2f62b9ee
MF
50222013-02-18 Mike Frysinger <vapier@gentoo.org>
5023
5024 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5025 __attribute_alloc_size__.
5026 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5027 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5028
6ff444c4
MF
50292013-02-18 Mike Frysinger <vapier@gentoo.org>
5030
5031 * include/programs/xmalloc.h: New file.
5032 * catgets/gencat.c: Include it.
5033 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5034 * elf/pldd.c: Likewise.
5035 * iconv/iconv_charmap.c: Likewise.
5036 * iconv/iconvconfig.c: Likewise.
5037 * iconv/strtab.c: Likewise.
5038 * locale/programs/locale.c: Likewise.
5039 * locale/programs/localedef.h: Likewise.
5040 * locale/programs/simple-hash.c: Likewise.
5041 * nscd/nscd.h: Likewise.
5042 * nss/makedb.c: Likewise.
5043 * sysdeps/generic/ldconfig.h: Likewise.
5044
be179c8a
SP
50452013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5046
ba384f6e
SP
5047 * Versions.def: Add GLIBC_2.18.
5048 * include/link.h (struct link_map): New member l_tls_dtor_count.
5049 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5050 (__call_tls_dtors): Likewise.
5051 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5052 __cxa_thread_atexit_impl.
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5054 Likewise.
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5056 Likewise.
5057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5058 Likewise.
5059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5060 Likewise.
5061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5063 Likewise.
5064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5065 Likewise.
5066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5068 Likewise.
5069 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5070 (tests): Add test case tst-tls-atexit.
5071 (modules-names): Add shared library for tst-tls-atexit.
5072 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5073 (GLIBC_PRIVATE): Add __call_tls_dtors.
5074 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5075 for libstdc++.
5076 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5077 * stdlib/tst-tls-atexit.c: New test case.
5078 * stdlib/tst-tls-atexit-lib.c: New test case.
5079
ffaa74cf 5080 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 5081
be179c8a
SP
5082 * elf/Versions (ld): Add _dl_find_dso_for_object.
5083 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5084 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5085 (dl_open_worker): Use _dl_find_dso_for_object.
5086 * elf/dl-sym.c (do_sym): Likewise.
5087 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5088
f78b5caa
AK
50892013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5090
5091 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5092 Syntactic changes only.
5093 (_dl_runtime_profile): Do a tail-call to the resolved function.
5094
29691210
JM
50952013-02-17 Joseph Myers <joseph@codesourcery.com>
5096
5097 [BZ #13550]
5098 * sysdeps/x86_64/bp-asm.h: Remove file.
5099 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5100 <bp-sym.h> and <bp-asm.h>.
5101 (__clone): Do not use BP_SYM.
5102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5103 <bp-sym.h> and <bp-asm.h>.
5104 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5105 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5106 "bp-asm.h".
5107 (_setjmp): Do not use BP_SYM.
5108 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5109 "bp-asm.h".
5110 (setjmp): Do not use BP_SYM.
5111 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5112 libc_hidden_def.
5113 (mempcpy): Do not use BP_SYM in weak_alias.
5114 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5115 "bp-asm.h".
5116 (strchr): Do not use BP_SYM.
5117 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5118 "bp-asm.h".
5119 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5120 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5121 (_start): Do not use BP_SYM.
5122 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5123 "bp-asm.h".
5124 (strcat): Do not use BP_SYM.
5125 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5126 "bp-asm.h".
5127 (STRCMP): Do not use BP_SYM.
5128 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5129 "bp-asm.h".
5130 (STRCPY): Do not use BP_SYM.
5131 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5132 "bp-asm.h".
5133 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5134 "bp-asm.h".
5135 (FUNCTION): Do not use BP_SYM.
5136 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5137 weak_alias.
5138 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5139
f238fd19
AJ
51402013-02-17 Andreas Jaeger <aj@suse.de>
5141
5142 * time/Versions: Sort entries.
5143 * string/Versions: Likewise.
5144 * resolv/Versions: Likewise.
5145 * posix/Versions: Likewise.
5146 * iconv/Versions: Likewise.
5147 * elf/Versions: Likewise.
5148 * wcsmbs/Versions: Likewise.
5149
bd07f23c 51502013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 5151
22af19f9
SP
5152 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5153 loop termination condition.
5154
4709fe76
SP
5155 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5156 variable to calculate EZ.
5157 (__sqr): Likewise.
2d0e0f29
SP
5158
5159 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5160 the lower precision input.
5161
daaa7713
JM
51622013-02-15 Joseph Myers <joseph@codesourcery.com>
5163
5164 [BZ #13550]
5165 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5166 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5167 (run-via-rtld-prefix): Do not handle %-bp tests.
5168 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5169 (all-object-suffixes): Remove .ob.
5170 (bppfx): Remove variable.
5171 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5172 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5173 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5174 [$(build-bounded) = yes] (libtype.ob): Likewise.
5175 * Makerules (elide-routines.ob): Remove variable.
5176 (do-tests-clean): Do not handle *-bp.out.
5177 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5178 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5179 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5180 (tests): Do not include $(tests-bp.out).
5181 (xtests): Do not include $(xtests-bp.out).
5182 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5183 [$(build-bounded) = yes] ($(addprefix
5184 $(objpfx),$(binaries-bounded))): Remove rule.
5185 ($(objpfx)%-bp.out): Remove rule.
5186 * config.make.in (build-bounded): Remove variable.
5187 * crypt/Makefile [$(build-bounded) = yes]
5188 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5189 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5190 append to variable.
5191 [$(build-bounded) = yes] (install-lib): Likewise.
5192 [$(build-bounded) = yes] (generated): Likewise.
5193 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5194 Remove rule.
5195 * intl/Makefile [$(build-bounded) = yes]
5196 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5197 * math/Makefile [$(build-bounded) = yes]
5198 ($(tests:%=$(objpfx)%-bp): Likewise.
5199 * misc/Makefile [$(build-bounded) = yes]
5200 ($(objpfx)tst-tsearch-bp): Likewise.
5201 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5202 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5203 Remove dependency.
5204 * string/Makefile (o-objects.ob): Remove variable.
5205 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5206 (CFLAGS-.ob): Remove variable.
5207 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5208 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5209 both definitions of variable.
5210 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5211 (ASFLAGS-.ob): Remove variable.
5212
e97ed6dd
JM
52132013-02-14 Joseph Myers <joseph@codesourcery.com>
5214
2bdd4ca6
JM
5215 [BZ #13550]
5216 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5217 Remove __BOUNDED_POINTERS__ from condition.
5218 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5219 * string/bits/string2.h [!__NO_STRING_INLINES &&
5220 !__BOUNDED_POINTERS__]: Likewise.
5221 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5222 Likewise.
5223 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5224 Remove conditional code.
5225 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5226 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5227 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5228 condition.
5229
e97ed6dd
JM
5230 [BZ #13550]
5231 * csu/libc-start.c: Do not include <bp-sym.h>.
5232 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5233 * elf/dl-open.c: Do not include <bp-sym.h>.
5234 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5235 * math/fegetenv.c: Do not include <bp-sym.h>.
5236 (fegetenv): Do not use BP_SYM in versioned symbols.
5237 * nptl/sysdeps/pthread/bits/libc-lockP.h
5238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5239 <bp-sym.h>.
5240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5241 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5243 (__pthread_mutex_destroy): Likewise.
5244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5245 (__pthread_mutex_lock): Likewise.
5246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5247 (__pthread_mutex_trylock): Likewise.
5248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5249 (__pthread_mutex_unlock): Likewise.
5250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5251 (__pthread_mutexattr_init): Likewise.
5252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5253 (__pthread_mutexattr_destroy): Likewise.
5254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5255 (__pthread_mutexattr_settype): Likewise.
5256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5257 (__pthread_rwlock_init): Likewise.
5258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5259 (__pthread_rwlock_destroy): Likewise.
5260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5261 (__pthread_rwlock_rdlock): Likewise.
5262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5263 (__pthread_rwlock_tryrdlock): Likewise.
5264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5265 (__pthread_rwlock_wrlock): Likewise.
5266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5267 (__pthread_rwlock_trywrlock): Likewise.
5268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5269 (__pthread_rwlock_unlock): Likewise.
5270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5271 (__pthread_key_create): Likewise.
5272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5273 (__pthread_setspecific): Likewise.
5274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5275 (__pthread_getspecific): Likewise.
5276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5277 Likewise.
5278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5279 (_pthread_cleanup_push_defer): Likewise.
5280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5281 (_pthread_cleanup_pop_restore): Likewise.
5282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5283 (pthread_setcancelstate): Likewise.
5284 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5285 <bp-sym.h>.
5286 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5287 (memchr): Do not use BP_SYM in weak_alias.
5288 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5289 (fegetenv): Do not use BP_SYM in versioned symbols.
5290 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5291 (fesetenv): Do not use BP_SYM in versioned symbols.
5292 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5293 (feupdateenv): Do not use BP_SYM in versioned symbols.
5294 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5295 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5296 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5297 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5298 (open64): Do not use BP_SYM in weak_alias.
5299 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5300 (fegetenv): Do not use BP_SYM in versioned symbols.
5301 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5302 (fesetenv): Do not use BP_SYM in versioned symbols.
5303 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5304 (feupdateenv): Do not use BP_SYM in versioned symbols.
5305 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5306 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5307 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5308 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5309 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5310 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5311 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5312 <bp-sym.h>.
5313 (__libc_start_main): Do not use BP_SYM.
5314
d6752ccd
SP
53152013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5316
cb57ce60
SP
5317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5318 redundant return line.
5319 (norm): Likewise.
5320 (denorm): Likewise.
5321 (dbl_mp): Likewise.
5322 (sub_magnitudes): Likewise.
5323 (__add): Likewise.
5324 (__sub): Likewise.
5325 (__mul): Likewise.
5326 (__inv): Likewise.
5327 (__dvd): Likewise.
5328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5329 (norm): Likewise.
5330 (denorm): Likewise.
5331 (dbl_mp): Likewise.
5332 (sub_magnitudes): Likewise.
5333 (__add): Likewise.
5334 (__sub): Likewise.
5335 (__mul): Likewise.
5336 (__inv): Likewise.
5337 (__dvd): Likewise.
5338
f414520d
SP
5339 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5340 instead of __mul.
5341 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5342 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5343 (cc32): Likewise.
5344
d6752ccd
SP
5345 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5346 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5347 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5348 of __mul for squares.
5349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5350 function
5351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5352 Likewise.
5353 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5354 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5355
70d9946a
JM
53562013-02-13 Joseph Myers <joseph@codesourcery.com>
5357
5358 [BZ #13550]
5359 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5360 code.
5361 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5362 prototype or function definition. Rename ubp_* variables and
5363 parameters. Remove argv definitions conditional on
5364 [__BOUNDED_POINTERS__].
5365 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5366 * elf/dl-runtime.c (_dl_fixup): Likewise.
5367 * include/set-hooks.h (RUN_HOOK): Likewise.
5368 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5369 definition.
5370 * string/strcpy.c (strcpy): Do not use __unbounded.
5371 * sysdeps/generic/frame.h (struct layout): Likewise.
5372 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5373 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5374 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5375 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5376 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5377 (__backtrace): Likewise.
5378 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5379 use __ptrvalue.
5380 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5381 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5382 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5383 Likewise.
5384 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5385 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5386 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5387 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5388 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5389 Do not use __unbounded.
5390 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5391 Rename __unboundedrlimits parameter to rlimits in prototype.
5392 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5393 Do not use __unbounded.
5394 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5395 not use __ptrvalue.
5396 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5397 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5398 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5399 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5400 __ptrvalue or __unbounded.
5401 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5402 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5403 use __unbounded.
5404 (__new_msgctl): Do not use __ptrvalue.
5405 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5406 __unbounded.
5407 (__libc_msgrcv): Do not use __ptrvalue.
5408 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5409 startup_info): Do not use __unbounded.
5410 (__libc_start_main): Likewise. Rename ubp_* variables and
5411 parameters. Remove argv definitions conditional on
5412 [__BOUNDED_POINTERS__].
5413 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5414 __ptrvalue.
5415 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5416 use __unbounded.
5417 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5418 or __ptrvalue.
5419 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5420 use __unbounded.
5421 (__new_shmctl): Do not use __ptrvalue.
5422 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5423 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5424 Likewise.
5425 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5426 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5427 (__libc_sigaction): Likewise.
5428 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5429 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5430 Likewise.
5431 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5432
cc7834d6
OB
54332013-02-13 Ondřej Bílka <neleai@seznam.cz>
5434
ffb1ec7b 5435 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
5436
5437 * string/mempcpy.c: Implement by calling memcpy.
5438
bdf02814
SP
54392013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5440
c2af38aa
SP
5441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5442
4e92d59e
SP
5443 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5444 evaluation.
5445
909279a5
SP
5446 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5447 values in the mantissa.
5448
bdf02814
SP
5449 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5450 minimize writes to Z.
5451 (sub_magnitudes): Simplify code a bit.
5452
cd525923
RM
54532013-02-12 Roland McGrath <roland@hack.frob.com>
5454
5455 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5456 from the message. The linker prefixes all warnings with that already.
5457
7e2f0d2d
AS
54582013-02-12 Andreas Schwab <schwab@suse.de>
5459
a445af0b
AS
5460 [BZ #15078]
5461 * posix/regexec.c (extend_buffers): Add parameter min_len.
5462 (check_matching): Pass minimum needed length.
5463 (clean_state_log_if_needed): Likewise.
5464 (get_subexp): Likewise.
5465 * posix/Makefile (tests): Add bug-regex34.
5466 (bug-regex34-ENV): Define.
5467 * posix/bug-regex34.c: New file.
5468
7e2f0d2d
AS
5469 [BZ #11561]
5470 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5471 elements compare against the byte sequence of it, not its name.
5472 * posix/Makefile (tests): Add bug-regex35.
5473 (bug-regex35-ENV): Define.
5474 * posix/bug-regex35.c: New file.
5475
a175b684
TV
54762013-02-11 Tom de Vries <tom@codesourcery.com>
5477
5478 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5479 comment.
5480 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5481 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5482 (CHECK_EOL): Add undef.
5483
310998fe 54842013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
5485
5486 * bits/stdlib-bsearch.h: New file.
5487 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 5488 * stdlib/stdlib.h: Likewise.
41eda41d 5489
8ded91fb
RM
54902013-02-11 Roland McGrath <roland@hack.frob.com>
5491
5492 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5493 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5494 declaration.
5495 * manual/search.texi (Array Search Function): Add missing const in
5496 lfind prototype.
5497 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5498 declaration to use rlim_t.
5499 (Basic Scheduling Functions): Remove erroneous const from
5500 sched_getparam prototype. Remove erroneous * from
5501 sched_get_priority_max and sched_get_priority_min prototypes.
5502 (Resource Usage): Fix summary @comment on vtimes to refer to
5503 sys/vtimes.h rather than vtimes.h.
5504 Add missing *s in vtimes prototype.
5505 (Limits on Resources): Fix ulimit prototype to return long int.
5506 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5507 prototypes to use long int rather than double.
5508 (BSD Random): Fix initstate and setstate to use char *, not void *.
5509 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5510 prototype to make second argument 'struct aiocb64 *const[]'.
5511 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5512 (Status of AIO Operations): Remove erroneous const in aio_return and
5513 aio_return64 prototypes.
5514 (Synchronizing I/O): Fix sync prototype to return void.
5515 * manual/startup.texi (Suboptions): Remove an erroneous const in
5516 getsubopt prototype.
5517 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5518 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5519 use size_t rather than int.
5520 (Scanning All Users): Likewise for getpwent_r.
5521 (Setting Groups): Add missing const to setgroups prototype.
5522 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5523 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5524 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5525 'const void *' rather than 'const char *'.
5526 (Host Address Functions): Likewise for inet_ntop.
5527 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5528 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5529 ssize_t for return value.
5530 (Sending Data): Likewise for send, sendto, sendmsg.
5531 (Socket Option Functions): Add a missing const in setsockopt prototype.
5532 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5533 use wchar_t for the argument.
5534 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5535 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5536 take no arguments.
5537 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5538 double/float/long double for second argument.
5539 Fix return types of significand, significandf, significandl.
5540 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5541 argument in fchmod prototype.
5542 (File Owner): Use uid_t and gid_t in fchown prototype.
5543 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5544 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5545 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5546 use 'const struct dirent **' as argument types to CMP function pointer
5547 argument.
5548 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5549 (File Times): Fix summary magic @comment for struct utimbuf and utime
5550 to refer to utime.h, not time.h.
5551 * manual/string.texi (Argz Functions): Add missing const in
5552 argz_extract and argz_next prototypes.
5553 (Finding Tokens in a String): Likewise for basename.
5554 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5555 (Copying and Concatenation): Fix typo in wmemmove prototype.
5556 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5557 (Signal Stack): Remove erroneous const in sigstack prototype.
5558 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5559 prototype.
5560 (Simple Calendar Time): Likewise for stime.
5561 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5562 prototype.
5563 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5564 say sys/sysctl.h instead.
5565 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5566 and vsyslog prototypes.
5567
fe77fe6d
TV
55682013-02-11 Tom de Vries <tom@codesourcery.com>
5569
5570 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5571 Remove.
5572
3a09b620
RM
55732013-02-11 Roland McGrath <roland@hack.frob.com>
5574
5575 * misc/sys/mman.h: Fix typo in mremap comment.
5576
550a0b89
RM
55772013-02-08 Roland McGrath <roland@hack.frob.com>
5578
5579 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5580 the '\0' terminator.
5581
a2da1673
JM
55822013-02-08 Joseph Myers <joseph@codesourcery.com>
5583
5584 [BZ #13550]
5585 * debug/segfault.c: Don't include <bp-checks.h>.
5586 * sysdeps/generic/bp-checks.h: Remove file.
5587 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5588 (__GETDENTS): Don't use CHECK_N.
5589 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5590 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5591 (__getgroups): Don't use CHECK_N.
5592 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5593 (setgroups): Don't use CHECK_N.
5594 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5595 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5596 (__libc_msgrcv): Don't use CHECK_N.
5597 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5598 (__libc_msgsnd): Don't use CHECK_N.
5599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5600 <bp-checks.h>.
5601 (__libc_pread): Don't use CHECK_N.
5602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5603 include <bp-checks.h>.
5604 (__libc_pread64): Don't use CHECK_N.
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5606 include <bp-checks.h>.
5607 (__libc_pwrite): Don't use CHECK_N.
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5609 include <bp-checks.h>.
5610 (__libc_pwrite64): Don't use CHECK_N.
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5612 <bp-checks.h>.
5613 (__libc_pread): Don't use CHECK_N.
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5615 include <bp-checks.h>.
5616 (__libc_pread64): Don't use CHECK_N.
5617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5618 include <bp-checks.h>.
5619 (__libc_pwrite): Don't use CHECK_N.
5620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5621 include <bp-checks.h>.
5622 (__libc_pwrite64): Don't use CHECK_N.
5623 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5624 (do_pread): Don't use CHECK_N.
5625 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5626 (do_pread64): Don't use CHECK_N.
5627 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5628 (do_pwrite): Don't use CHECK_N.
5629 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5630 (do_pwrite64): Don't use CHECK_N.
5631 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5632 (__libc_readv): Don't use CHECK_N.
5633 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5634 (semop): Don't use CHECK_N.
5635 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5636 <bp-checks.h>.
5637 (semtimedop): Don't use CHECK_N.
5638 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5639 (__libc_pread): Don't use CHECK_N.
5640 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5641 <bp-checks.h>.
5642 (__libc_pread64): Don't use CHECK_N.
5643 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5644 <bp-checks.h>.
5645 (__libc_pwrite): Don't use CHECK_N.
5646 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5647 <bp-checks.h>.
5648 (__libc_pwrite64): Don't use CHECK_N.
5649 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5650 <bp-checks.h>.
5651 (__libc_msgrcv): Don't use CHECK_N.
5652 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5653 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5654 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5655 (__libc_writev): Don't use CHECK_N.
5656
b84660a8
RM
56572013-02-08 Roland McGrath <roland@hack.frob.com>
5658
7f3e75f8
RM
5659 * string/strcpy.c: Removed unused variable.
5660
b84660a8
RM
5661 * Makeconfig (+sysdep-includes): Define with := rather than =.
5662 Use an existing include/ subdir of each sysdeps dir before it.
5663
471514d3
CD
56642013-02-08 Carlos O'Donell <carlos@redhat.com>
5665
5666 * nscd/connection.c (register_traced_file): Comment function.
5667 [HAVE_INOTIFY] (union __inev): Define.
5668 [HAVE_INOTIFY] (inotify_check_files): New function.
5669 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5670 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5671 clear_db_cache.
5672 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5673
b2d3c3be
CD
56742013-02-08 Carlos O'Donell <carlos@redhat.com>
5675
5676 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5677 loaded if not already and that a failure is permanent.
5678
b39949d2
CD
56792013-02-08 Carlos O'Donell <carlos@redhat.com>
5680
ddacd1db 5681 [BZ #15006]
b39949d2
CD
5682 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5683 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5684
b2c9eff4
JM
56852013-02-08 Joseph Myers <joseph@codesourcery.com>
5686
f3aae3f3
JM
5687 [BZ #13550]
5688 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5689 (CHECK_1_NULL_OK): Likewise.
5690 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5691 (__fxstat): Do not use CHECK_1.
5692 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5693 <bp-checks.h>.
5694 (___fxstat64): Do not use CHECK_1.
5695 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5696 <bp-checks.h>.
5697 (__fxstatat): Do not use CHECK_1.
5698 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5699 <bp-checks.h>.
5700 (__fxstatat64): Do not use CHECK_1.
5701 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5702 <bp-checks.h>.
5703 (__fxstat): Do not use CHECK_1.
5704 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5705 <bp-checks.h>.
5706 (__fxstatat): Do not use CHECK_1.
5707 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5708 <bp-checks.h>.
5709 (__getresgid): Do not use CHECK_1.
5710 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5711 <bp-checks.h>.
5712 (__getresuid): Do not use CHECK_1.
5713 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5714 <bp-checks.h>.
5715 (__lxstat): Do not use CHECK_1.
5716 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5717 <bp-checks.h>.
5718 (__old_msgctl): Do not use CHECK_1.
5719 (__new_msgctl): Likewise.
5720 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5721 <bp-checks.h>.
5722 (__new_setrlimit): Do not use CHECK_1.
5723 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5724 <bp-checks.h>.
5725 (__old_shmctl): Do not use CHECK_1.
5726 (__new_shmctl): Likewise.
5727 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5728 <bp-checks.h>.
5729 (__xstat): Do not use CHECK_1.
5730 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5731 (__lxstat): Do not use CHECK_1.
5732 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5733 <bp-checks.h>.
5734 (___lxstat64): Do not use CHECK_1.
5735 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5736 (__old_msgctl): Do not use CHECK_1.
5737 (__new_msgctl): Likewise.
5738 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5739 <bp-checks.h>.
5740 (__gettimeofday): Do not use CHECK_1.
5741 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5742 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5743 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5744 <bp-checks.h>.
5745 (__gettimeofday): Do not use CHECK_1.
5746 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5747 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5748 (__new_shmctl): Do not use CHECK_1.
5749 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5750 <bp-checks.h>.
5751 (do_sigtimedwait): Do not use CHECK_1.
5752 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5753 <bp-checks.h>.
5754 (do_sigwaitinfo): Do not use CHECK_1.
5755 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5756 <bp-checks.h>.
5757 (msgctl): Do not use CHECK_1.
5758 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5759 <bp-checks.h>.
5760 (shmctl): Do not use CHECK_1.
5761 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5762 (ustat): Do not use CHECK_1.
5763 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5764 <bp-checks.h>.
5765 (__fxstat): Do not use CHECK_1.
5766 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5767 <bp-checks.h>.
5768 (__fxstatat): Do not use CHECK_1.
5769 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5770 <bp-checks.h>.
5771 (__lxstat): Do not use CHECK_1.
5772 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5773 <bp-checks.h>.
5774 (__xstat): Do not use CHECK_1.
5775 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5776 (__xstat): Do not use CHECK_1.
5777 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5778 (___xstat64): Do not use CHECK_1.
5779
b2c9eff4
JM
5780 [BZ #13550]
5781 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5782 definitions.
5783 (CHECK_BOUNDS_HIGH): Likewise.
5784 * string/strcpy.c: Do not include <bp-checks.h>.
5785 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5786
f1d70dad
RM
57872013-02-07 Roland McGrath <roland@hack.frob.com>
5788
5789 * nscd/nscd-client.h (__nscd_drop_map_ref):
5790 Add __attribute__ ((unused)).
5791 * nis/nss-nisplus.h (niserr2nss): Likewise.
5792
5793 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5794 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5795
5796 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5797 Remove inline keyword.
5798 * include/rounding-mode.h (round_away): Likewise.
5799 * libio/wfileops.c (adjust_wide_data): Likewise.
5800 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5801 (__m128i_strloadu_tolower): Likewise.
5802 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5803 (__m128i_strloadu_tolower): Likewise.
5804 * time/mktime.c (ydhms_diff): Likewise.
5805 * locale/elem-hash.h (elem_hash): Likewise.
5806 * locale/setlocale.c (setdata): Likewise.
5807 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5808 (re_string_wchar_at): Likewise.
5809 (bitset_not, bitset_merge, bitset_mask): Likewise.
5810 [!(__GNUC__ > 3)] (inline): Remove macro.
5811 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5812 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5813 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5814 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5815 * string/memcmp.c (memcmp_bytes): Likewise.
5816 * locale/programs/locarchive.c (compute_hashval): Likewise.
5817 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5818 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5819 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5820 * nss/getent.c (print_rpc, print_protocols): Likewise.
5821 (print_passwd, print_group, print_aliases): Likewise.
5822 * nis/nss-nisplus.h (niserr2nss): Likewise.
5823 * nscd/connections.c (restart_p): Likewise.
5824 Change return type to bool.
5825
eab55bfb
RM
58262013-02-05 Roland McGrath <roland@hack.frob.com>
5827
7bd642f5
RM
5828 * Makeconfig (all-Depend-files): Add existing
5829 $(sorted-subdirs:=/Depend) files.
5830 (all-subdirs): Remove nss.
5831 * sysdeps/unix/inet/Subdirs: Add it here instead.
5832 * hesiod/Depend: New file.
5833
573c29b2
RM
5834 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5835 instead of calling alloca.
5836
b2e25af0
RM
5837 * io/lseek.c (__lseek): Rename to __libc_lseek.
5838 Define __lseek as an alias.
5839
eab55bfb
RM
5840 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5841
9a0d1941
CD
58422013-02-04 Carlos O'Donell <carlos@redhat.com>
5843
5844 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5845 else clause and remove check for non-standard endianness.
5846
b83bbec4
DM
58472013-02-04 David S. Miller <davem@davemloft.net>
5848
5849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5850
6277fdab
JM
58512013-02-04 Joseph Myers <joseph@codesourcery.com>
5852
5853 [BZ #13550]
5854 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5855 (__ubp_memchr): Remove prototype.
5856 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5857 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5858 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5859 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5860 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5861 Remove alias.
5862 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5863 (__ubp_memchr): Likewise.
5864 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5865 (__ubp_memchr): Likewise.
5866 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5867 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5868 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5869 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5870 CHECK_STRING.
5871 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5872 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5873 (__getcwd): Do not use CHECK_STRING.
5874 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5875 <bp-checks.h>.
5876 (__real_chown): Do not use CHECK_STRING.
5877 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5878 <bp-checks.h>.
5879 (fchownat): Do not use CHECK_STRING.
5880 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5881 CHECK_STRING.
5882 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5883 <bp-checks.h>.
5884 (__lchown): Do not use CHECK_STRING.
5885 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5886 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5887 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5888 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5890 include <bp-checks.h>.
5891 (truncate64): Do not use CHECK_STRING.
5892 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5893 <bp-checks.h>.
5894 (__real_chown): Do not use CHECK_STRING.
5895 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5896 <bp-checks.h>.
5897 (__lchown): Do not use CHECK_STRING.
5898 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5899 <bp-checks.h>.
5900 (__chown): Do not use CHECK_STRING.
5901 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5902 <bp-checks.h>.
5903 (truncate64): Do not use CHECK_STRING.
5904 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5905 Likewise.
5906 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5907 (__xmknod): Do not use CHECK_STRING.
5908 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5909 <bp-checks.h>.
5910 (__xmknodat): Do not use CHECK_STRING.
5911 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5912 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5913
903ae060
AS
59142013-02-04 Andreas Schwab <schwab@suse.de>
5915
5916 [BZ #14142]
5917 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5918 * include/netdb.h: Likewise for h_errno.
5919 * elf/tst-stackguard1.c: Include <tls.h>.
5920
542f9466
JK
59212013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5922
5923 * elf/link.h (struct link_map): Extend the l_addr comment.
5924 * include/link.h (struct link_map): Likewise.
5925
e782a927
JM
59262013-02-01 Joseph Myers <joseph@codesourcery.com>
5927
5928 [BZ #13550]
5929 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5930 (BOUNDED_1): Remove macro.
5931 * debug/backtrace.c: Don't include <bp-checks.h>.
5932 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5933 (__backtrace): Likewise.
5934 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5935 <bp-checks.h>.
5936 (__backtrace): Don't use BOUNDED_1.
5937 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5938 <bp-checks.h>.
5939 (__backtrace): Don't use BOUNDED_1.
5940 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5941 (__backtrace): Don't use BOUNDED_1.
5942 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5943 (shmat): Don't use BOUNDED_N.
5944
8cf28c5e
JM
59452013-01-31 Joseph Myers <joseph@codesourcery.com>
5946
3a7ac8a0
JM
5947 [BZ #13550]
5948 * sysdeps/generic/bp-start.h: Remove file.
5949 * csu/libc-start.c: Don't include <bp-start.h>.
5950 (LIBC_START_MAIN): Set up __environ directly instead of using
5951 INIT_ARGV_and_ENVIRON.
5952 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5953 <bp-start.h>.
5954
f3499f95
JM
5955 [BZ #13550]
5956 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5957 definitions.
5958 (CHECK_FCNTL): Likewise.
5959 (CHECK_N_PAGES): Likewise.
5960
32a45bea
JM
5961 [BZ #13550]
5962 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5963 definitions.
5964 (CHECK_SIGSET_NULL_OK): Likewise.
5965 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5966 <bp-checks.h>.
5967 (sigpending): Don't use CHECK_SIGSET.
5968 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5969 <bp-checks.h>.
5970 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5971 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5972 <bp-checks.h>.
5973 (do_sigsuspend): Don't use CHECK_SIGSET.
5974 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5975 use CHECK_SIGSET.
5976 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5977 (do_sigwait): Don't use CHECK_SIGSET.
5978 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5979 use CHECK_SIGSET.
5980 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5981 include <bp-checks.h>.
5982 (sigpending): Don't use CHECK_SIGSET.
5983 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5984 include <bp-checks.h>.
5985 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5986 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5987 <bp-checks.h>.
5988 (sigpending): Don't use CHECK_SIGSET.
5989 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5990 <bp-checks.h>.
5991 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5992
2e8a5c8c
JM
5993 [BZ #13550]
5994 * sysdeps/generic/bp-semctl.h: Remove file.
5995 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5996 <bp-checks.h> and <bp-semctl.h>.
5997 (__old_semctl): Don't use CHECK_SEMCTL.
5998 (__new_semctl): Likewise.
5999 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6000 and <bp-semctl.h>.
6001 (__old_semctl): Don't use CHECK_SEMCTL.
6002 (__new_semctl): Likewise.
6003 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6004 <bp-checks.h> and <bp-semctl.h>.
6005 (__old_semctl): Don't use CHECK_SEMCTL.
6006 (__new_semctl): Likewise.
6007 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6008 <bp-checks.h> and <bp-semctl.h>.
6009 (semctl): Don't use CHECK_SEMCTL.
6010
c2d54929
JM
6011 [BZ #13550]
6012 * Makerules (elide-bp-thunks): Remove variable.
6013 (elide-routines.oS): Don't use $(elide-bp-thunks).
6014 (elide-routines.os): Likewise.
6015 (elide-routines.o): Likewise.
6016 (elide-routines.op): Likewise.
6017 (elide-routines.og): Likewise.
6018 (objects): Don't use $(bp-thunks).
6019 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6020 include.
6021 (common-generated): Do not add s-proto-bp.d.
6022 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6023 (int): Likewise.
6024 (typ): Likewise.
6025 Do not generate makefile rules for bounded-pointer thunks.
6026 * sysdeps/generic/bp-thunks.h: Remove file.
6027 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6028 * sysdeps/unix/s-proto-bp.S: Likewise.
6029
8cf28c5e
JM
6030 [BZ #15062]
6031 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6032 parts of result separately when argument is not close to line from
6033 -i to i and one part of argument is small.
6034 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6035 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6036 * math/libm-test.inc (cacos_test): Add more tests.
6037 (casin_test): Likewise.
6038 (casinh_test): Likewise.
6039 * sysdeps/i386/fpu/libm-test-ulps: Update.
6040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6041
c4e33b8d
DM
60422013-01-31 David S. Miller <davem@davemloft.net>
6043
6044 * po/de.po: Update from translation team.
6045
3b60b421
MK
60462013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6047
6048 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6049
bb931195
TS
60502013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6051
b5a5da23
TS
6052 * configure.in (_AC_PROG_CC_C89): New definition.
6053 * configure: Regenerate.
6054
bb931195
TS
6055 * configure.in (AC_PROG_CPP): New definition.
6056 * configure: Regenerate.
6057
8c53a12c
JM
60582013-01-23 Joseph Myers <joseph@codesourcery.com>
6059
6060 * debug/tst-backtrace.h: New file.
6061 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6062 (ret): Remove variable.
6063 (x): Likewise.
6064 (FAIL): Remove macro.
6065 (NO_INLINE): Likewise.
6066 (fn1): Use match function instead of strstr.
6067 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6068 (ret): Remove variable.
6069 (x): Likewise.
6070 (FAIL): Remove macro.
6071 (NO_INLINE): Likewise.
6072 (fn): Use match function instead of strstr.
6073 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6074 (ret): Remove variable.
6075 (x): Likewise.
6076 (FAIL): Remove macro.
6077 (NO_INLINE): Likewise.
6078 (handle_signal): Use match function instead of strstr.
6079 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6080 (ret): Remove variable.
6081 (x): Likewise.
6082 (FAIL): Remove macro.
6083 (NO_INLINE): Likewise.
6084 (handle_signal): Use match function instead of strstr.
6085
4858fa2a
RM
60862013-01-23 Roland McGrath <roland@hack.frob.com>
6087
6088 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6089
bae8e7f5
DM
60902013-01-23 David S. Miller <davem@davemloft.net>
6091
6092 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6093 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6094 argument of CAS if possible.
6095 * sysdeps/sparc/sparc64/bits/atomic.h
6096 (__arch_compare_and_exchange_val_32_acq): Likewise.
6097 (__arch_compare_and_exchange_val_64_acq): Likewise.
6098
9cbbc4ae
PT
60992013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6100
6101 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6102 * sysdeps/posix/ulimit.c: ... this.
92a601b8 6103 Include <limits.h>.
67b3f58c 6104 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 6105
5655a0b5
AC
61062013-01-23 Adam Conrad <adconrad@0c3.net>
6107
6108 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6109 (LDFLAGS-tst-array5): Likewise.
6110
052aff95
JM
61112013-01-23 Joseph Myers <joseph@codesourcery.com>
6112
6113 [BZ #15036]
6114 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6115 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6116 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6117 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6118
7c1e01aa
DM
61192013-01-21 David S. Miller <davem@davemloft.net>
6120
6121 * sysdeps/sparc/backtrace.c: New file.
6122 * sysdeps/sparc/sparc32/backtrace.h: New file.
6123 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6124 * sysdeps/sparc/sparc64/backtrace.h: New file.
6125 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6126 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6127 -funwind-tables.
6128
ab087e0a
AS
61292013-01-21 Andreas Schwab <schwab@suse.de>
6130
6131 [BZ #15020]
6132 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6133 closed its stdout.
6134
ed689c2f
AS
61352013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6136
6137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6138 "mpa2.h".
6139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6140
31d470ac
JM
61412013-01-18 Joseph Myers <joseph@codesourcery.com>
6142 Mark Mitchell <mark@codesourcery.com>
6143 Tom de Vries <tom@codesourcery.com>
6144 Paul Pluzhnikov <ppluzhnikov@google.com>
6145
6146 * debug/tst-backtrace2.c: New file.
6147 * debug/tst-backtrace3.c: Likewise.
6148 * debug/tst-backtrace4.c: Likewise.
6149 * debug/tst-backtrace5.c: Likewise.
6150 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6151 (CFLAGS-tst-backtrace3.c): Likewise.
6152 (CFLAGS-tst-backtrace4.c): Likewise.
6153 (CFLAGS-tst-backtrace5.c): Likewise.
6154 (LDFLAGS-tst-backtrace2): Likewise.
6155 (LDFLAGS-tst-backtrace3): Likewise.
6156 (LDFLAGS-tst-backtrace4): Likewise.
6157 (LDFLAGS-tst-backtrace5): Likewise.
6158 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6159 tst-backtrace4 and tst-backtrace5.
6160
90567f30 61612013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6162 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6163
6164 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6165 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6166 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6167 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6169 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6170 "+r" and remove output regs list as redundant. Add explicit inline
6171 asm to specify register of return val to work around compiler codegen
6172 bug. Remove (int) cast on return value. Add return type parameter to
6173 use in macro so that this macro does not truncate return value for
6174 64-bit values.
6175 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6176 pass to INTERNAL_VSYSCALL_NCS.
6177 (INLINE_VSYSCALL): Add 'long int' as return type to
6178 INTERNAL_VSYSCALL_NCS macro invocation.
6179 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6180 INTERNAL_VSYSCALL_NCS macro invocation.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6182
d3b9ea61
SP
61832013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6184
0b57daeb
SP
6185 [BZ #14496]
6186 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6187 Fix application of SIMD FP exception mask.
6188
caa99d06
SP
6189 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6190 mp_no from a power of two.
6191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6192 __mpexp_twomm1. Use __pow_mp.
6193
d3b9ea61
SP
6194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6195 multiplication.
6196
1dbaee3c
DM
61972013-01-17 David S. Miller <davem@davemloft.net>
6198
6199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6200
728d7b43
JM
62012013-01-17 Joseph Myers <joseph@codesourcery.com>
6202
6203 [BZ #15023]
6204 * include/complex.h: Condition contents on [!_COMPLEX_H].
6205 (__kernel_casinhf): New prototype.
6206 (__kernel_casinh): Likewise.
6207 (__kernel_casinhl): Likewise.
6208 * math/Makefile (libm_calls): Add k_casinh.
6209 * math/k_casinh.c: New file.
6210 * math/k_casinhf.c: Likewise.
6211 * math/k_casinhl.c: Likewise.
6212 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6213 finite nonzero arguments.
6214 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6215 finite nonzero arguments.
6216 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6217 finite nonzero arguments.
6218 * math/s_casinh.c: Do not include <float.h>.
6219 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6220 * math/s_casinhf.c: Do not include <float.h>.
6221 (__casinhf): Move code for finite nonzero arguments to
6222 k_casinhf.c.
6223 * math/s_casinhl.c: Do not include <float.h>.
6224 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6225 redefine.
6226 (__casinhl): Move code for finite nonzero arguments to
6227 k_casinhl.c.
6228 * math/libm-test.inc (cacos_test): Add more tests.
6229 * sysdeps/i386/fpu/libm-test-ulps: Update.
6230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6231
2a26ef3a
PT
62322013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6233
6234 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6235 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6236 [!HAVE_MREMAP]: Remove [defined linux] case.
6237 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6238
a897655d
SP
62392013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6240
6241 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6242
881ebe89 62432013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6244
6245 * elf/elf.h (R_386_SIZE32): New relocation.
6246 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6247 R_386_SIZE32.
6248 (elf_machine_rela): Likewise.
6249 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6250 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6251
59981e9b
JM
62522013-01-17 Joseph Myers <joseph@codesourcery.com>
6253
6254 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6255 (FP_FAST_FMA): Do not define.
6256 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6257 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6258 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6259 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6260 !_SOFT_FLOAT]: Likewise.
6261 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6262 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6263 value.
6264 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6265 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6266 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6267 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6268 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6269 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6270 file.
6271
cfa8054f
AS
62722013-01-16 Andreas Schwab <schwab@suse.de>
6273
6274 [BZ #14327]
6275 * include/stdlib.h (__mktemp): Add declaration.
6276 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6277 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6278
dd930cc5
SP
62792013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6280
881ebe89
SP
6281 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6282 definitions.
6283 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6284 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6285 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6286 definitions here.
6287 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6288 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6289 definitions.
6290 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6291 and ONE.
6292 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6293 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6294 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6295 definitions.
6296 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6297 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6298 definitions.
6299 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6300
dd930cc5
SP
6301 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6302
c19a9f89
DM
63032013-01-15 David S. Miller <davem@davemloft.net>
6304
1aa61767
DM
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6306 trunc{,f} to libm-sysdep_routes.
6307 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6309 file.
6310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6312 file.
6313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6314 file.
6315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6317 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6318 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6319 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6320 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6321 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6322 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6323
c42d5e98
DM
6324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6325 nearbyint{,f} to libm-sysdep_routes.
6326 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6328 New file.
6329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6330 file.
6331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6332 New file.
6333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6334 file.
6335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6337 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6338 file.
6339 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6340 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6341 file.
6342 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6343 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6344 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6345
c19a9f89
DM
6346 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6347 libc_feholdexcept and libc_fesetenv.
6348
357679d2
MF
63492013-01-15 Mike Frysinger <vapier@gentoo.org>
6350
6351 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6352
65a82e3d
DM
63532013-01-14 David S. Miller <davem@davemloft.net>
6354
8b954ab9
DM
6355 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6356 (SPARC_ASM_VIS2_IFUNC): Likewise.
6357 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6359 use of 'siam' instruction.
6360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6361 Likewise.
6362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6363 Likewise.
6364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6365 Likewise.
6366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6371 file.
6372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6373 file.
6374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6375 file.
6376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6377 file.
6378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6383 new VIS2 routines.
6384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6387 Likewise.
6388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6393 routines to libm-sysdep_routines.
6394 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6395
65a82e3d
DM
6396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6397 fdim/fdimf to libm-sysdep_routines.
6398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6399 file.
6400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6402 file.
6403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6406 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6407 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6408 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6409 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6410
e34ab705
SP
64112013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6412
2a91b573
SP
6413 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6414 to optimize copies.
6415
1066a534
SP
6416 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6419
e34ab705
SP
6420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6421 local variable MPTWO.
6422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6423 Likewise.
6424
aba5e596
MF
64252013-01-13 Mike Frysinger <vapier@gentoo.org>
6426
6427 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6428 GLOB_NOESCAPE.
6429
e557e9e5
MF
64302013-01-13 Mike Frysinger <vapier@gentoo.org>
6431
6432 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6433
0428cec9
MF
64342013-01-13 Mike Frysinger <vapier@gentoo.org>
6435
6436 * manual/pattern.texi (glob_t): Document gl_flags.
6437 (glob64_t): Likewise.
6438
8794a964
DM
64392013-01-11 David S. Miller <davem@davemloft.net>
6440
66438c3f
RM
6441 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6442 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6443 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
6444 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6445 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6446 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6447 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6448 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6449 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6450 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6451 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6452 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6453 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6454
4ae4244d
DM
6455 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6456 sparc V9 rather than using V8 code.
6457 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6458 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6459
8794a964
DM
6460 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6461 Move to...
6462 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6463 Here.
6464
6270516e
RM
64652013-01-11 Roland McGrath <roland@hack.frob.com>
6466
6467 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6468 not in the main loop.
6469 * configure: Regenerated.
6470
6a57d931
JM
64712013-01-11 Joseph Myers <joseph@codesourcery.com>
6472
6473 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6474 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6475 to just #else.
6476 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6477 [!__GLIBC_HAVE_LONG_LONG] case.
6478 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6479 condition to just #else.
6480 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6481 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6482 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6483 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6484 unconditional.
6485 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6486 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6487 #elif condition to just #else.
6488 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6489 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6490 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6491 #elif condition to just #else.
6492
0e8529e9
SE
64932013-01-11 Steve Ellcey <sellcey@mips.com>
6494
6495 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6496 (EF_MIPS_ARCH_64): Fix value.
6497 (EF_MIPS_ARCH_32R2): New.
6498 (EF_MIPS_ARCH_64R2): New.
6499
740b3dbe
L
65002013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6501
6502 * Makeconfig (+link-pie-before-libc): New.
6503 (+link-pie-after-libc): Likewise.
6504 (+link-pie-tests): Likewise.
6505 (+link-pie): Rewritten.
6506 (link-before-libc): Remove $(config-LDFLAGS).
6507 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6508 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6509 (config-LDFLAGS): Renamed to ...
6510 (rtld-LDFLAGS): This.
6511 (rtld-tests-LDFLAGS): New macro.
6512 (link-libc-rpath-link): Likewise.
6513 (link-libc-tests-rpath-link): Likewise.
6514 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6515 (link-libc): Prepand $(link-libc-rpath-link).
6516 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6517 (test-program-prefix): New macro.
6518 (test-via-rtld-prefix): Likewise.
6519 (test-program-cmd): Likewise.
6520 (host-test-program-cmd): Likewise.
6521 * Makefile ($(common-objpfx)testrun.sh): Replace
6522 $(run-program-prefix) with $(test-program-prefix).
6523 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6524 $(rtld-LDFLAGS).
6525 ($(common-objpfx)shlib.lds): Likewise.
6526 (build-module-helper): Likewise.
6527 ($(common-objpfx)format.lds): Likewise.
6528 * Rules (binaries-pie-tests): New.
6529 (binaries-pie-notests): Likewise.
6530 (binaries-pie): Rewritten.
6531 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6532 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6533 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6534 (make-test-out): Replace $(host-built-program-cmd) with
6535 $(host-test-program-cmd).
6536 * config.make.in (build-hardcoded-path-in-tests): New variable.
6537 * configure.in (--enable-hardcoded-path-in-tests): New configure
6538 option.
6539 (hardcoded_path_in_tests): New AC_SUBST.
6540 * configure: Regenerated.
6541 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6542 $(built-program-cmd) with $(test-program-cmd).
6543 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6544 (test_program_cmd): This.
6545 * elf/Makefile ($(objpfx)order.out): Run test with
6546 $(test-program-prefix).
6547 ($(objpfx)order2.out): Likewise.
6548 ($(objpfx)tst-initorder.out): Likewise.
6549 ($(objpfx)tst-initorder2.out): Likewise.
6550 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6551 $(test-program-cmd).
6552 ($(objpfx)tst-array1-static.out): Likewise.
6553 ($(objpfx)tst-array2.out): Likewise.
6554 ($(objpfx)tst-array3.out): Likewise.
6555 ($(objpfx)tst-array4.out): Likewise.
6556 ($(objpfx)tst-array5.out): Likewise.
6557 ($(objpfx)tst-array5-static.out): Likewise.
6558 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6559 $(test-program-cmd).
6560 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6561 $(run-program-prefix) with $(test-program-prefix).
6562 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6563 (test_program_prefix): This.
6564 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6565 $(run-program-prefix) with $(test-program-prefix).
6566 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6567 (test_program_prefix): This.
6568 * iconvdata/tst-tables.sh: Likewise.
6569 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6570 $(run-program-prefix) with $(test-program-prefix).
6571 ($(objpfx)tst-translit.out): Likewise.
6572 ($(objpfx)tst-gettext2.out): Likewise.
6573 ($(objpfx)tst-gettext4.out): Likewise.
6574 ($(objpfx)tst-gettext6.out): Likewise.
6575 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6576 (test_program_prefix): This.
6577 * intl/tst-gettext2.sh: Likewise.
6578 * intl/tst-gettext4.sh Likewise.
6579 * intl/tst-gettext6.sh: Likewise.
6580 * intl/tst-translit.sh: Likewise.
6581 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6582 with $(test-program-cmd).
6583 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6584 $(run-program-prefix) with $(test-program-prefix).
6585 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6586 (test_program_prefix): This.
6587 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6588 $(run-program-prefix) with $(test-program-prefix).
6589 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6590 (test_program_prefix): This.
6591 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6592 * posix/Makefile ($(objpfx)globtest.out): Replace
6593 $(run-via-rtld-prefix) and $(test-wrapper) with
6594 $(test-program-prefix) and $(test-via-rtld-prefix).
6595 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6596 $(test-program-prefix).
6597 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6598 $(host-test-program-cmd).
6599 (tst-spawn-ARGS): Likewise.
6600 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6601 $(test-program-prefix).
6602 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6603 (test_via_rtld_prefix): This.
6604 (test_wrapper): Renamed to ...
6605 (test_program_prefix): This.
6606 (run_program_prefix): Replaced by test_program_prefix.
6607 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6608 (test_program_prefix): This.
6609 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6610 with $(host-test-program-cmd).
6611 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6612 $(run-program-prefix) with $(test-program-prefix).
6613 ($(objpfx)tst-printf.out): Likewise.
6614 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6615 $(test-program-cmd).
6616 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6617 (test_program_prefix): This.
6618 * stdio-common/tst-unbputc.sh: Likewise.
6619 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6620 $(run-program-prefix) with $(test-program-prefix).
6621 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6622 (test_program_prefix): This.
6623 * string/Makefile ($(objpfx)tst-svc.out): Replace
6624 $(built-program-cmd) with $(test-program-cmd).
6625
c6fe55cf
AJ
66262013-01-11 Andreas Jaeger <aj@suse.de>
6627
6628 [BZ #15003]
6629 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6630 value. Sync with Linux 3.7.
6631
9e6919c8
DM
66322013-01-10 David S. Miller <davem@davemloft.net>
6633
6634 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6635 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6636 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6637
1c9f1a02
RM
66382013-01-10 Roland McGrath <roland@hack.frob.com>
6639
6640 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6641 never set.
6642 * configure: Regenerated.
6643
b9de2dde
DM
66442013-01-10 David S. Miller <davem@davemloft.net>
6645
6646 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6647 sparc V9 rather than using V8 code.
6648 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6649 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6650
e7f68ef4
RM
66512013-01-10 Roland McGrath <roland@hack.frob.com>
6652
6653 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6654 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6655 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6656 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6657 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6658 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6659 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6660 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6661 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6662 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6663 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6664 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6665 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6666 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6667 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6668 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6669 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6670 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6671 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6672 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6673 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6674 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6675 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6676 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6677 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6678 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6679 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6680
5a47cc9c
DM
66812013-01-10 David S. Miller <davem@davemloft.net>
6682
6683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6684
4cf8f209
L
66852013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6686
6687 * posix/Makefile (tests-static): New variable.
6688 (tests): Add $(tests-static).
6689 (tst-exec-static-ARGS): New variable.
6690 (tst-spawn-static-ARGS): Likewise.
6691 * posix/tst-exec-static.c: New file.
6692 * posix/tst-spawn-static.c: Likewise.
6693 * posix/tst-exec.c: Support run directly.
6694 * posix/tst-spawn.c: Likewise.
6695
fed0faa1
JM
66962013-01-10 Joseph Myers <joseph@codesourcery.com>
6697
828beb13
JM
6698 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6699 long.
6700 * math/bits/mathcalls.h (llrint): Likewise.
6701 (llround): Likewise.
6702 * stdlib/stdlib.h (struct drand48_data): Likewise.
6703 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6704 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6705 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6706 Likewise.
6707 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6708 Likewise.
6709 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6710 (elf_greg_t): Likewise.
6711 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6712 (__jmp_buf): Likewise.
6713 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6714 definitions.
6715 (llrint): Likewise, for all definitions.
6716 (llrintl): Likewise.
6717
fed0faa1
JM
6718 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6719 Remove [__GNUC__] condition.
6720 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6721 condition to just [__USE_ISOC99].
6722 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6723
1a20cb20
L
67242013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6725
6726 [BZ #14200]
6727 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6728 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6729 defined.
6730 (_POSIX_V6_ILP32_OFF32): Likewise.
6731 (_XBS5_ILP32_OFF32): Likewise.
6732 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6733 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6734
751b85f7
SP
67352013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6736
7490eb81
SP
6737 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6738
751b85f7
SP
6739 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6740 doubles __mpexp_twomm1. Adjust usage.
6741 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6742 Remove.
6743
988197f0
AS
67442013-01-10 Andreas Schwab <schwab@suse.de>
6745
6746 [BZ #14964]
6747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6748 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6749
e83d7298
DM
67502013-01-09 David S. Miller <davem@davemloft.net>
6751
034ed64b 6752 [BZ #15003]
e83d7298
DM
6753 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6754 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6755 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6756 TCP_FASTOPEN): Define.
6757 (tcp_repair_opt): New structure.
6758 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6759 enum values.
6760 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6761 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6762 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6763 (tcp_cookie_transactions): New structure.
6764
d5e0b9bd
AB
67652013-01-09 Anton Blanchard <anton@samba.org>
6766
6767 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6768 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6769 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6770 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6771
0c07e3ea
JM
67722013-01-09 Joseph Myers <joseph@codesourcery.com>
6773
6774 * include/features.h (__USE_ANSI): Remove.
6775
232f7002
RM
67762013-01-09 Roland McGrath <roland@hack.frob.com>
6777
ad98e30c
RM
6778 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6779
232f7002
RM
6780 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6781
950c99ca
SP
67822013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6783
b5792741
SP
6784 * sysdeps/s390/fpu/libm-test-ulps: Update.
6785
47cf2278
SP
6786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6787
950c99ca
SP
6788 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6789 (__acr): Likewise.
6790 (__cpy): Likewise.
6791 (norm): Likewise.
6792 (denorm): Likewise.
6793 (__mp_dbl): Likewise.
6794 (__dbl_mp): Likewise.
6795 (add_magnitudes): Likewise.
6796 (sub_magnitudes): Likewise.
6797 (__add): Likewise.
6798 (__sub): Likewise.
6799 (__mul): Likewise.
6800 (__inv): Likewise.
6801 (__dvd): Likewise.
6802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6803 (__acr): Likewise.
6804 (__cpy): Likewise.
6805 (norm): Likewise.
6806 (denorm): Likewise.
6807 (__mp_dbl): Likewise.
6808 (__dbl_mp): Likewise.
6809 (add_magnitudes): Likewise.
6810 (sub_magnitudes): Likewise.
6811 (__add): Likewise.
6812 (__sub): Likewise.
6813 (__mul): Likewise.
6814 (__inv): Likewise.
6815 (__dvd): Likewise.
6816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6817 (__acr): Likewise.
6818 (__cpy): Likewise.
6819 (norm): Likewise.
6820 (denorm): Likewise.
6821 (__mp_dbl): Likewise.
6822 (__dbl_mp): Likewise.
6823 (add_magnitudes): Likewise.
6824 (sub_magnitudes): Likewise.
6825 (__add): Likewise.
6826 (__sub): Likewise.
6827 (__mul): Likewise.
6828 (__inv): Likewise.
6829 (__dvd): Likewise.
6830
eede9df9
JM
68312013-01-08 Joseph Myers <joseph@codesourcery.com>
6832
6833 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6834 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6835 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6836 2 && __USE_EXTERN_INLINES]: Likewise.
6837
c40ea3d9
AJ
68382013-01-08 Andreas Jaeger <aj@suse.de>
6839
6840 [BZ# 14985]
6841 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6842 Remove.
6843 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6844 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6845
2ccdea26
AB
68462013-01-07 Anton Blanchard <anton@samba.org>
6847
6848 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6849 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6850 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6851 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6852 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6853 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6854 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6855 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6858 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6859 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6860 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6861 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6862 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6863 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6864 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6865 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6866 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6867 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6868 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6869 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6870 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6871 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6872 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6873 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6874 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6875 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6876 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6877 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6878 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6880 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6881 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6882 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6883 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6884 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6885 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6886 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6887 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6888 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6889 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6890 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6891
a9708fed
JM
68922013-01-07 Joseph Myers <joseph@codesourcery.com>
6893
375607b9
JM
6894 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6895 (__MALLOC_PMT): Likewise.
6896 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6897 [__GNUC__], only on [_LIBC].
6898 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6899 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6900 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6901 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6902 forward declaration.
6903 (realloc_hook_ini): Likewise.
6904 (memalign_hook_ini): Likewise.
6905 (__libc_memalign): Do not use __MALLOC_PMT in variable
6906 declaration.
6907 (__libc_valloc): Likewise.
6908 (__libc_pvalloc): Likewise.
6909 (__libc_calloc): Likewise.
6910 (__posix_memalign): Likewise.
6911
a9708fed
JM
6912 [BZ #14996]
6913 * math/s_casinh.c: Include <float.h>.
6914 (__casinh): Do not do computation with squaring and square root
6915 for large arguments.
6916 * math/s_casinhf.c: Include <float.h>.
6917 (__casinhf): Do not do computation with squaring and square root
6918 for large arguments.
6919 * math/s_casinhl.c: Include <float.h>.
6920 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6921 (__casinhl): Do not do computation with squaring and square root
6922 for large arguments.
6923 * math/libm-test.inc (casin_test): Add more tests.
6924 (casinh_test): Likewise.
6925 * sysdeps/i386/fpu/libm-test-ulps: Update.
6926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6927
afec409a
L
69282013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6929
6930 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6931 (__x86_64_raw_data_cache_size): Likewise.
6932 (__x86_64_data_cache_size_half): Likewise.
6933 (__x86_64_raw_data_cache_size_half): Likewise.
6934 (__x86_64_shared_cache_size): Likewise.
6935 (__x86_64_raw_shared_cache_size): Likewise.
6936 (__x86_64_shared_cache_size_half): Likewise.
6937 (__x86_64_raw_shared_cache_size_half): Likewise.
6938 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6939 to ...
6940 (__x86_data_cache_size): This.
6941 (__x86_64_raw_data_cache_size): Renamed to ...
6942 (__x86_raw_data_cache_size): This.
6943 (__x86_64_data_cache_size_half): Renamed to ...
6944 (__x86_data_cache_size_half): This.
6945 (__x86_64_raw_data_cache_size_half): Renamed to ...
6946 (__x86_raw_data_cache_size_half): This.
6947 (__x86_64_shared_cache_size): Renamed to ...
6948 (__x86_shared_cache_size): This.
6949 (__x86_64_raw_shared_cache_size): Renamed to ...
6950 (__x86_raw_shared_cache_size): This.
6951 (__x86_64_shared_cache_size_half): Renamed to ...
6952 (__x86_shared_cache_size_half): This.
6953 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6954 (__x86_raw_shared_cache_size_half): This.
6955 * sysdeps/x86_64/memcpy.S: Updated.
6956 * sysdeps/x86_64/memset.S: Likewise.
6957 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6958 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6959 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6960
0b3986d0
DM
69612013-01-04 David S. Miller <davem@davemloft.net>
6962
6963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6964
e47686e9
AS
69652013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6966
d643bac1
AS
6967 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6968 1 to avoid redefinition warning.
6969 (__USE_GNU): Don't define.
6970 (init_signaling_nan): Protoize.
6971
e47686e9
AS
6972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6973
b18decba
SP
69742013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6975
fffb407f
SP
6976 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6978 (__cpymn): Likewise.
6979 (norm): Remove commented code.
6980 (denorm): Likewise.
6981 (__mp_dbl): Likewise.
6982 (__inv): Likewise.
6983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6984 (__cpymn): Likewise.
6985 (norm): Remove commented code.
6986 (denorm): Likewise.
6987 (__mp_dbl): Likewise.
6988 (__inv): Likewise.
6989
b18decba
SP
6990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6991 mp_no value for 1.0 and 2.0.
6992 (norm): Use RADIXI instead of radixi.d.
6993 (denorm): Likewise.
6994 (__mul): Use 0.0 instead of zero.d.
6995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6996 mp_no value for 1.0 and 2.0.
6997 (norm): Use RADIXI instead of radixi.d.
6998 (denorm): Likewise.
6999 (__mul): Use 0.0 instead of zero.d.
7000
cdc1c96f
JM
70012013-01-04 Joseph Myers <joseph@codesourcery.com>
7002
7003 [BZ #14994]
7004 * math/s_casinh.c (__casinh): Reduce finite argument to first
7005 quadrant then set signs of results at the end.
7006 * math/s_casinhf.c (__casinhf): Likewise.
7007 * math/s_casinhl.c (__casinhl): Likewise.
7008 * math/libm-test.inc (casin_test): Add more tests.
7009 (casinh_test): Likewise.
7010 * sysdeps/i386/fpu/libm-test-ulps: Update.
7011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7012
302913e1
SP
70132013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7014
6420d207
SP
7015 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7016
a9e48ab4
SP
7017 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7018
b7837264
SP
7019 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7020 declarations.
7021 (denorm): Likewise.
7022 (__mp_dbl): Likewise.
7023 (__inv): Likewise.
7024
f8af25d2
SP
7025 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7026 and adjust the header comment.
7027
302913e1
SP
7028 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7029 variable name from declaration.
7030
5d7dd1ca
L
70312013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7032
7033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7034 Initialize COMMON_CPUID_INDEX_7 element.
7035 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7036 (CPUID_RTM): Likewise.
7037 (HAS_RTM): Likewise.
7038 (COMMON_CPUID_INDEX_7): New enum.
7039
2f5f40f4
AS
70402013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7041
7042 [BZ #14981]
7043 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7044 size is zero, record memory as freed.
7045
4056f4a0
AJ
70462013-01-03 Andreas Jaeger <aj@suse.de>
7047
7048 * po/ia.po: Add new Interlingua translation.
7049
ab15736f 70502012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
7051
7052 * locale/programs/localedef.c: Fix description of '--posix' flag.
7053
568035b7
JM
70542013-01-02 Joseph Myers <joseph@codesourcery.com>
7055
e6898b8d
JM
7056 * NEWS: Update dates in second copyright notice.
7057 * README: Update copyright dates in example.
7058 * manual/libc.texinfo: Update copyright dates.
7059 * scripts/test-installation.pl: Update copyright date in --version
7060 output.
7061
0e2f9562
JM
7062 * hurd/ctty-input.c: Fix copyright notice formatting.
7063 * hurd/ctty-output.c: Likewise.
7064 * hurd/dtable.c: Likewise.
7065 * hurd/hurd-raise.c: Likewise.
7066 * hurd/hurdprio.c: Likewise.
7067 * hurd/msgportdemux.c: Likewise.
7068 * misc/sys/file.h: Likewise.
7069 * misc/sys/ioctl.h: Likewise.
7070 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7071 * sysdeps/mach/hurd/chdir.c: Likewise.
7072 * sysdeps/mach/hurd/fchdir.c: Likewise.
7073 * sysdeps/mach/hurd/rename.c: Likewise.
7074 * sysdeps/mach/hurd/rmdir.c: Likewise.
7075 * sysdeps/mach/hurd/seekdir.c: Likewise.
7076 * sysdeps/mach/hurd/setsid.c: Likewise.
7077 * sysdeps/posix/wait3.c: Likewise.
7078
568035b7
JM
7079 * All files with FSF copyright notices: Update copyright dates
7080 using scripts/update-copyrights.
7081 * intl/plural.c: Regenerated.
7082 * locale/programs/charmap-kw.h: Likewise.
7083 * locale/programs/locfile-kw.h: Likewise.
7084
da08f647
SP
70852013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7086
0f5477af
SP
7087 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7088 four values.
7089
44e0d4c2
SP
7090 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7091 calculation loop and add branch prediction.
7092
4d55b4e5
SP
7093 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7094 check access beyond bounds of m1np.
7095
da08f647
SP
7096 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7097 MPTWO.
7098 (__inv): Remove local variable MPTWO to use the global
7099 constant.
7100 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7101 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7102 variable MPTWO.
7103 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7104 MP3HALFS static const.
7105
8e051029
DM
71062013-01-01 David S. Miller <davem@davemloft.net>
7107
7108 * po/ca.po: Update from translation team.
7109
f4cf5f2d
JM
71102013-01-01 Joseph Myers <joseph@codesourcery.com>
7111
7112 * scripts/update-copyrights: New file.
7113 * Makeconfig: Reformat copyright notice.
7114 * ctype/ctype.h: Likewise.
7115 * debug/swprintf_chk.c: Likewise.
7116 * elf/dl-cache.c: Likewise.
7117 * elf/dl-debug.c: Likewise.
7118 * elf/dl-object.c: Likewise.
7119 * grp/initgroups.c: Likewise.
7120 * hurd/Makefile: Likewise.
7121 * hurd/hurd/signal.h: Likewise.
7122 * hurd/hurdfault.c: Likewise.
7123 * hurd/hurdioctl.c: Likewise.
7124 * hurd/hurdlookup.c: Likewise.
7125 * hurd/intr-msg.c: Likewise.
7126 * iconv/gconv_open.c: Likewise.
7127 * libio/swprintf.c: Likewise.
7128 * locale/lc-ctype.c: Likewise.
7129 * locale/nl_langinfo.c: Likewise.
7130 * mach/Machrules: Likewise.
7131 * mach/Makefile: Likewise.
7132 * malloc/obstack.h: Likewise.
7133 * manual/Makefile: Likewise.
7134 * manual/tsort.awk: Likewise.
7135 * misc/bits/stab.def: Likewise.
7136 * nis/nis_print_group_entry.c: Likewise.
7137 * nis/nis_table.c: Likewise.
7138 * nis/nss_compat/compat-pwd.c: Likewise.
7139 * nis/nss_compat/compat-spwd.c: Likewise.
7140 * po/Makefile: Likewise.
7141 * posix/fnmatch.c: Likewise.
7142 * posix/regex.h: Likewise.
7143 * resolv/Makefile: Likewise.
7144 * resolv/nss_dns/dns-network.c: Likewise.
7145 * resolv/res_hconf.c: Likewise.
7146 * scripts/gen-sorted.awk: Likewise.
7147 * soft-fp/soft-fp.h: Likewise.
7148 * stdio-common/printf.h: Likewise.
7149 * stdlib/monetary.h: Likewise.
7150 * stdlib/random.c: Likewise.
7151 * stdlib/random_r.c: Likewise.
7152 * sysdeps/generic/Makefile: Likewise.
7153 * sysdeps/gnu/Makefile: Likewise.
7154 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7155 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7156 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7157 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7159 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7161 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7162 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7164 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7165 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7166 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7167 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7168 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7169 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7170 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7172 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7174 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7175 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7176 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7182 * sysdeps/mach/hurd/errnos.awk: Likewise.
7183 * sysdeps/mach/hurd/fork.c: Likewise.
7184 * sysdeps/mach/hurd/getcwd.c: Likewise.
7185 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7186 * sysdeps/mach/hurd/mmap.c: Likewise.
7187 * sysdeps/mach/hurd/utimes.c: Likewise.
7188 * sysdeps/mach/hurd/xmknod.c: Likewise.
7189 * sysdeps/posix/profil.c: Likewise.
7190 * sysdeps/posix/readdir_r.c: Likewise.
7191 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7192 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7193 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7194 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7196 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7197 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7198 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7200 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7201 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7202 * sysdeps/pthread/lio_listio.c: Likewise.
7203 * sysdeps/sparc/dl-procinfo.h: Likewise.
7204 * sysdeps/unix/i386/sysdep.S: Likewise.
7205 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7206 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7207 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7208 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7210 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7211 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7212 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7213 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7214 * sysdeps/wordsize-32/divdi3.c: Likewise.
7215 * time/sys/time.h: Likewise.
7216 * wcsmbs/Makefile: Likewise.
7217
0549fbba
DM
72182013-01-01 David S. Miller <davem@davemloft.net>
7219
a141f1a7
DM
7220 * po/fr.po: Update from translation team.
7221
0549fbba
DM
7222 * catgets/gencat.c: Update copyright year.
7223 * csu/version.c: Likewise.
7224 * debug/catchsegv.sh: Likewise.
7225 * debug/pcprofiledump.c: Likewise.
7226 * debug/xtrace.sh: Likewise.
7227 * elf/ldconfig.c: Likewise.
7228 * elf/ldd.bash.in: Likewise.
7229 * elf/pldd.c: Likewise.
7230 * elf/sotruss.ksh: Likewise.
7231 * elf/sprof.c: Likewise.
7232 * iconv/iconv_prog.c: Likewise.
7233 * iconv/iconvconfig.c: Likewise.
7234 * locale/programs/locale.c: Likewise.
7235 * locale/programs/localedef.c: Likewise.
7236 * login/programs/pt_chown.c: Likewise.
7237 * malloc/memusage.sh: Likewise.
7238 * malloc/memusagestat.c: Likewise.
7239 * malloc/mtrace.pl: Likewise.
7240 * nscd/nscd.c: Likewise.
7241 * nss/getent.c: Likewise.
7242 * nss/makedb.c: Likewise.
7243 * posix/getconf.c: Likewise.
7244
18ea052c
SP
72452012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7246
7247 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7248 numbers.
7249
9c89fca6
MF
72502012-12-30 Mike Frysinger <vapier@gentoo.org>
7251
7252 * math/bits/mathcalls.h (modf): Use __nonnull.
7253
085ec079
SP
72542012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7255
7256 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7257 (split): Use macro CN instead of the bare value.
7258 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7259 could be used.
7260 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7261 instead of the bare value.
7262 (power1): Likewise.
7263
6d9f97e1
SP
72642012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7265
d63f73be
SP
7266 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7267 __ATAN_TWOM.
7268 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7269
6d9f97e1
SP
7270 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7271 their values.
7272 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7273 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7274 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7275 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7276
4c4febf5
AJ
72772012-12-28 Andreas Jaeger <aj@suse.de>
7278
af5843ef
AJ
7279 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7280 values are from Linux 3.7.
7281
4c4febf5
AJ
7282 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7283 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7284
99136f82
SP
72852012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7286
2f216c3c 7287 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7288 TRUE case.
7289
99136f82
SP
7290 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7291 (norm): Likewise.
7292 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7293 variables with preprocessor constants.
7294 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7295 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7296 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7297
7fffbdff
BH
72982012-12-27 Bruno Haible <bruno@clisp.org>
7299
7300 [BZ #14317]
7301 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7302 only if needed.
7303
b76eb5f0
SP
73042012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7305
31a7fe5c
SP
7306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7307 and use variable directly.
7308 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7309
b76eb5f0
SP
7310 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7311 MPONE.
7312 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7313 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7314 variable MPONE.
7315 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7317 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7318 include directive. Remove local variable MPONE.
7319 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7320 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7321 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7322
2c8bfe7d
DM
73232012-12-25 David S. Miller <davem@davemloft.net>
7324
7325 * version.h (RELEASE): Set to "development".
7326 (VERSION): Set to "2.17.90".
7327 * NEWS: Add 2.18 section.
7328
147d03b0
DM
73292012-12-21 David S. Miller <davem@davemloft.net>
7330
7331 * po/hr.po: Update from translation team.
7332
a8ebb2b9
AK
73332012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7334
7335 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7336
95b4f1b6
SE
73372012-12-19 Steve Ellcey <sellcey@mips.com>
7338
b2d94007 7339 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7340
cedb2a90
MS
73412012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7342
7343 * manual/contrib.texi (Contributors): Spelling correction.
7344
bbf527d6
DM
73452012-12-15 David S. Miller <davem@davemloft.net>
7346
7347 * po/ru.po: Update from translation team.
7348
bc38c906
DM
73492012-12-13 David S. Miller <davem@davemloft.net>
7350
85429b1a
DM
7351 * NEWS: Mention IFUNC testsuite enhancements.
7352
d283e353
DM
7353 * po/pl.po: Update from translation team.
7354 * po/bg.po: Likewise.
7355
bc38c906
DM
7356 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7357 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7358
a181b0d7
DM
73592012-12-11 David S. Miller <davem@davemloft.net>
7360
4641d57e
DM
7361 * po/sv.po: Update from translation team.
7362
f7bc6495
DM
7363 * po/vi.po: Update from translation team.
7364
6fc9048f
DM
7365 * po/cs.po: Update from translation team.
7366
a181b0d7
DM
7367 * po/de.po: Update from translation team.
7368 * po/eo.po: Likewise.
7369 * po/nl.po: Likewise.
7370
f70bfe80
SP
73712012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7372
3c8b4190
SP
7373 [BZ #14246]
7374 * manual/argp.texi (Argp Helper Functions): Move node to follow
7375 Argp Parsing State.
7376
f70bfe80
SP
7377 [BZ #14872]
7378 * manual/conf.texi (Limits on File System Capacity): Mention if
7379 terminating null is included in the max size.
7380
188f0adf
AJ
73812012-12-10 Andreas Jaeger <aj@suse.de>
7382
7383 * po/cs.po: Update from translation team.
7384
56e7d3ad
SP
73852012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7386
7387 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7388 void pointer and cast to uintptr_t.
7389 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7390 path.
7391 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7392 * sysdeps/s390/s390-64/memset.S: Likewise.
7393
76f2d2ea 73942012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
7395
7396 [BZ #14833]
7397 * menual/message.texi (Message Translation): Fix typos.
7398 (Helper programs for gettext): Likewise.
7399
67cbf9a2
AS
74002012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7401
7402 [BZ #14898]
7403 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7404 Change to -1.
7405
682d0e9a
DM
74062012-12-07 David S. Miller <davem@davemloft.net>
7407
7408 * po/libc.pot: Update.
7409
573cd484
RH
74102012-12-07 Richard Henderson <rth@redhat.com>
7411
7e9da188 7412 [BZ #10114]
573cd484
RH
7413 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7414 normal/normal case to before the switch.
7415 (_FP_DIV): Likewise.
7416
e933a943
MF
74172012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7418 Mike Frysinger <vapier@gentoo.org>
7419
7420 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7421 check for __NR_fadvise64_64.
7422
82123268
CM
74232012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7424
7425 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7426 0, not just to plain "0" as a statement.
7427 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7428 with cw.
7429
d9814526
JM
74302012-12-06 Joseph Myers <joseph@codesourcery.com>
7431
7432 * NEWS: Use sourceware.org in Bugzilla URL.
7433
7728c574
SP
74342012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7435
f16946dd
SP
7436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7437 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7438
5704bbcb
SP
7439 * stdio-common/tst-put-error.c (do_test): Add newline to the
7440 padded test to ensure flush.
7441
17aa0516
JL
74422012-12-05 Jeff Law <law@redhat.com>
7443
7444 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7445
363313b5
JM
74462012-12-05 Joseph Myers <joseph@codesourcery.com>
7447
effbd42a
JM
7448 * README: Don't refer to ports add-on as distributed separately.
7449 Mention AArch64 in list of systems supported in the ports add-on.
7450
87600365
JM
7451 * LICENSES: Add more non-FSF copyright and license notices.
7452
a0d7066a
JM
7453 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7454 ((unused)).
7455
66ca5a5b
JM
7456 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7457
363313b5
JM
7458 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7459 10000 as width of padded output.
7460
b37984ad
JM
74612012-12-04 Joseph Myers <joseph@codesourcery.com>
7462
9003570a
JM
7463 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7464
b37984ad
JM
7465 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7466 variable LX with __attribute__ ((unused)).
7467 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7468 Likewise.
7469 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7470 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7471 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7472 with __attribute__ ((unused)).
7473
c8df52ec
DM
74742012-12-04 David S. Miller <davem@abraco.davemloft.net>
7475
7476 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7477
b3b099af
JM
74782012-12-04 Joseph Myers <joseph@codesourcery.com>
7479
c33aa6e3
JM
7480 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7481 (CFLAGS-nldbl-acos.c): New variable.
7482 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7483 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7484 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7485 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7486 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7487 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7488 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7489 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7490 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7491 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7492 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7493 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7494 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7495 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7496 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7497 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7498 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7499 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7500 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7501 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7502 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7503 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7504 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7505 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7506 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7507 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7508 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7509 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7510 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7511 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7512 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7513 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7514 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7515 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7516 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7517 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7518 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7519 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7520 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7521 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7522 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7523 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7524 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7525 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7526 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7527 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7528 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7529 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7530 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7531 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7532 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7533 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7534 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7535 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7536 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7537 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7538 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7539 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7540 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7541 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7542 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7543 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7544 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7545 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7546 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7547 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7548 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7549 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7550 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7551 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7552 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7553 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7554 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7555 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7556 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7557 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7558 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7559 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7560 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7561 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7562 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7563 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7564 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7565 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7566 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7567 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7568 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7569 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7570 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7571 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7572 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7573 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7574 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7575 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7576 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7577 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7578 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7579
20f0018d
JM
7580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7581 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7582
b3b099af
JM
7583 [BZ #14914]
7584 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7585 whole low double instead of just low 47 bits when splitting values
7586 into two parts.
7587
029264d1
AM
75882012-12-03 Allan McRae <allan@archlinux.org>
7589
7590 * manual/stdio.texi (Predefined Printf Handlers): Remove
7591 @hsep and @vsep usage.
7592
c9d6789e
MF
75932012-12-03 Mike Frysinger <vapier@gentoo.org>
7594
7595 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7596 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7597
4b7634a5
JL
75982012-12-03 Jeff Law <law@redhat.com>
7599
7600 * time/sys/time.h (settimeofday): Do not mark TV argument
7601 as __nonnull.
7602
eb6cbd24
MF
76032012-12-01 Mike Frysinger <vapier@gentoo.org>
7604
7605 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7606 when currently writing and seek to current position when not.
7607 * libio/Makefile (tests): Remove bug-fclose1.
7608 * libio/bug-fclose1.c: Delete.
7609
f638872a
JM
76102012-12-01 Joseph Myers <joseph@codesourcery.com>
7611
7612 * manual/arith.texi (feenableexcept): Fix typo.
7613 (fedisableexcept): Likewise.
7614
48085d14
RM
76152012-11-30 Roland McGrath <roland@hack.frob.com>
7616
7617 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7618 second, differently-typed declaration, rather than a cast.
7619
1a538b9f
SP
76202012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7621
7622 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7623 * include/rpc/svc.h: ... here.
7624
d07f2ff1 76252012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
7626
7627 [BZ #13013]
7628 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7629 depending n and resplen2 to catch cases where answer
7630 equals answerp2.
7631
c93ec1f0
CD
76322012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7633
7634 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7635 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7636
37db69de
MF
76372012-11-29 Mike Frysinger <vapier@gentoo.org>
7638
7639 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7640
e10c4e4f
RM
76412012-11-29 Roland McGrath <roland@hack.frob.com>
7642
7643 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7644
2af1b328
JL
76452012-11-28 Jeff Law <law@redhat.com>
7646
7647 [BZ #13761]
7648 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7649 dataset_temporary. Track alloca usage into alloca_used.
7650 If dataset is large allocate and release it via malloc/free.
7651
111db5b1
FW
76522012-06-04 Florian Weimer <fweimer@redhat.com>
7653
f06cc227 7654 [BZ #14197]
111db5b1
FW
7655 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7656
dd694abd
DM
76572012-11-28 David S. Miller <davem@davemloft.net>
7658
7659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7660
9984dd01
JM
76612012-11-28 Joseph Myers <joseph@codesourcery.com>
7662
7663 [BZ #14803]
7664 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7665 of pi/2 rounded to nearest to 64 bits.
7666 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7667 nearest to 64 bits.
7668 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7669 bits.
7670
14bc93a9
JL
76712012-11-28 Jeff Law <law@redhat.com>
7672 Martin Osvald <mosvald@redhat.com>
7673
7674 [BZ #14889]
7675 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7676 * sunrpc/svc.c: Include time.h.
7677 (__svc_accept_failed): New function.
7678 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7679 any reason other than EINTR, call __svc_accept_failed.
7680 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7681 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7682
e3c6aa3a
AS
76832012-11-28 Andreas Schwab <schwab@suse.de>
7684
7685 * scripts/abilist.awk: Also handle indirect functions in .opd
7686 section.
7687
1bead169
JM
76882012-11-28 Joseph Myers <joseph@codesourcery.com>
7689
7690 [BZ #13881]
7691 * sysdeps/x86/fpu/powl_helper.c: New file.
7692 * sysdeps/x86/fpu/Makefile: Likewise.
7693 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7694 (p3): New object.
7695 (__ieee754_powl): Use __powl_helper for finite arguments except
7696 integer exponents below 8.
7697 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7698 (p3): New object.
7699 (__ieee754_powl): Use __powl_helper for finite arguments except
7700 integer exponents below 8.
7701 * math/libm-test.inc (pow_test): Add more tests and enable some
7702 previously disabled tests.
7703 * sysdeps/i386/fpu/libm-test-ulps: Update.
7704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7705
0817d63d
SP
77062012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7707 Carlos O'Donell <carlos_odonell@mentor.com>
7708
7709 * nss/makedb.c (is_prime): Assert that input is odd and greater
7710 than 4. Note that fact in a comment too.
7711 (next_prime): Add 4 to input.
7712
de2fd463
SP
77132012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7714
7715 [BZ #11741]
7716 * libio/Makefile (tests): Add test case tst-fwrite-error.
7717 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7718 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7719 * libio/tst-fwrite-error.c: New test case.
7720
c515fb51
L
77212012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7722
7723 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7724 before casting to void *.
7725 * include/libc-internal.h (__pointer_type): New macro.
7726 (__integer_if_pointer_type_sub): Likewise.
7727 (__integer_if_pointer_type): Likewise.
7728 (cast_to_integer): Likewise.
7729 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7730 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7731 before casting to atomic64_t.
7732 (atomic_exchange_acq): Likewise.
7733 (__arch_exchange_and_add_body): Likewise.
7734 (__arch_add_body): Likewise.
7735 (atomic_add_negative): Likewise.
7736 (atomic_add_zero): Likewise.
7737
4cf77aa9
JM
77382012-11-26 Joseph Myers <joseph@codesourcery.com>
7739
7740 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7741 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7742 (add_fdes): Likewise.
7743 (linear_search_fdes): Likewise.
7744 (binary_search_unencoded_fdes): Likewise.
7745
d260b3b4
AS
77462012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7747
7748 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7749
67060746
AC
77502012-11-24 Adam Conrad <adconrad@0c3.net>
7751
7752 * configure.in: Autodetect C++ header directories.
7753 * configure: Regenerated.
7754
800938a1
MF
77552012-11-23 Mike Frysinger <vapier@gentoo.org>
7756
7757 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7758
4e6e34e6
AS
77592012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7760
7761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7762
7c7feb47
JM
77632012-11-22 Joseph Myers <joseph@codesourcery.com>
7764
7184dcdf
JM
7765 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7766 LDBL_MANT_DIG == 106]: Disable some tests.
7767 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7768 Likewise.
7769 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7770 Likewise.
7771
0a42601f
JM
7772 [BZ #14871]
7773 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7774 input for small inputs. Return +/- pi/2 for large inputs.
7775 * math/libm-test.inc (atan_test): Add more tests.
7776
79c9b9fe
JM
7777 * sysdeps/generic/unwind-dw2-fde-glibc.c
7778 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7779 __attribute__ ((unused)).
7780
c60d3bf2
JM
7781 [BZ #14645]
7782 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7783 x * y if x and y are nonzero and z is zero.
7784
ef1e0867
JM
7785 [BZ #14811]
7786 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7787 nonzero exponents with absolute value below 0x1p-117 to +/-
7788 0x1p-117.
7789
1468ded3
JM
7790 [BZ #14869]
7791 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7792 up arguments below 2**-450, not just those below 2**-500.
7793 * math/libm-test.inc (hypot_test): Add another test.
7794
8e27e3cc
JM
7795 [BZ #14868]
7796 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7797 Return a+b for ratio over 2**120, not 2**60.
7798 * math/libm-test.inc (hypot_test): Add another test.
7799
c9c0279b
JM
7800 * math/libm-test.inc (clog_test): Use
7801 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7802 (clog10_test): Likewise.
7803
7c7feb47
JM
7804 [BZ #6778]
7805 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7806
fff1530e
AS
78072012-11-22 Andreas Schwab <schwab@suse.de>
7808
7809 * sysdeps/i386/fpu/libm-test-ulps: Update.
7810
94558d30
PT
78112012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7812
7813 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7814 printf output with newline.
7815
7e1be741
L
78162012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7817
6bfea974
L
7818 [BZ #14865]
7819 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7820 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7821 -z nodlopen, -z initfirst and -z execstack support.
7822 * configure: Regenerated.
7823
7e1be741
L
7824 * elf/elf.h (DF_1_NODIRECT): New macro.
7825 (DF_1_IGNMULDEF): Likewise.
7826 (DF_1_NOKSYMS): Likewise.
7827 (DF_1_NOHDR): Likewise.
7828 (DF_1_EDITED): Likewise.
7829 (DF_1_NORELOC): Likewise.
7830 (DF_1_SYMINTPOSE): Likewise.
7831 (DF_1_GLOBAUDIT): Likewise.
7832 (DF_1_SINGLETON): Likewise.
7833 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7834 DT_1_SUPPORTED_MASK bits.
7835 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7836
105ce2ce
CD
78372012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7838
7839 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7840
123be9de
TS
78412012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7842
d072f3f7
TS
7843 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7844 macro.
7845
123be9de
TS
7846 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7847 (sendmmsg): Move declarations...
7848 * socket/sys/socket.h: ... here.
7849 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7850 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7851 include it from...
7852 * socket/recvmmsg.c: ... this new file.
7853 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7854 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7855 definition of __sendmmsg hidden.
7856 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7857 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7858 Move ENOSYS stub into and include it from...
7859 * socket/sendmmsg.c: ... this new file.
7860 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7861 (sysdep_routines): Move recvmmsg and sendmmsg...
7862 * socket/Makefile (routines): ... here.
7863 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7864 (GLIBC_PRIVATE): Add __sendmmsg.
7865 * include/sys/socket.h (__sendmmsg): Add declarations.
7866 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7867 sendmmsg.
7868
cf9a5d18
JM
78692012-11-20 Joseph Myers <joseph@codesourcery.com>
7870
7871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7872 variable I1 with __attribute__ ((unused)).
7873 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7874
ecd4caf9
JM
78752012-11-19 Joseph Myers <joseph@codesourcery.com>
7876
be14d48f
JM
7877 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7878 DUMMY variables with __attribute__ ((unused)).
7879
ecd4caf9
JM
7880 * bits/byteswap.h: Include <bits/types.h>.
7881 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7882
986cab95
PT
78832012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7884
7885 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7886 string_t. Do not manually set errno.
7887 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7888 length with __strnlen. Make sure to both set errno and return it on
7889 failure.
7890
6d33cc9d
DM
78912012-11-19 David S. Miller <davem@davemloft.net>
7892
7893 With help from Joseph Myers.
7894 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7895 very large arguments properly.
7896 * math/libm-test.inc (atan_test): New tests.
7897 (atan2_test): New tests.
7898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7900
ee663277
JM
79012012-11-19 Joseph Myers <joseph@codesourcery.com>
7902
877f2d8e
JM
7903 [BZ #14856]
7904 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7905 Define to 3.
7906
116fc08a
JM
7907 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7908 [POSIX] (EADDRNOTAVAIL): Likewise.
7909 [POSIX] (EAFNOSUPPORT): Likewise.
7910 [POSIX] (EALREADY): Likewise.
7911 [POSIX] (ECONNABORTED): Likewise.
7912 [POSIX] (ECONNREFUSED): Likewise.
7913 [POSIX] (ECONNRESET): Likewise.
7914 [POSIX] (EDESTADDRREQ): Likewise.
7915 [POSIX] (EDQUOT): Likewise.
7916 [POSIX] (EHOSTUNREACH): Likewise.
7917 [POSIX] (EIDRM): Likewise.
7918 [POSIX] (EISCONN): Likewise.
7919 [POSIX] (ELOOP): Likewise.
7920 [POSIX] (EMULTIHOP): Likewise.
7921 [POSIX] (ENETDOWN): Likewise.
7922 [POSIX] (ENETUNREACH): Likewise.
7923 [POSIX] (ENOBUFS): Likewise.
7924 [POSIX] (ENODATA): Likewise.
7925 [POSIX] (ENOLINK): Likewise.
7926 [POSIX] (ENOMSG): Likewise.
7927 [POSIX] (ENOPROTOOPT): Likewise.
7928 [POSIX] (ENOSR): Likewise.
7929 [POSIX] (ENOSTR): Likewise.
7930 [POSIX] (ENOTCONN): Likewise.
7931 [POSIX] (ENOTSOCK): Likewise.
7932 [POSIX] (EOPNOTSUPP): Likewise.
7933 [POSIX] (EOVERFLOW): Likewise.
7934 [POSIX] (EPROTO): Likewise.
7935 [POSIX] (EPROTONOSUPPORT): Likewise.
7936 [POSIX] (EPROTOTYPE): Likewise.
7937 [POSIX] (ESTALE): Likewise.
7938 [POSIX] (ETIME): Likewise.
7939 [POSIX] (ETXTBSY): Likewise.
7940 [POSIX] (EWOULDBLOCK): Likewise.
7941 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7942 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7943 [POSIX] (SEEK_CUR): Likewise.
7944 [POSIX] (SEEK_END): Likewise.
7945 [POSIX || UNIX98] (mode_t): Do not require.
7946 [POSIX] (off_t): Likewise.
7947 [POSIX] (pid_t): Likewise.
7948 [POSIX] (sys/stat.h): Do not allow header.
7949 [POSIX] (unistd.h): Likewise.
7950 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7951 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7952 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7953 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7954 require.
7955 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7956 sigevent): Specify elements.
7957 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7958 entry.
7959 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7960 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7961
a483863f
JM
7962 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7963 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7964 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7965 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7966 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7967 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7968 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7969 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7970 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7971 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7972 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7973 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7974 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7975 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7976 Likewise.
7977 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7978 Likewise.
7979 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7980 Likewise.
7981 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7982 Likewise.
7983 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7984 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7985 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7986 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7987 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7988 Specify lower bound on value.
7989 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7990 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7991 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7992 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7993 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7994 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7995 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7996 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7997 value.
7998 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7999 as optional.
8000 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8001 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8002 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8003 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8004 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8005 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8006 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8007 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8008 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8009 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8010 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8011 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8012 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8013 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8014 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8015 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8016 entry.
8017 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8018 optional.
8019 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8020 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8021 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8022 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8023 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8024 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8025 Likewise.
8026 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8027 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8028 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8029 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8030 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8031 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8032 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8033 as optional.
8034 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8035 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8036 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8037 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8038 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8039 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8040 specify as optional.
8041 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8042 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8043 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8044 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8045 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8046 [XPG3] (NL_LANGMAX): Likewise.
8047 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8048 [POSIX || XPG3] (NL_NMAX): Likewise.
8049 [POSIX || XPG3] (NL_SETMAX): Likewise.
8050 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8051 [XPG3] (NZERO): Likewise.
8052 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8053 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8054 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8055 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8056 (REG_ERANGE): Expect.
8057 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8058 optional-constant.
8059 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8060 Use (void) in prototype.
8061 [POSIX] (*_t): Allow.
8062 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8063 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8064 (WRDE_BADVAL): Expect.
8065
5ba924e3
JM
8066 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8067 expect.
8068 [XPG3 || XPG4] (O_RSYNC): Likewise.
8069 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8070 Likewise.
8071 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8072 [XPG3 || XPG4] (sigqueue): Likewise.
8073 [XPG3 || XPG4] (sigtimedwait): Likewise.
8074 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8075 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8076 [XPG3 || XPG4] (vsnprintf): Likewise.
8077 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8078 Likewise.
8079 [XPG3 || XPG4] (blksize_t): Likewise.
8080 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8081 Likewise.
8082 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8083 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8084 [XPG3 || XPG4] (struct itimerspec): Likewise.
8085 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8086 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8087 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8088 [XPG3 || XPG4] (clockid_t): Likewise.
8089 [XPG3 || XPG4] (timer_t): Likewise.
8090 [XPG3 || XPG4] (clock_getres): Likewise.
8091 [XPG3 || XPG4] (clock_gettime): Likewise.
8092 [XPG3 || XPG4] (clock_settime): Likewise.
8093 [XPG3 || XPG4] (nanosleep): Likewise.
8094 [XPG3 || XPG4] (timer_create): Likewise.
8095 [XPG3 || XPG4] (timer_delete): Likewise.
8096 [XPG3 || XPG4] (timer_gettime): Likewise.
8097 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8098 [XPG3 || XPG4] (timer_settime): Likewise.
8099 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8100 [XPG3 || XPG4] (getlogin_r): Likewise.
8101 [XPG3 || XPG4] (pread): Likewise.
8102 [XPG3 || XPG4] (pthread_atfork): Likewise.
8103 [XPG3 || XPG4] (pwrite): Likewise.
8104
ee663277
JM
8105 [BZ #14835]
8106 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8107 <bits/siginfo.h>.
8108
942caa16
PT
81092012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8110
e19af380
PT
8111 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8112 finalizing MALLSTREAM.
8113
942caa16
PT
8114 * sysdeps/mach/hurd/syncfs.c: New file.
8115
cfde9b46
SP
81162012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8117
8118 [BZ #14719]
8119 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8120 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8121 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8122 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8123 (_nss_dns_gethostbyname4_r): Likewise.
8124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8125 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8126
f6da27e5
PH
81272012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8128
8129 [BZ #13763]
8130 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8131
6665d4a2
SM
81322012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8133
1f51ee92
SM
8134 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8135 * elf/cache.c (print_entry): Print ",AArch64" for
8136 FLAG_AARCH64_LIB64
8137
6665d4a2
SM
8138 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8139 * elf/cache.c (print_entry): Print ",hard-float" for
8140 FLAG_ARM_LIBHF.
8141
05b227bd
DM
81422012-11-18 David S. Miller <davem@davemloft.net>
8143
8144 With help from Joseph Myers.
8145 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8146 cutoff to 2**-13.
8147 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8148 cutoff to 2**-25.
8149 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8150 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8151 small.
8152 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8153 * math/libm-test.inc (y0_test): New tests.
8154 (y1_test): New tests.
8155 * sysdeps/i386/fpu/libm-test-ulps: Update.
8156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8158
786b0b67
AS
81592012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8160
8161 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8162 64-bit targets.
8163 * configure: Regenerated.
8164
8e18b86d
DM
81652012-11-17 David S. Miller <davem@davemloft.net>
8166
8167 [BZ #14811]
8168 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8169 nonzero exponents with absolute value below 0x1p-128 to +/-
8170 0x1p-128.
8171
531f1ae0
JM
81722012-11-17 Joseph Myers <joseph@codesourcery.com>
8173
12df29e2
JM
8174 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8175
150dc1a0
JM
8176 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8177
531f1ae0
JM
8178 * posix/getconf-speclist.c: New file.
8179 * posix/posix-envs.def: Likewise.
8180 * posix/confstr.c (START_ENV_GROUP): New macro.
8181 (END_ENV_GROUP): Likewise.
8182 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8183 (KNOWN_PRESENT_ENV_STRING): Likewise.
8184 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8185 (UNKNOWN_ENVIRONMENT): Likewise.
8186 (confstr): Include posix-envs.def instead of handling
8187 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8188 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8189 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8190 (END_ENV_GROUP): Likewise.
8191 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8192 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8193 (UNKNOWN_ENVIRONMENT): Likewise.
8194 (__sysconf): Include posix-envs.def instead of handling associated
8195 cases directly here.
8196 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8197 preprocessing getconf-speclist.c rather than running getconf or
8198 generating empty file.
8199
a93f9cbc
PT
82002012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8201
8202 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8203
d64d9f87
AL
82042012-11-16 Andrej Lajovic <natrij@gmail.com>
8205
8206 [BZ #14672]
8207 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8208
447885eb
DM
82092012-11-16 David S. Miller <davem@davemloft.net>
8210
8211 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8212 smaller than LDBL_EPSILON/2.0L, just return xm1.
8213
bcbf9830
L
82142012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8215
8216 * elf/tst-array1.c (init): Set constructor priority to 1000.
8217 (fini): Set destructor priority to 1000.
8218 * elf/tst-array2dep.c: Likewise.
8219
2b766585
SP
82202012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8221
8222 [BZ #11741]
8223 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8224 (_IO_new_file_xsputn): Also return EOF if none of the input
8225 data was written when overflow failed.
8226 * libio/iopadn.c (_IO_padn): Likewise.
8227 * libio/iowpadn.c (_IO_wpadn): Likewise.
8228 * stdio-common/tst-put-error.c: Add copyright notice.
8229 (do_test): Add case for printing padded string.
8230 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8231 _IO_padn returned error.
8232 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8233 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8234 return EOF.
8235
b1848fde
SP
82362012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8237
8238 * libio/libioP.h: Add comment note that the references to C++
8239 bits are now obsolete.
8240
2fd89785
MS
82412012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8242
8243 * math/libm-test.inc (check_complex): Use asprintf.
8244
e3ea5409
JM
82452012-11-14 Joseph Myers <joseph@codesourcery.com>
8246
8247 * debug/pcprofiledump.c (print_version): Update copyright year.
8248 * malloc/memusagestat.c (print_version): Likewise.
8249
2e64d265
L
82502012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8251
8252 [BZ #14831]
8253 * elf/Makefile (tests): Add tst-audit8.
8254 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8255 ($(objpfx)tst-audit8.out): New target.
8256 (tst-audit8-ENV): New variable.
8257 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8258 audit if l_reloc_result is NULL.
8259 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8260 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8261 * elf/tst-audit8.c: New file.
8262
c485e4d2
MS
82632012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8264
8265 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8266 * misc/Makefile (CFLAGS-select.c): Define.
8267 * posix/Makefile (CFLAGS-pause.c): Define.
8268
3a0d900a
DM
82692012-11-13 David S. Miller <davem@davemloft.net>
8270
8271 * crypt/Makefile: Move test targets after toplevel Rules
8272 inclusion. Grab any necessary sysdep routines when linking.
8273 * crypt/md5.c (md5_process_block): Remove define, we will always
8274 name it __md5_process_block.
8275 (md5_finish_ctx): Update md5_process_block call.
8276 (md5_stream): Likewise.
8277 (md5_process_bytes): Likewise.
8278 (md5_process_block): Rename to __md5_process_block and move to ...
8279 * crypt/md5-block.c: ... here.
8280 * crypt/sha256.c (sha256_process_block): Move to ...
8281 * crypt/sha256-block.c: ... here.
8282 * crypt/sha512.c (sha512_process_block): Move to ...
8283 * crypt/sha512-block.c: ... here.
8284 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8285 path.
8286 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8287 * sysdeps/sparc/sparc64/multiarch/Makefile
8288 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8289 crypt subdir.
8290 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8291 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8292 multiarch changes.
8293 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8294 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8295 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8296 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8297 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8298 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8299 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8300 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8301 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8302 file.
8303 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8304 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8305 file.
8306 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8307
8ca89318
JM
83082012-11-13 Joseph Myers <joseph@codesourcery.com>
8309
e27d476a
JM
8310 * timezone/tzselect.ksh: Update from tzcode git revision
8311 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8312 * timezone/zdump.c: Likewise.
8313 * timezone/zic.c: Likewise.
8314 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8315 in TZVERSION setting, not $(PKGVERSION).
8316 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8317 REPORT_BUGS_TO settings.
8318
8ca89318
JM
8319 [BZ #14838]
8320 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8321 macro.
8322
47594329
MS
83232012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8324
8325 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8326 detection to immediately after _FP_ROUND().
8327 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8328 bits are 0.
8329
640ac3f1
DM
83302012-11-11 David S. Miller <davem@davemloft.net>
8331
8332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8333 inttypes.h
8334 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8335 __close rather than their public counterparts.
8336
3d2577bb
JM
83372012-11-10 Joseph Myers <joseph@codesourcery.com>
8338
8339 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8340 file.
8341 [UNIX98] (sem_timedwait): Do not expect.
8342 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8343 [XPG4 || UNIX98] (sockatmark): Do not expect.
8344 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8345 (clock_getcpuclockid): Do not expect.
8346 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8347 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8348 Do not expect.
8349 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8350 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8351 [UNIX98] (vwscanf): Likewise.
8352 [UNIX98] (vswscanf): Likewise.
8353
fb1ae1ee
JM
83542012-11-09 Joseph Myers <joseph@codesourcery.com>
8355
9ec6f8bd
JM
8356 * timezone/version.h: Remove file.
8357 * timezone/README: Do not refer to version.h.
8358 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8359 $(objpfx)version.h.
8360 ($(objpfx)zdump.o): Likewise.
c3f81911 8361 ($(objpfx)version.h): New target.
9ec6f8bd 8362
0aa8f8a1
JM
8363 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8364 2012i.
8365 * timezone/README: Don't mention modification to tzselect.ksh.
8366 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8367 work on unmodified tzselect.ksh. Substitute version numbers in
8368 tzselect.ksh.
8369
4e87147f
JM
8370 * Makefile (format-me): Remove.
8371 (INSTALL): Adjust indentation. Use commands directly instead of
8372 using $(format-me).
8373
8b748aed
JM
8374 * aclocal.m4 (ACX_PKGVERSION): New macro.
8375 (ACX_BUGURL): Likewise.
8376 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8377 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8378 (REPORT_BUGS_TO): Likewise.
8379 * configure: Regenerated.
8380 * config.h.in (PKGVERSION): New macro.
8381 (REPORT_BUGS_TO): Likewise.
8382 * config.make.in (PKGVERSION): New variable.
8383 (PKGVERSION_TEXI): Likewise.
8384 (REPORT_BUGS_TO): Likewise.
8385 (REPORT_BUGS_TEXI): Likewise.
8386 * Makefile (format-me): Use -I$(common-objpfx)manual.
8387 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8388 ($(common-objpfx)manual/%): New target.
8389 (manual/%): Remove target.
8390 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8391 (print_version): Use PKGVERSION.
8392 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8393 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8394 and REPORT_BUGS_TO.
8395 ($(objpfx)xtrace): Likewise.
8396 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8397 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8398 (print_version): Use PKGVERSION.
8399 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8400 (do_version): Use PKGVERSION.
8401 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8402 REPORT_BUGS_TO.
8403 (common-ldd-rewrite): Likewise.
8404 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8405 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8406 (print_version): Use PKGVERSION.
8407 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8408 * elf/pldd.c (argp_program_bug_address): Remove variable.
8409 (more_help): New function.
8410 (argp): Use more_help.
8411 (print_version): Use PKGVERSION.
8412 * elf/sln.c (main): Use PKGVERSION.
8413 (usage): Use REPORT_BUGS_TO.
8414 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8415 (top level): Use PKGVERSION.
8416 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8417 (print_version): Use PKGVERSION.
8418 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8419 (print_version): Use PKGVERSION.
8420 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8421 (print_version): Use PKGVERSION.
8422 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8423 (print_version): Use PKGVERSION.
8424 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8425 (print_version): Use PKGVERSION.
8426 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8427 (print_version): Use PKGVERSION.
8428 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8429 and BUGURL.
8430 ($(objpfx)memusage): Likewise.
8431 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8432 (do_version): Use PKGVERSION.
8433 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8434 (print_version): Use PKGVERSION.
8435 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8436 ($PKGVERSION): New variable.
8437 ($REPORT_BUGS_TO): Likewise.
8438 (usage): Use $REPORT_BUGS_TO.
8439 (top level): Use $PKGVERSION.
8440 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8441 ($(objpfx)pkgvers.texi): New rule.
8442 ($(objpfx)stamp-pkgvers): Likewise.
8443 * manual/install.texi: Include pkgvers.texi.
8444 (--with-pkgversion): Document new configure option.
8445 (--with-bugurl): Likewise.
8446 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8447 than necessarily for this particular distribution. Use
8448 REPORT_BUGS_TO for where to report bugs.
8449 * INSTALL: Regenerated.
8450 * manual/libc.texinfo: Include pkgvers.texi.
8451 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8452 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8453 (print_version): Use PKGVERSION.
8454 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8455 (print_version): Use PKGVERSION.
8456 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8457 (print_version): Use PKGVERSION.
8458 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8459 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8460 macro.
8461 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8462 (print_version): Use PKGVERSION.
8463 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8464 (print_version): Use PKGVERSION.
8465 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8466 and PKGVERSION.
8467
92e4b6a9
JM
8468 * timezone/checktab.awk: Update from tzcode 2012i.
8469 * timezone/ialloc.c: Likewise.
8470 * timezone/private.h: Likewise.
8471 * timezone/scheck.c: Likewise.
8472 * timezone/tzfile.h: Likewise.
8473 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8474 (TZVERSION): Hardcode tzcode version number.
8475 * timezone/zdump.c: Update from tzcode 2012i.
8476 * timezone/zic.c: Likewise.
8477 * timezone/version.h: New file.
8478 * timezone/README: Describe version.h. Update upstream location.
8479
9bde902c
JM
8480 [BZ #14824]
8481 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8482 (mktemp): Enable declaration.
8483 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8487 Likewise.
8488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8489 Likewise.
8490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8491 Likewise.
8492 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8493 Likewise.
8494 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8495 Likewise.
8496 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8497 Likewise.
8498
fb1ae1ee
JM
8499 [BZ #14821]
8500 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8501 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8502 for copies of such integer values.
8503 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8504 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8505
2c1adbcb
AJ
85062012-11-09 Andreas Jaeger <aj@suse.de>
8507
8508 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8509 definitions and declarations that are provided by
8510 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8511
d0f8457e
AK
85122012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8513
3a235abb 8514 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
8515 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8516 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8517 definition.
8518
57241e26
MS
85192012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8520
8521 * elf/elf.h: Update comment before AArch64 relocations.
8522
60e8270d
DM
85232012-11-07 David S. Miller <davem@davemloft.net>
8524
8525 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8526 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8527 (__start_context): Declare.
8528 (__makecontext_ret): Delete.
8529 (__makecontext): Hook up __start_context instead of
8530 __makecontext_ret.
8531 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8532 (sysdep_routines): Add __start_context when in stdlib.
8533
0fbb0fbc
JM
85342012-11-07 Joseph Myers <joseph@codesourcery.com>
8535
8536 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8537 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8538 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8539 hardcoded "nm".
8540 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8541 (READELF): New variable. Use it instead of hardcoded "readelf".
8542
eb48db7e
L
85432012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8544
8545 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8546 * sysdeps/x86/Makefile: Here.
8547 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8548 * sysdeps/x86/tst-xmmymm.sh: This.
8549
05bcf62a
JM
85502012-11-07 Joseph Myers <joseph@codesourcery.com>
8551
c4b6cf53
JM
8552 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8553 expectations.
8554 [UNIX98] (pthread_barrier_t): Do not expect.
8555 [UNIX98] (pthread_barrierattr_t): Likewise.
8556 [UNIX98] (pthread_spinlock_t): Likewise.
8557 [UNIX98] (pthread_barrier_destroy): Likewise.
8558 [UNIX98] (pthread_barrier_init): Likewise.
8559 [UNIX98] (pthread_barrier_wait): Likewise.
8560 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8561 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8562 [UNIX98] (pthread_barrierattr_init): Likewise.
8563 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8564 [UNIX98] (pthread_getcpuclockid): Likewise.
8565 [UNIX98] (pthread_mutex_timedlock): Likewise.
8566 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8567 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8568 [UNIX98] (pthread_sigmask): Likewise.
8569 [UNIX98] (pthread_spin_destroy): Likewise.
8570 [UNIX98] (pthread_spin_init): Likewise.
8571 [UNIX98] (pthread_spin_lock): Likewise.
8572 [UNIX98] (pthread_spin_trylock): Likewise.
8573 [UNIX98] (pthread_spin_unlock): Likewise.
8574 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8575 Do not expect.
8576 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8577 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8578 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8579 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8580 [XPG3 || XPG4] (pthread_key_t): Likewise.
8581 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8582 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8583 [XPG3 || XPG4] (pthread_once_t): Likewise.
8584 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8585 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8587 [XPG3 || XPG4] (pthread_t): Likewise.
8588
cbe6e120
JM
8589 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8590 not expect.
8591 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8592
1b126443
JM
8593 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8594 Change function return type to int.
8595
b961a573
JM
8596 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8597 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8598 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8599 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8600 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8601 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8602 [!POSIX] (posix_madvise): Likewise.
8603 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8604 && !UNIX98].
8605 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8606 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8607 (mode_t): Likewise.
8608 (posix_mem_offset): Likewise.
8609 (posix_typed_mem_get_info): Likewise.
8610 (posix_typed_mem_open): Likewise.
8611
9e188909
JM
8612 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8613 Change condition to [XOPEN2K8].
8614
05bcf62a
JM
8615 * conform/conformtest.pl: Preprocess allow-header data with -x c
8616 instead of from stdin.
8617 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8618 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8619 [C99-based standards] (cerfc): Likewise.
8620 [C99-based standards] (cexp2): Likewise.
8621 [C99-based standards] (cexpm1): Likewise.
8622 [C99-based standards] (clog10): Likewise.
8623 [C99-based standards] (clog1p): Likewise.
8624 [C99-based standards] (clog2): Likewise.
8625 [C99-based standards] (clgamma): Likewise.
8626 [C99-based standards] (ctgamma): Likewise.
8627 [C99-based standards] (cerff): Likewise.
8628 [C99-based standards] (cerfcf): Likewise.
8629 [C99-based standards] (cexp2f): Likewise.
8630 [C99-based standards] (cexpm1f): Likewise.
8631 [C99-based standards] (clog10f): Likewise.
8632 [C99-based standards] (clog1pf): Likewise.
8633 [C99-based standards] (clog2f): Likewise.
8634 [C99-based standards] (clgammaf): Likewise.
8635 [C99-based standards] (ctgammaf): Likewise.
8636 [C99-based standards] (cerfl): Likewise.
8637 [C99-based standards] (cerfcl): Likewise.
8638 [C99-based standards] (cexp2l): Likewise.
8639 [C99-based standards] (cexpm1l): Likewise.
8640 [C99-based standards] (clog10l): Likewise.
8641 [C99-based standards] (clog1pl): Likewise.
8642 [C99-based standards] (clog2l): Likewise.
8643 [C99-based standards] (clgammal): Likewise.
8644 [C99-based standards] (ctgammal): Likewise.
8645 * conform/data/inttypes.h-data [C99-based standards]: Include
8646 stdint.h-data. Remove all expectations for stdint.h contents.
8647 [C99-based standards] (PRI*): Do not allow.
8648 [C99-based standards] (SCN*): Likewise.
8649 [C99-based standards] (*_t): Likewise.
8650 [C99-based-standards] (PRId8): Expect macro.
8651 [C99-based-standards] (PRIi8): Likewise.
8652 [C99-based-standards] (PRIo8): Likewise.
8653 [C99-based-standards] (PRIu8): Likewise.
8654 [C99-based-standards] (PRIx8): Likewise.
8655 [C99-based-standards] (PRIX8): Likewise.
8656 [C99-based-standards] (SCNd8): Likewise.
8657 [C99-based-standards] (SCNi8): Likewise.
8658 [C99-based-standards] (SCNo8): Likewise.
8659 [C99-based-standards] (SCNu8): Likewise.
8660 [C99-based-standards] (SCNx8): Likewise.
8661 [C99-based-standards] (PRIdLEAST8): Likewise.
8662 [C99-based-standards] (PRIiLEAST8): Likewise.
8663 [C99-based-standards] (PRIoLEAST8): Likewise.
8664 [C99-based-standards] (PRIuLEAST8): Likewise.
8665 [C99-based-standards] (PRIxLEAST8): Likewise.
8666 [C99-based-standards] (PRIXLEAST8): Likewise.
8667 [C99-based-standards] (SCNdLEAST8): Likewise.
8668 [C99-based-standards] (SCNiLEAST8): Likewise.
8669 [C99-based-standards] (SCNoLEAST8): Likewise.
8670 [C99-based-standards] (SCNuLEAST8): Likewise.
8671 [C99-based-standards] (SCNxLEAST8): Likewise.
8672 [C99-based-standards] (PRIdFAST8): Likewise.
8673 [C99-based-standards] (PRIiFAST8): Likewise.
8674 [C99-based-standards] (PRIoFAST8): Likewise.
8675 [C99-based-standards] (PRIuFAST8): Likewise.
8676 [C99-based-standards] (PRIxFAST8): Likewise.
8677 [C99-based-standards] (PRIXFAST8): Likewise.
8678 [C99-based-standards] (SCNdFAST8): Likewise.
8679 [C99-based-standards] (SCNiFAST8): Likewise.
8680 [C99-based-standards] (SCNoFAST8): Likewise.
8681 [C99-based-standards] (SCNuFAST8): Likewise.
8682 [C99-based-standards] (SCNxFAST8): Likewise.
8683 [C99-based-standards] (PRId16): Likewise.
8684 [C99-based-standards] (PRIi16): Likewise.
8685 [C99-based-standards] (PRIo16): Likewise.
8686 [C99-based-standards] (PRIu16): Likewise.
8687 [C99-based-standards] (PRIx16): Likewise.
8688 [C99-based-standards] (PRIX16): Likewise.
8689 [C99-based-standards] (SCNd16): Likewise.
8690 [C99-based-standards] (SCNi16): Likewise.
8691 [C99-based-standards] (SCNo16): Likewise.
8692 [C99-based-standards] (SCNu16): Likewise.
8693 [C99-based-standards] (SCNx16): Likewise.
8694 [C99-based-standards] (PRIdLEAST16): Likewise.
8695 [C99-based-standards] (PRIiLEAST16): Likewise.
8696 [C99-based-standards] (PRIoLEAST16): Likewise.
8697 [C99-based-standards] (PRIuLEAST16): Likewise.
8698 [C99-based-standards] (PRIxLEAST16): Likewise.
8699 [C99-based-standards] (PRIXLEAST16): Likewise.
8700 [C99-based-standards] (SCNdLEAST16): Likewise.
8701 [C99-based-standards] (SCNiLEAST16): Likewise.
8702 [C99-based-standards] (SCNoLEAST16): Likewise.
8703 [C99-based-standards] (SCNuLEAST16): Likewise.
8704 [C99-based-standards] (SCNxLEAST16): Likewise.
8705 [C99-based-standards] (PRIdFAST16): Likewise.
8706 [C99-based-standards] (PRIiFAST16): Likewise.
8707 [C99-based-standards] (PRIoFAST16): Likewise.
8708 [C99-based-standards] (PRIuFAST16): Likewise.
8709 [C99-based-standards] (PRIxFAST16): Likewise.
8710 [C99-based-standards] (PRIXFAST16): Likewise.
8711 [C99-based-standards] (SCNdFAST16): Likewise.
8712 [C99-based-standards] (SCNiFAST16): Likewise.
8713 [C99-based-standards] (SCNoFAST16): Likewise.
8714 [C99-based-standards] (SCNuFAST16): Likewise.
8715 [C99-based-standards] (SCNxFAST16): Likewise.
8716 [C99-based-standards] (PRId32): Likewise.
8717 [C99-based-standards] (PRIi32): Likewise.
8718 [C99-based-standards] (PRIo32): Likewise.
8719 [C99-based-standards] (PRIu32): Likewise.
8720 [C99-based-standards] (PRIx32): Likewise.
8721 [C99-based-standards] (PRIX32): Likewise.
8722 [C99-based-standards] (SCNd32): Likewise.
8723 [C99-based-standards] (SCNi32): Likewise.
8724 [C99-based-standards] (SCNo32): Likewise.
8725 [C99-based-standards] (SCNu32): Likewise.
8726 [C99-based-standards] (SCNx32): Likewise.
8727 [C99-based-standards] (PRIdLEAST32): Likewise.
8728 [C99-based-standards] (PRIiLEAST32): Likewise.
8729 [C99-based-standards] (PRIoLEAST32): Likewise.
8730 [C99-based-standards] (PRIuLEAST32): Likewise.
8731 [C99-based-standards] (PRIxLEAST32): Likewise.
8732 [C99-based-standards] (PRIXLEAST32): Likewise.
8733 [C99-based-standards] (SCNdLEAST32): Likewise.
8734 [C99-based-standards] (SCNiLEAST32): Likewise.
8735 [C99-based-standards] (SCNoLEAST32): Likewise.
8736 [C99-based-standards] (SCNuLEAST32): Likewise.
8737 [C99-based-standards] (SCNxLEAST32): Likewise.
8738 [C99-based-standards] (PRIdFAST32): Likewise.
8739 [C99-based-standards] (PRIiFAST32): Likewise.
8740 [C99-based-standards] (PRIoFAST32): Likewise.
8741 [C99-based-standards] (PRIuFAST32): Likewise.
8742 [C99-based-standards] (PRIxFAST32): Likewise.
8743 [C99-based-standards] (PRIXFAST32): Likewise.
8744 [C99-based-standards] (SCNdFAST32): Likewise.
8745 [C99-based-standards] (SCNiFAST32): Likewise.
8746 [C99-based-standards] (SCNoFAST32): Likewise.
8747 [C99-based-standards] (SCNuFAST32): Likewise.
8748 [C99-based-standards] (SCNxFAST32): Likewise.
8749 [C99-based-standards] (PRId64): Likewise.
8750 [C99-based-standards] (PRIi64): Likewise.
8751 [C99-based-standards] (PRIo64): Likewise.
8752 [C99-based-standards] (PRIu64): Likewise.
8753 [C99-based-standards] (PRIx64): Likewise.
8754 [C99-based-standards] (PRIX64): Likewise.
8755 [C99-based-standards] (SCNd64): Likewise.
8756 [C99-based-standards] (SCNi64): Likewise.
8757 [C99-based-standards] (SCNo64): Likewise.
8758 [C99-based-standards] (SCNu64): Likewise.
8759 [C99-based-standards] (SCNx64): Likewise.
8760 [C99-based-standards] (PRIdLEAST64): Likewise.
8761 [C99-based-standards] (PRIiLEAST64): Likewise.
8762 [C99-based-standards] (PRIoLEAST64): Likewise.
8763 [C99-based-standards] (PRIuLEAST64): Likewise.
8764 [C99-based-standards] (PRIxLEAST64): Likewise.
8765 [C99-based-standards] (PRIXLEAST64): Likewise.
8766 [C99-based-standards] (SCNdLEAST64): Likewise.
8767 [C99-based-standards] (SCNiLEAST64): Likewise.
8768 [C99-based-standards] (SCNoLEAST64): Likewise.
8769 [C99-based-standards] (SCNuLEAST64): Likewise.
8770 [C99-based-standards] (SCNxLEAST64): Likewise.
8771 [C99-based-standards] (PRIdFAST64): Likewise.
8772 [C99-based-standards] (PRIiFAST64): Likewise.
8773 [C99-based-standards] (PRIoFAST64): Likewise.
8774 [C99-based-standards] (PRIuFAST64): Likewise.
8775 [C99-based-standards] (PRIxFAST64): Likewise.
8776 [C99-based-standards] (PRIXFAST64): Likewise.
8777 [C99-based-standards] (SCNdFAST64): Likewise.
8778 [C99-based-standards] (SCNiFAST64): Likewise.
8779 [C99-based-standards] (SCNoFAST64): Likewise.
8780 [C99-based-standards] (SCNuFAST64): Likewise.
8781 [C99-based-standards] (SCNxFAST64): Likewise.
8782 [C99-based-standards] (PRIdMAX): Likewise.
8783 [C99-based-standards] (PRIiMAX): Likewise.
8784 [C99-based-standards] (PRIoMAX): Likewise.
8785 [C99-based-standards] (PRIuMAX): Likewise.
8786 [C99-based-standards] (PRIxMAX): Likewise.
8787 [C99-based-standards] (PRIXMAX): Likewise.
8788 [C99-based-standards] (SCNdMAX): Likewise.
8789 [C99-based-standards] (SCNiMAX): Likewise.
8790 [C99-based-standards] (SCNoMAX): Likewise.
8791 [C99-based-standards] (SCNuMAX): Likewise.
8792 [C99-based-standards] (SCNxMAX): Likewise.
8793 [C99-based-standards] (PRIdPTR): Likewise.
8794 [C99-based-standards] (PRIiPTR): Likewise.
8795 [C99-based-standards] (PRIoPTR): Likewise.
8796 [C99-based-standards] (PRIuPTR): Likewise.
8797 [C99-based-standards] (PRIxPTR): Likewise.
8798 [C99-based-standards] (PRIXPTR): Likewise.
8799 [C99-based-standards] (SCNdPTR): Likewise.
8800 [C99-based-standards] (SCNiPTR): Likewise.
8801 [C99-based-standards] (SCNoPTR): Likewise.
8802 [C99-based-standards] (SCNuPTR): Likewise.
8803 [C99-based-standards] (SCNxPTR): Likewise.
8804 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8805 allow.
8806 * conform/data/stdint.h-data: Update comments to clarify
8807 requirements.
8808 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8809 type.
8810 [C99-based standards] (INT8_MAX): Likewise.
8811 [C99-based standards] (INT16_MIN): Likewise.
8812 [C99-based standards] (INT16_MAX): Likewise.
8813 [C99-based standards] (INT32_MIN): Likewise.
8814 [C99-based standards] (INT32_MAX): Likewise.
8815 [C99-based standards] (INT64_MIN): Likewise.
8816 [C99-based standards] (INT64_MAX): Likewise.
8817 [C99-based standards] (UINT8_MAX): Likewise.
8818 [C99-based standards] (UINT16_MAX): Likewise.
8819 [C99-based standards] (UINT32_MAX): Likewise.
8820 [C99-based standards] (UINT64_MAX): Likewise.
8821 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8822 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8823 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8824 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8825 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8826 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8827 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8828 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8829 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8830 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8831 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8832 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8833 [C99-based standards] (INT_FAST8_MIN): Likewise.
8834 [C99-based standards] (INT_FAST8_MAX): Likewise.
8835 [C99-based standards] (INT_FAST16_MIN): Likewise.
8836 [C99-based standards] (INT_FAST16_MAX): Likewise.
8837 [C99-based standards] (INT_FAST32_MIN): Likewise.
8838 [C99-based standards] (INT_FAST32_MAX): Likewise.
8839 [C99-based standards] (INT_FAST64_MIN): Likewise.
8840 [C99-based standards] (INT_FAST64_MAX): Likewise.
8841 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8842 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8843 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8844 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8845 [C99-based standards] (INTPTR_MIN): Likewise.
8846 [C99-based standards] (INTPTR_MAX): Likewise.
8847 [C99-based standards] (UINTPTR_MAX): Likewise.
8848 [C99-based standards] (INTMAX_MIN): Likewise.
8849 [C99-based standards] (INTMAX_MAX): Likewise.
8850 [C99-based standards] (UINTMAX_MAX): Likewise.
8851 [C99-based standards] (PTRDIFF_MIN): Likewise.
8852 [C99-based standards] (PTRDIFF_MAX): Likewise.
8853 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8854 [C99-based standards] (SIZE_MAX): Likewise.
8855 [C99-based standards] (WCHAR_MAX): Likewise.
8856 [C99-based standards] (WINT_MAX): Likewise.
8857 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8858 constraint on value.
8859 [C99-based standards] (WCHAR_MIN): Likewise.
8860 [C99-based standards] (WINT_MIN): Likewise.
8861 [C99-based standards] (*_t): Allow.
8862 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8863 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8864 Include math.h-data and complex.h-data. Remove all expectations
8865 of math.h and complex.h contents.
8866 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8867 at end of line.
8868 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8869 (struct tm): Expect tag.
8870 [C99-based-standards] (wcstof): Expect function.
8871 [C99-based-standards] (wcstold): Likewise.
8872 [C99-based-standards] (wcstoll): Likewise.
8873 [C99-based-standards] (wcstoull): Likewise.
8874 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8875 macro-int-constant. Specify type.
8876 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8877 constraint on value.
8878 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8879 Specify type.
8880 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8881 Specify value.
8882 [ISO C standards]: Do not allow headers.
8883 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8884 wcs[abcdefghijklmnopqrstuvwxyz]*.
8885 [ISO C standards] (*_t): Do not allow.
8886 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8887 Expect function.
8888 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8889 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8890 Specify type.
8891 [ISO C standards]: Do not allow headers.
8892 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8893 is[abcdefghijklmnopqrstuvwxyz]*.
8894 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8895 to[abcdefghijklmnopqrstuvwxyz]*.
8896 [ISO C standards] (*_t): Do not allow.
8897 * conform/data/stdalign.h-data: New file.
8898 * conform/data/stdbool.h-data: Likewise.
8899 * conform/data/stdnoreturn.h-data: Likewise.
8900
7514feb8
RM
89012012-11-07 Roland McGrath <roland@hack.frob.com>
8902
8903 [BZ #14815]
8904 * manual/filesys.texi (Directory Entries): Typo fix.
8905 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8906
19b2ecfc
MS
89072012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8908
8909 * elf/elf.h (EM_AARCH64): New macro.
8910 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8911 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8912 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8913 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8914 (R_AARCH64_TLSDESC): Likewise.
8915 (NT_ARM_TLS): Likewise.
8916 (NT_ARM_HW_BREAK): Likewise.
8917 (NT_ARM_HW_WATCH): Likewise.
8918
60e235ee
JM
89192012-11-07 Joseph Myers <joseph@codesourcery.com>
8920
8921 [BZ #14811]
8922 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8923 (__ieee754_powl): Saturate nonzero exponents with absolute value
8924 below 0x1p-79 to +/- 0x1p-79.
8925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8926 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8927 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8928 nonzero exponents with absolute value below 0x1p-32 to +/-
8929 0x1p-32.
8930 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8931 (__ieee754_powl): Saturate nonzero exponents with absolute value
8932 below 0x1p-79 to +/- 0x1p-79.
8933 * math/libm-test.inc (pow_test): Add more tests.
8934
0ab234b7
AK
89352012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8936
8937 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8938 _dl_s390_cap_flags with kernel. Increase string length.
8939 (_dl_s390_platforms): Add z196 and zEC12.
8940
45832f74
JM
89412012-11-07 Joseph Myers <joseph@codesourcery.com>
8942
8943 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8944 Change XOPEN21K to XOPEN2K.
8945
19218757
MK
89462012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8947
8948 * string/memmove.c: Use memcpy when possible.
8949
c5f45721
AJ
89502012-11-06 Andreas Jaeger <aj@suse.de>
8951
8952 * po/eo.po: Update from translation team.
8953
82477c28
JM
89542012-11-06 Joseph Myers <joseph@codesourcery.com>
8955
8956 [BZ #14793]
8957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8958 exponent and small x and y exponents, scale x or y up. Increase
8959 by 2 the exponent used in scaling up.
8960 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8961 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8962 * math/libm-test.inc (fma_test): Add more tests.
8963 (fma_test_towardzero): Likewise.
8964 (fma_test_downward): Likewise.
8965 (fma_test_upward): Likewise.
8966
99252c8c
JM
89672012-11-05 Joseph Myers <joseph@codesourcery.com>
8968
acfa885f
JM
8969 [BZ #14805]
8970 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8971 fenv_t *.
8972
99252c8c
JM
8973 [BZ #14801]
8974 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8975 namespace for names of struct fields.
8976 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8977 fenv_t fields.
8978 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8979 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8980
d6d98dea
ST
89812012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8982
8983 [BZ #3665]
8984 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8985
e10bb107
TS
89862012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8987
8988 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8989 PTR_DEMANGLE.
8990
8991 [BZ #5246]
8992 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8993 PTR_DEMANGLE.
8994
a0c2940d
JM
89952012-11-04 Joseph Myers <joseph@codesourcery.com>
8996
8997 [BZ #14797]
8998 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8999 definitely overflow as x * y not x * y + z.
9000 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9001 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9002 * math/libm-test.inc (fma_test): Add more tests.
9003 (fma_test_towardzero): Likewise.
9004 (fma_test_downward): Likewise.
9005 (fma_test_upward): Likewise.
9006
b830319d
TS
90072012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9008
9009 [BZ #157]
9010
9011 * include/stub-tag.h: Remove file.
9012 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9013 '#include' of it.
9014 * manual/maint.texi (Porting): Don't reference it.
9015 * Makerules ($(objpfx)stubs): Likewise.
9016 * dirent/closedir.c: Don't include <stub-tag.h>.
9017 * dirent/dirfd.c: Likewise.
9018 * dirent/fdopendir.c: Likewise.
9019 * dirent/getdents.c: Likewise.
9020 * dirent/getdents64.c: Likewise.
9021 * dirent/opendir.c: Likewise.
9022 * dirent/readdir.c: Likewise.
9023 * dirent/readdir64.c: Likewise.
9024 * dirent/readdir64_r.c: Likewise.
9025 * dirent/readdir_r.c: Likewise.
9026 * dirent/rewinddir.c: Likewise.
9027 * dirent/seekdir.c: Likewise.
9028 * dirent/telldir.c: Likewise.
9029 * gmon/profil.c: Likewise.
9030 * grp/setgroups.c: Likewise.
9031 * inet/if_index.c: Likewise.
9032 * io/access.c: Likewise.
9033 * io/chdir.c: Likewise.
9034 * io/chmod.c: Likewise.
9035 * io/chown.c: Likewise.
9036 * io/close.c: Likewise.
9037 * io/dup.c: Likewise.
9038 * io/dup2.c: Likewise.
9039 * io/dup3.c: Likewise.
9040 * io/euidaccess.c: Likewise.
9041 * io/faccessat.c: Likewise.
9042 * io/fchdir.c: Likewise.
9043 * io/fchmod.c: Likewise.
9044 * io/fchmodat.c: Likewise.
9045 * io/fchown.c: Likewise.
9046 * io/fchownat.c: Likewise.
9047 * io/fcntl.c: Likewise.
9048 * io/flock.c: Likewise.
9049 * io/fstatfs.c: Likewise.
9050 * io/fstatfs64.c: Likewise.
9051 * io/fstatvfs.c: Likewise.
9052 * io/fstatvfs64.c: Likewise.
9053 * io/futimens.c: Likewise.
9054 * io/fxstat.c: Likewise.
9055 * io/fxstat64.c: Likewise.
9056 * io/fxstatat.c: Likewise.
9057 * io/fxstatat64.c: Likewise.
9058 * io/getcwd.c: Likewise.
9059 * io/isatty.c: Likewise.
9060 * io/lchmod.c: Likewise.
9061 * io/lchown.c: Likewise.
9062 * io/link.c: Likewise.
9063 * io/linkat.c: Likewise.
9064 * io/lseek.c: Likewise.
9065 * io/lseek64.c: Likewise.
9066 * io/lxstat64.c: Likewise.
9067 * io/mkdir.c: Likewise.
9068 * io/mkdirat.c: Likewise.
9069 * io/mkfifo.c: Likewise.
9070 * io/mkfifoat.c: Likewise.
9071 * io/open.c: Likewise.
9072 * io/open64.c: Likewise.
9073 * io/openat.c: Likewise.
9074 * io/openat64.c: Likewise.
9075 * io/pipe.c: Likewise.
9076 * io/pipe2.c: Likewise.
9077 * io/poll.c: Likewise.
9078 * io/posix_fadvise.c: Likewise.
9079 * io/posix_fadvise64.c: Likewise.
9080 * io/posix_fallocate.c: Likewise.
9081 * io/posix_fallocate64.c: Likewise.
9082 * io/read.c: Likewise.
9083 * io/readlink.c: Likewise.
9084 * io/readlinkat.c: Likewise.
9085 * io/rmdir.c: Likewise.
9086 * io/sendfile.c: Likewise.
9087 * io/sendfile64.c: Likewise.
9088 * io/statfs.c: Likewise.
9089 * io/statfs64.c: Likewise.
9090 * io/statvfs.c: Likewise.
9091 * io/statvfs64.c: Likewise.
9092 * io/symlink.c: Likewise.
9093 * io/symlinkat.c: Likewise.
9094 * io/ttyname.c: Likewise.
9095 * io/ttyname_r.c: Likewise.
9096 * io/umask.c: Likewise.
9097 * io/unlink.c: Likewise.
9098 * io/unlinkat.c: Likewise.
9099 * io/utime.c: Likewise.
9100 * io/utimensat.c: Likewise.
9101 * io/write.c: Likewise.
9102 * io/xmknod.c: Likewise.
9103 * io/xmknodat.c: Likewise.
9104 * io/xstat.c: Likewise.
9105 * io/xstat64.c: Likewise.
9106 * login/getpt.c: Likewise.
9107 * login/grantpt.c: Likewise.
9108 * login/unlockpt.c: Likewise.
9109 * math/e_acoshl.c: Likewise.
9110 * math/e_acosl.c: Likewise.
9111 * math/e_asinl.c: Likewise.
9112 * math/e_atan2l.c: Likewise.
9113 * math/e_atanhl.c: Likewise.
9114 * math/e_coshl.c: Likewise.
9115 * math/e_expl.c: Likewise.
9116 * math/e_fmodl.c: Likewise.
9117 * math/e_gammal_r.c: Likewise.
9118 * math/e_hypotl.c: Likewise.
9119 * math/e_j0l.c: Likewise.
9120 * math/e_j1l.c: Likewise.
9121 * math/e_jnl.c: Likewise.
9122 * math/e_lgammal_r.c: Likewise.
9123 * math/e_log10l.c: Likewise.
9124 * math/e_log2l.c: Likewise.
9125 * math/e_logl.c: Likewise.
9126 * math/e_powl.c: Likewise.
9127 * math/e_rem_pio2l.c: Likewise.
9128 * math/e_sinhl.c: Likewise.
9129 * math/e_sqrtl.c: Likewise.
9130 * math/fclrexcpt.c: Likewise.
9131 * math/fedisblxcpt.c: Likewise.
9132 * math/feenablxcpt.c: Likewise.
9133 * math/fegetenv.c: Likewise.
9134 * math/fegetexcept.c: Likewise.
9135 * math/fegetround.c: Likewise.
9136 * math/feholdexcpt.c: Likewise.
9137 * math/fesetenv.c: Likewise.
9138 * math/fesetround.c: Likewise.
9139 * math/feupdateenv.c: Likewise.
9140 * math/fgetexcptflg.c: Likewise.
9141 * math/fraiseexcpt.c: Likewise.
9142 * math/fsetexcptflg.c: Likewise.
9143 * math/ftestexcept.c: Likewise.
9144 * math/k_cosl.c: Likewise.
9145 * math/k_rem_pio2l.c: Likewise.
9146 * math/k_sinl.c: Likewise.
9147 * math/k_tanl.c: Likewise.
9148 * math/s_asinhl.c: Likewise.
9149 * math/s_atanl.c: Likewise.
9150 * math/s_cbrtl.c: Likewise.
9151 * math/s_erfl.c: Likewise.
9152 * math/s_expm1l.c: Likewise.
9153 * math/s_log1pl.c: Likewise.
9154 * math/s_tanhl.c: Likewise.
9155 * misc/acct.c: Likewise.
9156 * misc/brk.c: Likewise.
9157 * misc/chflags.c: Likewise.
9158 * misc/chroot.c: Likewise.
9159 * misc/fchflags.c: Likewise.
9160 * misc/fgetxattr.c: Likewise.
9161 * misc/flistxattr.c: Likewise.
9162 * misc/fremovexattr.c: Likewise.
9163 * misc/fsetxattr.c: Likewise.
9164 * misc/fsync.c: Likewise.
9165 * misc/ftruncate.c: Likewise.
9166 * misc/futimes.c: Likewise.
9167 * misc/futimesat.c: Likewise.
9168 * misc/getdomain.c: Likewise.
9169 * misc/getdtsz.c: Likewise.
9170 * misc/gethostid.c: Likewise.
9171 * misc/gethostname.c: Likewise.
9172 * misc/getloadavg.c: Likewise.
9173 * misc/getpagesize.c: Likewise.
9174 * misc/getsysstats.c: Likewise.
9175 * misc/getxattr.c: Likewise.
9176 * misc/gtty.c: Likewise.
9177 * misc/ioctl.c: Likewise.
9178 * misc/lgetxattr.c: Likewise.
9179 * misc/listxattr.c: Likewise.
9180 * misc/llistxattr.c: Likewise.
9181 * misc/lremovexattr.c: Likewise.
9182 * misc/lsetxattr.c: Likewise.
9183 * misc/lutimes.c: Likewise.
9184 * misc/madvise.c: Likewise.
9185 * misc/mincore.c: Likewise.
9186 * misc/mlock.c: Likewise.
9187 * misc/mlockall.c: Likewise.
9188 * misc/mmap.c: Likewise.
9189 * misc/mprotect.c: Likewise.
9190 * misc/msync.c: Likewise.
9191 * misc/munlock.c: Likewise.
9192 * misc/munlockall.c: Likewise.
9193 * misc/munmap.c: Likewise.
9194 * misc/preadv.c: Likewise.
9195 * misc/preadv64.c: Likewise.
9196 * misc/ptrace.c: Likewise.
9197 * misc/pwritev.c: Likewise.
9198 * misc/pwritev64.c: Likewise.
9199 * misc/readv.c: Likewise.
9200 * misc/reboot.c: Likewise.
9201 * misc/remap_file_pages.c: Likewise.
9202 * misc/removexattr.c: Likewise.
9203 * misc/revoke.c: Likewise.
9204 * misc/select.c: Likewise.
9205 * misc/setdomain.c: Likewise.
9206 * misc/setegid.c: Likewise.
9207 * misc/seteuid.c: Likewise.
9208 * misc/sethostid.c: Likewise.
9209 * misc/sethostname.c: Likewise.
9210 * misc/setregid.c: Likewise.
9211 * misc/setreuid.c: Likewise.
9212 * misc/setxattr.c: Likewise.
9213 * misc/sstk.c: Likewise.
9214 * misc/stty.c: Likewise.
9215 * misc/swapoff.c: Likewise.
9216 * misc/swapon.c: Likewise.
9217 * misc/sync.c: Likewise.
9218 * misc/syncfs.c: Likewise.
9219 * misc/syscall.c: Likewise.
9220 * misc/truncate.c: Likewise.
9221 * misc/ualarm.c: Likewise.
9222 * misc/usleep.c: Likewise.
9223 * misc/ustat.c: Likewise.
9224 * misc/utimes.c: Likewise.
9225 * misc/vhangup.c: Likewise.
9226 * misc/writev.c: Likewise.
9227 * posix/_exit.c: Likewise.
9228 * posix/alarm.c: Likewise.
9229 * posix/execve.c: Likewise.
9230 * posix/fexecve.c: Likewise.
9231 * posix/fork.c: Likewise.
9232 * posix/fpathconf.c: Likewise.
9233 * posix/getaddrinfo.c: Likewise.
9234 * posix/getegid.c: Likewise.
9235 * posix/geteuid.c: Likewise.
9236 * posix/getgid.c: Likewise.
9237 * posix/getgroups.c: Likewise.
9238 * posix/getlogin.c: Likewise.
9239 * posix/getlogin_r.c: Likewise.
9240 * posix/getpgid.c: Likewise.
9241 * posix/getpid.c: Likewise.
9242 * posix/getppid.c: Likewise.
9243 * posix/getresgid.c: Likewise.
9244 * posix/getresuid.c: Likewise.
9245 * posix/getsid.c: Likewise.
9246 * posix/getuid.c: Likewise.
9247 * posix/glob64.c: Likewise.
9248 * posix/nanosleep.c: Likewise.
9249 * posix/pathconf.c: Likewise.
9250 * posix/pause.c: Likewise.
9251 * posix/posix_madvise.c: Likewise.
9252 * posix/pread.c: Likewise.
9253 * posix/pread64.c: Likewise.
9254 * posix/pwrite.c: Likewise.
9255 * posix/pwrite64.c: Likewise.
9256 * posix/sched_getaffinity.c: Likewise.
9257 * posix/sched_getp.c: Likewise.
9258 * posix/sched_gets.c: Likewise.
9259 * posix/sched_primax.c: Likewise.
9260 * posix/sched_primin.c: Likewise.
9261 * posix/sched_rr_gi.c: Likewise.
9262 * posix/sched_setaffinity.c: Likewise.
9263 * posix/sched_setp.c: Likewise.
9264 * posix/sched_sets.c: Likewise.
9265 * posix/sched_yield.c: Likewise.
9266 * posix/setgid.c: Likewise.
9267 * posix/setlogin.c: Likewise.
9268 * posix/setpgid.c: Likewise.
9269 * posix/setresgid.c: Likewise.
9270 * posix/setresuid.c: Likewise.
9271 * posix/setsid.c: Likewise.
9272 * posix/setuid.c: Likewise.
9273 * posix/sleep.c: Likewise.
9274 * posix/spawni.c: Likewise.
9275 * posix/sysconf.c: Likewise.
9276 * posix/times.c: Likewise.
9277 * posix/wait.c: Likewise.
9278 * posix/wait3.c: Likewise.
9279 * posix/wait4.c: Likewise.
9280 * posix/waitpid.c: Likewise.
9281 * resolv/gai_sigqueue.c: Likewise.
9282 * resource/getpriority.c: Likewise.
9283 * resource/getrlimit.c: Likewise.
9284 * resource/getrusage.c: Likewise.
9285 * resource/nice.c: Likewise.
9286 * resource/setpriority.c: Likewise.
9287 * resource/setrlimit.c: Likewise.
9288 * resource/ulimit.c: Likewise.
9289 * rt/aio_cancel.c: Likewise.
9290 * rt/aio_fsync.c: Likewise.
9291 * rt/aio_read.c: Likewise.
9292 * rt/aio_sigqueue.c: Likewise.
9293 * rt/aio_suspend.c: Likewise.
9294 * rt/aio_write.c: Likewise.
9295 * rt/clock_getres.c: Likewise.
9296 * rt/clock_gettime.c: Likewise.
9297 * rt/clock_nanosleep.c: Likewise.
9298 * rt/clock_settime.c: Likewise.
9299 * rt/lio_listio.c: Likewise.
9300 * rt/mq_close.c: Likewise.
9301 * rt/mq_getattr.c: Likewise.
9302 * rt/mq_notify.c: Likewise.
9303 * rt/mq_open.c: Likewise.
9304 * rt/mq_receive.c: Likewise.
9305 * rt/mq_send.c: Likewise.
9306 * rt/mq_setattr.c: Likewise.
9307 * rt/mq_timedreceive.c: Likewise.
9308 * rt/mq_timedsend.c: Likewise.
9309 * rt/mq_unlink.c: Likewise.
9310 * rt/shm_open.c: Likewise.
9311 * rt/shm_unlink.c: Likewise.
9312 * rt/timer_create.c: Likewise.
9313 * rt/timer_delete.c: Likewise.
9314 * rt/timer_getoverr.c: Likewise.
9315 * rt/timer_gettime.c: Likewise.
9316 * rt/timer_settime.c: Likewise.
9317 * setjmp/__longjmp.c: Likewise.
9318 * setjmp/setjmp.c: Likewise.
9319 * signal/kill.c: Likewise.
9320 * signal/killpg.c: Likewise.
9321 * signal/raise.c: Likewise.
9322 * signal/sigaction.c: Likewise.
9323 * signal/sigaltstack.c: Likewise.
9324 * signal/sigblock.c: Likewise.
9325 * signal/sigignore.c: Likewise.
9326 * signal/sigintr.c: Likewise.
9327 * signal/signal.c: Likewise.
9328 * signal/sigpause.c: Likewise.
9329 * signal/sigpending.c: Likewise.
9330 * signal/sigqueue.c: Likewise.
9331 * signal/sigreturn.c: Likewise.
9332 * signal/sigset.c: Likewise.
9333 * signal/sigsetmask.c: Likewise.
9334 * signal/sigstack.c: Likewise.
9335 * signal/sigsuspend.c: Likewise.
9336 * signal/sigtimedwait.c: Likewise.
9337 * signal/sigvec.c: Likewise.
9338 * signal/sigwait.c: Likewise.
9339 * signal/sigwaitinfo.c: Likewise.
9340 * signal/sysv_signal.c: Likewise.
9341 * socket/accept.c: Likewise.
9342 * socket/accept4.c: Likewise.
9343 * socket/bind.c: Likewise.
9344 * socket/connect.c: Likewise.
9345 * socket/getpeername.c: Likewise.
9346 * socket/getsockname.c: Likewise.
9347 * socket/getsockopt.c: Likewise.
9348 * socket/isfdtype.c: Likewise.
9349 * socket/listen.c: Likewise.
9350 * socket/recv.c: Likewise.
9351 * socket/recvfrom.c: Likewise.
9352 * socket/recvmsg.c: Likewise.
9353 * socket/send.c: Likewise.
9354 * socket/sendmsg.c: Likewise.
9355 * socket/sendto.c: Likewise.
9356 * socket/setsockopt.c: Likewise.
9357 * socket/shutdown.c: Likewise.
9358 * socket/sockatmark.c: Likewise.
9359 * socket/socket.c: Likewise.
9360 * socket/socketpair.c: Likewise.
9361 * stdio-common/ctermid.c: Likewise.
9362 * stdio-common/cuserid.c: Likewise.
9363 * stdio-common/remove.c: Likewise.
9364 * stdio-common/rename.c: Likewise.
9365 * stdio-common/renameat.c: Likewise.
9366 * stdio-common/tempname.c: Likewise.
9367 * stdlib/getcontext.c: Likewise.
9368 * stdlib/makecontext.c: Likewise.
9369 * stdlib/setcontext.c: Likewise.
9370 * stdlib/swapcontext.c: Likewise.
9371 * stdlib/system.c: Likewise.
9372 * streams/fattach.c: Likewise.
9373 * streams/fdetach.c: Likewise.
9374 * streams/getmsg.c: Likewise.
9375 * streams/getpmsg.c: Likewise.
9376 * streams/putmsg.c: Likewise.
9377 * streams/putpmsg.c: Likewise.
9378 * sysdeps/unix/bsd/getpt.c: Likewise.
9379 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9380 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9381 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9383 Likewise.
9384 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9385 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9386 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9387 * sysvipc/msgctl.c: Likewise.
9388 * sysvipc/msgget.c: Likewise.
9389 * sysvipc/msgrcv.c: Likewise.
9390 * sysvipc/msgsnd.c: Likewise.
9391 * sysvipc/semctl.c: Likewise.
9392 * sysvipc/semget.c: Likewise.
9393 * sysvipc/semop.c: Likewise.
9394 * sysvipc/semtimedop.c: Likewise.
9395 * sysvipc/shmat.c: Likewise.
9396 * sysvipc/shmctl.c: Likewise.
9397 * sysvipc/shmdt.c: Likewise.
9398 * sysvipc/shmget.c: Likewise.
9399 * termios/tcdrain.c: Likewise.
9400 * termios/tcflow.c: Likewise.
9401 * termios/tcflush.c: Likewise.
9402 * termios/tcgetattr.c: Likewise.
9403 * termios/tcgetpgrp.c: Likewise.
9404 * termios/tcsendbrk.c: Likewise.
9405 * termios/tcsetattr.c: Likewise.
9406 * termios/tcsetpgrp.c: Likewise.
9407 * time/adjtime.c: Likewise.
9408 * time/clock.c: Likewise.
9409 * time/getitimer.c: Likewise.
9410 * time/gettimeofday.c: Likewise.
9411 * time/setitimer.c: Likewise.
9412 * time/settimeofday.c: Likewise.
9413 * time/stime.c: Likewise.
9414 * time/time.c: Likewise.
9415
94162012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 9417
a20492cf
PT
9418 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9419 /usr/old/bin.
9420
72e182e3
PT
9421 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9422 instead of spaces.
9423 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9424
fbeafede
JM
94252012-11-03 Joseph Myers <joseph@codesourcery.com>
9426
5b5b04d6
JM
9427 [BZ #14796]
9428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9429 FE_TONEAREST before applying Dekker multiplication and Knuth
9430 addition. Clear inexact exceptions and check for exact zero
9431 results afterwards.
9432 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9433 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9434 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9435 * math/libm-test.inc (fma_test): Add more tests.
9436 (fma_test_towardzero): Likewise.
9437 (fma_test_downward): Likewise.
9438 (fma_test_upward): Likewise.
9439 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9440 function.
9441 (libc_fesetround): New macro.
9442 (libc_fesetroundf): Likewise.
9443 (libc_fesetroundl): Likewise.
9444 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9445 function.
9446 (libc_fesetround_387): Likewise.
9447 (libc_fesetroundf): New macro.
9448 (libc_fesetround): Likewise.
9449 (libc_fesetroundl): Likewise.
9450 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9451 function.
9452 (libc_fesetroundf): New macro.
9453 (libc_fesetround): Likewise.
9454 (libc_fesetroundl): Likewise.
9455 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9456 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9457 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9458 libm_hidden_ver.
9459 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9460 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9461 libm_hidden_def.
9462 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9463 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9464 libm_hidden_ver.
9465 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9466 libm_hidden_def.
9467
fbeafede
JM
9468 [BZ #3439]
9469 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9470 integer constant usable in #if and use that to give value to enum
9471 constant.
9472 (FE_DIVBYZERO): Likewise.
9473 (FE_UNDERFLOW): Likewise.
9474 (FE_OVERFLOW): Likewise.
9475 (FE_INVALID): Likewise.
9476 (FE_INVALID_SNAN): Likewise.
9477 (FE_INVALID_ISI): Likewise.
9478 (FE_INVALID_IDI): Likewise.
9479 (FE_INVALID_ZDZ): Likewise.
9480 (FE_INVALID_IMZ): Likewise.
9481 (FE_INVALID_COMPARE): Likewise.
9482 (FE_INVALID_SOFTWARE): Likewise.
9483 (FE_INVALID_SQRT): Likewise.
9484 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9485 (FE_TONEAREST): Likewise.
9486 (FE_TOWARDZERO): Likewise.
9487 (FE_UPWARD): Likewise.
9488 (FE_DOWNWARD): Likewise.
9489 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9490 (FE_DIVBYZERO): Likewise.
9491 (FE_OVERFLOW): Likewise.
9492 (FE_UNDERFLOW): Likewise.
9493 (FE_INEXACT): Likewise.
9494 (FE_TONEAREST): Likewise.
9495 (FE_DOWNWARD): Likewise.
9496 (FE_UPWARD): Likewise.
9497 (FE_TOWARDZERO): Likewise.
9498 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9499 (FE_UNDERFLOW): Likewise.
9500 (FE_OVERFLOW): Likewise.
9501 (FE_DIVBYZERO): Likewise.
9502 (FE_INVALID): Likewise.
9503 (FE_TONEAREST): Likewise.
9504 (FE_TOWARDZERO): Likewise.
9505 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9506 (FE_OVERFLOW): Likewise.
9507 (FE_UNDERFLOW): Likewise.
9508 (FE_DIVBYZERO): Likewise.
9509 (FE_INEXACT): Likewise.
9510 (FE_TONEAREST): Likewise.
9511 (FE_TOWARDZERO): Likewise.
9512 (FE_UPWARD): Likewise.
9513 (FE_DOWNWARD): Likewise.
9514 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9515 (FE_DIVBYZERO): Likewise.
9516 (FE_OVERFLOW): Likewise.
9517 (FE_UNDERFLOW): Likewise.
9518 (FE_INEXACT): Likewise.
9519 (FE_TONEAREST): Likewise.
9520 (FE_DOWNWARD): Likewise.
9521 (FE_UPWARD): Likewise.
9522 (FE_TOWARDZERO): Likewise.
9523
105ca950
CM
95242012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9525
9526 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9527
a542b389
AS
95282012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9529
9530 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9531 commands. Quote $PWD.
9532 (blacklist_exports): Don't use remove_newlines. Replace "declare
9533 -x" by "export".
9534 (remove_newlines): Remove.
9535
f62c8abc
L
95362012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9537
9538 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9539 * stdlib/stdlib.h (atof): Moved to ...
9540 * include/bits/stdlib-float.h: Here. New file.
9541 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9542 * stdlib/bits/stdlib-float.h: New file.
9543 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9544 -mno-sse -mno-mmx.
9545 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9546 <xmmintrin.h>.
9547
0155d5b2
JM
95482012-11-02 Joseph Myers <joseph@codesourcery.com>
9549
a68d0680
JM
9550 * conform/conformtest.pl (@headers): Add fenv.h.
9551 * conform/data/fenv.h-data: New file.
9552 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9553 include of <math/fenv.h>.
9554
caf7f573
JM
9555 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9556 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9557 && !UNIX98]. Enables tests for XOPEN2K8.
9558 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9559 POSIX2008]: Likewise.
9560
6c073ad6
JM
9561 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9562 (struct rusage): Do not expect type or its members.
9563
0155d5b2
JM
9564 [BZ #3439]
9565 * math/math.h (FP_NAN): Define macro to integer constant usable in
9566 #if and use that to give value to enum constant.
9567 (FP_INFINITE): Likewise.
9568 (FP_ZERO): Likewise.
9569 (FP_SUBNORMAL): Likewise.
9570 (FP_NORMAL): Likewise.
9571
b5dcacb4
AS
95722012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9573
9574 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9575 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9576 arguments.
9577
f7934be8
RM
95782012-11-02 Roland McGrath <roland@hack.frob.com>
9579
9580 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9581 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9582 autoconf-time if not.
9583 * configure.in: Remove AC_PREREQ.
9584
d7d08bde
TMQMF
95852012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9586
9587 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9588 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9589 of the internal implementation.
9590
dcdae19a
JM
95912012-11-02 Joseph Myers <joseph@codesourcery.com>
9592
9593 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9594 except include of <misc/sys/syslog.h>.
9595
d6cffd3e
AS
95962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9597
9598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9599 function returns with a NULL context exit with zero.
9600
b3563932
TMQMF
96012012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9602
9603 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9604
b288a93d
L
96052012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9606
9607 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9608 (run_program_cmd): This.
9609 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9610 (tst_langinfo): New variable. Use it.
9611
a2421a68
SAS
96122012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9613
9614 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9615 floating point opcodes.
9616
6f796e1b
TS
96172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9618
7402596b
TS
9619 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9620 variable.
9621
d0d4f868
TS
9622 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9623
6f796e1b
TS
9624 * sysdeps/mach/hurd/powerpc: Remove directory.
9625 * sysdeps/mach/powerpc: Likewise.
9626
4da224a2
AS
96272012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9628
9629 * scripts/check-local-headers.sh: Ignore c++ headers.
9630
341dd673
TS
96312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9632
9633 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9634 __libc_cleanup_region_start argument.
9635
473611b2
JM
96362012-11-01 Joseph Myers <joseph@codesourcery.com>
9637
9638 [BZ #14784]
9639 [BZ #14785]
9640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9641 x * y using scaling, not as x * y + z.
9642 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9643 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9644 * math/libm-test.inc (fma_test): Add more tests.
9645 (fma_test_towardzero): Likewise.
9646 (fma_test_downward): Likewise.
9647 (fma_test_upward): Likewise.
9648
4078da3d
TS
96492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9650
9651 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9652
903252aa
JM
96532012-10-31 Joseph Myers <joseph@codesourcery.com>
9654
9655 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9656 New variable.
9657
cbc818d0
TS
96582012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9659
9660 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9661
5a03cb1e
AS
96622012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9663
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9665 Fix sort order.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9667 Likewise.
9668
90aff2ff
TMQMF
96692012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9670
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9672 Fix the order of the list for glibc 2.17.
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9674 Likewise.
9675
1818fcb7
AS
96762012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9677
9678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9679
ef82f4da
JM
96802012-10-31 Joseph Myers <joseph@codesourcery.com>
9681
16a0e2ec
JM
9682 [BZ #14610]
9683 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9684 for low part of x being zero before using __atanl (y).
9685 * math/libm-test.inc (atan2_test): Add another test.
9686
0eb69512
JM
9687 * manual/install.texi (Configuring and compiling): Document
9688 general use of test-wrapper and test-wrapper-env.
9689 * INSTALL: Regenerated.
9690
ef82f4da
JM
9691 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9692 (__fma): Do not extract and scale down low bits on after-rounding
9693 systems when result rounded to normal precision would have normal
9694 exponent.
9695 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9696 (__fmal): Do not extract and scale down low bits on after-rounding
9697 systems when result rounded to normal precision would have normal
9698 exponent.
9699 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9700 (__fmal): Do not extract and scale down low bits on after-rounding
9701 systems when result rounded to normal precision would have normal
9702 exponent.
9703 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9704 macro.
9705 (fma_test): Add more tests.
9706 (fma_test_towardzero): Likewise.
9707 (fma_test_downward): Likewise.
9708 (fma_test_upward): Likewise.
9709
954ef0d9
L
97102012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9711
9712 * sysdeps/i386/tininess.h: Renamed to ...
9713 * sysdeps/x86/tininess.h: This.
9714 * sysdeps/x86_64/tininess.h: Removed.
9715
df61ffb2
JM
97162012-10-30 Joseph Myers <joseph@codesourcery.com>
9717
9718 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9719 input. Use $(build-program-cmd).
9720 ($(objpfx)tst-array1-static.out): Likewise.
9721 ($(objpfx)tst-array2.out): Likewise.
9722 ($(objpfx)tst-array3.out): Likewise.
9723 ($(objpfx)tst-array4.out): Likewise.
9724 ($(objpfx)tst-array5.out): Likewise.
9725 ($(objpfx)tst-array5-static.out): Likewise.
9726
01767843
CM
97272012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9728
47cc1490
CM
9729 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9730 if defined.
9731
01767843
CM
9732 * nss/nsswitch.h (nss_interface_function): Provide new
9733 macro for use with NSS functions.
9734 * grp/initgroups.c: Use new macro.
9735 * nss/getXXbyYY.c: Likewise.
9736 * nss/getXXbyYY_r.c: Likewise.
9737 * nss/getXXent.c: Likewise.
9738 * nss/getXXent_r.c: Likewise.
9739 * sysdeps/posix/getaddrinfo.c: Likewise.
9740
8321aa97
AJ
97412012-10-30 Andreas Jaeger <aj@suse.de>
9742
9743 * po/ru.po: Update Russion translation from translation project.
9744
2a27fd6d
JM
97452012-10-30 Joseph Myers <joseph@codesourcery.com>
9746
8627a232
JM
9747 [BZ #14152]
9748 [BZ #14783]
9749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9750 result and shift together with sticky bit instead of replicating
9751 round-to-nearest rounding.
9752 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9753 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9754 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9755 missing underflow exceptions.
9756 (fma_test_towardzero): Add more tests.
9757 (fma_test_downward): Likewise.
9758 (fma_test_upward): Likewise.
9759
2a27fd6d
JM
9760 [BZ #14047]
9761 * sysdeps/generic/tininess.h: New file.
9762 * sysdeps/i386/tininess.h: Likewise.
9763 * sysdeps/sh/tininess.h: Likewise.
9764 * sysdeps/x86_64/tininess.h: Likewise.
9765 * stdlib/tst-strtod-underflow.c: Likewise.
9766 * stdlib/tst-tininess.c: Likewise.
9767 * stdlib/strtod_l.c: Include <tininess.h>.
9768 (round_and_return): Do not set errno for exact underflow cases.
9769 Force an underflow exception when setting errno for underflow.
9770 Determine underflow based on rounding to normal precision if
9771 TININESS_AFTER_ROUNDING.
9772 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9773 ERANGE for exact underflow cases.
9774 * stdlib/Makefile (tests): Add tst-tininess and
9775 tst-strtod-underflow.
9776 ($(objpfx)tst-tininess): Use $(link-libm).
9777 ($(objpfx)tst-strtod-underflow): Likewise.
9778
e7170363
AJ
97792012-10-30 Andreas Jaeger <aj@suse.de>
9780
e5088dc6
AJ
9781 [BZ#14767]
9782 * elf/Makefile (tests): Remove conditional for have-initfini-array
9783 since this is now always required and the variable does not exist
9784 anymore.
9785 (tests-static): Likewise.
9786 (modules-names): Likewise.
9787
e7170363 9788 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
9789
9790 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9791 merged with constructor/destructor.
9792 (init_array): Likewise.
9793 * elf/tst-array2dep.c (fini_array): Likewise.
9794 (init_array): Likewise.
9795
60457d8a
MF
97962012-10-29 Mike Frysinger <vapier@gentoo.org>
9797
9798 * manual/message.texi: Delete @cartouche tags.
9799
8bece752
PT
98002012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9801
94ce799f
PT
9802 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9803 EOPNOTSUPP.
9804 * sysdeps/mach/hurd/fsync.c: Likewise.
9805
8bece752
PT
9806 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9807 [_POSIX_REALTIME_SIGNALS]: Change condition to
9808 [_POSIX_REALTIME_SIGNALS > 0].
9809
86ebe6b1
AJ
98102012-10-27 Andreas Jaeger <aj@suse.de>
9811
9812 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9813 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9814 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9815 [__WORDSIZE != 64]: Likewise.
9816
54399c08
L
98172012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9818
9819 * iconvdata/tst-table.sh: Remove ${SHELL}.
9820 * iconvdata/tst-tables.sh: Likewise.
9821
e2211bed
DM
98222012-10-25 David S. Miller <davem@davemloft.net>
9823
9824 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9825 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9826 of strtoull.
9827
f303f97c
DM
9828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9829 ifunc-impl-list.c
9830 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9831 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9832 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9833 file.
9834
1e9d84cd
RM
98352012-10-25 Roland McGrath <roland@hack.frob.com>
9836
9837 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9838 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9839 __getdirentries.
9840
df381762
JM
98412012-10-25 Joseph Myers <joseph@codesourcery.com>
9842 Jim Blandy <jimb@codesourcery.com>
9843
9844 * scripts/cross-test-ssh.sh: New file.
9845 * manual/install.texi (Configuring and compiling): Document use of
9846 cross-test-ssh.sh.
9847 * INSTALL: Regenerated.
9848
bff64913
PT
98492012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9850
9851 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9852 EOPNOTSUPP.
9853
25fe8932
JM
98542012-10-25 Joseph Myers <joseph@codesourcery.com>
9855
9856 * Makeconfig (run-program-prefix): Fix comment.
9857
cc1290d0
JM
98582012-10-24 Joseph Myers <joseph@codesourcery.com>
9859 Jim Blandy <jimb@codesourcery.com>
9860
9861 * Makeconfig (test-wrapper): New variable,
9862 (test-wrapper-env): Likewise.
9863 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9864 (run-built-tests): Define to yes.
9865 (run-program-prefix): Use $(test-wrapper).
9866 (built-program-cmd): Likewise.
9867 * Rules (make-test-out): Use $(test-wrapper-env) and
9868 $(host-built-program-cmd).
9869 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9870 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9871 tst-pathopt.sh.
9872 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9873 $(test-wrapper-env) to tst-rtld-load-self.sh.
9874 ($(objpfx)order2.out): Use $(test-wrapper).
9875 ($(objpfx)tst-initorder.out): Likewise.
9876 ($(objpfx)tst-initorder2.out): Likewise.
9877 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9878 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9879 (test_wrapper_env): New variable. Use it to run ld.so.
9880 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9881 Use it to run ld.so.
9882 (test_wrapper_env): Likewise.
9883 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9884 $(test-wrapper) to run-iconv-test.sh.
9885 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9886 (ICONV): Use $test_wrapper.
9887 * posix/Makefile ($(objpfx)globtest.out): Pass
9888 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9889 globtest.sh, not $(run-program-prefix).
9890 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9891 (test_wrapper): Likewise.
9892 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9893 set together with run_via_rtld_prefix.
9894 (run_program_prefix): Define in terms of test_wrapper and
9895 run_via_rtld_prefix.
9896
6e6249d0
RM
98972012-10-24 Roland McGrath <roland@hack.frob.com>
9898
9899 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9900 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9901 Targets removed.
9902
9903 [BZ #14743]
9904 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9905 Declare __clock_getres, __clock_gettime, __clock_settime,
9906 __clock_nanosleep, and __clock_getcpuclockid.
9907 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9908 Remove librt_hidden_def (clock_gettime).
9909 * sysdeps/unix/clock_gettime.c: Likewise.
9910 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9911 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9912 * rt/clock_getres.c: Define __clock_getres as an alias.
9913 * sysdeps/posix/clock_getres.c: Likewise.
9914 * rt/clock_settime.c: Define __clock_settime as an alias.
9915 * sysdeps/unix/clock_settime.c: Likewise.
9916 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9917 * sysdeps/unix/clock_nanosleep.c: Likewise.
9918 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9919 * rt/clock-compat.c: New file.
9920 * rt/Makefile (librt-routines): Add clock-compat and move
9921 $(clock-routines) to ...
9922 (routines): ... here, new variable.
9923 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9924 Don't add get_clockfreq here.
9925 * rt/Versions (libc: GLIBC_2.17): New version set.
9926 Add clock_* symbols here.
9927 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9928 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9929 (GLIBC_2.17): Add clock_* symbols.
9930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9932 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9934 Likewise.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9936 Likewise.
9937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9941 * NEWS: Mention the move.
9942
9943 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9944 Use __open, __read, __close rather than their public counterparts.
9945 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9946 (__get_clockfreq_via_cpuinfo): Likewise.
9947 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9948 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9949
9950 * config.h.in (HAVE_IFUNC): New #undef.
9951 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9952 was successful.
9953 * configure: Regenerated.
9954
0cae3f4b
MF
99552012-10-24 Mike Frysinger <vapier@gentoo.org>
9956
9957 * configure.in: Move READELF check to start of file.
9958 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9959 libc_cv_asm_gnu_indirect_function in the process.
9960 * configure: Regenerated.
9961
8175a253
MF
99622012-10-24 Mike Frysinger <vapier@gentoo.org>
9963
9964 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9965 send the output to /dev/null.
9966 (libc_cv_cc_with_libunwind): Likewise.
9967 (libc_cv_as_noexecstack): Likewise.
9968 * configure: Regenerate.
9969
0708a7d1
JM
99702012-10-24 Joseph Myers <joseph@codesourcery.com>
9971
10b40d85
JM
9972 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9973
0708a7d1
JM
9974 * posix/globtest.sh (TMPDIR): Do not set.
9975 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9976 (testout): Likewise.
9977
9fddec1a
AJ
99782012-10-24 Andreas Jaeger <aj@suse.de>
9979
3a8db22f
AJ
9980 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9981 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9982 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9983 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9984 posix_fadvise64, posix_fallocate64.
9985
9fddec1a
AJ
9986 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9987 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9988 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9989 Likewise.
9990 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9991 Likewise.
9992 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9993
9994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9995 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9996 <bits/fcntl-linux.h>.
9997 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9998
9999 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10000 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10001 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10002 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10003 [__WORDSIZE != 64]: Likewise.
10004
ebfd1bbd
JM
100052012-10-23 Joseph Myers <joseph@codesourcery.com>
10006
03ac099f
JM
10007 * Makeconfig (run-built-tests): New variable.
10008 * Rules [$(cross-compiling) = yes]: Change condition to
10009 [$(run-built-tests) = no].
10010 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10011 to [$(run-built-tests) = yes].
10012 * elf/Makefile [$(cross-compiling) = no]: Likewise
10013 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10014 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10015 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10016 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10017 * io/Makefile [$(cross-compiling) = no]: Likewise.
10018 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10019 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10020 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10021 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10022 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10023 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10024 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10025 * string/Makefile [$(cross-compiling) = no]: Likewise.
10026
ebfd1bbd
JM
10027 * posix/Makefile ($(objpfx)globtest.out): Pass
10028 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10029 $(rtld-installed-name).
10030 * posix/globtest.sh (elf_objpfx): Remove variable.
10031 (rtld_installed_name): Likewise.
10032 (library_path): Likewise.
10033 (run_program_prefix): New variable. Use for running globtest
10034 binary.
10035
166bca24
JB
100362012-10-23 Jim Blandy <jimb@codesourcery.com>
10037 Joseph Myers <joseph@codesourcery.com>
10038
10039 * Makeconfig (host-built-program-cmd): New variable.
10040 * elf/Makefile (tst-stackguard1-ARGS): Use
10041 $(host-built-program-cmd).
10042 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10043 (tst-spawn-ARGS): Likewise.
10044 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10045
88866099
JM
100462012-10-23 Joseph Myers <joseph@codesourcery.com>
10047 Jim Blandy <jimb@codesourcery.com>
10048
10049 * Makeconfig (run-via-rtld-prefix): New variable.
10050 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10051 (built-program-cmd): Likewise.
10052
b4b4c296
AJ
100532012-10-22 Andreas Jaeger <aj@suse.de>
10054
10055 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10056 __O_RSYNC if it exists, otherwise to O_SYNC.
10057
6fb54a22
JB
100582012-10-22 Jim Blandy <jimb@codesourcery.com>
10059 Joseph Myers <joseph@codesourcery.com>
10060
10061 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10062 /dev/null.
10063 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10064 from /dev/null
10065 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10066 /dev/null.
10067
481b90b9
AJ
100682012-10-22 Andreas Jaeger <aj@suse.de>
10069
2a0e2669
AJ
10070 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10071 Define always.
10072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10073
76e38f9a
AJ
10074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10075 bits/fcntl-linux.h.
10076
7cd37b43
AJ
10077 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10078 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10079
481b90b9
AJ
10080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10081 to __O_LARGEFILE.
10082 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10083 to __O_LARGEFILE.
10084
aba75984
JB
100852012-10-21 Jim Blandy <jimb@codesourcery.com>
10086 Joseph Myers <joseph@codesourcery.com>
10087
10088 * config.make.in (NM): New variable.
10089
88d4247f
AJ
100902012-10-21 Andreas Jaeger <aj@suse.de>
10091
10092 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10093 definitions and declarations that are provided by
10094 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10095
f2eed205
L
100962012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10097
10098 [BZ #14683]
10099 * elf/Makefile (tests-static): Add tst-leaks1-static.
10100 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10101 ($(objpfx)tst-leaks1-static): New rule.
10102 ($(objpfx)tst-leaks1-static-mem): Likewise.
10103 (tst-leaks1-static-ENV): New macro.
10104 * elf/dl-open.c (dl_open_worker): Check the main application
10105 only if SHARED is defined.
10106 * elf/tst-leaks1-static.c: New file.
10107
335e6931
AJ
101082012-10-20 Andreas Jaeger <aj@suse.de>
10109
10110 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10111 generic values for Linux.
10112 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10113 and declarations that are provided by <bits/fcntl-linux.h> and
10114 include <bits/fcntl-linux.h>.
10115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10117
ac5c94d3
RM
101182012-10-20 Roland McGrath <roland@hack.frob.com>
10119
10120 * io/fcntl.h: Move include of <bits/types.h> to the top and
10121 include it unconditionally.
10122
de54b33a
L
101232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10124
228cfb01
L
10125 * wcsmbs/Makefile (tests-ifunc): New variable.
10126 (tests): Add $(tests-ifunc).
10127 * wcsmbs/test-wcschr-ifunc.c: New file.
10128 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10129 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10130 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10131 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10132 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10133
69f07e5f
L
10134 * string/Makefile (tests-ifunc): New variable.
10135 (tests): Add $(tests-ifunc).
10136 * string/test-memccpy.c (TEST_NAME): New macro.
10137 * string/test-memchr.c (TEST_NAME): Likewise.
10138 * string/test-memcmp.c (TEST_NAME): Likewise.
10139 * string/test-memcpy.c (TEST_NAME): Likewise.
10140 * string/test-memmem.c (TEST_NAME): Likewise.
10141 * string/test-memmove.c (TEST_NAME): Likewise.
10142 * string/test-memset.c (TEST_NAME): Likewise.
10143 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10144 * string/test-stpcpy.c (TEST_NAME): Likewise.
10145 * string/test-stpncpy.c (TEST_NAME): Likewise.
10146 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10147 * string/test-strcasestr.c (TEST_NAME): Likewise.
10148 * string/test-strcat.c (TEST_NAME): Likewise.
10149 * string/test-strchr.c (TEST_NAME): Likewise.
10150 * string/test-strcmp.c(TEST_NAME): Likewise.
10151 * string/test-strcpy.c (TEST_NAME): Likewise.
10152 * string/test-strcspn.c (TEST_NAME): Likewise.
10153 * string/test-strlen.c (TEST_NAME): Likewise.
10154 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10155 * string/test-strncmp.c (TEST_NAME): Likewise.
10156 * string/test-strncpy.c (TEST_NAME): Likewise.
10157 * string/test-strnlen.c (TEST_NAME): Likewise.
10158 * string/test-strpbrk.c (TEST_NAME): Likewise.
10159 * string/test-strrchr.c (TEST_NAME): Likewise.
10160 * string/test-strspn.c (TEST_NAME): Likewise.
10161 * string/test-strstr.c (TEST_NAME): Likewise.
10162 * string/test-bcopy-ifunc.c: New file.
10163 * string/test-bzero-ifunc.c: Likewise.
10164 * string/test-memccpy-ifunc.c: Likewise.
10165 * string/test-memchr-ifunc.c: Likewise.
10166 * string/test-memcmp-ifunc.c: Likewise.
10167 * string/test-memcpy-ifunc.c: Likewise.
10168 * string/test-memmem-ifunc.c: Likewise.
10169 * string/test-memmove-ifunc.c: Likewise.
10170 * string/test-mempcpy-ifunc.c: Likewise.
10171 * string/test-memset-ifunc.c: Likewise.
10172 * string/test-rawmemchr-ifunc.c: Likewise.
10173 * string/test-stpcpy-ifunc.c: Likewise.
10174 * string/test-stpncpy-ifunc.c: Likewise.
10175 * string/test-strcasecmp-ifunc.c: Likewise.
10176 * string/test-strcasestr-ifunc.c: Likewise.
10177 * string/test-strcat-ifunc.c: Likewise.
10178 * string/test-strchr-ifunc.c: Likewise.
10179 * string/test-strchrnul-ifunc.c: Likewise.
10180 * string/test-strcmp-ifunc.c: Likewise.
10181 * string/test-strcpy-ifunc.c: Likewise.
10182 * string/test-strcspn-ifunc.c: Likewise.
10183 * string/test-strlen-ifunc.c: Likewise.
10184 * string/test-strncasecmp-ifunc.c: Likewise.
10185 * string/test-strncat-ifunc.c: Likewise.
10186 * string/test-strncmp-ifunc.c: Likewise.
10187 * string/test-strncpy-ifunc.c: Likewise.
10188 * string/test-strnlen-ifunc.c: Likewise.
10189 * string/test-strpbrk-ifunc.c: Likewise.
10190 * string/test-strrchr-ifunc.c: Likewise.
10191 * string/test-strspn-ifunc.c: Likewise.
10192 * string/test-strstr-ifunc.c: Likewise.
10193
de54b33a
L
10194 * debug/Makefile (tests-ifunc): New variable.
10195 (tests): Add $(tests-ifunc).
10196 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10197 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10198 * debug/test-stpcpy_chk-ifunc.c: New file.
10199 * debug/test-strcpy_chk-ifunc.c: Likewise.
10200
88481c16
SP
102012012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10202
10203 [BZ #13601]
10204 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10205 header is not read in.
10206
135948bd
JM
102072012-10-19 Joseph Myers <joseph@codesourcery.com>
10208
89f1c388
JM
10209 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10210 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10211 directly. Pass built executable to script as
10212 $(built-program-cmd).
10213 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10214 $testprogram without using LD_LIBRARY_PATH and $ldso.
10215
e40a0d21
JM
10216 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10217 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10218 $(rtld-installed-name).
10219 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10220 (rtld_installed_name): Likewise.
10221 (library_path): Likewise.
10222 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10223 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10224 $(run-program-prefix) to tst-tables.sh.
10225 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10226 it to run tst-table-from and tst-table-to.
10227 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10228 Pass it to tst-table.sh.
10229 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10230 $(run-program-prefix) to tst-gettext.sh.
10231 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10232 tst-translit.sh.
10233 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10234 tst-gettext2.sh.
10235 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10236 to run tst-gettext.
10237 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10238 to run tst-gettext2.
10239 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10240 to run tst-translit.
10241 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10242 $(run-program-prefix) to tst-mtrace.sh.
10243 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10244 to run tst-mtrace.
10245 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10246 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10247 $(rtld-installed-name).
10248 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10249 (rtld_installed_name): Likewise.
10250 (run_program_prefix): New variable. Use it to run wordexp-test.
10251
728e272a
JM
10252 * Makeconfig (ARCH): Remove all definitions.
10253 (machine): Likewise.
10254 [ARCH]: Remove conditional code.
10255 [!objdir]: Give error.
10256 [!objdir] (objpfx): Remove.
10257 [!objdir] (common-objpfx): Likewise.
10258 [!objdir] (common-objdir): Likewise.
10259 * configure.in (config_makefile): Remove. Hardcode Makefile in
10260 AC_CONFIG_FILES call.
10261 * configure: Regenerated.
10262
d528cdcf
JM
10263 [BZ #13888]
10264 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10265 or TMPDIR.
10266 (testout): Likewise.
10267
135948bd
JM
10268 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10269 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10270 $(rtld-installed-name).
10271 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10272 (rtld_installed_name): Likwise.
10273 (runit): Remove function.
10274 (run_getconf): New variable, Use it for running getconf binary.
10275
38c78296
L
102762012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10277
10278 [BZ #14716]
10279 * string/test-memmem.c (check_result): New function.
10280 (do_one_test): Use it.
10281 (check1): New function.
10282 (test_main): Use it.
10283
d077f65f
MT
102842012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10285
10286 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10287
ced52c71
JM
102882012-10-18 Joseph Myers <joseph@codesourcery.com>
10289
10290 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10291 (_G_LSEEK64): Likewise.
10292 (_G_MMAP64): Likewise.
10293 (_G_FSTAT64): Likewise.
10294 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10295 (_G_LSEEK64): Likewise.
10296 (_G_MMAP64): Likewise.
10297 (_G_FSTAT64): Likewise.
10298 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10299 unconditional. Call __mmap64 directly.
10300 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10301 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10302 __lseek64 directly.
10303 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10304 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10305 __mmap64 directly.
10306 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10307 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10308 __lseek64 directly.
10309 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10310 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10311 __lseek64 directly.
10312 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10313 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10314 __lseek64 directly.
10315 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10316 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10317 __fxstat64 directly.
10318 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10319 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10320 unconditional.
10321 (freopen64) [!_G_OPEN64]: Remove conditional code.
10322 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10323 unconditional.
10324 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10325 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10326 unconditional.
10327 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10328 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10329 unconditional.
10330 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10331 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10332 unconditional.
10333 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10334 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10335 unconditional.
10336 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10337 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10338 unconditional.
10339 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10340 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10341 unconditional.
10342 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10343
b741de23
SP
103442012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10345
10346 [BZ #12140]
10347 * manual/memory.texi (Malloc Tunable Parameters): Add note
10348 about free list pointers overwriting some perturb bytes.
10349 Wording suggested by Roland McGrath.
10350
f9b9d9c9
JM
103512012-10-17 Joseph Myers <joseph@codesourcery.com>
10352
10353 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10354 (lgamma_test): Likewise.
10355 (tgamma_test): Likewise.
10356
172a631a
FW
103572012-10-16 Florian Weimer <fweimer@redhat.com>
10358
10359 [BZ #14700]
10360 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10361 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10362
e9f37252
MK
103632012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10364
10365 * NEWS: Mention BZ #14716.
10366 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10367 when removing AVAILABLE1_USES_J macro.
10368
d394eb74
L
103692012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10370
10371 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10372 (__bswap_64): __uint64_t for unsigned 64-bit int.
10373
ca38dc17
AS
103742012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10375
10376 * include/string.h (memmem): Declare libc hidden alias.
10377 * string/memmem.c (memmem): Define libc hidden alias.
10378 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10379 __read, __close instead of open, read, close.
10380
9a387d1f
L
103812012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10382
ac49ecaf
L
10383 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10384 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10385 global and hidden.
10386 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10387 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10388 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10389 Likewise.
10390 (__rawmemchr_sse2): Likewise.
10391 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10392 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10393 (__strchr_sse2): Likewise.
10394 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10395 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10396 (__strcasecmp_sse2): Likewise.
10397 (__strncasecmp_sse2): Likewise.
10398 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10399 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10400 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10401 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10402 (__strrchr_sse2): Likewise.
10403 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10404 ifunc-impl-list.c.
10405 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10406 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10407 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10408 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10409 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10410 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10411 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10412 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10413 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10414 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10415 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10416 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10417 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10418 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10419 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10420 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10421 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10422 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10423 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10424 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10425 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10426 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10427 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10428 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10429 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10430 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10431 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10432 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10433 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10434 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10435
b090e8ea
L
10436 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10437 global and hidden.
10438 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10439 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10440 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10441 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10442 Likewise.
10443 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10444 Likewise.
10445 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10446 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10447 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10448 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10449 ifunc-impl-list.c.
10450 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10451 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10452 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10453 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10454 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10455 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10456 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10457 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10458 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10459 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10460 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10461 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10462 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10463 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10464 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10466 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10467 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10468 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10469 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10470 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10471 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10472 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10473 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10474 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10475 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10476 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10477 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10478 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10479 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10480 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10481 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10482 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10483 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10484 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10485 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10486 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10487 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10488 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10489 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10490 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10491
11dd4af6
L
10492 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10493 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10494 * include/ifunc-impl-list.h: New file.
10495 * misc/ifunc-impl-list.c: Likewise.
10496 * misc/Makefile (routines): Add ifunc-impl-list.
10497 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10498 * string/test-string.h: Include <ifunc-impl-list.h>.
10499 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10500 impl_array): New variables.
10501 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10502 are defined.
10503 (test_init): Call __libc_ifunc_impl_list to initialize
10504 func_list if TEST_IFUNC and TEST_NAME are defined.
10505
9a387d1f
L
10506 * string/Makefile (strop-tests): Add bcopy and bzero.
10507 * string/test-bcopy.c: New file.
10508 * string/test-bzero.c: Likewise.
10509 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10510 defined.
10511 * string/test-memset.c: Support bzero test if TEST_BZERO is
10512 defined.
10513 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10514 __libc_memmove.
10515 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10516 __libc_memset.
10517 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10518 of memset.
10519
472371b9
JM
105202012-10-10 Joseph Myers <joseph@codesourcery.com>
10521
1e4a9536
JM
10522 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10523 * configure: Regenerated.
10524
d173d12e
JM
10525 * Makeconfig (+link-static-before-libc): Don't include
10526 $(link-static-libc).
10527
472371b9
JM
10528 * libio/libio.h (_IO_pos_t): Remove.
10529
89a3ad0b
AO
105302012-10-10 Alexandre Oliva <aoliva@redhat.com>
10531
10532 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10533 McGrath.
10534
e7451425
AO
105352012-10-10 Alexandre Oliva <aoliva@redhat.com>
10536
10537 * crypt/crypt-entry.c: Include fips-private.h.
10538 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10539 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10540 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10541 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10542
4ba74a35
AO
105432012-10-10 Alexandre Oliva <aoliva@redhat.com>
10544
10545 * crypt/crypt-private.h: Include stdbool.h.
10546 (_ufc_setup_salt_r): Return bool.
10547 * crypt/crypt-entry.c: Include errno.h.
10548 (__crypt_r): Return NULL with EINVAL for bad salt.
10549 * crypt/crypt_util.c (bad_for_salt): New.
10550 (_ufc_setup_salt_r): Check that salt is long enough and within
10551 the specified alphabet.
10552 * crypt/badsalttest.c: New file.
10553 * crypt/Makefile (tests): Add it.
10554 ($(objpfx)badsalttest): New.
10555
f96f1242
MK
105562012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10557
10558 * NEWS: Add entry for BZ #14602.
10559
0e8e0c1c
JM
105602012-10-09 Joseph Myers <joseph@codesourcery.com>
10561
10562 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10563 type-generic.
10564 * math/libm-test.inc: Update comment listing what functions and
10565 macros are tested.
10566 (isgreater_test): New function.
10567 (isgreaterequal_test): Likewise.
10568 (isless_test): Likewise.
10569 (islessequal_test): Likewise.
10570 (islessgreater_test): Likewise.
10571 (isunordered_test): Likewise.
10572 (main): Call the new functions.
10573
273edc5e
RM
105742012-10-09 Roland McGrath <roland@hack.frob.com>
10575
b8493de0
RM
10576 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10577 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10578 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10579 * sysdeps/i386/configure: Regenerated.
10580 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10581 * sysdeps/mach/configure: Regenerated.
10582 * sysdeps/mach/hurd/configure: Regenerated.
10583 * sysdeps/powerpc/configure: Regenerated.
10584 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10585 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10586 * sysdeps/s390/s390-32/configure: Regenerated.
10587 * sysdeps/s390/s390-64/configure: Regenerated.
10588 * sysdeps/sh/configure: Regenerated.
10589 * sysdeps/sparc/configure: Regenerated.
10590 * sysdeps/unix/sysv/linux/configure: Regenerated.
10591 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10592 * sysdeps/x86_64/configure: Regenerated.
10593
273edc5e
RM
10594 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10595 defined. Don't check if MAP is NULL.
10596
c8450f70
JM
105972012-10-09 Joseph Myers <joseph@codesourcery.com>
10598
10599 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10600 (_G_stat64): Likewise.
10601 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10602 (_G_stat64): Likewise.
10603 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10604 instead of struct _G_stat64.
10605 * libio/fileops.c (mmap_remap_check): Likewise.
10606 (decide_maybe_mmap): Likewise.
10607 (_IO_new_file_seekoff): Likewise.
10608 (_IO_file_stat): Likewise.
10609 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10610 _G_off64_t.
10611 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10612 instead of struct _G_stat64.
10613 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10614
57e605ba
MK
106152012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10616
10617 [BZ #14602]
10618 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10619 Replace with ...
10620 (CHECK_EOL): New macro.
10621 (two_way_short_needle): Check beginning of haystack for EOL. Use
10622 CHECK_EOL.
10623 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10624 Replace with CHECK_EOL.
10625 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10626 Replace with CHECK_EOL.
10627
ef1bb361
JM
106282012-10-08 Joseph Myers <joseph@codesourcery.com>
10629
10630 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10631 type-generic.
10632 * math/libm-test.inc: Update comment listing what functions and
10633 macros are tested.
10634 (finite_test): New function.
10635 (isinf_test): Likewise.
10636 (isnan_test): Likewise.
10637 (fpclassify_test): Test subnormal input.
10638 (isfinite_test): Likewise.
10639 (isnormal_test): Likewise.
10640 (main): Call the new functions.
10641
55f11534
JN
106422012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10643
10644 [BZ #14660]
10645 * Makerules (%.dynsym): Force C locale when running
10646 $(OBJDUMP) --dynamic-syms.
10647
1ab29350
AS
106482012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10649
10650 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10651 <stdint.h>.
10652
f1ecb7ef
DM
106532012-10-06 David S. Miller <davem@davemloft.net>
10654
10655 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10656 upper 32-bits of the length value in %o2 since we use branch-on-register
10657 tests which consider the entire 64-bit register.
10658
5d41d91a
L
106592012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10660
10661 * string/test-strstr.c (check2): Add a test for page boundary.
10662
3baddb72
DM
106632012-10-05 David S. Miller <davem@davemloft.net>
10664
10665 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10666 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10667 file.
10668 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10669 sysdep_routines.
10670 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10671 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10672 and bzero when HWCAP_SPARC_CRYPTO is present.
10673
9cee5585
L
106742012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10675
d7e0dab9
L
10676 [BZ #14602]
10677 * string/test-strstr.c (check2): New function.
10678 (test_main): Call check2.
10679
03759f47
L
10680 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10681 and bug-strchr1.
10682 * string/bug-strcasestr1.c (do_test): Moved to ...
10683 * string/test-strcasestr.c (check1): Here. New function.
10684 (do_one_test): Break out result checking code into ...
10685 (check_result): This. New function.
10686 (do_one_test): Call check_result.
10687 (test_main): Call check1.
10688 * string/bug-strchr1.c (do_test): Moved to ...
10689 * string/test-strchr.c (check1): Here. New function.
10690 (do_one_test): Break out result checking code into ...
10691 (check_result): This. New function.
10692 (do_one_test): Call check_result.
10693 (test_main): Call check1.
10694 * string/bug-strstr1.c (main): Moved to ...
046f153e 10695 * string/test-strstr.c (check1): Here. New function.
03759f47
L
10696 (do_one_test): Break out result checking code into ...
10697 (check_result): This. New function.
10698 (do_one_test): Call check_result.
10699 (test_main): Call check1.
10700 * string/bug-strcasestr1.c: Removed.
10701 * string/bug-strchr1.c: Likewise.
10702 * string/bug-strstr1.c: Likewise.
10703
53cea63e
L
10704 * elf/Makefile (dl-routines): Add hwcaps.
10705 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10706 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10707 (_dl_important_hwcaps): Moved to ...
10708 * elf/dl-hwcaps.c: Here. New file.
10709 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10710
9cee5585 10711 [BZ #14557]
bb859b06
L
10712 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10713 if IS_IN_rtld isn't defined.
10714
9cee5585
L
10715 * elf/dl-support.c (_dl_sysinfo_map): New.
10716 Include "get-dynamic-info.h" and "setup-vdso.h".
10717 (_dl_non_dynamic_init): Call setup_vdso.
10718 * elf/dynamic-link.h: Don't include <assert.h>.
10719 (elf_get_dynamic_info): Moved to ...
10720 * elf/get-dynamic-info.h: Here. New file.
10721 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10722 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10723 * elf/setup-vdso.h: Here. New file.
10724 * elf/rtld.c: Include "setup-vdso.h".
10725 (dl_main): Call setup_vdso.
10726
23c31b76
JM
107272012-10-05 Joseph Myers <joseph@codesourcery.com>
10728
28234b07
JM
10729 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10730 creal in comment listing functions tested. List finite, isinf,
10731 isnan, isless, islessequal, isgreater, isgreaterequal,
10732 islessgreater, isunordered, lgamma_r and pow10 as functions and
10733 macros not tested. Mention which functions not tested are aliases
10734 for other functions. Fix typo. Note that signs of NaNs are not
10735 tested.
10736
23c31b76
JM
10737 * scripts/config.guess: Update from config.git.
10738 * scripts/config.sub: Likewise.
10739
9043e228
RM
107402012-10-04 Roland McGrath <roland@hack.frob.com>
10741
10742 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10743 * misc/madvise.c (madvise): Renamed to __madvise.
10744 Make madvise a weak alias.
10745 * include/sys/mman.h: Declare __madvise.
10746 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10747 * sysdeps/unix/syscalls.list
10748 (madvise): Make __madvise the strong name, and madvise a weak alias.
10749 * sysdeps/unix/sysv/linux/syscalls.list
10750 (madvise, mmap): Remove redundant entries.
10751 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10752 * malloc/malloc.c (mtrim): Likewise.
10753 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10754
f57f8055
RM
107552012-10-03 Roland McGrath <roland@hack.frob.com>
10756
10757 * sysdeps/mach/hurd/dl-cache.c: File removed.
10758 * config.h.in (USE_LDCONFIG): New #undef.
10759 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10760 * configure: Regenerated.
10761 * elf/Makefile (dl-routines): Add dl-cache only under
10762 [$(use-ldconfig) = yes].
10763 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10764 cache on [USE_LDCONFIG].
10765 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10766 [USE_LDCONFIG].
10767 * elf/rtld.c (dl_main): Likewise.
10768
5bb0c10a
PT
107692012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10770
10771 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10772 _SC_LEVEL4_CACHE_LINESIZE.
10773
010188c6
RM
107742012-10-03 Roland McGrath <roland@hack.frob.com>
10775
10776 * sysdeps/unix/bsd/confstr.h: File removed.
10777
b6c5ec07
AO
107782012-10-02 Alexandre Oliva <aoliva@redhat.com>
10779
10780 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10781 sys/sdt-config.h.
10782
408223d4
RM
107832012-10-02 Roland McGrath <roland@hack.frob.com>
10784
10785 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10786 Make 'mapoff' field ElfW(Off) rather than off_t.
10787
bb9510dc
DL
107882012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10789
fc997c6e
DL
10790 * nscd/Makefile: Remove nscd-cflags and all its users.
10791 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10792 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10793
bb9510dc
DL
10794 [BZ #10631]
10795 * malloc.c (malloc_printerr): Clarify error message.
10796
05699367
L
107972012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10798
10799 [BZ #14648]
10800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10801 Set bit_FMA_Usable if FMA is supported.
10802 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10803 macro.
10804 (bit_FMA4_Usable): Updated.
10805 (index_FMA_Usable): New macro.
10806 (CPUID_FMA): Likewise
10807 (HAS_FMA): Defined with bit_FMA_Usable.
10808
51367701
RM
108092012-10-01 Roland McGrath <roland@hack.frob.com>
10810
10811 * bits/types.h (__swblk_t): Type removed.
10812 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10813 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10815 (__SWBLK_T_TYPE): Likewise.
10816 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10817 (__SWBLK_T_TYPE): Likewise.
10818 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10819 (__SWBLK_T_TYPE): Likewise.
10820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10821 (__SWBLK_T_TYPE): Likewise.
10822
4d57bf63 108232012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 10824 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
10825
10826 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10827 (xdr_mapname): Use YPMAXMAP as maxsize.
10828 (xdr_peername): Use YPMAXPEER as maxsize.
10829 (xdr_keydat): Use YPAXRECORD as maxsize.
10830 (xdr_valdat): Use YPMAXRECORD as maxsize.
10831
93c65d43
RM
108322012-10-01 Roland McGrath <roland@hack.frob.com>
10833
497a03d6
RM
10834 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10835
93c65d43
RM
10836 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10837 * csu/init-first.c: ... here.
10838 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10839 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10840 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10841 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10842 * sysdeps/i386/init-first.c: File removed.
10843 * sysdeps/sh/init-first.c: File removed.
10844
bec749fd
JM
108452012-10-01 Joseph Myers <joseph@codesourcery.com>
10846
10847 [BZ #14645]
10848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10849 if x * y might underflow to zero and z is zero.
10850 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10851 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10852 * math/libm-test.inc (min_subnorm_value): New variable.
10853 (fma_test): Add more tests.
10854 (fma_test_towardzero): Likewise.
10855 (fma_test_downward): Likewise
10856 (fma_test_upward): Likewise.
10857 (initialize): Set min_subnorm_value.
10858
8ec5b013
JM
108592012-09-29 Joseph Myers <joseph@codesourcery.com>
10860
10861 [BZ #14638]
10862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10863 0 + 0.
10864 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10865 mode for addition resulting in exact zero.
10866 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10868 exact 0 + 0.
10869 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10870 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10871 * math/libm-test.inc (fma_test): Add more tests.
10872 (fma_test_towardzero): New function.
10873 (fma_test_downward): Likewise.
10874 (fma_test_upward): Likewise.
10875 (main): Call the new functions.
10876
b1fa802e
DM
108772012-09-28 David S. Miller <davem@davemloft.net>
10878
10879 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10880
d3b9fd9e
RM
108812012-09-28 Roland McGrath <roland@hack.frob.com>
10882
ea4d37b3
RM
10883 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10884 instead of SIGALRM.
10885
ac51c949
RM
10886 * sysdeps/gnu/_G_config.h: Moved to ...
10887 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10888 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10889 * sysdeps/generic/_G_config.h: ... here.
10890
28c195f7
RM
10891 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10892
848917f9
RM
10893 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10894
6bacf05b
RM
10895 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10896 Conditionalize target on [libnss_test1.so-version].
10897
91363dbb
RM
10898 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10899
cc87f7d8
RM
10900 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10901 (elfobjdir): Move out of conditionals.
10902
b1c608fe
RM
10903 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10904 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10905 (__nss_lookup_function): Conditionalize label remove_from_tree on
10906 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 10907
1d9a6d96
DM
109082012-09-28 David S. Miller <davem@davemloft.net>
10909
10910 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10911 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10912 file.
10913 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10914 sysdep_routines.
10915 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10916 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10917 when HWCAP_SPARC_CRYPTO is present.
10918
72581615
PT
109192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10920
10921 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10922
715a900c
JL
109232012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10924
10925 [BZ #6530]
10926 * stdio-common/vfprintf.c (process_string_arg): Revert
10927 2000-07-22 change.
10928
109292011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10930
10931 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10932 for testcase.
10933 * stdio-common/tst-sprintf.c: Include <locale.h>
10934 (main): Test sprintf's handling of incomplete multibyte
10935 characters.
10936
9bac1d86
L
109372012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10938
10939 * elf/dl-runtime.c (VERSYMIDX): Removed.
10940 * elf/dl-version.c (VERSYMIDX): Likewise.
10941 * elf/do-rel.h (VERSYMIDX): Likewise.
10942 (VALIDX): Likewise.
10943 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10944 * elf/rtld.c (VALIDX): Likewise.
10945 (ADDRIDX): Likewise.
9bac1d86
L
10946 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10947 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10948 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
10949 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10950 (VALIDX): Likewise.
10951 (ADDRIDX): Likewise.
9bac1d86 10952
b31606c0
PT
109532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10954
10955 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10956
11541177
JL
109572012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10958
10959 [BZ #11438]
10960 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10961 to global scope.
10962 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10963 addresses are in the same scope as 192.0.2/24.
10964 * posix/gai.conf: Document new scope table defaults.
10965
adb26fae
SP
109662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10967
10968 [BZ #5298]
10969 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10970 for ftell. Compute offsets from write pointers instead.
10971 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10972
4573c6b0
SP
109732012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10974
10975 [BZ #14543]
10976 * libio/Makefile (tests): New test case tst-fseek.
10977 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10978 combination works in wide mode.
10979 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10980 state when the external buffer state changes.
10981
aa9bbfe6
DM
109822012-09-27 David S. Miller <davem@davemloft.net>
10983
10984 [BZ #14376]
10985 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10986 pass reloc->r_addend in as the 'high' argument to
10987 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10988
784421e7
DM
10989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10990
c39bc8b8
PT
109912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10992
10993 * rt/tst-aio2.c: Include <pthread.h>.
10994 * rt/tst-aio3.c: Likewise.
10995
1ccc2399
SE
109962012-09-27 Steve Ellcey <sellcey@mips.com>
10997
10998 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10999
31ed4153
L
110002012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11001
25f5f885
L
11002 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11003 contents on [SHARED].
31ed4153 11004
b7bfe116
MP
110052012-09-26 Marek Polacek <polacek@redhat.com>
11006
11007 [BZ #14530]
11008 [BZ #13741]
11009 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11010 for C++ and GCC <4.3 as well as for non GCC compilers.
11011
43c4edba
MT
110122012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11013
11014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11015
6a1bf82f
RM
110162012-09-25 Roland McGrath <roland@hack.frob.com>
11017
11018 * Makefile.in (all, install): Declare with .PHONY.
11019 Reported by Michael Hope <michael.hope@linaro.org>.
11020
8ad11b9a
TMQMF
110212012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11022
11023 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11024 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11025 system header.
11026 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11027 Likewise.
11028 (sydep_routines): Add the new and the internal functions.
11029 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11030 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11032 (GLIBC_2.17): Add the new function.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11034 (GLIBC_2.17): Likewise.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11036 (GLIBC_2.17): Likewise.
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11038 (GLIBC_2.17): Likewise.
11039 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11040
7e2fca8d
AM
110412012-09-25 Alan Modra <amodra@gmail.com>
11042
11043 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11044 Add release barrier before setting once_control to say
11045 initialisation is done. Add hints on lwarx. Use macro in
11046 place of isync.
11047 (clear_once_control): Add release barrier.
11048
b87c4b24
JM
110492012-09-25 Joseph Myers <joseph@codesourcery.com>
11050
d032e0d2
JM
11051 [BZ #13629]
11052 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11053 specially.
11054 * math/s_clog10.c (__clog10): Likewise.
11055 * math/s_clog10f.c (__clog10f): Likewise.
11056 * math/s_clog10l.c (__clog10l): Likewise.
11057 * math/s_clogf.c (__clogf): Likewise.
11058 * math/s_clogl.c (__clogl): Likewise.
11059 * math/Makefile (libm-calls): Add x2y2m1.
11060 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11061 (__x2y2m1): Likewise.
11062 (__x2y2m1l): Likewise.
11063 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11064 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11067 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11068 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11069 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11070 * sysdeps/i386/fpu/libm-test-ulps: Update.
11071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11072
b87c4b24
JM
11073 [BZ #14621]
11074 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11075 int as type of variable DEPTH.
11076 (glob): Use size_t instead of int as type of variables NEWCOUNT
11077 and OLD_PATHC.
11078
6d3bf199
LD
110792012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11080
22bf5c17
LD
11081 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11082 Add s_sincosf-sse2.
11083 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11084 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11085 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11086 macros for using routine as __sincosf_ia32.
11087 Use macro for function declaration and weak_alias.
11088 * sysdeps/i386/fpu/libm-test-ulps: Update.
11089
11090 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11092
11093 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
11094 subnormal argument.
11095 * math/s_cexpf.c (__cexpf): Likewise.
11096 * math/s_csinf.c (__csinf): Likewise.
11097 * math/s_csinhf.c (__csinhf): Likewise.
11098 * math/s_ctanf.c (__ctanf): Likewise.
11099 * math/s_ctanhf.c (__ctanhf): Likewise.
11100 * math/s_ccosh.c (__ccoshf): Likewise.
11101 * math/s_cexp.c (__cexpl): Likewise.
11102 * math/s_csin.c (__csin): Likewise.
11103 * math/s_csinh.c (__csinh): Likewise.
11104 * math/s_ctan.c (__ctan): Likewise.
11105 * math/s_ctanh.c (ctanh): Likewise.
11106 * math/s_ccoshl.c (__ccoshl): Likewise.
11107 * math/s_cexpl.c (__cexpl): Likewise.
11108 * math/s_csinl.c (__csinl): Likewise.
11109 * math/s_csinhl.c (__csinhl): Likewise.
11110 * math/s_ctanl.c (__ctanl): Likewise.
11111 * math/s_ctanhl.c (__ctanhl): Likewise.
11112
203e5603
JM
111132012-09-25 Joseph Myers <joseph@codesourcery.com>
11114
11115 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11116 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11117 (_IO_off_t): Define to __off_t, not _G_off_t.
11118 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11119 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11120 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11121 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11122 type of __dummy and __dummy2 fields.
11123 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11124 (_G_ssize_t): Likewise.
11125 (_G_off_t): Likewise.
11126 (_G_pid_t): Likewise.
11127 (_G_uid_t): Likewise.
11128 (_G_wchar_t): Likewise.
11129 (_G_wint_t): Likewise.
11130 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11131 (_G_ssize_t): Likewise.
11132 (_G_off_t): Likewise.
11133 (_G_pid_t): Likewise.
11134 (_G_uid_t): Likewise.
11135 (_G_wchar_t): Likewise.
11136 (_G_wint_t): Likewise.
11137 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11138 (_G_ssize_t): Likewise.
11139 (_G_off_t): Likewise.
11140 (_G_pid_t): Likewise.
11141 (_G_uid_t): Likewise.
11142 (_G_wchar_t): Likewise.
11143 (_G_wint_t): Likewise.
11144
9fab36eb
SP
111452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11146
11147 * malloc/arena.c: Include malloc-sysdep.h.
11148 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11149 is sufficient to shrink the heap or an unmap is needed.
11150 * sysdeps/generic/malloc-sysdep.h: New file. Define
11151 new function check_may_shrink_heap.
11152 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11153 new function check_may_shrink_heap.
11154
2b4f00d1
SP
111552012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11156
11157 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11158 comments.
11159
9a9028b1
DL
111602012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11161
57c69bef
DL
11162 * catgets/test-gencat.sh: Add "set -e".
11163 * elf/tst-pathopt.sh: Likewise.
11164 * grp/tst_fgetgrent.sh: Likewise.
11165 * iconvdata/run-iconv-test.sh: Likewise.
11166 * intl/tst-gettext.sh: Likewise.
11167 * intl/tst-gettext2.sh: Likewise.
11168 * intl/tst-gettext4.sh: Likewise.
11169 * intl/tst-gettext6.sh: Likewise.
11170 * intl/tst-translit.sh: Likewise.
11171 * io/ftwtest-sh: Likewise.
11172 * libio/test-freopen.sh: Likewise.
11173 * malloc/tst-mtrace.sh: Likewise.
11174 * posix/globtest.sh: Likewise.
11175 * posix/tst-getconf.sh: Likewise.
11176 * posix/wordexp-tst.sh: Likewise.
11177 * stdio-common/tst-printf.sh: Likewise.
11178 * stdio-common/tst-unbputc.sh: Likewise.
11179 * stdlib/tst-fmtmsg.sh: Likewise.
11180 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11181 * catgets/Makefile: Do not specify -e option when running
11182 testsuite shell scripts.
11183 * elf/Makefile: Likewise.
11184 * grp/Makefile: Likewise.
11185 * iconvdata/Makefile: Likewise.
11186 * intl/Makefile: Likewise.
11187 * io/Makefile: Likewise.
11188 * libio/Makefile: Likewise.
11189 * malloc/Makefile: Likewise.
11190 * posix/Makefile: Likewise.
11191 * stdio-common/Makefile: Likewise.
11192 * stdlib/Makefile: Likewise.
11193 * sysdeps/x86_64/Makefile: Likewise.
11194
9a9028b1
DL
11195 * io/ftwtest-sh: Add copyright header.
11196 * posix/globtest.sh: Likewise.
11197 * posix/tst-getconf.sh: Likewise.
11198 * posix/wordexp-tst.sh: Likewise.
11199 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11200
ced6f16e
L
112012012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11202
94b32c39
L
11203 [BZ #13679]
11204 * Makeconfig (+link): Defined as $(+link-static) if
11205 $(build-shared) isn't yes.
11206 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11207 isn't yes.
11208 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11209
189e935b
L
11210 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11211
ced6f16e
L
11212 [BZ #14562]
11213 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11214 new chunk size with MALLOC_ALIGN_MASK.
11215
a9f8e53a
JM
112162012-09-24 Joseph Myers <joseph@codesourcery.com>
11217
11218 [BZ #5044]
11219 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11220 <rounding-mode.h>.
11221 (__printf_fphex): Determine rounding using get_rounding_mode and
11222 round_away.
11223 * stdio-common/tst-printf-round.c (struct hex_test): New
11224 structure.
11225 (hex_tests): New variable.
11226 (test_hex_in_one_mode): New function.
11227 (do_test): Also run tests for hex float output.
11228
43153109
JM
112292012-09-21 Joseph Myers <joseph@codesourcery.com>
11230
11231 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11232 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11233 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11234 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11235 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11236 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11237 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11238 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11239
8a26625d
JM
112402012-09-20 Joseph Myers <joseph@codesourcery.com>
11241
11242 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11243 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11244 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11245 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11246
f3fd569c
DL
112472012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11248
11249 [BZ #14579]
11250 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11251 mode only.
11252 * elf/tst-rtld-load-self.sh: New test.
11253 * elf/Makefile: Run it.
11254
63bbedd4
JM
112552012-09-18 Joseph Myers <joseph@codesourcery.com>
11256
11257 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11258 (tst-writev-ENV): Remove.
11259 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11260
626f8b6a
CM
112612012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11262
11263 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11264
b7aaa4d6
JM
112652012-09-17 Joseph Myers <joseph@codesourcery.com>
11266
11267 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11268 unconditional.
11269 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11270 Likewise.
11271 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11272 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11273 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11274 Likewise.
11275
65513990
L
112762012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11277
11278 [BZ #14587]
11279 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11280 * config.make.in (have-cpp-asm-debuginfo): Removed.
11281 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11282 * configure: Regenerated.
11283
784761be
JM
112842012-09-14 Joseph Myers <joseph@codesourcery.com>
11285
11286 [BZ #5044]
11287 * stdio-common/printf_fp.c: Include <stdbool.h> and
11288 <rounding-mode.h>.
11289 (___printf_fp): Determine rounding using get_rounding_mode and
11290 round_away.
11291 * stdio-common/tst-printf-round.c: New file.
11292 * stdio-common/Makefile (tests): Add tst-printf-round.
11293 (link-libm): New variable.
11294 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11295
9503345f
L
112962012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11297
11298 [BZ #14576]
11299 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11300 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11301 Likewise.
11302 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11303 Likewise.
11304
ad35fc00
JM
113052012-09-13 Joseph Myers <joseph@codesourcery.com>
11306
11307 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11308 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11309 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11310 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11311
6c9b0f68
JM
113122012-09-12 Joseph Myers <joseph@codesourcery.com>
11313
11314 [BZ #14518]
11315 * include/rounding-mode.h: New file.
11316 * sysdeps/generic/get-rounding-mode.h: Likewise.
11317 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11318 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11319 (MAX_VALUE): New macro.
11320 (MIN_VALUE): Likewise.
11321 (overflow_value): New function.
11322 (underflow_value): Likewise.
11323 (round_and_return): Use overflow_value and underflow_value to
11324 determine return values in overflow and underflow cases. Use
11325 round_away to determine rounding depending on rounding mode.
11326 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11327 determine return values in overflow and underflow cases.
11328 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11329 (struct test_results): New structure.
11330 (struct test): Use struct test_results to store expected results
11331 for all rounding modes.
11332 (TEST): Include expected results for all rounding modes.
11333 (test_in_one_mode): New function.
11334 (do_test): Use test_in_one_mode to compute and check results.
11335 Check results for all rounding modes.
11336 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11337 $(link-libm).
11338
19fcedd5
AM
113392012-12-09 Allan McRae <allan@archlinux.org>
11340
1e9d84cd 11341 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11342
8bbfd2f1
JM
113432012-09-11 Joseph Myers <joseph@codesourcery.com>
11344
11345 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11346 (_G_int32_t): Likewise.
11347 (_G_uint16_t): Likewise.
11348 (_G_uint32_t): Likewise.
11349 (_G_HAVE_BOOL): Likewise.
11350 (_G_HAVE_ATEXIT): Likewise.
11351 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11352 (_G_HAVE_IO_FILE_OPEN): Likewise.
11353 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11354 (_G_int32_t): Likewise.
11355 (_G_uint16_t): Likewise.
11356 (_G_uint32_t): Likewise.
11357 (_G_HAVE_BOOL): Likewise.
11358 (_G_HAVE_ATEXIT): Likewise.
11359 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11360 (_G_HAVE_IO_FILE_OPEN): Likewise.
11361 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11362 (_G_int32_t): Likewise.
11363 (_G_uint16_t): Likewise.
11364 (_G_uint32_t): Likewise.
11365 (_G_HAVE_BOOL): Likewise.
11366 (_G_HAVE_ATEXIT): Likewise.
11367 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11368 (_G_HAVE_IO_FILE_OPEN): Likewise.
11369
b1dc5912
L
113702012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11371
11372 * csu/libc-tls.c: Update copyright years.
11373
0e886ef9
JM
113742012-09-10 Joseph Myers <joseph@codesourcery.com>
11375
28361c5e
JM
11376 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11377 [!_G_USING_THUNKS]: Remove conditional code.
11378 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11379 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11380
0e886ef9
JM
11381 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11382 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11383 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11384 (_G_VTABLE_LABEL_PREFIX): Likewise.
11385 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11386 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11387 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11388 (_G_VTABLE_LABEL_PREFIX): Likewise.
11389 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11390 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11391 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11392 (_G_VTABLE_LABEL_PREFIX): Likewise.
11393 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11394
bcba7aa2
L
113952012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11396
11397 * libio/Makefile: Include ../Makeconfig before tests.
11398 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11399 only if $(build-shared) is yes.
11400
06585ee8
L
11401 * iconv/gconv_db.c: Update copyright years.
11402
80ccd52c
LD
114032012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11404
11405 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11406 unwind info if defined PIC. Fix special cases description.
11407 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11408
11409 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11410 DP_HI_MASK entry.
11411 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11412
691bc9c1
L
114132012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11414
3d9b46b3
L
11415 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11416
de2139a9
L
11417 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11418 is NULL.
11419
5ca78dd0
L
11420 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11421 (LDLIBS-tst-chk4): This.
11422 (LDFLAGS-tst-chk5): Renamed to ...
11423 (LDLIBS-tst-chk5): This.
11424 (LDFLAGS-tst-chk6): Renamed to ...
11425 (LDLIBS-tst-chk6): This.
11426 (LDFLAGS-tst-lfschk4): Renamed to ...
11427 (LDLIBS-tst-lfschk4): This.
11428 (LDFLAGS-tst-lfschk5): Renamed to ...
11429 (LDLIBS-tst-lfschk5): This.
11430 (LDFLAGS-tst-lfschk6): Renamed to ...
11431 (LDLIBS-tst-lfschk6): This.
11432
691bc9c1
L
11433 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11434 on $(common-objpfx)soversions.mk.
11435
65cafb1c
JM
114362012-09-07 Joseph Myers <joseph@codesourcery.com>
11437
11438 [BZ #10014]
11439 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11440 example host name.
11441
c78ab094
SP
114422012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11443
11444 * malloc/arena.c (arena_get_retry): New function that gets
11445 another arena for the caller to try its request on.
11446 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11447 current arena cannot fulfill the request.
11448 (__libc_memalign): Likewise.
11449 (__libc_memalign): Likewise.
11450 (__libc_pvalloc): Likewise.
11451 (__libc_calloc): Likewise.
11452
01f49f59
JT
114532012-09-05 John Tobey <john.tobey@gmail.com>
11454
11455 [BZ #13542]
11456 * manual/arith.texi (Operations on Complex): Fix description
11457 of carg branch cut.
11458
4c23fed5
JM
114592012-09-06 Joseph Myers <joseph@codesourcery.com>
11460
1d3c8572
JM
11461 [BZ #10014]
11462 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11463 host name.
11464
4c23fed5
JM
11465 [BZ #10038]
11466 * manual/memory.texi (Memory): Make order of menu items match
11467 order of sections.
11468
04570aaa
L
114692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11470
11471 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11472 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11473 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11474
b80af2f4
L
114752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11476
11477 * csu/libc-tls.c (static_dtv): Renamed to ...
11478 (_dl_static_dtv): This. Make it global.
11479 (_dl_initial_dtv): Removed.
11480 (__libc_setup_tls): Updated.
11481 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11482 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11483 DL_INITIAL_DTV.
11484
2abe9f15
PM
114852012-09-06 Petr Machata <pmachata@redhat.com>
11486
11487 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11488 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11489 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11490 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11491
0948c3af
L
114922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11493
11494 [BZ #14545]
11495 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11496 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11497 freeing dtv[-1].
11498
a5055ad1
L
114992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11500
11501 [BZ #14544]
11502 * Makeconfig (link-static-before-libc): Replace $(+prector)
11503 with $(+prectorT).
11504 (link-static-after-libc): Replace $(+postctor) with
11505 $(+postctorT).
11506 (link-bounded): Replace $(+prector)/$(+postctor) with
11507 $(+prectorT)/$(+postctorT).
11508 (+prectorT): New macro.
11509 (+postctorT): Likewise.
11510
ed8c2ecd
JM
115112012-09-06 Joseph Myers <joseph@codesourcery.com>
11512
11513 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11514 (round_str): Handle values above the maximum for IBM long double
11515 as inexact.
11516 * stdlib/tst-strtod-round.c (tests): Regenerated.
11517
14c996c8
AK
115182012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11519
11520 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11521 assembler flag.
11522 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11523 zarch_nohighgprs around the zarch optimized routines.
11524 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11525 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11526 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11527 for zarch.
11528
430d6ce6
DM
115292012-09-05 David S. Miller <davem@davemloft.net>
11530
11531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11532
ff04dda4
DM
11533 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11534 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11535 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11536 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11537 entries.
11538
24d4e01b
AO
115392012-09-05 Alexandre Oliva <aoliva@redhat.com>
11540
11541 * malloc/arena.c: Fold copyright years.
11542 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11543
61d58174
AO
115442012-09-05 Alexandre Oliva <aoliva@redhat.com>
11545
11546 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11547
20196a5e
AO
115482012-09-05 Alexandre Oliva <aoliva@redhat.com>
11549
11550 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11551
5c447383
AO
115522012-09-05 Alexandre Oliva <aoliva@redhat.com>
11553
11554 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11555 change internal state upon failure.
11556
fad64255
AO
115572012-09-05 Alexandre Oliva <aoliva@redhat.com>
11558
11559 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11560 * malloc/memusage.c (mmap): Likewise.
11561 (mmap64, mremap): Likewise. Adjust name in comment.
11562
1ffb8c90
SP
115632012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11564
11565 * libio/fileops.c: Fix typos in comments.
11566 * libio/oldfileops.c: Likewise.
11567 * libio/wfileops.c: Likewise.
11568
6ef9cc37
SP
115692012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11570
11571 [BZ #1349]
11572 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11573 (tst-malloc-usable-ENV): Set environment for test case.
11574 * malloc/hooks.c (malloc_check_get_size): New function to get
11575 requested size.
11576 * malloc/malloc.c (musable): Use malloc_check_get_size.
11577 * malloc/tst-malloc-usable.c: New test case.
11578
4d038ae3
AS
115792012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11580
11581 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11582
c4e85184
AM
115832012-09-05 Allan McRae <allan@archlinux.org>
11584
b9dafc56 11585 [BZ #13966]
c4e85184
AM
11586 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11587 determine header location.
11588 * configure: Regenerated.
11589
e1343020
AS
115902012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11591
11592 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11593 float format.
11594 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
11595 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11596 format.
e1343020
AS
11597 (test): Regenerate.
11598
0a9f1987
DM
115992012-09-04 David S. Miller <davem@davemloft.net>
11600
11601 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11602 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11603 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11604
29237804
FW
116052012-09-04 Florian Weimer <fweimer@redhat.com>
11606
11607 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11608 failures.
11609
edb3cb88
FW
11610 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11611
60160d83
JM
116122012-09-04 Joseph Myers <joseph@codesourcery.com>
11613
11614 [BZ #9914]
11615 * libio/iogetdelim.c: Include <limits.h>.
11616 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11617 + len + 1 would overflow.
11618
bcd6c8dc
AJ
116192012-09-03 Andreas Jaeger <aj@suse.de>
11620
11621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11622 * sysdeps/i386/fpu/libm-test-ulps: Update.
11623
4ffffbd2
LD
116242012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11625
11626 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11627 Add s_sinf-sse2, s_conf-sse2.
11628
11629 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11630 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11631 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11632 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11633
11634 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11635 for using routine as __sinf_ia32.
11636 Use macro for function declaration and weak_alias.
11637 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11638 for using routine as __cosf_ia32.
11639 Use macro for function declaration and weak_alias.
11640
11641 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11642 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11643
11644 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11645 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11647
11648 * math/libm-test.inc (cos_test): Add more test cases.
11649 (sin_test): Likewise.
11650 (sincos_test): Likewise.
11651
511fa286
AK
116522012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11653
11654 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11655 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11656 hidden.
11657 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11658
5f30cfec
L
116592012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11660
11661 [BZ #14538]
11662 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11663 first element of the GOT.
11664 (elf_machine_load_address): Return the difference between
11665 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11666
0786794f
AM
116672012-09-01 Allan McRae <allan@archlinux.org>
11668
5f30cfec
L
11669 [BZ #13412]
11670 * configure.in (AWK): Require gawk version 3.0 or later.
11671 * configure: Regenerated.
0786794f 11672
26889eac
JM
116732012-09-01 Joseph Myers <joseph@codesourcery.com>
11674
11675 * sysdeps/unix/sysv/linux/kernel-features.h
11676 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11677 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11678 [__NR_clock_getres]: Make code unconditional.
11679 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11680 (clock_getcpuclockid): Remove code left unreachable by removal of
11681 conditionals.
11682 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11683 code unconditional.
11684 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11685 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11686 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11687 Make code unconditional.
11688 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11689 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11690 * sysdeps/unix/sysv/linux/clock_settime.c
11691 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11692 conditional code.
11693 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11694 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11695
d22e28b0
L
116962012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11697
11698 [BZ #14476]
11699 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11700 scripts/test-installation.pl.
11701
11702 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11703 and $ld_so_version if it is set.
11704
050af9c4
SP
117052012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11706
11707 [BZ #14516]
11708 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11709 failure if reading from procfs failed.
11710 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11711
ad845c0b
JM
117122012-08-27 Joseph Myers <joseph@codesourcery.com>
11713
11714 * sysdeps/unix/sysv/linux/kernel-features.h
11715 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11716 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11717 Remove conditional code.
11718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11719 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11720 Remove conditional code.
11721 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11722 * sysdeps/unix/sysv/linux/i386/fxstat.c
11723 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11725 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11726 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11728 * sysdeps/unix/sysv/linux/i386/lxstat.c
11729 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11731 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11732 Remove conditional code.
11733 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11734 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11735 Remove conditional code.
11736 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11737 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11738 <kernel-features.h>.
11739 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11740 Remove.
11741 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11742 Remove conditional code.
11743 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11744 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11745 Remove conditional.
11746
5dbf56af
MF
117472012-08-27 Mike Frysinger <vapier@gentoo.org>
11748
11749 [BZ #5400]
11750 * NEWS: Add fixed bug number.
11751
d6e70f43
JM
117522012-08-27 Joseph Myers <joseph@codesourcery.com>
11753
7efb4737
JM
11754 [BZ #14519]
11755 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11756 underflowing exponent in case of negative sign.
11757 * stdlib/tst-strtod-round-data: Add more tests.
11758 * stdlib/tst-strtod-round.c (tests): Regenerated.
11759
af92131a
JM
11760 [BZ #3479]
11761 * stdlib/strtod_l.c (NDIG): Remove.
11762 (HEXNDIG): Likewise.
11763 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11764 smallest representable value.
11765 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11766 lie within an exact representation of 1/2 ulp of the result.
11767 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11768 unconditionally.
11769 (TENS_P9_IDX): Define unconditionally.
11770 (TENS_P9_SIZE): Likewise.
11771 (TENS_P10_IDX): Likewise.
11772 (TENS_P10_SIZE): Likewise.
11773 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11774 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11775 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11776 entries for 10^2^13 and 10^2^14.
11777 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11778 (TENS_P13_IDX): Define.
11779 (TENS_P13_SIZE): Likewise.
11780 (TENS_P14_IDX): Likewise.
11781 (TENS_P14_SIZE): Likewise.
11782 (_fpioconst_pow10): Change array size to
11783 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11784 unconditional.
11785 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11786 1024]: Add entries for 10^2^13 and 10^2^14.
11787 [LAST_POW10 > _LAST_POW10]: Remove #error.
11788 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11789 (_fpioconst_pow10): Change array size to
11790 FPIOCONST_POW10_ARRAY_SIZE.
11791 * stdlib/gen-fpioconst.c: New file.
11792 * stdlib/gen-tst-strtod-round.c: Likewise.
11793 * stdlib/tst-strtod-round-data: Likewise.
11794 * stdlib/tst-strtod-round.c: Likewise.
11795 * stdlib/Makefile (tests): Add tst-strtod-round.
11796
d6e70f43
JM
11797 [BZ #14459]
11798 * stdlib/strtod_l.c: Include <stdint.h>.
11799 (NDEBUG): Do not define.
11800 (round_and_return): Change EXPONENT parameter to type intmax_t.
11801 Rearrange calculations to avoid internal overflow possibilities.
11802 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11803 Rearrange calculations to avoid internal overflow possibilities.
11804 Assert that number fits inside MPNSIZE limbs.
11805 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11806 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11807 calculations and add assertions to avoid internal overflow
11808 possibilities. Add casts to avoid signed/unsigned operations.
11809 * stdlib/tst-strtod-overflow.c: New file.
11810 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11811
1f529f7d
MP
118122012-08-25 Marek Polacek <polacek@redhat.com>
11813
11814 * time/time.h: Fix some typos in comments.
11815
59a629f1
RM
118162012-08-23 Roland McGrath <roland@hack.frob.com>
11817
11818 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11819 * posix/tst-rfc3484-2.c: Likewise.
11820 * posix/tst-rfc3484-3.c: Likewise.
11821
d3bafbc9
SM
118222012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11823
11824 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11825 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11826
4efcc022
JM
118272012-08-23 Joseph Myers <joseph@codesourcery.com>
11828
11829 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11830 #include of fxstatat64.c.
11831
3cc3ef96
RM
118322012-08-22 Roland McGrath <roland@hack.frob.com>
11833
f04e2132
RM
11834 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11835 * shadow/getspent_r.c: Likewise.
11836 * shadow/getspnam.c: Likewise.
11837 * shadow/getspnam_r.c: Likewise.
11838 * gshadow/getsgent.c: Likewise.
11839 * gshadow/getsgent_r.c: Likewise.
11840 * gshadow/getsgnam.c: Likewise.
11841 * gshadow/getsgnam_r.c: Likewise.
11842 * inet/getnetbyad.c: Likewise.
11843 * inet/getnetbyad_r.c: Likewise.
11844 * inet/getnetbynm.c: Likewise.
11845 * inet/getnetbynm_r.c: Likewise.
11846 * inet/getnetent.c: Likewise.
11847 * inet/getnetent_r.c: Likewise.
11848 * inet/getproto.c: Likewise.
11849 * inet/getproto_r.c: Likewise.
11850 * inet/getprtent.c: Likewise.
11851 * inet/getprtent_r.c: Likewise.
11852 * inet/getprtname.c: Likewise.
11853 * inet/getprtname_r.c: Likewise.
11854 * inet/getrpcbyname.c: Likewise.
11855 * inet/getrpcbyname_r.c: Likewise.
11856 * inet/getrpcbynumber.c: Likewise.
11857 * inet/getrpcbynumber_r.c: Likewise.
11858 * inet/getrpcent.c: Likewise.
11859 * inet/getrpcent_r.c: Likewise.
11860 * inet/getaliasent.c: Likewise.
11861 * inet/getaliasent_r.c: Likewise.
11862 * inet/getaliasname.c: Likewise.
11863 * inet/getaliasname_r.c: Likewise.
11864 * nscd/getgrgid_r.c: Likewise.
11865 * nscd/getgrnam_r.c: Likewise.
11866 * nscd/gethstbyad_r.c: Likewise.
11867 * nscd/gethstbynm3_r.c: Likewise.
11868 * nscd/getpwnam_r.c: Likewise.
11869 * nscd/getpwuid_r.c: Likewise.
11870 * nscd/getsrvbynm_r.c: Likewise.
11871 * nscd/getsrvbypt_r.c: Likewise.
11872 * nscd/gai.c: Likewise.
11873
c53d909c
RM
11874 * configure.in (build_nscd): New substituted variable, set
11875 by --disable-build-nscd and defaults to $use_nscd.
11876 * configure: Regenerated.
11877 * config.make.in (build-nscd): New substituted variable.
11878 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11879 Change conditional to require [$(build-nscd) = yes] as well.
11880 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11881
3cc3ef96
RM
11882 [BZ# 13696]
11883 * configure.in (use_nscd): New substituted variable, set by
11884 --disable-nscd. If enabled, define USE_NSCD.
11885 * configure: Regenerated.
11886 * config.h.in: Add USE_NSCD.
11887 * config.make.in (use-nscd): New substituted variable.
11888 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11889 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11890 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11891 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11892 (CFLAGS-getgrnam_r.c): Likewise.
11893 (CFLAGS-initgroups.c): Likewise.
11894 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11895 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11896 Variables removed.
11897 * inet/getnetgrent_r.c
11898 (nscd_setnetgrent): New function, broken out of ...
11899 (setnetgrent): ... here. Call it.
11900 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11901 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11902 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11903 * nscd/Makefile (routines, aux): Move definitions after include of
11904 Makeconfig. Conditionalize on [$(use-nscd) != no].
11905 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11906 Conditionalize on [USE_NSCD].
11907 (is_nscd, nscd_init_cb): Likewise.
11908 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11909 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11910 * nss/nss_db/db-init.c: Likewise.
11911 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11912 [USE_NSCD].
11913 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11914 (make_request): Use it.
11915 (cache_valid_p): New function.
11916 (__check_pf): Use it.
11917 * NEWS: Add item for --disable-nscd.
11918
07e51550
DL
119192012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11920
11921 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11922 to support sed >= 4.2.1-20-ga9bf076.
11923 * configure: Regenerated.
11924
35a5b08b
RM
119252012-08-22 Roland McGrath <roland@hack.frob.com>
11926
11927 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11928 Conditionalize whole body on [IREL].
11929
8479f23a
JL
119302012-08-22 Jeff Law <law@redhat.com>
11931
11932 [BZ #14505]
11933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11934 if the family is PF_UNSPEC.
11935
48da0b21
MF
119362012-08-22 Mike Frysinger <vapier@gentoo.org>
11937
11938 * Makerules (lib-version): Rename from V.
11939 (install-lib-nosubdir): Change V to lib-version.
11940
15d0da8c
WS
119412012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11942
11943 [BZ #14252]
11944 * powerpc32/power6/wcschr.c: New file.
11945 * powerpc32/power6/wcscpy.c: New file.
11946 * powerpc32/power6/wcsrchr.c: New file.
11947 * powerpc64/power6/wcschr.c: New file.
11948 * powerpc64/power6/wcscpy.c: New file.
11949 * powerpc64/power6/wcsrchr.c: New file.
11950
bcca0895
MK
119512012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11952
11953 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11954 (two_way_short_needle): Use it.
5a4aaa33
RM
11955 * string/strstr.c (AVAILABLE1_USES_J): Define.
11956 * string/strcasestr.c: Likewise.
99677e57
MK
11957
11958 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11959 array references.
11960 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11961
400726de
MK
11962 [BZ #11607]
11963 * NEWS: Add an entry.
11964 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11965 define their defaults.
11966 (two_way_short_needle): Detect end-of-string on-the-fly.
11967 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11968 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11969 * string/bug-strcasestr1.c: New test.
11970 * string/Makefile: Run it.
11971
20a71f2c
MK
119722012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11973
11974 [BZ #11607]
11975 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11976 the first character.
11977
21ad0558
RM
119782012-08-21 Roland McGrath <roland@hack.frob.com>
11979
11980 * csu/elf-init.c (__libc_csu_irel): Function removed.
11981 * csu/libc-start.c (apply_irel): New function.
11982 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11983
0e1d9911
JM
119842012-08-21 Joseph Myers <joseph@codesourcery.com>
11985
11986 * sysdeps/unix/sysv/linux/kernel-features.h
11987 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11988 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11989 <kernel-features.h>.
11990 [__NR_fadvise64_64]: Make code unconditional.
11991 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11992 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11993 !__NR_fadvise64_64)]: Likewise.
11994 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11995 !__NR_fadvise64_64))]: Likewise.
11996 [__NR_fadvise64]: Make code unconditional.
11997 [!__NR_fadvise64]: Remove conditional code.
11998 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11999 <kernel-features.h>.
12000 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12001 unconditional.
12002 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12003 conditional code.
12004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12005 not include <kernel-features.h>.
12006 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12007 unconditional.
12008 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12009 conditional code.
12010 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12011 include <kernel-features.h>.
12012 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12013 unconditional.
12014 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12015 conditional code.
12016
14a50c9d
WS
120172012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12018
12019 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12020 slight instruction rearrangements per scrollpipe analysis.
12021 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12022
c0f4faf0
RM
120232012-08-20 Roland McGrath <roland@hack.frob.com>
12024
696da859
RM
12025 * manual/syslog.texi (syslog; vsyslog, closelog):
12026 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12027 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12028
c0f4faf0
RM
12029 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12030 DSOCAPS to match condition on defining it.
12031
348363b2
JM
120322012-08-20 Joseph Myers <joseph@codesourcery.com>
12033
a35cbf28
JM
12034 * sysdeps/unix/sysv/linux/kernel-features.h
12035 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12037 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12038 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12040 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12041 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12043 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12044 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12045
445f7ecd
JM
12046 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12047 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12048
348363b2
JM
12049 * sysdeps/unix/sysv/linux/kernel-features.h
12050 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12051 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12052 unconditional.
12053 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12054 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12055 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12056 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12057 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12058 Make code unconditional.
12059 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12060 (__mmap64) [!__NR_mmap2]: Likewise.
12061 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12062 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12063 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12064 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12065 [__NR_mmap2]: Make code unconditional.
12066 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12067 (__mmap64) [!__NR_mmap2]: Likewise.
12068
bc5bc0e5
AK
120692012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12070
12071 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12072
88d506de
AJ
120732012-08-18 Andreas Jaeger <aj@suse.de>
12074
12075 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12076
493387d2
MF
120772012-08-18 Mike Frysinger <vapier@gentoo.org>
12078
12079 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12080 * include/unistd.h (__have_sock_cloexec): Likewise.
12081 (__have_pipe2): Likewise.
12082 (__have_dup3): Likewise.
12083
a277af22
MF
120842012-08-18 Mike Frysinger <vapier@gentoo.org>
12085
12086 [BZ #9685]
12087 * include/unistd.h (__have_pipe2): Change define into an extern int.
12088 (__have_dup3): Likewise.
12089 * socket/have_sock_cloexec.c: Include fcntl.h.
12090 (__have_pipe2): New variable.
12091 (__have_dup3): Likewise.
12092
fdab8fd3
MF
120932012-08-17 Mike Frysinger <vapier@gentoo.org>
12094
12095 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12096
31035e80
MP
120972012-08-17 Marek Polacek <polacek@redhat.com>
12098
12099 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12100 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12101
3bd9e993
RM
121022012-08-17 Roland McGrath <roland@hack.frob.com>
12103
c91c505f
RM
12104 * configure.in: Add AC_SUBST for sysheaders.
12105 * configure: Regenerated.
12106 * config.make.in (sysheaders): New substituted variable.
12107
7c6f9d53
RM
12108 * sysdeps/unix/mkfifo.c: Moved ...
12109 * sysdeps/posix/mkfifo.c: ... here.
12110 * sysdeps/unix/mkfifoat.c: Moved ...
12111 * sysdeps/posix/mkfifoat.c: ... here.
12112
12113 * sysdeps/unix/utime.c: Moved ...
12114 * sysdeps/posix/utime.c: ... here.
12115
12116 * sysdeps/unix/time.c: Moved ...
12117 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
12118 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12119 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
12120
12121 * sysdeps/unix/nice.c: Moved ...
12122 * sysdeps/posix/nice.c: ... here.
12123
12124 * sysdeps/unix/alarm.c: Moved ...
12125 * sysdeps/posix/alarm.c: ... here.
12126
3bd9e993
RM
12127 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12128
d1f09384
JL
121292012-08-17 Jeff Law <law@redhat.com>
12130
12131 * intl/Makefile (codeset_mo): New variable.
12132 ($(codeset_mo)): New target.
12133 (tst-codeset.out): Depend on that. Remove explicit rule.
12134 (tst-gettext3.out, tst-gettext5.out): Likewise.
12135 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12136 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12137 * intl/tst-codeset.sh: Remove.
12138 * intl/tst-gettext3.sh: Likewise.
12139 * intl/tst-gettext5.sh: Likewise.
12140
2ae1ae5c
RM
121412012-08-17 Roland McGrath <roland@hack.frob.com>
12142
c31fdb83
RM
12143 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12144 * sysdeps/unix/syscalls.list: ... here.
12145
a0844057
RM
12146 * sysdeps/posix/getaddrinfo.c
12147 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12148 (gaiconf_init, gaiconf_reload): Use them.
12149 [!_STATBUF_ST_NSEC]
12150 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12151 Define using time_t rather than struct timespec.
12152
750c1f2a
RM
12153 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12154 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12155 Macros removed.
12156 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12157 [!NO_THREADS].
12158 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12159 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12160 Likewise.
12161
2ae1ae5c
RM
12162 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12163 __libc_cleanup_push argument.
12164
e66a42f5
RM
12165 * bits/param.h: New file.
12166 * misc/sys/param.h: New file.
12167 * include/sys/param.h: New file.
12168 * misc/Makefile (headers): Add bits/param.h.
12169 * sysdeps/generic/sys/param.h: File removed.
12170 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12171 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12172 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12173 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12174
b7c08a66
RM
12175 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12176 last change.
12177
b2e1c562
RM
12178 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12179 [_IO_MTSAFE_IO].
12180 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12181 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12182 New macros.
12183
c75ccd4c
RM
12184 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12185 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12186 rather than -D_IO_MTSAFE_IO conditionally.
12187 * stdio-common/Makefile (CPPFLAGS): Likewise.
12188 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12189 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12190 Use $(libio-mtsafe).
12191 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12192 of -D_IO_MTSAFE_IO.
12193 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12194 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12195 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12196 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12197 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12198 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12199 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12200 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12201 (CFLAGS-fread_u_chk.c): Likewise.
12202 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12203 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12204 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12205 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12206 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12207 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12208 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12209 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12210 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12211
12212 * libio/Makefile: Test [$(libc-reentrant) = yes]
12213 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12214
12215 * Makeconfig
12216 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12217 * sysdeps/pthread/configure: File removed.
12218 * sysdeps/pthread/Makeconfig: New file.
12219 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12220 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12221
d9195db8
GB
122222012-08-16 Gary Benson <gbenson@redhat.com>
12223
12224 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12225 unmapping the first object in a namespace.
12226
86466cd9
RM
122272012-08-16 Roland McGrath <roland@hack.frob.com>
12228
12229 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12230 (__internal_setnetgrent): ... this. Add internal_function to
12231 definition. Add libc_hidden_def.
12232 (setnetgrent): Update caller.
12233 (internal_endnetgrent): Renamed to ...
12234 (__internal_endnetgrent): ... this. Add internal_function to
12235 definition. Add libc_hidden_def.
12236 (endnetgrent): Update caller.
12237 (internal_getnetgrent_r): Renamed to ...
12238 (__internal_getnetgrent_r): ... this. Add internal_function to
12239 definition. Add libc_hidden_def.
12240 (__getnetgrent_r): Update caller.
12241 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12242
c3c8283c
JM
122432012-08-16 Joseph Myers <joseph@codesourcery.com>
12244
12245 * stdlib/longlong.h: Update from GCC.
12246
db1ee0a8
RM
122472012-08-16 Roland McGrath <roland@hack.frob.com>
12248
12249 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12250 on _QL, which is set by umul_ppmm but never used.
12251 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12252 variables, which are set by GMP macros but never used.
12253 * stdio-common/_itowa.c (_itowa): Likewise.
12254 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12255 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12256
30f69637
CD
122572012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12258
12259 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12260 struct La_sh_regs is not constant.
12261 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12262 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12263 and struct La_sparc64_regs are not constant.
12264
93a78ac4
JM
122652012-08-16 Joseph Myers <joseph@codesourcery.com>
12266
12267 * sysdeps/unix/sysv/linux/kernel-features.h
12268 (__ASSUME_POSIX_TIMERS): Remove.
12269 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12270 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12271 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12272 Make code unconditional.
12273 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12274 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12275 Make code unconditional.
12276 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12277 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12278 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12279 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12280 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12281 Make code unconditional.
12282 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12283 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12284 (__libc_missing_posix_timers): Remove.
12285
dd924cd7
RM
122862012-08-15 Roland McGrath <roland@hack.frob.com>
12287
4b4f2771
RM
12288 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12289 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12290
601c888b
RM
12291 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12292
176790a7
RM
12293 * elf/dl-sym.c: Include <stdlib.h>.
12294
329bc018
RM
12295 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12296 constants, which avoids warnings in 32-bit builds.
12297
e04e272d
RM
12298 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12299 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12300
952bf94a
RM
12301 * misc/lseek.c: File moved to ...
12302 * io/lseek.c: ... here.
12303
7c99b50a
RM
12304 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12305
dd924cd7
RM
12306 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12307 shifting LEN more than 31 bits at once.
12308
b3f479a8
LD
123092012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12310
12311 [BZ #14195]
8c4ae0d4
RM
12312 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12313 segmentation fault for a case of two empty input strings.
b3f479a8
LD
12314 * string/test-strncasecmp.c (check1): Renamed to...
12315 (bz12205): ...this.
12316 (bz14195): Add new testcase for two empty input strings and N > 0.
12317 (test_main): Call new testcase, adapt for renamed function.
12318
9c55864e
AJ
123192012-08-15 Andreas Jaeger <aj@suse.de>
12320
12321 [BZ #14090]
12322 * crypt/md5test2.c: New test, based on test supplied by Serge
12323 Belyshev <belyshev@depni.sinp.msu.ru>.
12324 * crypt/Makefile (xtests): Add md5test-giant..
12325 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12326
02dcb6c5
PE
123272012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12328
12329 [BZ #14090]
12330 * crypt/md5.c (md5_process_block): Don't assume the buffer
12331 length is less than 2**32.
12332 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12333 length is less than 2**64.
12334
a3f95dcc
RM
123352012-08-15 Roland McGrath <roland@hack.frob.com>
12336
be75d758
RM
12337 * string/str-two-way.h: Include <sys/param.h>.
12338 (MAX): Macro removed.
12339
7312ca90
RM
12340 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12341 Move #define and #undef of memmove to just before and after
12342 including <string.h>.
12343
9a0a5486
RM
12344 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12345 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12346 and after including <string.h>. Move declarations of
12347 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12348 to before #include "string/memmove.c".
12349
67cc348d
RM
12350 * include/dirent.h: Declare __getdirentries.
12351
a3f95dcc
RM
12352 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12353 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12354
ca98e171
MF
123552012-08-14 Mike Frysinger <vapier@gentoo.org>
12356
12357 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12358 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12359 * sysdeps/i386/configure: Regenerated.
12360 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12361 STABS_CURRENT_FILE, and STABS_FUN.
12362 (END): Remove call to STABS_FUN_END.
12363 (STABS_CURRENT_FILE1): Delete.
12364 (STABS_CURRENT_FILE): Likewise.
12365 (STABS_FUN): Likewise.
12366 (STABS_FUN_END): Likewise.
12367 (STABS_FUN2): Likewise.
12368 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12369 * sysdeps/x86_64/configure: Regenerated.
12370
5908bf46
RM
123712012-08-14 Roland McGrath <roland@hack.frob.com>
12372
12373 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12374 * elf/dl-lookup.c: Likewise.
5908bf46 12375
f2c05b9e
JM
123762012-08-14 Joseph Myers <joseph@codesourcery.com>
12377
12378 * sysdeps/unix/sysv/linux/kernel-features.h
12379 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12380 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12381 unconditionally.
12382 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12383 unconditionally.
12384 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12385 condition on __ASSUME_CLONE_THREAD_FLAGS.
12386
e11f5155
AJ
123872012-08-14 Andreas Jaeger <aj@suse.de>
12388
12389 * sysdeps/i386/fpu/libm-test-ulps: Update.
12390
51a9ba86
MK
123912012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12392
2fdd4f78
AJ
12393 * include/atomic.h (atomic_exchange_and_add): Split into ...
12394 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12395 New atomic macros.
51a9ba86 12396
ba6cba9e
MT
123972012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12398
12399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12400
42443a47
JL
124012012-08-13 Jeff Law <law@redhat.com>
12402
12403 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12404 null byte in the output string.
12405
121dce05
JM
124062012-08-10 Joseph Myers <joseph@codesourcery.com>
12407
12408 * sysdeps/unix/sysv/linux/kernel-features.h
12409 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12410 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12411 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12412 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12413 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12414 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12415 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12416
bf51f568
JL
124172012-08-09 Jeff Law <law@redhat.com>
12418
12419 [BZ #13939]
12420 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12421 When avoid_arena is set, don't retry in the that arena. Pick the
12422 next one, whatever it might be.
12423 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12424 (arena_lock): Pass in new parameter to arena_get2.
12425 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12426 arena_get2.
12427 (__libc_malloc): Unify retrying after main arena failure with
12428 __libc_memalign version.
12429 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12430
f85fa270
L
124312012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12432
12433 [BZ #14166]
12434 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12435 to __redirect_strstr.
12436 (__strstr_sse42): Use typeof __redirect_strstr.
12437 (__strstr_ia32): Likewise.
12438 (__libc_strstr): New prototype.
12439 (strstr): Renamed to ...
12440 (__libc_strstr): This.
12441 (strstr): New strong alias of __libc_strstr.
12442 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12443 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12444 __redirect_time.
12445 Include <time.h>.
12446 (__libc_time): New prototype.
12447 (time_ifunc): Replace time with __libc_time.
12448 (time): New strong alias and hidden definition of __libc_time.
12449 (__GI_time): Remove strong alias.
12450 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12451 Include <stddef.h>.
12452 (memmove): Redefined to __redirect_memmove.
12453 (__memmove_sse2): Use typeof __redirect_memmove.
12454 (__memmove_ssse3): Likewise.
12455 (__memmove_ssse3_back): Likewise.
12456 (__libc_memmove): New prototype.
12457 (memmove): Renamed to ...
12458 (__libc_memmove): This.
12459 (memmove): New strong alias of __libc_memmove.
12460
33b4a91e
MS
124612012-08-08 Mark Salter <msalter@redhat.com>
12462
12463 * elf/elf.h
12464 (R_MN10300_TLS_GD): Define.
12465 (R_MN10300_TLS_LD): Likewise.
12466 (R_MN10300_TLS_LDO): Likewise.
12467 (R_MN10300_TLS_GOTIE): Likewise.
12468 (R_MN10300_TLS_IE): Likewise.
12469 (R_MN10300_TLS_LE): Likewise.
12470 (R_MN10300_TLS_DTPMOD): Likewise.
12471 (R_MN10300_TLS_DTPOFF): Likewise.
12472 (R_MN10300_TLS_TPOFF): Likewise.
12473 (R_MN10300_SYM_DIFF): Likewise.
12474 (R_MN10300_ALIGN): Likewise.
12475 (R_MN10300_NUM): Update.
12476
b36137f1
JM
124772012-08-08 Joseph Myers <joseph@codesourcery.com>
12478
12479 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12480 Remove.
12481
cdd915fd
RM
124822012-08-08 Roland McGrath <roland@hack.frob.com>
12483
a2433aac
RM
12484 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12485
cdd915fd
RM
12486 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12487 sysdeps/unix -> sysdeps/posix move.
12488 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12489
bf9b740a
AM
124902012-08-07 Allan McRae <allan@archlinux.org>
12491
12492 [BZ #14303]
12493 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12494 (SUNOS_CPP): Likewise.
12495 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12496 not found.
12497 (open_input): Call CPP using execvp.
12498
93df14ee
JM
124992012-08-07 Joseph Myers <joseph@codesourcery.com>
12500
12501 * sysdeps/unix/sysv/linux/kernel-features.h
12502 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12503 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12504 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12505 (__ASSUME_WAITID_SYSCALL): Likewise.
12506 * sysdeps/unix/sysv/linux/dl-execstack.c
12507 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12508 code unconditional.
12509 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12510 conditional code.
12511 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12512 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12513 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12514 code.
12515 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12516 unconditional.
12517 [__ASSUME_WAITID_SYSCALL]: Likewise.
12518 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12519
d34689de
RM
125202012-08-07 Roland McGrath <roland@hack.frob.com>
12521
a281decc
RM
12522 * sysdeps/unix/closedir.c: Renamed to ...
12523 * sysdeps/posix/closedir.c: ... here.
12524 * sysdeps/unix/dirfd.c: Renamed to ...
12525 * sysdeps/posix/dirfd.c: ... here.
12526 * sysdeps/unix/dirstream.h: Renamed to ...
12527 * sysdeps/posix/dirstream.h: ... here.
12528 * sysdeps/unix/fdopendir.c: Renamed to ...
12529 * sysdeps/posix/fdopendir.c: ... here.
12530 * sysdeps/unix/opendir.c: Renamed to ...
12531 * sysdeps/posix/opendir.c: ... here.
12532 * sysdeps/unix/readdir.c: Renamed to ...
12533 * sysdeps/posix/readdir.c: ... here.
12534 * sysdeps/unix/readdir_r.c: Renamed to ...
12535 * sysdeps/posix/readdir_r.c: ... here.
12536 * sysdeps/unix/rewinddir.c: Renamed to ...
12537 * sysdeps/posix/rewinddir.c: ... here.
12538 * sysdeps/unix/seekdir.c: Renamed to ...
12539 * sysdeps/posix/seekdir.c: ... here.
12540 * sysdeps/unix/telldir.c: Renamed to ...
12541 * sysdeps/posix/telldir.c: ... here.
12542 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12543 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12544 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12545 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12546
22895b47
RM
12547 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12548 * bits/fcntl.h: ... here.
12549
707a53b6
RM
12550 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12551 not 0.
12552 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12553 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12554 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12555 (struct flock): Move l_start, l_len to the beginning.
12556 Use __pid_t for l_pid.
12557 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12558 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12559 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12560 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12561 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12562 [__USE_LARGEFILE64] (struct flock64): New type.
12563 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12564
f0bd3e25
RM
12565 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12566 * bits/dirent.h: ... here.
12567
d34689de
RM
12568 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12569 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12570
6dad2c06
JM
125712012-08-07 Joseph Myers <joseph@codesourcery.com>
12572
12573 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12574 Change from 2.6.0 to 2.6.16.
12575 * sysdeps/unix/sysv/linux/configure: Regenerated.
12576 * sysdeps/unix/sysv/linux/kernel-features.h
12577 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12578 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12579 version.
12580 (__ASSUME_UTIMES): Likewise.
12581 (__ASSUME_CLONE_STOPPED): Remove.
12582 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12583 architectures, not kernel version.
12584 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12585 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12586 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12587 (__ASSUME_WAITID_SYSCALL): Likewise.
12588 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12589 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12590 * README: State 2.6.16 as minimum Linux kernel version. Do not
12591 refer to older versions.
12592
03af9520
RM
125932012-08-06 Roland McGrath <roland@hack.frob.com>
12594
8e49df1d
RM
12595 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12596 Define alphasort64 as an alias.
12597 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12598 Define versionsort64 as an alias.
12599 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12600 Define scandir64 as an alias.
12601 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12602 Define scandirat64 as an alias.
12603 * dirent/alphasort64.c (alphasort64):
12604 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12605 * dirent/versionsort64.c: Likewise.
12606 * dirent/scandir64.c: Likewise.
12607 * dirent/scandirat64.c: Likewise.
12608 * sysdeps/wordsize-64/alphasort.c: File removed.
12609 * sysdeps/wordsize-64/alphasort64.c: File removed.
12610 * sysdeps/wordsize-64/scandir.c: File removed.
12611 * sysdeps/wordsize-64/scandir64.c: File removed.
12612 * sysdeps/wordsize-64/scandirat.c: File removed.
12613 * sysdeps/wordsize-64/scandirat64.c: File removed.
12614 * sysdeps/wordsize-64/versionsort.c: File removed.
12615 * sysdeps/wordsize-64/versionsort64.c: File removed.
12616 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12617 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12618 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12619 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12620 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12621 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12622 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12623 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12624
12625 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12626 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12627 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12628 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12629 [defined __arch64__ || defined __sparcv9]
12630 (__INO_T_MATCHES_INO64_T): New macro.
12631 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12632 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12633 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12634 * sysdeps/unix/sysv/linux/bits/dirent.h
12635 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12636 (_DIRENT_MATCHES_DIRENT64): New macro.
12637
03af9520
RM
12638 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12639 Define lockf64 as an alias.
12640 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12641 Define fseeko64 as an alias.
12642 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12643 Define ftello64 as an alias.
12644 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12645 Define _IO_fgetpos64 and fgetpos64 as aliases.
12646 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12647 Define _IO_fsetpos64 and fsetpos64 as aliases.
12648 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12649 Conditionalize body on this.
12650 * libio/fseeko64.c: Likewise.
12651 * libio/ftello64.c: Likewise.
12652 * libio/iofgetpos64.c: Likewise.
12653 * libio/iofsetpos64.c: Likewise.
12654 * sysdeps/wordsize-64/lockf.c: File removed.
12655 * sysdeps/wordsize-64/lockf64.c: File removed.
12656 * sysdeps/wordsize-64/fseeko.c: File removed.
12657 * sysdeps/wordsize-64/fseeko64.c: File removed.
12658 * sysdeps/wordsize-64/ftello.c: File removed.
12659 * sysdeps/wordsize-64/ftello64.c: File removed.
12660 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12661 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12662 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12663 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12664 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12665 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12666 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12667 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12668 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12669 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12670 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12671 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12672 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12673 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12674
12675 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12676 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12677 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12678 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12679 [defined __arch64__ || defined __sparcv9]
12680 (__OFF_T_MATCHES_OFF64_T): New macro.
12681 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12682 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12684 (__OFF_T_MATCHES_OFF64_T): New macro.
12685
c5757acd
L
126862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12687
12688 * stdlib/secure-getenv.c (__secure_getenv): Replace
12689 GLIBC_2_16 with GLIBC_2_17.
12690
3a31811e
L
126912012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12692
12693 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12694 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12695
faa2bccb
DM
126962012-08-03 David S. Miller <davem@davemloft.net>
12697
12698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12699
85fe1997
JM
127002012-08-03 Joseph Myers <joseph@codesourcery.com>
12701
12702 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12703 Remove.
12704 (__ASSUME_CORRECT_SI_PID): Likewise.
12705 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12706 (__ASSUME_TMPFS_NAME): Likewise.
12707 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12708 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12709 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12710 (HAVE_AUX_SECURE): Make definition unconditional.
12711 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12712 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12713
4f75b7a0
RM
127142012-08-03 Roland McGrath <roland@hack.frob.com>
12715
12716 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12717 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12718 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12719 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12720 __eloop_threshold instead of SYMLOOP_MAX.
12721
12722 * sysdeps/generic/eloop-threshold.h: New file.
12723 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12724 of MAXSYMLINKS.
12725 * elf/chroot_canon.c (chroot_canon): Likewise.
12726
7aab07e4
JM
127272012-08-03 Joseph Myers <joseph@codesourcery.com>
12728
12729 [BZ #13717]
12730 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12731 Change to 2.6.0 everywhere.
12732 * sysdeps/unix/sysv/linux/configure: Regenerated.
12733 * sysdeps/unix/sysv/linux/kernel-features.h
12734 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12735 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12736 kernel versions.
12737 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12738 (__ASSUME_FUTEX_REQUEUE): Remove.
12739 (__ASSUME_STATFS64): Define unconditionally.
12740 (__ASSUME_AT_SECURE): Likewise.
12741 (__ASSUME_CORRECT_SI_PID): Likewise.
12742 (__ASSUME_TGKILL): Define without depending on kernel version for
12743 i386.
12744 (__ASSUME_UTIMES): Likewise.
12745 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12746 kernel version.
12747 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12748 (__ASSUME_TMPFS_NAME): Likewise.
12749 * README: Update reference to Linux kernel versions.
12750
b67e9372
MP
127512012-08-02 Marek Polacek <polacek@redhat.com>
12752
1f529f7d 12753 [BZ# 14150]
b67e9372
MP
12754 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12755 libc_cv_asm_type_prefix with %.
12756 * configure: Regenerated.
d2441631
RM
12757 * include/libc-symbols.h: Remove comment about
12758 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
12759 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12760 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12761 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12762 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12763 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12764 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12765 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12766 * elf/tst-unique2mod1.c: Likewise.
12767 * elf/tst-unique1mod2.c: Likewise.
12768 * elf/tst-unique1mod1.c: Likewise.
12769 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12770 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12771 Replace ASM_TYPE_DIRECTIVE with .type.
12772 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12773 * sysdeps/i386/sysdep.h: Likewise.
12774 * sysdeps/x86_64/sysdep.h: Likewise.
12775 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12777 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 12778 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
12779 * sysdeps/powerpc/powerpc32/sysdep.h:
12780 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
12781 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12782 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12783 * sysdeps/i386/fpu/e_powf.S: Likewise.
12784 * sysdeps/i386/fpu/e_expl.S: Likewise.
12785 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12786 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12787 * sysdeps/i386/fpu/e_pow.S: Likewise.
12788 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12789 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12790 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12791 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12792 * sysdeps/i386/fpu/e_log2.S: Likewise.
12793 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12794 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12795 * sysdeps/i386/fpu/e_powl.S: Likewise.
12796 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12797 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12798 * sysdeps/i386/fpu/e_logl.S: Likewise.
12799 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12800 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12801 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12802 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12803 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12804 * sysdeps/i386/fpu/e_log.S: Likewise.
12805 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12806 * sysdeps/i386/fpu/e_logf.S: Likewise.
12807 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12808 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12809 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12810 * sysdeps/i386/fpu/e_log10.S: Likewise.
12811 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12812 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12813 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12814 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12815 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12816 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12817 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12818 * sysdeps/i386/i686/strtok.S: Likewise.
12819 * sysdeps/i386/i386-mcount.S: Likewise.
12820 * sysdeps/i386/strtok.S: Likewise.
12821 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12822 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12823 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12824 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12825 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12826 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12827 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12828 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12829 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12830 * sysdeps/x86_64/_mcount.S: Likewise.
12831 * sysdeps/x86_64/strtok.S: Likewise.
12832 * sysdeps/sh/_mcount.S: Likewise.
12833
2747bf9a
RM
128342012-08-01 Roland McGrath <roland@hack.frob.com>
12835
12836 * libio/iofopen.c: Include <fcntl.h>.
12837 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12838 (_IO_fopen64, fopen64): Define as aliases.
12839 * libio/iofopen64.c: Include <fcntl.h>.
12840 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12841 Conditionalize body on this.
12842 * sysdeps/wordsize-64/iofopen.c: File removed.
12843 * sysdeps/wordsize-64/iofopen64.c: File removed.
12844
3fb791b8
MP
128452012-08-01 Marek Polacek <polacek@redhat.com>
12846
12847 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12848 Use dlfcn directly instead of a variable.
12849 (binfmt-subdir): Do not define.
12850 (dlfcn): Likewise.
12851
a9f1039f
JM
128522012-08-01 Joseph Myers <joseph@codesourcery.com>
12853
23bddc06
JM
12854 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12855 Remove all definitions.
12856 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12857 <kernel-features.h>.
12858 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12859 (miss_F_GETOWN_EX): Remove all definitions.
12860 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12861 macro definition.
12862 [!__ASSUME_FCNTL64]: Remove conditional code.
12863 [__ASSUME_FCNTL64]: Make code unconditional.
12864 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12865 <kernel-features.h>.
12866 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12867 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12868 (lockf64) [__NR_fcntl64]: Make code unconditional.
12869 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12870
a9f1039f
JM
12871 * sysdeps/unix/sysv/linux/kernel-features.h
12872 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12873 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12874 Make code unconditional.
12875 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12876 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12878 [__NR_vfork]: Make code unconditional.
12879 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12880 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12882 [__NR_vfork]: Make code unconditional.
12883 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12884 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12885
09c0ee5f
RM
128862012-08-01 Roland McGrath <roland@hack.frob.com>
12887
48aec5b9
RM
12888 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12889 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12890
cd97c966
RM
12891 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12892 Define mkstemp64 as an alias.
3f55550c
RM
12893 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12894 Define mkstemps64 as an alias.
cd97c966
RM
12895 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12896 Define mkostemp64 as an alias.
b8625cfc
RM
12897 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12898 Define mkostemps64 as an alias.
cd97c966
RM
12899 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12900 Conditionalize body on this.
12901 * misc/mkostemp64.c: Likewise.
b8625cfc 12902 * misc/mkostemps64.c: Likewise.
3f55550c 12903 * misc/mkstemps64.c: Likewise.
cd97c966
RM
12904 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12905 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12906 * sysdeps/wordsize-64/mkostemp.c: File removed.
12907 * sysdeps/wordsize-64/mkstemp.c: File removed.
12908 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12909 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12910 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12911 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12912
09c0ee5f
RM
12913 [BZ #14138]
12914 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12915 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12916 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12917 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12918
12919 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12920 compat_symbol macros from <shlib-compat.h> rather than the underlying
12921 default_symbol_version and symbol_version macros, so that DEFAULT
12922 lines in shlib-versions are respected.
12923 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12924
7e66ee51
FW
129252012-08-01 Florian Weimer <fweimer@redhat.com>
12926
12927 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12928 Declare with warn_unused_result.
12929 (setgid, setregid, setegid, setresgid): Likewise.
12930 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12931 Likewise.
12932 * WUR-REPORT: Remove set*id functions.
12933
d2a54255
PT
129342012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12935
12936 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12937
7ecdb005
RM
129382012-07-31 Roland McGrath <roland@hack.frob.com>
12939
b4180a5e 12940 [BZ #10191]
789bd351
RM
12941 * include/sys/socket.h (__libc_accept, __libc_accept4):
12942 Add attribute_hidden.
12943 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12944
40ce302d
RM
12945 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12946 use of PTR_MANGLE.
12947 * inet/getnetgrent_r.c (setup): Likewise.
12948
7ecdb005
RM
12949 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12950
e2eabb2c
DM
129512012-07-31 David S. Miller <davem@davemloft.net>
12952
12953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12954
d0419dbf
JM
129552012-07-31 Joseph Myers <joseph@codesourcery.com>
12956
12957 [BZ #13629]
12958 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12959 value between 1.0 and 2.0 and smaller part has absolute value less
12960 than 1.0.
12961 * math/s_clog10.c (__clog10): Likewise.
12962 * math/s_clog10f.c (__clog10f): Likewise.
12963 * math/s_clog10l.c (__clog10l): Likewise.
12964 * math/s_clogf.c (__clogf): Likewise.
12965 * math/s_clogl.c (__clogl): Likewise.
12966 * math/libm-test.inc (clog_test): Add more tests.
12967 (clog10_test): Likewise.
12968 * sysdeps/i386/fpu/libm-test-ulps: Update.
12969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12970
2bc13872
FW
129712012-07-31 Florian Weimer <fweimer@redhat.com>
12972
12973 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12974 Exit with zero in case no suitable GID is found, and write a
12975 message to standard error.
12976
bea9b193
RM
129772012-07-30 Roland McGrath <roland@hack.frob.com>
12978
12979 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12980 rather than to 1.
12981 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12982 (MAXPATHLEN): Removed.
12983 (NOGROUP, NODEV): New macros.
12984 (setbit, clrbit, isset, isclr): New macros.
12985 (howmany, roundup, powerof2): New macros.
12986 (DEV_BSIZE): New macro.
12987
12988 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12989 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12990
12991 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12992 definition on [!__NO_LONG_DOUBLE_MATH].
12993
12994 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12995 PTR_MANGLE and PTR_DEMANGLE.
12996
12997 * socket/accept4.c (accept4): Rename to __libc_accept4.
12998 Define accept4 as a weak alias.
12999
13000 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13001 on [_DIRENT_HAVE_D_TYPE].
13002 * io/ftw.c (ftw_dir): Likewise.
13003
13004 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13005
13006 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13007
13008 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13009 Use the BSD numbers rather than the arbitrary ones we had.
13010 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13011 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13012 (SIGXCPU, SIGXFSZ): New macros.
13013 (_NSIG): Now 32.
13014
13015 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13016 initializer on [_LIBC_REENTRANT].
13017
13018 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13019 definitions inside [_POSIX_MAPPED_FILES].
13020
13021 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13022
13023 * dirent/opendir.c: Include <fcntl.h>.
13024
13025 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13026 (__libc_getspecific): Likewise.
13027 (__libc_key_create): Likewise.
13028
13029 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13030 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13031 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13032 (tmpfile64): Define as alias.
13033 * sysdeps/wordsize-64/tmpfile.c: File removed.
13034 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13035 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13036 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13037
13038 * stdio-common/vfscanf.c: Include <stdbool.h>.
13039 * nss/makedb.c: Likewise.
13040 * stdio-common/_i18n_number.h: Likewise.
13041 * argp/argp-help.c: Likewise.
13042 * posix/wordexp.c: Likewise.
13043 * sysdeps/posix/spawni.c: Likewise.
13044 * nss/nss_files/files-initgroups.c: Likewise.
13045 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13046 * nss/nss_files/files-initgroups.c: Likewise.
13047 * nss/nss_db/db-netgrp.c: Likewise.
13048 * nss/nss_db/db-initgroups.c: Likewise.
13049 * io/fchmodat.c: Include <sys/stat.h>.
13050
13051 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13052 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13053
13054 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13055 [HAVE_MMAP].
13056
13057 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13058 Add multiple inclusion protection.
13059
e5abc686
DM
130602012-07-27 David S. Miller <davem@davemloft.net>
13061
13062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13063
815e6fa3
GB
130642012-07-27 Gary Benson <gbenson@redhat.com>
13065
13066 [BZ #14298]
13067 * elf/rtld.c: Include <stap-probe.h>.
13068 (dl_main): Added static probes "init_start" and "init_complete".
13069 * elf/dl-load.c: Include <stap-probe.h>.
13070 (lose): Take new parameter "nsid".
13071 Added static probe "map_failed".
13072 (_dl_map_object_from_fd): Pass namespace id to lose.
13073 Added static probe "map_start".
13074 (open_verify): Pass namespace id to lose.
13075 * elf/dl-open.c: Include <stap-probe.h>.
13076 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13077 and "reloc_complete".
13078 * elf/dl-close.c: Include <stap-probe.h>.
13079 (_dl_close_worker): Added static probes "unmap_start" and
13080 "unmap_complete".
13081 * elf/rtld-debugger-interface.txt: New file documenting the above.
13082
9f98c16c
RM
130832012-07-26 Roland McGrath <roland@hack.frob.com>
13084
13085 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13086 rather than a string variable.
13087 * sunrpc/rpc_main.c (h_output): Likewise.
13088 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13089
f3c22df3
PT
130902012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13091
13092 * inet/check_native.c: New file.
13093
3129cfc6
JM
130942012-07-26 Joseph Myers <joseph@codesourcery.com>
13095
da865e95
JM
13096 [BZ #13629]
13097 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13098 if larger part has absolute value 1.0.
13099 * math/s_clog10.c (__clog10): Likewise.
13100 * math/s_clog10f.c (__clog10f): Likewise.
13101 * math/s_clog10l.c (__clog10l): Likewise.
13102 * math/s_clogf.c (__clogf): Likewise.
13103 * math/s_clogl.c (__clogl): Likewise.
13104 * math/libm-test.inc (clog_test): Add more tests.
13105 (clog10_test): Likewise.
13106 * sysdeps/i386/fpu/libm-test-ulps: Update.
13107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13108
3129cfc6
JM
13109 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13110 (pltexit): Likewise.
13111 (La_regs): Likewise.
13112 (La_retval): Likewise.
13113 (int_retval): Likewise.
13114 Update #error for removed macros to refer only to definitions in
13115 tst-audit.h.
13116 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13117 macro.
13118 (pltexit): Likewise.
13119 (La_regs): Likewise.
13120 (La_retval): Likewise.
13121 (int_retval): Likewise.
13122 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13123 macro.
13124 (pltexit): Likewise.
13125 (La_regs): Likewise.
13126 (La_retval): Likewise.
13127 (int_retval): Likewise.
13128 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13129 macro.
13130 (pltexit): Likewise.
13131 (La_regs): Likewise.
13132 (La_retval): Likewise.
13133 (int_retval): Likewise.
13134 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13135 macro.
13136 (pltexit): Likewise.
13137 (La_regs): Likewise.
13138 (La_retval): Likewise.
13139 (int_retval): Likewise.
13140 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13141 macro.
13142 (pltexit): Likewise.
13143 (La_regs): Likewise.
13144 (La_retval): Likewise.
13145 (int_retval): Likewise.
13146 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13147 macro.
13148 (pltexit): Likewise.
13149 (La_regs): Likewise.
13150 (La_retval): Likewise.
13151 (int_retval): Likewise.
13152 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13153 macro definitions in tst-audit.h.
13154 * sysdeps/i386/tst-audit.h: New file.
13155 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13156 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13157 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13158 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13159 * sysdeps/sh/tst-audit.h: Likewise.
13160 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13161 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13162 * sysdeps/x86_64/tst-audit.h: Likewise.
13163
bfc07087
AJ
131642012-07-26 Andreas Jaeger <aj@suse.de>
13165
b1b2aaf8
AJ
13166 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13167 ptrace.
13168
13169 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13170 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13171 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13172 PTRACE_O_MASK.
13173 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13174 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13175 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13176
bfc07087
AJ
13177 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13178 value.
13179
13180 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13181 _sigsys.
13182 (si_call_addr, si_syscall, si_arch): Define new macro.
13183 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13184 _sigsys.
13185 (si_call_addr, si_syscall, si_arch): Define new marcro.
13186 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13187 _sigsys.
13188 (si_call_addr, si_syscall, si_arch): Define new macro.
13189 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13190 _sigsys.
13191 (si_call_addr, si_syscall, si_arch): Define new macro.
13192
89b4b02f
JM
131932012-07-25 Joseph Myers <joseph@codesourcery.com>
13194
13195 [BZ #13717]
13196 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13197 Change to 2.4.21 where previously 2.4.1.
13198 * sysdeps/unix/sysv/linux/configure: Regenerated.
13199 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13200 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13201 Linux kernel version.
13202 (__ASSUME_STD_AUXV): Remove.
13203 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13204 kernel version.
13205 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13206 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13207 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13208 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13209 (__ASSUME_NETLINK_SUPPORT): Likewise.
13210 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13211 (__no_netlink_support): Remove conditional definition.
13212 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13213 Remove.
13214 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13215 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13216 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13217 (if_nameindex_ioctl): Remove.
13218 (if_nameindex_netlink): Do not handle __no_netlink_support.
13219 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13220 code.
13221 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13222 Remove conditional code.
13223 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13224 code.
13225 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13226 unconditional.
13227 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13228 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13229 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13230 Remove.
13231 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13232 [!__ASSUME_STD_AUXV]: Remove conditional code.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13234 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13235 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13237 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13238 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13239 code.
13240 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13242 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13243 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13244 conditional code.
13245 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13247 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13248 code.
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13250 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13251 conditional code.
13252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13253 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13254 code unconditional.
13255 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13256 conditional code.
13257 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13258 unconditional.
13259 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13260 conditional code.
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13262 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13263 unconditional.
13264 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13265 conditional code.
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13267 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13268 code unconditional.
13269 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13270 conditional code.
13271 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13272 unconditional.
13273 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13274 conditional code.
13275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13276 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13277 code unconditional.
13278 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13279 conditional code.
13280 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13281 unconditional.
13282 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13283 conditional code.
13284
842a39cd
AS
132852012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13286
13287 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13288 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13289 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13290 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13291 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13292 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13293 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13294 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13295 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13296 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13297 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13298 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13299 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13300 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13301 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13303 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13304 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13305 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13306 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13310
84b3fd84
FW
133112012-07-25 Florian Weimer <fweimer@redhat.com>
13312
13313 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
13314 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13315 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13316 Introduce __libc_secure_getenv.
0c7936d5
FW
13317 * stdlib/Versions (2.17): Add secure_getenv
13318 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13319 * stdlib/secure-getenv.c: Rename __secure_getenv to
13320 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13321 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
13322 * stdlib/tst-secure-getenv.c: New.
13323 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13324 * manual/startup.texi (Environment Access): Document
13325 secure_getenv.
84b3fd84
FW
13326 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13327 __libc_secure_getenv.
13328 * inet/ruserpass.c (ruserpass): Likewise.
13329 * malloc/mtrace.c (mtrace): Likewise.
13330 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 13331 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
13332 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13333 * sysdeps/posix/tempname.c: Likewise. Evaluate
13334 HAVE_SECURE_GETENV.
13335 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 13336 __secure_getenv to __libc_secure_getenv.
84b3fd84 13337 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13339 Likewise.
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13341 Likewise.
13342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13344 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 13349
56e49b71
JM
133502012-07-25 Joseph Myers <joseph@codesourcery.com>
13351
13352 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13353 (struct La_i86_retval): Likewise.
13354 (struct La_x86_64_regs): Likewise.
13355 (struct La_x86_64_retval): Likewise.
13356 (struct La_x32_regs): Likewise.
13357 (struct La_x32_retval): Likewise.
13358 (struct La_ppc32_regs): Likewise.
13359 (struct La_ppc32_retval): Likewise.
13360 (struct La_ppc64_regs): Likewise.
13361 (struct La_ppc64_retval): Likewise.
13362 (struct La_sh_regs): Likewise.
13363 (struct La_sh_retval): Likewise.
13364 (struct La_s390_32_regs): Likewise.
13365 (struct La_s390_32_retval): Likewise.
13366 (struct La_s390_64_regs): Likewise.
13367 (struct La_s390_64_retval): Likewise.
13368 (struct La_sparc32_regs): Likewise.
13369 (struct La_sparc32_retval): Likewise.
13370 (struct La_sparc64_regs): Likewise.
13371 (struct La_sparc64_retval): Likewise.
13372 (struct audit_ifaces): Remove architecture-specific pltenter and
13373 pltexit members.
13374 * sysdeps/i386/ldsodefs.h: New file.
13375 * sysdeps/powerpc/ldsodefs.h: Likewise.
13376 * sysdeps/s390/ldsodefs.h: Likewise.
13377 * sysdeps/sh/ldsodefs.h: Likewise.
13378 * sysdeps/sparc/ldsodefs.h: Likewise.
13379 * sysdeps/x86_64/ldsodefs.h: Likewise.
13380
354691b7
MP
133812012-07-25 Marek Polacek <polacek@redhat.com>
13382
13383 [BZ #6808]
13384 * math/libm-test.inc (yn_test): Add another test.
13385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13386 to ERANGE when the result is +-Inf.
13387 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13388 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13389 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13390 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13391
bf9e2071
JM
133922012-07-24 Joseph Myers <joseph@codesourcery.com>
13393
13394 * conform/data/time.h-data (NULL): Use macro-constant. Require
13395 equal to 0.
13396 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13397 clock_t.
13398 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13399
57633811
TS
134002012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13401
13402 * configure.in <sysdeps resolving>: Correct printing
13403 Implies_before.
13404 * configure: Regenerate.
13405
c23c33b0
TS
134062012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13407
13408 * math/w_ilogb.c: Include <limits.h>.
13409 * math/w_ilogbl.c: Likewise.
13410
b5982523
JM
134112012-07-20 Joseph Myers <joseph@codesourcery.com>
13412
13413 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13414 va_copy. Document allowing for unavailable va_copy only as
13415 pre-C99 compatibility.
13416 * manual/string.texi (Copying and Concatenation): Use va_copy
13417 instead of __va_copy in concat example.
13418
ac4ea442
PT
134192012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13420
13421 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13422 (__sendto): Use create_address_port. Initialize APORT and deallocate
13423 it if not null.
13424
f98eafbd
PT
13425 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13426 with O_NOLINK passed to __file_name_lookup.
13427
898c7aab
PT
13428 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13429 with O_NOLINK passed to __file_name_lookup.
13430
0ced335a
PT
13431 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13432 negative N or less than NGIDS.
13433
b3404dbd
PT
13434 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13435 type to string_t. Set ERANGE as errno and return it if NAME is not big
13436 enough. Use memcpy instead of strncpy.
13437
0f48659e
JM
134382012-07-20 Joseph Myers <joseph@codesourcery.com>
13439
13440 * elf/Makefile (check-data): Remove.
13441 (localplt.data): New vpath directive.
13442 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13443 instead of $(check-data).
13444 * scripts/data/localplt-generic.data: Move to ...
13445 * sysdeps/generic/localplt.data: ... here.
13446 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13447 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13448 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13450 ... here.
13451 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13453 ... here.
13454 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13456 ... here.
13457 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13459 ... here.
13460 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13462 ... here.
13463 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13465 ... here.
13466
d37cbdaa
AZ
134672012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13468
13469 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13470 PPC32 and PPC64 files.
13471 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13472 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13473
46f85fc2
AK
134742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13475
13476 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13477 __makecontext_ret to ...
13478 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13479 ... here and call exit if uc_link is NULL. New file.
13480 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13481 __makecontext_ret.S.
13482 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13483 __makecontext_ret to ...
13484 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13485 ... here and call exit if uc_link is NULL. New file.
13486 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13487 __makecontext_ret.S.
13488
08f43f9b
AK
134892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13490
13491 * elf/elf.h (R_390_IRELATIVE): New definition.
13492 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13493 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13494 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13495 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13496 (elf_machine_lazy_rel): Likewise.
13497 * sysdeps/s390/dl-irel.h: New file.
13498 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13499 * sysdeps/s390/s390-64/memset.S: New asm code.
13500 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13501 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13502 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13503 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13504 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13505 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13506 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13507 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13508 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13509 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13510 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13511 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13512 * sysdeps/s390/s390-32/memset.S: New asm code.
13513 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13514
3b05db33
MP
135152012-07-17 Marek Polacek <polacek@redhat.com>
13516
13517 [BZ #14349]
13518 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13519 * sysdeps/s390/s390-64/configure.in: Likewise.
13520 * sysdeps/sparc/configure.in: Likewise.
13521 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13522 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13523 * sysdeps/i386/configure.in: Likewise.
13524 * sysdeps/x86_64/configure.in: Likewise.
13525 * sysdeps/sh/configure.in: Likewise.
13526 * sysdeps/s390/s390-32/configure: Regenerated.
13527 * sysdeps/s390/s390-64/configure: Likewise.
13528 * sysdeps/x86_64/configure: Likewise.
13529 * sysdeps/sh/configure: Likewise.
13530 * sysdeps/powerpc/powerpc64/configure: Likewise.
13531 * sysdeps/powerpc/powerpc32/configure: Likewise.
13532 * sysdeps/sparc/configure: Likwise.
13533 * sysdeps/i386/configure: Likewise.
13534
a66877c6
MP
13535 * elf/dl-open.c: Comment fixes.
13536
cfc82fd8
JM
135372012-07-17 Joseph Myers <joseph@codesourcery.com>
13538
bd29910a
JM
13539 * Makefile [CXX] (check-data): Remove.
13540 [CXX] (c++-types.data): New vpath directive.
13541 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13542 vpath. Do not allow for C++ type data being missing.
13543 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13544 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13545 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13546 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13547 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13548 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13549 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13551 ... here.
13552 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13554 ... here.
13555 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13557 ... here.
13558 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13560 ... here.
13561 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13563 ... here.
13564 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13566 ... here.
13567 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13569 ... here.
13570 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13572
cfc82fd8
JM
13573 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13574 definitions to architecture-specific files.
13575 (TLS_IE): Likewise.
13576 (TLS_LD): Likewise.
13577 (TLS_GD): Likewise.
13578 * sysdeps/i386/tls-macros.h: New file.
13579 * sysdeps/powerpc/tls-macros.h: Likewise.
13580 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13581 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13582 * sysdeps/sh/tls-macros.h: Likewise.
13583 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13584 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13585 * sysdeps/x86_64/tls-macros.h: Likewise.
13586
f7db3170
TS
135872012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13588
07cbfc23
TS
13589 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13590 zero value for regular exit case.
13591
f7db3170
TS
13592 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13593 (__start_context): Preserve zero value for regular exit case.
13594
dc97c227
TS
135952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13596 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13597
13598 * manual/setjmp.texi (setcontext): Clarify normal process
13599 termination when uc_link is the null pointer.
13600 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13601 exit call.
13602
d0cd7d02
AS
136032012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13604
13605 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13606 preprocessor. Test for each exception mask separately.
13607
dd318934
AJ
136082012-07-16 Andreas Jaeger <aj@suse.de>
13609
13610 * po/ru.po: Update from translation team.
13611
8048311a
JM
136122012-07-15 Joseph Myers <joseph@codesourcery.com>
13613
13614 * conform/data/string.h-data (NULL): Use macro-constant. Require
13615 equal to 0.
13616 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13617 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13618 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13619 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13620 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13621
b637d46e
AJ
136222012-07-13 Andreas Jaeger <aj@suse.de>
13623
13624 * po/fr.po: Update from translation team.
13625
541428fe
MP
136262012-07-12 Marek Polacek <polacek@redhat.com>
13627
13628 [BZ #14173]
13629 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13630 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13631 loop condition.
13632
ec332e94
JM
136332012-07-12 Joseph Myers <joseph@codesourcery.com>
13634
13635 [BZ #13717]
13636 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13637 Change to 2.4.1 where previously 2.4.0.
13638 * sysdeps/unix/sysv/linux/configure: Regenerated.
13639 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13640 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13641 version.
13642 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13643 (__ASSUME_AT_CLKTCK): Remove.
13644 (__ASSUME_AT_PAGESIZE): Likewise.
13645 (__ASSUME_AT_XID): Likewise.
13646 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13647 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13648 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13649 unconditionally.
13650 (HAVE_AUX_PAGESIZE): Likewise.
13651 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13652 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13653 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13654
7b6e99be
JB
136552012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13656
13657 [BZ #14307]
13658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13659 the temporary buffer used to invoke __gethostbyname2_r,
13660 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13661 host_data / struct gaih_addrtuple.
13662 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13663 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13664 header file nss/nsswitch.h.
13665 * nss/nsswitch.h (global scope): Add definition of implementation
13666 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13667 resolv/nss_dns/dns-host.c).
13668
608404eb
AJ
136692012-07-11 Andreas Jaeger <aj@suse.de>
13670
13671 * po/fr.po: Update from translation team.
13672
71220aca
AJ
13673 * po/sv.po: Update from translation team
13674 * po/fr.po: Another update from translation team.
13675
28cfe843
AZ
136762012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13677
13678 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13679 for subnormals or multiply small sinh result by itself.
13680 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13682
6b90f981
DM
136832012-07-11 David S. Miller <davem@davemloft.net>
13684
13685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13686
c6825772
AS
136872012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13688
13689 [BZ #14347]
13690 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13691 (INTERNAL_MARK): Shift it here.
13692
7b8e0d49
MP
136932012-07-10 Marek Polacek <polacek@redhat.com>
13694
13695 [BZ #14151]
13696 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13697 libc_cv_asm_global_directive with .globl.
13698 * configure: Regenerated.
13699 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13700 with .globl.
13701 * sysdeps/i386/configure: Regenerated.
13702 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13703 with .globl.
13704 * sysdeps/x86_64/configure: Regenerated.
13705 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13706 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13707 * elf/tst-unique2mod2.c: Likewise.
13708 * elf/tst-unique2mod1.c: Likewise.
13709 * elf/tst-unique1mod2.c: Likewise.
13710 * elf/tst-unique1mod1.c: Likewise.
13711 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13712 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13713 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13714 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13715 * sysdeps/mach/sysdep.h: Likewise.
13716 * sysdeps/i386/sysdep.h: Likewise.
13717 * sysdeps/i386/i386-mcount.S: Likewise.
13718 * sysdeps/x86_64/_mcount.S: Likewise.
13719 * sysdeps/x86_64/sysdep.h: Likewise.
13720 * sysdeps/sh/_mcount.S: Likewise.
13721 * sysdeps/sh/sysdep.h: Likewise.
13722 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13723 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13724 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13725 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13726 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13727 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13728 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13729 * locale/localeinfo.h: Likewise.
13730 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13731 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13732
6c55cda3
RM
137332012-07-09 Roland McGrath <roland@hack.frob.com>
13734
13735 [BZ #14336]
13736 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13737 system".
13738 * manual/message.texi (The Uniforum approach): Likewise.
13739 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13740 (glibc iconv Implementation): Likewise.
13741
638a572e
JM
137422012-07-09 Joseph Myers <joseph@codesourcery.com>
13743
13744 [BZ #14337]
13745 * math/s_clog.c (__clog): Avoid scaling a value down where that
13746 could result in underflow.
13747 * math/s_clog10.c (__clog10): Likewise.
13748 * math/s_clog10f.c (__clog10f): Likewise.
13749 * math/s_clog10l.c (__clog10l): Likewise.
13750 * math/s_clogf.c (__clogf): Likewise.
13751 * math/s_clogl.c (__clogl): Likewise.
13752 * math/libm-test.inc (clog_test): Add more tests.
13753 (clog10_test): Likewise.
13754 * sysdeps/i386/fpu/libm-test-ulps: Update.
13755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13756
261f4859
AS
137572012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13758
0abaf3e4
AS
13759 [BZ #14283]
13760 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13761 by 7 not 8 to examine high bit of fractional part.
13762
261f4859
AS
13763 [BZ #14042]
13764 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13765 for call to __mcount_internal.
13766 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13767 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13768 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13769
f17ac40d
JM
137702012-07-06 Joseph Myers <joseph@codesourcery.com>
13771
9ad63c23
JM
13772 [BZ #14154]
13773 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13774 approximation for values within 0x1p-13f of an odd multiple of
13775 pi/4.
13776 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13777 exception. Add more tests.
13778 * sysdeps/i386/fpu/libm-test-ulps: Update.
13779
f17ac40d
JM
13780 [BZ #6778]
13781 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13782 inputs and return -1 for them. Do not check for +Inf in case not
13783 reachable for +Inf.
13784 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13785 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13786 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13787 and return -1 for them. Do not check for +Inf in case not
13788 reachable for +Inf.
13789 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13790 define.
13791 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13792 and return -1 for them. Do not check for +Inf in case not
13793 reachable for +Inf.
13794 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13795 spurious underflow.
13796 * sysdeps/i386/fpu/libm-test-ulps: Update.
13797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13798
fb21f89b
MF
137992012-07-06 Mike Frysinger <vapier@gentoo.org>
13800
13801 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13802
cdfe2c5e
JM
138032012-07-05 Joseph Myers <joseph@codesourcery.com>
13804
13805 [BZ #14157]
13806 [BZ #14331]
13807 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13808 could result in spurious underflow. Scale down values above
13809 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13810 * math/s_csqrtf.c (__csqrtf): Likewise.
13811 * math/s_csqrtl.c (__csqrtl): Likewise.
13812 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13813 spurious underflow.
13814 * sysdeps/i386/fpu/libm-test-ulps: Update.
13815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13816
70d35b67
AS
138172012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13818
704bc459
AS
13819 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13820 xopen-msg.sed.
13821 * catgets/xopen-msg.awk: New file.
13822 * catgets/xopen-msg.sed: Removed.
13823
70d35b67
AS
13824 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13825 po2text.sed.
13826 * intl/po2test.awk: New file.
13827 * intl/po2test.sed: Removed.
13828
ca61cf32
JM
138292012-07-04 Joseph Myers <joseph@codesourcery.com>
13830
13831 [BZ #14328]
13832 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13833 or multiply small sinh result by itself.
13834 * math/s_ctanf.c (__ctanf): Likewise.
13835 * math/s_ctanh.c (__ctanh): Likewise.
13836 * math/s_ctanhf.c (__ctanhf): Likewise.
13837 * math/s_ctanhl.c (__ctanhl): Likewise.
13838 * math/s_ctanl.c (__ctanl): Likewise.
13839 * math/libm-test.inc (ctan_test_tonearest): New function.
13840 (ctan_test_towardzero): Likewise.
13841 (ctan_test_downward): Likewise.
13842 (ctan_test_upward): Likewise.
13843 (ctanh_test_tonearest): Likewise.
13844 (ctanh_test_towardzero): Likewise.
13845 (ctanh_test_downward): Likewise.
13846 (ctanh_test_upward): Likewise.
13847 (main): Call these new functions.
13848 * sysdeps/i386/fpu/libm-test-ulps: Update.
13849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13850
ca48a46a
MF
138512012-07-03 Mike Frysinger <vapier@gentoo.org>
13852
13853 * .gitignore: Delete /ports entry.
13854
9d63d37d
AJ
138552012-07-03 Andreas Jaeger <aj@suse.de>
13856
13857 * po/bg.po: Update from translation team.
13858 * po/cs.po: Likewise.
13859 * po/de.po: Likewise.
13860 * po/hr.po: Likewise.
13861 * po/nl.pl: Likewise.
13862 * po/pl.po: Likewise.
13863 * po/vi.po: Likewise.
13864
370ca3d2
JM
138652012-07-03 Joseph Myers <joseph@codesourcery.com>
13866
95f5a9a8
JM
13867 * Makeconfig [!+link] (+link-before-libc): New variable.
13868 [!+link] (+link-after-libc): Likewise.
13869 [!+link] (+link-tests): Likewise.
13870 [!+link] (+link): Define in terms of $(+link-before-libc) and
13871 $(+link-after-libc).
13872 [!+link-static] (+link-static-before-libc): New variable.
13873 [!+link-static] (+link-static-after-libc): Likewise.
13874 [!+link-static] (+link-static-tests): Likewise.
13875 [!+link-static] (+link-static): Define in terms of
13876 $(+link-static-before-libc) and $(+link-static-after-libc).
13877 [build-shared] (link-libc-before-gnulib): New variable.
13878 [build-shared] (link-libc-tests): Likewise.
13879 [build-shared] (link-libc): Define in terms of
13880 $(link-libc-before-gnulib).
13881 [!build-shared] (link-libc-tests): New variable.
13882 (link-libc-static-tests): New variable.
13883 [!gnulib] (gnulib-arch): New variable.
13884 [!gnulib] (gnulib-tests): Likewise.
13885 [!gnulib] (static-gnulib-arch): Likewise.
13886 [!gnulib] (static-gnulib-tests): Likewise.
13887 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13888 Define with "=" instead of ":=".
13889 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13890 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13891 * Rules (binaries-all-notests): New variable.
13892 (binaries-all-tests): Likewise.
13893 (binaries-static-notests): Likewise.
13894 (binaries-static-tests): Likewise.
13895 (binaries-all): Define using $(binaries-all-notests) and
13896 $(binaries-all-tests).
13897 (binaries-static): Define using $(binaries-static-notests) and
13898 $(binaries-static-tests).
13899 (binaries-shared-tests): New variable.
13900 (binaries-shared-notests): Likewise.
13901 (binaries-shared): Remove variable.
13902 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13903 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13904 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13905 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13906 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13907 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13908 * elf/Makefile (sln-modules): New variable.
13909 (extra-objs): Add $(sln-modules:=.o).
13910 (ldconfig-modules): Add static-stubs.
13911 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13912 * elf/static-stubs.c: New file.
13913
7a845b2c
JM
13914 [BZ #14283]
13915 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13916 by 7 not 8 to examine high bit of fractional part. Use volatile
13917 variables when splitting into final array of floats if
13918 __FLT_EVAL_METHOD__ != 0.
13919 * math/libm-test.inc (cos_test): Add another test.
13920 (sin_test): Likewise.
13921 * sysdeps/i386/fpu/libm-test-ulps: Update.
13922
e2283f38
JM
13923 [BZ #14273]
13924 * math/libm-test.inc (cosh_test): Add more tests.
13925
370ca3d2
JM
13926 * version.h (RELEASE): Set to "development".
13927 (VERSION): Set to "2.16.90".
13928
ee9247c3
CD
139292012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13930
13931 * NEWS: Update copyright. Remove last-updated date.
13932 Mention math library bug fixes and timezone data changes.
13933 * README: Mention GNU/Hurd, x32, and HPPA support status.
13934
4648c381
TS
139352012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13936
13937 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13938
aac78a43
AJ
139392012-06-27 Andreas Jaeger <aj@suse.de>
13940
13941 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13942
ed3dbfad
AJ
139432012-06-25 Andreas Jaeger <aj@suse.de>
13944
13945 * sysdeps/s390/fpu/libm-test-ulps: Update.
13946
4d0ee855
AS
139472012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13948 Thomas Schwinge <thomas@codesourcery.com>
13949
13950 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13951 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13952 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13953 fanotify_mark.
13954
af1bce34
TS
139552012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13956
a9fa33ba
TS
13957 * sysdeps/mach/start.c: Remove file.
13958 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13959 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13960 * sysdeps/sh/init-first.c: Likewise.
13961
58f902b8
TS
13962 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13963 registers for frame unwinding purposes, add CFI directives.
13964 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13965 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13966 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13967 Likewise.
13968
1518f58b
TS
13969 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13970 __fortify_fail returning.
13971 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13972
db9b5059
TS
13973 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13974 sysdeps/sh/____longjmp_chk.S.
13975 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13976 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13977 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13978 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13979
967705fe
TS
13980 * sysdeps/sh/abort-instr.h: New file.
13981 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13982 process in case exit returns.
13983
a9def8c4
TS
13984 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13985 initialize the GOT register before use.
13986
2a649725
TS
13987 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13988 calculation of ARGC > 4.
13989
af1bce34
TS
13990 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13991 meaningful names to some local labels.
13992
d230f50a
KK
139932012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13994 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13995
13996 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13997 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13998 (__arch_compare_and_exchange_val_16_acq): Likewise.
13999 (__arch_compare_and_exchange_val_32_acq): Likewise.
14000 (atomic_exchange_and_add): Fix gUSA sequence.
14001 (atomic_add): Likewise.
14002 (atomic_add_negative): Likewise.
14003 (atomic_add_zero): Likewise.
14004 (atomic_bit_test_set): Likewise.
14005
0479b305
AS
140062012-06-22 Andreas Schwab <schwab@redhat.com>
14007
14008 [BZ #13579]
14009 * include/link.h (struct link_map): Add l_free_initfini.
14010 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14011 l_initfini.
14012 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14013 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14014 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14015 set.
14016
0e3933b9
CD
140172012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14018
14019 * configure.in: Use AC_LANG_SOURCE.
14020 * configure: Regenerate.
14021
4248b1b1
RM
140222012-06-22 Roland McGrath <roland@hack.frob.com>
14023
14024 * configure.in (libc_cv_localstatedir): New substituted variable.
14025 * configure: Regenerated.
14026 * config.make.in (localstatedir): New variable, substituted from
14027 libc_cv_localstatedir.
14028 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14029 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14030 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14031 * sysdeps/gnu/configure: Regenerated.
14032
006dd861
JL
140332012-06-21 Jeff Law <law@redhat.com>
14034
14035 [BZ #14277]
14036 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14037 free. Simplify list management for _LIBC case.
14038
79662d42
JM
140392012-06-21 Joseph Myers <joseph@codesourcery.com>
14040
b7abb4bf
JM
14041 [BZ #14273]
14042 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14043 Clear sign bit of 64-bit integer value before comparing against
14044 overflow value.
14045
79662d42
JM
14046 * sysdeps/mach/configure: Regenerated.
14047
1f150908
L
140482012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14049
14050 [BZ #14278]
14051 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14052
28363bbf
JL
140532012-06-21 Jeff Law <law@redhat.com>
14054
14055 [BZ #13882]
14056 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14057 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 14058 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
14059 * elf/dl-open.c (dl_open_worker): Likewise.
14060
09615db4
CD
140612012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14062
14063 * scripts/list-sources.sh: Scan PORTS for translations.
14064 * po/libc.pot: Regenerated.
14065
2174c6dd
AJ
140662012-06-21 Andreas Jaeger <aj@suse.de>
14067
14068 [BZ #12194]
14069 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14070 warning.
14071 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14072 * bits/byteswap-16.h (__bswap_16): Likewise.
14073 * bits/byteswap.h (__bswap_constant_16): Likewise.
14074
3ee947b1
L
140752012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14076
14077 [BZ #14117]
a2f34833
L
14078 * sysdeps/i386/fpu_control.h: Removed.
14079 * sysdeps/x86_64/fpu_control.h: Moved to ...
14080 * sysdeps/x86/fpu_control.h: Here.
14081
3ee947b1
L
14082 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14083 (_FPU_SETCW): Likewise.
14084
ed1825f8
L
140852012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14086
25f1282a
L
14087 [BZ #14117]
14088 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14089 * sysdeps/x86/fpu/bits/mathinline.h: This.
14090 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14091
ed1825f8
L
14092 [BZ #14050]
14093 [BZ #14117]
14094 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14095 functions if __x86_64__ is defined.
14096
36d54b74
CLT
140972012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14098
14099 * string/endian.h: Add !__ASSEMBLER__ condition for including
14100 conversion interfaces.
14101
10285c21
JM
141022012-06-15 Joseph Myers <joseph@codesourcery.com>
14103
14104 [BZ #14241]
14105 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14106 of ABS(x) in calculating zero to negative powers other than odd
14107 integers.
14108 * math/libm-test.inc (pow_test): Add more tests.
14109
06c5abbd
AJ
141102012-06-15 Andreas Jaeger <aj@suse.de>
14111
14112 * manual/contrib.texi (Contributors): Update entry of Liubov
14113 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14114 Machado Filho.
14115
a3aeac40
CH
141162012-06-15 Cyril Hrubis <metan@ucw.cz>
14117
14118 * string/string.h: Add __wur to GNU version of strerror_r.
14119
49bdf4c1
L
141202012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14121
14122 [BZ #14229]
14123 * string/Makefile (tests): Add tst-strtok_r.
14124 * string/tst-strtok_r.c: New file.
14125 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14126 RAX_LP/RDX_LP on SAVE_PTR.
14127
834f9b8d
RM
141282012-06-14 Roland McGrath <roland@hack.frob.com>
14129
14130 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14131
75fa1921
JM
141322012-06-14 Joseph Myers <joseph@codesourcery.com>
14133
14134 * libm_test.inc (csqrt_test): Allow more spurious underflow
14135 exceptions.
14136 (j0_test): Likewise.
14137 (j1_test): Likewise.
14138 (y0_test): Likewise.
14139 (y1_test): Likewise.
14140
771766df
CD
141412012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14142
14143 * po/Makefile (libc.pot): Use UTF-8 charset.
14144
ceb9e56b
PP
141452012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14146
14147 [BZ #14210]
14148 Suppress sign-conversion warning from FD_SET.
14149 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14150 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14151 not unsigned long int.
14152 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14153
ddb28975
L
141542012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14155
14156 [BZ #14050]
14157 [BZ #14117]
14158 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14159 __extern_always_inline instead of __extern_inline.
14160 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14161 (__signbit): Likewise.
14162 (__signbitl): Support C++ namespace.
14163 (lrintf): New inline function.
14164 (lrint): Likewise.
14165 (llrintf): Likewise.
14166 (llrint): Likewise.
14167 (fmaxf): Likewise.
14168 (fmax): Likewise.
14169 (fminf): Likewise.
14170 (fmin): Likewise.
14171 (rint): Likewise.
14172 (rintf): Likewise.
14173 (ceil): Likewise.
14174 (ceilf): Likewise.
14175 (floor): Likewise.
14176 (floorf): Likewise.
14177 (nearbyint): Likewise.
14178 (nearbyintf): Likewise.
14179
d7b4fb26
TS
141802012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14181
14182 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14183 non-default versions.
14184
eb55f5c2
RM
141852012-06-11 Roland McGrath <roland@hack.frob.com>
14186
14187 [BZ #14218]
14188 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14189
366af02c
TS
141902012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14191
99ff6e5c
TS
14192 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14193 (FE_UPWARD, FE_DOWNWARD): Don't define.
14194 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14195 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14196
366af02c
TS
14197 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14198 reading it.
14199 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14200 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14201
793ea851
KK
142022012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14203
14204 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14205 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14206 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14207 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14208
a728a38f
L
142092012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14210
14211 [BZ #14117]
c08010c7
L
14212 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14213 * sysdeps/i386/fpu/Implies: New file.
14214 * sysdeps/x86_64/fpu/Implies: Likewise.
14215 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14216 * sysdeps/x86/fpu/bits/fenv.h: This.
14217
a728a38f
L
14218 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14219 __SSE_MATH__.
14220
6e230d11
SP
142212012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14222
14223 [BZ #14134]
14224 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14225 character 0xffff that matches the last element of the
14226 conversion table.
14227
1b671feb
AZ
142282012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14229
14230 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14231 fmodl commit.
14232
6043738b
AZ
142332012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14234
14235 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14236 values higher than 25.6283.
14237
34ae0b32
AZ
142382012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14239
14240 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14241 subnormal exponent extraction and add some __builtin_expect.
14242 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14243 Fix for subnormal mantissa calculation.
14244
1214ec8f
MF
142452012-06-04 Mike Frysinger <vapier@gentoo.org>
14246
14247 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14248 cpu2 is -1 and errno is not ENOSYS.
14249
f3d1f93c
L
142502012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14251
14252 [BZ #14117]
0e4a3cd7
L
14253 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14254 * sysdeps/x86/bits/string.h: This.
14255 * sysdeps/x86_64/bits/string.h: Removed.
14256
6704c645
L
14257 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14258 if not compiling for x86-64, but compiling for >= i486.
14259
48495318
L
14260 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14261 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14262
14adcbfc
L
14263 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14264 New macro from Linux kernel 3.4.0.
14265 (FP_XSTATE_MAGIC2): Likewise.
14266 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14267 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14268 (struct _fpx_sw_bytes): New struct.
14269 (struct _xsave_hdr): Likewise.
14270 (struct _ymmh_state): Likewise.
14271 (struct _xstate): Likewise.
14272
68e408ab
L
14273 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14274 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14276 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14277 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14278 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14279
f3d1f93c
L
14280 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14281 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14282 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14283 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14284 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14285 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14286
d9dc34cd
TMQMF
142872012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14288
14289 [BZ #13743]
14290 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14291 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14292 (sysdep_headers): Include sys/platform/ppc.h.
14293 * sysdeps/powerpc/test-gettimebase.c: Test for
14294 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14295 * manual/Makefile (appendices): Include platform.texi.
14296 * manual/contrib.texi (Contributors): Update @node pointers.
14297 * manual/maint.texi (Maintenance): Likewise.
14298 (Platform): New node.
14299 * manual/platform.texi: New file. Document the new features.
14300
4af3879c
SP
143012012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14302 Jakub Jelinek <jakub@redhat.com>
14303
14304 [BZ #14188]
14305 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14306 where __builtin_expect is unavailable.
14307
2fd6ff13
DM
143082012-06-03 David S. Miller <davem@davemloft.net>
14309
14310 * stdlib/longlong.h: Updated from GCC.
14311
173f7220
AS
143122012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14313
14314 [BZ #14042]
14315 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14316 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14317 __mcount_internal.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14319 (GLIBC_2.16): Likewise.
14320
f34a1c6f
L
143212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14322
14323 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14324
88a4576f
JM
143252012-06-01 Joseph Myers <joseph@codesourcery.com>
14326
ea32bcdd
JM
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14328 (default-abi): New variable.
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14330 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14331 variable.
14332 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14333 Likewise.
14334 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14335 Likewise.
14336 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14337 Likewise.
14338
88a4576f
JM
14339 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14340 definition. Document in comment.
14341
402fe938
DM
143422012-06-01 David S. Miller <davem@davemloft.net>
14343
14344 * stdlib/longlong.h: Updated from GCC.
14345
3553723f
L
143462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14347
14348 [BZ #14117]
3bd872c4
L
14349 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14350 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14351 sys/debugreg.h sys/io.h here.
14352 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14353 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14354 sys/io.h.
14355 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14356 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14357 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14358 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14359 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14360 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14361
3553723f
L
14362 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14363 Define only if __x86_64__ is defined.
14364
4842e4fe
JM
143652012-06-01 Joseph Myers <joseph@codesourcery.com>
14366
c5bfe3d5
JM
14367 [BZ #14048]
14368 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14369 Use int64_t for variable i.
14370 * math/libm-test.inc (fmod_test): Add more tests.
14371
4842e4fe
JM
14372 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14373 z computation is not scheduled after fetestexcept.
14374 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14375 Use math_force_eval instead of asm to ensure calculation scheduled
14376 before exception test.
14377 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14378 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14379
efb73488
AJ
143802012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14381
14382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14383 computation is not scheduled after fetestexcept.
14384
29bcce7c
L
143852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14386
14387 [BZ #14117]
14388 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14389 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14390
73a68f94
AZ
143912012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14392
14393 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14394 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14395
67b6df78
L
143962012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14397
edf2933a 14398 [BZ #14117]
ebc64a18
L
14399 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14400 <bits/wordsize.h>.
14401 (__WCHAR_MIN): Support __WORDSIZE == 64.
14402 (__WCHAR_MAX): Likewise.
14403
edf2933a
L
14404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14405 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14406
57c6cf40
L
14407 [BZ #14183]
14408 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14409 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14410
67b6df78 14411 [BZ #14117]
8eb6281e
L
14412 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14413 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14414
aac639f4
L
14415 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14416 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14417
67b6df78
L
14418 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14419 Defined to 1 if __x86_64__ isn't defined.
14420 (_STAT_VER_LINUX_OLD): New.
14421 (st_atime): Remove duplicate.
14422 (st_mtime): Likewise.
14423 (st_ctime): Likewise.
14424
1c2cfe81
DM
144252012-05-31 David S. Miller <davem@davemloft.net>
14426
14427 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14428 entries.
14429
5be8418c
AS
144302012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14431
e7725326
AS
14432 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14433 gen-libm-test.pl.
14434
5be8418c
AS
14435 [BZ #14132]
14436 * elf/dl-reloc.c: Include <_itoa.h>.
14437 (_dl_reloc_bad_type): Remove use of INTUSE.
14438 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14439 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14440 * stdio-common/psiginfo.c (psiginfo): Likewise.
14441 * stdio-common/psignal.c (psignal): Likewise.
14442 * string/strsignal.c (strsignal): Likewise.
14443 * include/signal.h (_sys_siglist): Declare hidden proto.
14444 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14445 INTVARDEF with libc_hidden_data_def.
14446 * stdio-common/itoa-udigits.c: Likewise.
14447 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14448 (_itoa_lower_digits_internal): Remove declaration.
14449 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14450 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14451 (_sys_sigabbrev_internal): Remove aliases.
14452 (_sys_siglist): Define hidden alias.
14453
507352f1
MT
144542012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14455
14456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14457 bits/sysctl.h.
14458
42bbb1c3
L
144592012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14460
14461 [BZ #14117]
6bd784b6
L
14462 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14463 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14464
8bca20f0
L
14465 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14466 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14467 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14468 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14469 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14470 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14471
f9e890a9
L
14472 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14473 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14474 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14475
471101a1
L
14476 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14477 with __addr.
14478 (insw): Likewise.
14479 (insl): Likewise.
14480 (outsb): Likewise.
14481 (outsw): Likewise.
14482 (outsl): Likewise.
14483
6451c862
L
14484 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14485 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14486 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14487
a254b8c9
L
14488 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14489 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14490 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14491 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14492 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14493 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14494
b8dfdd92
L
14495 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14496 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14497
578cd270
L
14498 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14499 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14500
de662f5f
L
14501 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14502 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14503 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14504
25653439
L
14505 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14506 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14507 to ...
14508 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14509
6bad24a0
L
14510 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14511 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14512 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14513
42bbb1c3
L
14514 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14515 for x86-64.
14516 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14517
2d10d547
JM
145182012-05-31 Joseph Myers <joseph@codesourcery.com>
14519
14520 * math/math.h (M_El): Use two more decimal places.
14521 (M_LOG2El): Likewise.
14522 (M_LOG10El): Likewise.
14523 (M_LN2l): Likewise.
14524 (M_LN10l): Likewise.
14525 (M_PIl): Likewise.
14526 (M_PI_2l): Likewise.
14527 (M_PI_4l): Likewise.
14528 (M_1_PIl): Likewise.
14529 (M_2_PIl): Likewise.
14530 (M_2_SQRTPIl): Likewise.
14531 (M_SQRT2l): Likewise.
14532 (M_SQRT1_2l): Likewise.
14533
f230c29b
DM
145342012-05-31 David S. Miller <davem@davemloft.net>
14535
14536 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14537 values between float registers.
14538 * sysdeps/sparc/sparc64/memset.S: Likewise.
14539 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14540
fed806c3
MF
145412012-05-31 Mike Frysinger <vapier@gentoo.org>
14542
14543 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14544 -D_FORTIFY_SOURCE=1.
14545 (CPPFLAGS-tst-longjmp_chk.c): Define.
14546 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14547 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14548 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14549 CFLAGS-tst-wchar-h.c.
14550
30917259
MP
145512012-05-31 Marek Polacek <polacek@redhat.com>
14552
14553 [BZ #14132]
14554 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14555 __endmntent_internal): Remove declaration.
14556 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14557 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14558 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14559
1c58d5dc
DM
145602012-05-30 David S. Miller <davem@davemloft.net>
14561
14562 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14563 (___Q_simulate_exceptions): Use real FP ops rather than writing
14564 into the %fsr.
14565 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14566 Likewise.
14567
7dc00e0d
L
145682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14569
14570 [BZ #14117]
0bd53985
L
14571 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14572 * sysdeps/x86/bits/xtitypes.h: This.
14573
3a257e66
L
14574 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14575 * sysdeps/x86/bits/wordsize.h: This.
14576
62f62904
L
14577 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14578 * sysdeps/x86/bits/huge_vall.h: This.
14579
404fe9d9
L
14580 * sysdeps/i386/bits/select.h: Removed.
14581 * sysdeps/x86_64/bits/select.h: Renamed to ...
14582 * sysdeps/x86/bits/select.h: This.
14583
d48d0446
L
14584 * sysdeps/i386/bits/setjmp.h: Removed.
14585 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14586 * sysdeps/x86/bits/setjmp.h: This.
14587
7dc00e0d
L
14588 * sysdeps/i386/bits/mathdef.h: Removed.
14589 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14590 * sysdeps/x86/bits/mathdef.h: This.
14591
03277f8f
AS
145922012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14593
14594 [BZ #14132]
14595 * include/sys/socket.h (__connect_internal)
14596 (__libc_sa_len_internal): Remove declaration.
14597 (__connect, __libc_sa_len): Declare hidden_proto.
14598 (SA_LEN): Remove use of INTUSE.
14599 * socket/connect.c: Add libc_hidden_def.
14600 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14601 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14602 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14603 alias.
14604 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14605 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14606 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14607 of adding _internal alias.
14608
13764867
L
146092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14610
14611 [BZ #14117]
6bd97696
L
14612 * sysdeps/i386/bits/link.h: Removed.
14613 * sysdeps/i386/bits/linkmap.h: Likewise.
14614 * sysdeps/x86_64/bits/link.h: Renamed to ...
14615 * sysdeps/x86/bits/link.h: This.
14616 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14617 * sysdeps/x86/bits/linkmap.h: This.
14618
f726f0bb
L
14619 * sysdeps/i386/bits/endian.h: Removed.
14620 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14621 * sysdeps/x86/bits/endian.h: This.
14622
13764867
L
14623 * sysdeps/i386/bits/byteswap.h: Removed.
14624 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14625 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14626 * sysdeps/x86/bits/byteswap.h: This.
14627 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14628 * sysdeps/x86/bits/byteswap-16.h: This.
14629 * sysdeps/i386/Implies: Add x86.
14630 * sysdeps/x86_64/Implies: Likewise.
14631
ae251b0b
DM
146322012-05-30 David S. Miller <davem@davemloft.net>
14633
14634 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14635 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14636 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14637 (FP_TRAPPING_EXCEPTIONS): Define.
14638 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14639 (FP_TRAPPING_EXCEPTIONS): Define.
14640 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14641 subnormals only when inexact has been signalled or underflow
14642 exceptions are enabled.
14643 (_FP_PACK_CANONICAL): Likewise.
14644
d5c90867
L
146452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14646
14647 [BZ #14183]
14648 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14649 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14650
63f1549e
RH
146512012-05-30 Richard Henderson <rth@twiddle.net>
14652
8d8f2279
RH
14653 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14654 with #ifndef NOT_IN_libc.
14655
63f1549e
RH
14656 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14657 marked to avoid plt entry.
14658
0ab0291b
L
146592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14660
14661 [BZ #14112]
14662 * Makeconfig (default-abi): New macro.
14663 (abi-includes): Likewise.
14664 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14665 $(abi-$(default-abi)-lib-soname) for soname if defined.
14666 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14667 abi-variants.
14668 * Makefile (installed-stubs): Likewise.
14669 * include/stubs-biarch.h: Removed.
14670 * scripts/lib-names.awk: Only handle one library at a time.
14671 * scripts/soversions.awk: Remove WORDSIZE support.
14672 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14673 entries.
14674 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14675 Removed.
14676 (syscall-list-default-condition): Likewise.
14677 (syscall-list-default-condition): Likewise.
14678 (syscall-list-includes): Likewise.
14679 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14680 syscall-list-* with abi-*. Handle undefined abi-variants.
14681 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14682 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14683 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14684 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14685 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14686 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14687 Removed.
14688 (syscall-list-32-options): Likewise.
14689 (syscall-list-32-condition): Likewise.
14690 (syscall-list-64-options): Likewise.
14691 (syscall-list-64-condition): Likewise.
14692 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14693 macro.
14694 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14695 Renamed to ...
14696 (abi-*): This.
14697 (abi-64-ld-soname): New macro.
14698 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14699 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14700 Renamed to ...
14701 (abi-*): This.
14702 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14703 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14704
4da0431d
JM
147052012-05-30 Joseph Myers <joseph@codesourcery.com>
14706
3a85279c
JM
14707 * sysdeps/unix/sysv/linux/kernel-features.h
14708 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14709 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14710 include <kernel-features.h>.
14711 [!__NR_ftruncate64]: Remove conditional code.
14712 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14713 [__NR_ftruncate64]: Make code unconditional.
14714 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14715 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14716 include <kernel-features.h>.
14717 [!__NR_ftruncate64]: Remove conditional code.
14718 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14719 [__NR_ftruncate64]: Make code unconditional.
14720 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14722 include <kernel-features.h>.
14723 [!__NR_ftruncate64]: Remove conditional code.
14724 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14725 [__NR_ftruncate64]: Make code unconditional.
14726 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14728 include <kernel-features.h>.
14729 [!__NR_ftruncate64]: Remove conditional code.
14730 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14731 [__NR_ftruncate64]: Make code unconditional.
14732 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14733
4da0431d
JM
14734 * configure.in (libc_cv_fpie): Weaken to a compile test using
14735 LIBC_TRY_CC_OPTION.
14736 * configure: Regenerated.
14737
11ef492c
AK
147382012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14739
14740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14744 Refreshed.
14745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14751 Refreshed.
14752
d66ef399
DM
147532012-05-27 David S. Miller <davem@davemloft.net>
14754
14755 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14756 (___Q_zero): New.
14757 (__Q_simulate_exceptions): Return void. Change to simulate
14758 exceptions by writing into the %fsr.
14759 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14760 (__Qp_handle_exceptions): Likewise.
14761 (numbers): Delete.
14762 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14763 __Qp_handle_exceptions.
14764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14765 __Qp_handle_exceptions.
14766 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14767 as unused and give dummy FP_RND_NEAREST initializer.
14768 (FP_INHIBIT_RESULTS): Define.
14769 (___Q_simulate_exceptions): Update declaration.
14770 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14771 formatting.
14772 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14773 as unused and give dummy FP_RND_NEAREST initializer.
14774 (__Qp_handle_exceptions): Update declaration.
14775 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14776 formatting.
14777
04fb54b5
TS
147782012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14779
14780 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14781 the temporary FPU control word.
14782 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14783 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14784 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14785 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14786 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14787 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14788 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14789 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14790 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14791 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14792 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14793
3f99608f
KK
147942012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14795
14796 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14797 fields.
14798
65a4de4e
CLT
147992012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14800
14801 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14802 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14803 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14804 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14805 Likewise.
14806 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14807 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14808 Likewise.
14809
15749d40
UD
148102012-05-27 Ulrich Drepper <drepper@gmail.com>
14811
14812 * po/h.po: Update from translation team.
14813
25dbcb27
AS
148142012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14815
3d3f8e55
AS
14816 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14817
25dbcb27
AS
14818 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14819 handling of denormals.
14820 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14821 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14822 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14823 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14824 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14825 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14827 Likewise.
14828
7ad47a80 148292012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
14830
14831 [BZ #14152]
14832 * math/libm-test.inc (fma_test): Don't always expect underflow
14833 exception.
14834
9c6ea9fa
SP
148352012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14836
14837 [BZ #12416]
14838 * elf/tst-execstack.c: Include stackinfo.h.
14839 (do_test): Adjust test case to ensure that pthread_getattr_np
14840 behaviour remains the same after marking stack executable.
14841
a8239222
JM
148422012-05-25 Joseph Myers <joseph@codesourcery.com>
14843
14844 * sysdeps/unix/sysv/linux/kernel-features.h
14845 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14846 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14847 kernel-features.h.
14848 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14849 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14850 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14851 kernel-features.h.
14852 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14853 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14854
918b5606
L
148552012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14856
14857 * configure.in: Define the default includes to being none.
14858 * configure: Regenerated.
14859
3a097cc7
RM
148602012-05-25 Roland McGrath <roland@hack.frob.com>
14861
8422c9a5
RM
14862 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14863 * sysdeps/x86_64/setjmp.S: Likewise.
14864 * sysdeps/i386/bsd-setjmp.S: Likewise.
14865 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14866 * sysdeps/i386/setjmp.S: Likewise.
14867 * sysdeps/i386/__longjmp.S: Likewise.
14868 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14869 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14870
3a097cc7
RM
14871 * include/stap-probe.h: New file.
14872 * configure.in: Handle --enable-systemtap.
14873 * configure: Regenerated.
14874 * config.h.in (USE_STAP_PROBE): New #undef.
14875 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14876 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14877 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14878
21708942
JM
148792012-05-25 Joseph Myers <joseph@codesourcery.com>
14880
14881 [BZ #13717]
14882 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14883 to 2.4.0 where earlier.
14884 * sysdeps/unix/sysv/linux/configure: Regenerated.
14885 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14886 <kernel-features.h>.
14887 [__ASSUME_32BITUIDS]: Make code unconditional.
14888 [!__ASSUME_32BITUIDS]: Remove conditional code.
14889 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14890 <kernel-features.h>.
14891 [__ASSUME_32BITUIDS]: Make code unconditional.
14892 [!__ASSUME_32BITUIDS]: Remove conditional code.
14893 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14894 [__ASSUME_32BITUIDS]: Make code unconditional.
14895 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14896 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14897 <kernel-features.h>.
14898 [__ASSUME_32BITUIDS]: Make code unconditional.
14899 [!__ASSUME_32BITUIDS]: Remove conditional code.
14900 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14901 <kernel-features.h>.
14902 [__ASSUME_32BITUIDS]: Make code unconditional.
14903 [!__ASSUME_32BITUIDS]: Remove conditional code.
14904 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14905 <kernel-features.h>.
14906 [__ASSUME_32BITUIDS]: Make code unconditional.
14907 [!__ASSUME_32BITUIDS]: Remove conditional code.
14908 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14909 <kernel-features.h>.
14910 [__ASSUME_32BITUIDS]: Make code unconditional.
14911 [!__ASSUME_32BITUIDS]: Remove conditional code.
14912 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14913 <kernel-features.h>.
14914 [__ASSUME_32BITUIDS]: Make code unconditional.
14915 [!__ASSUME_32BITUIDS]: Remove conditional code.
14916 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14917 <kernel-features.h>.
14918 [__ASSUME_32BITUIDS]: Make code unconditional.
14919 [!__ASSUME_32BITUIDS]: Remove conditional code.
14920 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14921 <kernel-features.h>.
14922 [__ASSUME_32BITUIDS]: Make code unconditional.
14923 [!__ASSUME_32BITUIDS]: Remove conditional code.
14924 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14925 <kernel-features.h>.
14926 [__ASSUME_32BITUIDS]: Make code unconditional.
14927 [!__ASSUME_32BITUIDS]: Remove conditional code.
14928 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14929 <kernel-features.h>.
14930 [__ASSUME_32BITUIDS]: Make code unconditional.
14931 [!__ASSUME_32BITUIDS]: Remove conditional code.
14932 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14933 <kernel-features.h>.
14934 [__ASSUME_32BITUIDS]: Make code unconditional.
14935 [!__ASSUME_32BITUIDS]: Remove conditional code.
14936 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14937 <kernel-features.h>.
14938 [__NR_setresgid] (__setresgid): Do not declare.
14939 [__ASSUME_32BITUIDS]: Make code unconditional.
14940 [!__ASSUME_32BITUIDS]: Remove conditional code.
14941 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14942 <kernel-features.h>.
14943 [__NR_setresuid] (__setresuid): Do not declare.
14944 [__ASSUME_32BITUIDS]: Make code unconditional.
14945 [!__ASSUME_32BITUIDS]: Remove conditional code.
14946 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14947 <kernel-features.h>.
14948 [__ASSUME_32BITUIDS]: Make code unconditional.
14949 [!__ASSUME_32BITUIDS]: Remove conditional code.
14950 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14951 <kernel-features.h>.
14952 [__ASSUME_32BITUIDS]: Make code unconditional.
14953 [!__ASSUME_32BITUIDS]: Remove conditional code.
14954 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14955 <kernel-features.h>.
14956 [__ASSUME_32BITUIDS]: Make code unconditional.
14957 [!__ASSUME_32BITUIDS]: Remove conditional code.
14958 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14959 <kernel-features.h>.
14960 [__ASSUME_32BITUIDS]: Make code unconditional.
14961 [!__ASSUME_32BITUIDS]: Remove conditional code.
14962 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14963 <kernel-features.h>.
14964 [__ASSUME_32BITUIDS]: Make code unconditional.
14965 [!__ASSUME_32BITUIDS]: Remove conditional code.
14966 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14967 <kernel-features.h>.
14968 [__ASSUME_32BITUIDS]: Make code unconditional.
14969 [!__ASSUME_32BITUIDS]: Remove conditional code.
14970 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14971 <kernel-features.h>.
14972 [__ASSUME_32BITUIDS]: Make code unconditional.
14973 [!__ASSUME_32BITUIDS]: Remove conditional code.
14974 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14975 <kernel-features.h>.
14976 [__ASSUME_32BITUIDS]: Make code unconditional.
14977 [!__ASSUME_32BITUIDS]: Remove conditional code.
14978 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14979 <kernel-features.h>.
14980 [__ASSUME_32BITUIDS]: Make code unconditional.
14981 [!__ASSUME_32BITUIDS]: Remove conditional code.
14982 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14983 <kernel-features.h>.
14984 [__ASSUME_32BITUIDS]: Make code unconditional.
14985 [!__ASSUME_32BITUIDS]: Remove conditional code.
14986 * sysdeps/unix/sysv/linux/kernel-features.h
14987 (__ASSUME_SETRESUID_SYSCALL): Remove.
14988 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14989 (__ASSUME_32BITUIDS): Likewise.
14990 (__ASSUME_LDT_WORKS): Likewise.
14991 (__ASSUME_O_DIRECTORY): Likewise.
14992 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14993 architecture but not kernel version.
14994 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14995 (__ASSUME_MMAP2_SYSCALL): Likewise.
14996 (__ASSUME_STAT64_SYSCALL): Likewise.
14997 (__ASSUME_IPC64): Likewise.
14998 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14999 <kernel-features.h>.
15000 [__ASSUME_32BITUIDS]: Make code unconditional.
15001 [!__ASSUME_32BITUIDS]: Remove conditional code.
15002 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15003 <kernel-features.h>.
15004 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15005 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15006 132096]: Remove conditional code.
15007 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15008 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15009 <kernel-features.h>.
15010 [__ASSUME_32BITUIDS]: Make code unconditional.
15011 [!__ASSUME_32BITUIDS]: Remove conditional code.
15012 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15013 <kernel-features.h>.
15014 [__ASSUME_32BITUIDS]: Make code unconditional.
15015 [!__ASSUME_32BITUIDS]: Remove conditional code.
15016 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15017 <kernel-features.h>.
15018 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15019 unconditional.
15020 (__setresgid): Do not declare.
15021 [__ASSUME_32BITUIDS]: Make code unconditional.
15022 [!__ASSUME_32BITUIDS]: Remove conditional code.
15023 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15024 <kernel-features.h>.
15025 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15026 unconditional.
15027 (__setresuid): Do not declare.
15028 [__ASSUME_32BITUIDS]: Make code unconditional.
15029 [!__ASSUME_32BITUIDS]: Remove conditional code.
15030 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15031 <kernel-features.h>.
15032 [__ASSUME_32BITUIDS]: Make code unconditional.
15033 [!__ASSUME_32BITUIDS]: Remove conditional code.
15034 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15035 <kernel-features.h>.
15036 [__ASSUME_32BITUIDS]: Make code unconditional.
15037 [!__ASSUME_32BITUIDS]: Remove conditional code.
15038
a386f1cc
RH
150392012-05-25 Richard Henderson <rth@twiddle.net>
15040
15041 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15042 dl_hwcap to ifunc resolver.
15043 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15044 elf_ifunc_invoke.
15045 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15046 dl_hwcap to ifunc resolver.
15047 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15048
b6550497
JM
150492012-05-24 Joseph Myers <joseph@codesourcery.com>
15050
15051 [BZ #14153]
15052 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15053 for |x| <= 2**-26, not 2**-57.
15054 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15055 exception.
15056
b0bc23a1
JL
150572012-05-24 Jeff Law <law@redhat.com>
15058
15059 * stdio-common/Makefile (tests): Add bug25.
15060 * stdio-common/bug25.c: New test.
15061
347c92e9
L
150622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15063
15064 [BZ #13576]
15065 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15066 multiple of MALLOC_ALIGNMENT in size.
15067 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15068
6bcc8b3f
JM
150692012-05-24 Joseph Myers <joseph@codesourcery.com>
15070
15071 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15072 Require >= 256.
15073 (FILENAME_MAX): Use macro-int-constant.
15074 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15075 (_IOFBF): Use macro-int-constant.
15076 (_IOLBF): Likewise.
15077 (_IONBF): Likewise.
15078 (SEEK_CUR): Likewise.
15079 (SEEK_END): Likewise.
15080 (SEEK_SET): Likewise.
15081 (TMP_MAX): Likewise.
15082 (EOF): Use macro-int-constant. Require < 0.
15083 (NULL): Use macro-constant. Require == 0.
15084 (stdin): Require type to be FILE *.
15085 (stdout): Likewise.
15086 (stderr): Likewise.
15087 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15088 macro-int-constant.
15089 (EXIT_SUCCESS): Likewise.
15090 (NULL): Use macro-constant. Require == 0.
15091 (RAND_MAX): Use macro-int-constant.
15092 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15093 [C99-based standards] (strtof): Require function.
15094 [C99-based standards] (strtold): Likewise.
15095 [C99-based standards] (strtoll): Likewise.
15096 [C99-based standards] (strtoull): Likewise.
15097 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15098 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15099 [ISO || ISO99 || ISO11] (math.h): Likewise.
15100 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15101 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15102 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15103
d18ea0c5
AS
151042012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15105
15106 [BZ #14132]
56d25bb8
AS
15107 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15108 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15109 * intl/dgettext.c (DCGETTEXT): Likewise.
15110 * intl/gettext.c (DCGETTEXT): Likewise.
15111 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15112 * posix/regex_internal.h (gettext): Likewise.
15113 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15114 Remove declaration.
15115 * include/argz.h (__argz_count_internal)
15116 (__argz_stringify_internal): Remove declaration.
15117 (__argz_count, __argz_stringify): Declare hidden proto.
15118 * intl/dcgettext.c: Remove use of INTDEF.
15119 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15120 * string/argz-stringify.c: Likewise.
15121 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15122 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15123 Declare hidden proto.
d18ea0c5
AS
15124 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15125 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15126 Declare hidden proto.
15127 * include/stdio.h (__asprintf_internal): Don't declare.
15128 (__asprintf): Don't define as macro. Declare hidden proto.
15129 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15130 (__fsetlocking): Declare hidden proto.
15131 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15132 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15133 hidden proto.
15134 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15135 (_IO_setlinebuf): Remove use of INTUSE.
15136 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15137 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15138 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15139 Remove declaration.
15140 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15141 (_IO_do_flush): Remove use of INTUSE.
15142 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15143 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15144 (_IO_adjust_column, _IO_least_wmarker)
15145 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15146 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15147 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15148 (_IO_default_doallocate, _IO_wdefault_doallocate)
15149 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15150 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15151 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15152 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15153 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15154 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15155 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15156 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15157 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15158 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15159 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15160 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15161 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15162 proto.
15163 (_IO_flush_all_internal, _IO_adjust_column_internal)
15164 (_IO_default_uflow_internal, _IO_default_finish_internal)
15165 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15166 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15167 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15168 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15169 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15170 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15171 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15172 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15173 (_IO_file_close_internal, _IO_file_close_it_internal)
15174 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15175 (_IO_file_init_internal, _IO_file_attach_internal)
15176 (_IO_file_fopen_internal, _IO_file_read_internal)
15177 (_IO_file_sync_internal, _IO_file_seek_internal)
15178 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15179 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15180 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15181 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15182 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15183 (_IO_list_all_internal, _IO_link_in_internal)
15184 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15185 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15186 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15187 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15188 (_IO_do_write_internal, _IO_padn_internal)
15189 (_IO_getline_info_internal, _IO_getline_internal)
15190 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15191 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15192 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15193 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15194 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15195 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15196 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15197 with libc_hidden_ver, remove use of INTUSE.
15198 * libio/genops.c: Likewise.
15199 * libio/freopen.c: Likewise.
15200 * libio/freopen64.c: Likewise.
15201 * libio/iofclose.c: Likewise.
15202 * libio/iofdopen.c: Likewise.
15203 * libio/iofflush.c: Likewise.
15204 * libio/iofflush_u.c: Likewise.
15205 * libio/iofgets.c: Likewise.
15206 * libio/iofgets_u.c: Likewise.
15207 * libio/iofopen.c: Likewise.
15208 * libio/iofopncook.c: Likewise.
15209 * libio/iofread.c: Likewise.
15210 * libio/iofread_u.c: Likewise.
15211 * libio/ioftell.c: Likewise.
15212 * libio/iofwrite.c: Likewise.
15213 * libio/iogetline.c: Likewise.
15214 * libio/iogets.c: Likewise.
15215 * libio/iogetwline.c: Likewise.
15216 * libio/iopadn.c: Likewise.
15217 * libio/iopopen.c: Likewise.
15218 * libio/ioseekoff.c: Likewise.
15219 * libio/ioseekpos.c: Likewise.
15220 * libio/iosetbuffer.c: Likewise.
15221 * libio/iosetvbuf.c: Likewise.
15222 * libio/ioungetc.c: Likewise.
15223 * libio/ioungetwc.c: Likewise.
15224 * libio/iovdprintf.c: Likewise.
15225 * libio/iovsprintf.c: Likewise.
15226 * libio/iovsscanf.c: Likewise.
15227 * libio/memstream.c: Likewise.
15228 * libio/obprintf.c: Likewise.
15229 * libio/oldfileops.c: Likewise.
15230 * libio/oldiofclose.c: Likewise.
15231 * libio/oldiofdopen.c: Likewise.
15232 * libio/oldiofopen.c: Likewise.
15233 * libio/oldiopopen.c: Likewise.
15234 * libio/oldstdfiles.c: Likewise.
15235 * libio/putc.c: Likewise.
15236 * libio/setbuf.c: Likewise.
15237 * libio/setlinebuf.c: Likewise.
15238 * libio/stdfiles.c: Likewise.
15239 * libio/strops.c: Likewise.
15240 * libio/vasprintf.c: Likewise.
15241 * libio/vscanf.c: Likewise.
15242 * libio/vsnprintf.c: Likewise.
15243 * libio/vswprintf.c: Likewise.
15244 * libio/wfiledoalloc.c: Likewise.
15245 * libio/wfileops.c: Likewise.
15246 * libio/wgenops.c: Likewise.
15247 * libio/wmemstream.c: Likewise.
15248 * libio/wstrops.c: Likewise.
15249 * libio/__fpurge.c: Likewise.
15250 * libio/__fsetlocking.c: Likewise.
15251 * assert/assert.c: Likewise.
15252 * debug/fgets_chk.c: Likewise.
15253 * debug/fgets_u_chk.c: Likewise.
15254 * debug/fread_chk.c: Likewise.
15255 * debug/fread_u_chk.c: Likewise.
15256 * debug/gets_chk.c: Likewise.
15257 * debug/obprintf_chk.c: Likewise.
15258 * debug/vasprintf_chk.c: Likewise.
15259 * debug/vdprintf_chk.c: Likewise.
15260 * debug/vsnprintf_chk.c: Likewise.
15261 * debug/vsprintf_chk.c: Likewise.
15262 * malloc/mtrace.c: Likewise.
15263 * misc/error.c: Likewise.
15264 * misc/syslog.c: Likewise.
15265 * stdio-common/asprintf.c: Likewise.
15266 * stdio-common/fxprintf.c: Likewise.
15267 * stdio-common/getw.c: Likewise.
15268 * stdio-common/isoc99_fscanf.c: Likewise.
15269 * stdio-common/isoc99_scanf.c: Likewise.
15270 * stdio-common/isoc99_vfscanf.c: Likewise.
15271 * stdio-common/isoc99_vscanf.c: Likewise.
15272 * stdio-common/isoc99_vsscanf.c: Likewise.
15273 * stdio-common/printf-prs.c: Likewise.
15274 * stdio-common/printf_fp.c: Likewise.
15275 * stdio-common/printf_fphex.c: Likewise.
15276 * stdio-common/printf_size.c: Likewise.
15277 * stdio-common/putw.c: Likewise.
15278 * stdio-common/scanf.c: Likewise.
15279 * stdio-common/sprintf.c: Likewise.
15280 * stdio-common/tmpfile.c: Likewise.
15281 * stdio-common/vfprintf.c: Likewise.
15282 * stdio-common/vfscanf.c: Likewise.
15283 * stdlib/strfmon_l.c: Likewise.
15284 * sunrpc/openchild.c: Likewise.
15285 * sunrpc/xdr_stdio.c: Likewise.
15286 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15287 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15288
d6c33fda
RM
152892012-05-24 Roland McGrath <roland@hack.frob.com>
15290
c1487492
RM
15291 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15292
15293 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15294 in the third column, to generate for the shared library an IFUNC
15295 that uses _dl_vdso_vsym.
15296 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15297 * Makeconfig (object-suffixes-noshared): New variable.
15298
15299 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15300 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15301 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15302 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15303
d6c33fda
RM
15304 [BZ #14132]
15305 * include/sys/time.h (__gettimeofday): Remove macro.
15306 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15307 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15308 Remove INTDEF.
15309 (__gettimeofday): Add libc_hidden_def.
15310 (gettimeofday): Add libc_hidden_weak.
15311 * sysdeps/mach/gettimeofday.c: Likewise.
15312 * sysdeps/posix/gettimeofday.c: Likewise.
15313 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15314 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15315 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15316 (__gettimeofday_internal): Remove strong_alias.
15317 (__gettimeofday): Add libc_hidden_def.
15318 (gettimeofday): Add libc_hidden_weak.
15319 * sysdeps/unix/syscalls.list (gettimeofday):
15320 Remove __gettimeofday_internal alias.
15321
b5a2bbe6
L
153222012-05-24 Daniel Jacobowitz <drow@false.org>
15323 H.J. Lu <hongjiu.lu@intel.com>
15324
15325 [BZ #12495]
15326 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15327 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15328 (largebin_index_32_big): New.
15329 (largebin_index): Use it for 16-byte alignment.
15330 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15331 correction with front_misalign.
15332
cfba4fda
L
153332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15334
7f907421
L
15335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15337 Likewise.
15338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15339 Likewise.
15340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15341 Likewise.
15342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15343 Likewise.
15344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15345 Likewise.
15346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15347 Likewise.
15348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15349 Likewise.
15350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15351 Likewise.
15352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15353 Likewise.
15354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15355 Likewise.
15356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15357 Likewise.
15358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15359 Likewise.
15360
cfba4fda
L
15361 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15362 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15363
80bad0cc
JM
153642012-05-24 Joseph Myers <joseph@codesourcery.com>
15365
7a25eb06
JM
15366 [BZ #10846]
15367 [BZ #14036]
15368 * math/libm-test.inc (exp_test): Add test from bug 14036.
15369 (pow_test): Add test from bug 10846.
15370
795405f9
JM
15371 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15372 and other flags.
15373 (special_function): Do not include flags in test name.
15374 (parse_args): Likewise.
15375 * sysdeps/i386/fpu/libm-test-ulps: Update.
15376 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15377 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15378 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15380
80bad0cc
JM
15381 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15382 exceptions.
15383 * math/libm-test.inc ("Philosophy"): Update comment about
15384 exception testing.
15385 (UNDERFLOW_EXCEPTION): New macro.
15386 (UNDERFLOW_EXCEPTION_OK): Likewise.
15387 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15388 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15389 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15390 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15391 (INVALID_EXCEPTION_OK): Update value.
15392 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15393 (OVERFLOW_EXCEPTION_OK): Likewise.
15394 (IGNORE_ZERO_INF_SIGN): Likewise.
15395 (test_exceptions): Handle underflow exceptions.
15396 (acos_test): Update for underflow exception expectations.
15397 (cexp_test): Likewise.
15398 (clog_test): Likewise.
15399 (clog10_test): Likewise.
15400 (csqrt_test): Likewise.
15401 (ctan_test): Likewise.
15402 (ctanh_test): Likewise.
15403 (exp_test): Likewise.
15404 (exp10_test): Likewise.
15405 (exp2_test): Likewise.
15406 (expm1_test): Likewise.
15407 (fma_test): Likewise.
15408 (j0_test): Likewise.
15409 (jn_test): Likewise.
15410 (nexttoward_test): Likewise.
15411 (pow_test): Likewise.
15412 (scalbn_test): Likewise.
15413 (scalbln_test): Likewise.
15414 (tan_test): Likewise.
15415 (y1_test): Likewise.
15416 * sysdeps/i386/fpu/libm-test-ulps: Update.
15417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15418
9e0e3d0b
DM
154192012-05-23 David S. Miller <davem@davemloft.net>
15420
15421 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15422 (__libc_sigaction): Remove unused local variables.
15423
ccd0a08f
L
154242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15425
15426 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15427
62bdf9a6
PE
154282012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15429
f8591f80
PE
15430 mktime: avoid signed integer overflow
15431 * time/mktime.c (__mktime_internal): Do not mishandle the case
15432 where diff == INT_MIN.
15433
94c7d826
PE
15434 mktime: simplify computation of average
15435 * time/mktime.c (ranged_convert): Use new time_t_avg function
15436 instead of rolling our own (probably-slower) code.
15437
ce73d683
PE
15438 mktime: do not assume signed right shift propagates sign bit
15439 * time/mktime.c (isdst_differ): New static function.
15440 (__mktime_internal): No need to normalize tm_isdst now.
15441 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15442 tm_isdst values.
15443
72a22e59
PE
15444 mktime: merge another wrapv change from gnulib
15445 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15446 from some compilers.
15447
68605433
PE
15448 mktime: remove incorrect attempt at unusual arithmetics
15449 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15450 The code didn't really work on such machines anyway.
15451 (TYPE_MINIMUM): Assume two's complement.
15452 (twos_complement_arithmetic): Verify that long_int and time_t
15453 are two's complement (or unsigned, in the latter case).
15454
03cf7fe3
PE
15455 mktime: check signed shifts on long_int and time_t, too
15456 * time/mktime.c (SHR): Check that shifts work as desired
15457 on the types long_int and time_t too, as SHR is used on
15458 such types.
15459
f04dfbc2
PE
15460 mktime: do not assume 'long' is wide enough
15461 * time/mktime.c (verify): Move decl up.
15462 (long_int): New type.
15463 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15464 to remove assumption in the code that 'long' is wide enough to
15465 store year values. This assumption is not true on x32 and on
15466 some non-glibc platforms.
15467
62bdf9a6
PE
15468 mktime: merge wrapv change from gnulib
15469 * time/mktime.c (WRAPV): New macro.
15470 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15471 (guess_time_tm, __mktime_internal): Do not assume that signed
15472 integer overflow wraps around; modern compilers generate code
15473 where this assumption is no longer valid.
15474
5e292e4f
L
154752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15476
15477 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15478 Replace "jmp L(pseudo_end)" with "ret".
15479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15480 Likewise.
15481
8caf8c87
AJ
154822012-05-23 Andreas Jaeger <aj@suse.de>
15483
15484 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15485 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15486
1a09dc56
AJ
154872012-05-23 Andreas Jaeger <aj@suse.de>
15488 Maximilian Attems <max@stro.at>
15489
15490 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15491 New macros.
15492
1c87aba0
L
154932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15494
15495 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15496 code so that pseudo_end is just ret and the stack pointer is
15497 correct also for static library in error case.
15498
40e45bd5
JM
154992012-05-23 Joseph Myers <joseph@codesourcery.com>
15500
c2670533
JM
15501 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15502 move to syscalls.list.
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15507
40e45bd5
JM
15508 * manual/install.texi (Running make install): Do not mention Linux
15509 kernel version for which pt_chown is not needed.
15510 (Linux): Do not mention problems with nscd with 2.0 kernels.
15511 * INSTALL: Regenerated.
15512
be08eda5
AJ
155132012-05-23 Andreas Jaeger <aj@suse.de>
15514
15515 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15516 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15517 macro.
15518 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15519 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15520 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15521 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15522 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15523 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15524 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15525 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15526 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15527 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15528 * sysdeps/unix/sysv/linux/bits/in.h
15529 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15530
a6a056bb
RM
155312012-05-22 Roland McGrath <roland@hack.frob.com>
15532
15533 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15534 (PREPARE_VERSION): Just use assert instead, it will be elided
15535 under [NDEBUG] anyway.
15536
c9009328
L
155372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15538
15539 * sysdeps/unix/sysv/linux/Makefile: Include
15540 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 15541 (sysdep_routines): Remove sysctl.
c9009328
L
15542 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15543 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15544 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15545 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15546 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15547
73338355
AJ
155482012-05-22 Andreas Jaeger <aj@suse.de>
15549
15550 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15551 that pseudo_end is just ret and the stack pointer is correct also
15552 for static library in error case.
15553
d44638b0
PP
155542012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15555
15556 [BZ #14122]
15557 * nss/nsswitch.c (defconfig_entries): New variable.
15558 (__nss_database_lookup): Don't leak defconfig entries.
15559 (nss_parse_service_list): Don't leak on error paths.
15560 (free_database_entries): New function.
15561 (free_defconfig): New function.
15562 (free_mem): Move common code to free_database_entries.
15563
31a39bd8
L
155642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15565
da0331a8
L
15566 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15567 Add arch_prctl.
15568 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15569
31a39bd8
L
15570 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15571 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15573 New macro.
15574 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15575 (INTERNAL_SYSCALL_TYPES): Likewise.
15576 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15577 (LOAD_REGS_TYPES_[1-6]): Likewise.
15578 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15579 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15580
45470df3
AZ
155812012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15582
15583 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15584 copysignl for GLIBC_2_0.
15585 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15586 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15588 logbl for GLIBC_2_0.
15589 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15590 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15591
98a61bcb
L
155922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15593
a4f6e481
L
15594 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15595 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15596
f63d5db6
L
15597 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15598 Use "neg %eax".
15599
98a61bcb
L
15600 * time/mktime.c: Update copyright years.
15601
95770f14
PE
156022012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15603
6226efbd
PE
15604 mktime: merge comment-quoting-style change from gnulib
15605 * time/mktime.c: Quote 'like this' in comments.
15606 The GNU coding standards suggest that we no longer quote `like this',
15607 as "`" and "'" are typically rendered asymmetrically nowadays.
15608 The typical gnulib style is to quote 'like this' when quoting
15609 code, and "like this" when quoting English.
15610
b99e4f78
PE
15611 * time/mktime.c (compile-command): Add "-I.".
15612
643e01e6
PE
15613 mktime: merge mktime-internal.h change from gnulib
15614 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15615
2554247d
PE
15616 mktime: merge time_r change from gnulib
15617 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15618
826dd0ab
PE
15619 mktime: merge DEBUG change from gnulib
15620 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15621 case system <time.h> has a #define.
15622
bd83aabe
PE
15623 mktime: merge <sys/types.h> change from gnulib
15624 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15625 since <time.t> is now guaranteed to define time_t.
15626
95770f14
PE
15627 mktime: merge HAVE_CONFIG_H change from gnulib
15628 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15629
5e1a27a9
L
156302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15631
0e44a77e
L
15632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15633 Use "neg %eax".
15634
5e1a27a9
L
15635 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15636 __rlim_t cast.
15637 (struct rusage): Use anonymous union to pad each field to
15638 __syscall_slong_t.
15639
46259bec
DM
156402012-05-21 David S. Miller <davem@davemloft.net>
15641
15642 * Makefules (o-iterator): Remove .s cases.
15643 (compile-command.s): Delete.
15644 (COMPILE.s): Delete.
15645 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15646
59f0c22e
JM
156472012-05-21 Joseph Myers <joseph@codesourcery.com>
15648
15649 * configure.in (libc_cv_predef_stack_protector): Only consider
15650 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15651 * configure: Regenerated.
15652
20c07380
L
156532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15654
bbb3154b
L
15655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15656 New macro. Use R*LP on int and pointer.
15657 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
15658 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15659 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
15660 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15661
20c07380
L
15662 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15663 [__WORDSIZE_TIME64_COMPAT32] instead of
15664 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15665 (struct utmp): Likewise.
15666 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15667 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15668 Renamed to ...
15669 (__WORDSIZE_TIME64_COMPAT32): This.
15670 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15671 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15672 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15673 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15674 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15675 (__WORDSIZE_TIME64_COMPAT32): New macro.
15676
d8d1017e
AJ
156772012-05-21 Andreas Jaeger <aj@suse.de>
15678
15679 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15680 only if [SHARED]. Add prototype for __wcschr_ia32.
15681
6c7fb145
RM
156822012-05-21 Roland McGrath <roland@hack.frob.com>
15683
15684 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15685 of %rbp unmolested in the jmp_buf while mangling the low bits.
15686 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15687 unmolested high bits of %rbp while demangling the low bits.
15688 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15689
66274218
AJ
156902012-05-21 Andreas Jaeger <aj@suse.de>
15691
07c58f8f
AJ
15692 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15693 * sunrpc/svc_simple.c: Use it for registerrpc.
15694 * sunrpc/xcrypt.c: Use it for passwd2des.
15695
66274218
AJ
15696 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15697
61f65140
L
156982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15699
15700 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15701 Don't define if [__SYSCALL_WORDSIZE != 32].
15702 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15703 New macro.
15704
5fefb436
AJ
157052012-05-21 Bruno Haible <bruno@clisp.org>
15706 Andreas Jaeger <aj@suse.de>
15707
15708 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15709 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15710 inptr and inend for must_buffer_ch.
15711 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15712 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15713 * stdio-common/Makefile (tests): Remove bug15.
15714 (bug15-ENV): Remove macro.
15715 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15716 anymore.
15717
d8e272ab
AJ
157182012-05-19 Andreas Jaeger <aj@suse.de>
15719 Roland McGrath <roland@hack.frob.com>
15720
15721 * manual/contrib.texi: Completely rewritten. It contains now an
15722 alphabetical list of contributors and their contributions.
15723
4a56a162
RH
157242012-05-21 Richard Henderson <rth@twiddle.net>
15725
15726 * misc/getauxval.c (__getauxval): Use unsigned long int.
15727 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15728 (getauxval): Use unsigned long int.
15729
d024d23c
L
157302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15731
15732 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15733
cbc00a03
RM
157342012-05-21 Roland McGrath <roland@hack.frob.com>
15735
15736 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15737 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15738 __alignof__ (long double).
15739
478143fa
AZ
157402012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15741
15742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15743
c7683a6d
RH
157442012-05-20 Richard Henderson <rth@twiddle.net>
15745
15746 * misc/getauxval.c: New file.
15747 * misc/sys/auxv.h: New file.
15748 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15749 (routines): Add getauxval.
15750 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15751 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15752 * elf/dl-sysdep.c (_dl_auxv): Remove.
15753 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15754 * elf/dl-support.c (_dl_auxv): New variable.
15755 (_dl_aux_init): Initialize it.
15756 * manual/startup.texi (Auxiliary Vector): New node.
15757 * sysdeps/generic/bits/hwcap.h: New file.
15758 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15759 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15760 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15761 * sysdeps/sparc/sysdep.h: ... here. Include it.
15762 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15763 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
15764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15765 Update.
c7683a6d
RH
15766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15769 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15774
a6f1845d
AZ
157752012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15776
15777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15778
cbcbe830
DM
157792012-05-19 David S. Miller <davem@davemloft.net>
15780
15781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15782
e0b16cc2
JM
157832012-05-19 Joseph Myers <joseph@codesourcery.com>
15784
15785 [BZ #14123]
15786 * math/s_ccosh.c: Include <float.h>
15787 (__ccosh): Avoid internal overflow calculating sinh and cosh
15788 values before multiplying by sin and cos values.
15789 * math/s_ccoshf.c: Likewise.
15790 * math/s_ccoshl.c: Likewise.
15791 * math/s_csin.c: Likewise.
15792 * math/s_csinf.c: Likewise.
15793 * math/s_csinl.c: Likewise.
15794 * math/s_csinh.c: Likewise.
15795 * math/s_csinhf.c: Likewise.
15796 * math/s_csinhl.c: Likewise.
15797 * math/libm-test.inc (ccos_test): Add more tests.
15798 (ccosh_test): Likewise.
15799 (csin_test): Likewise.
15800 (csinh_test): Likewise.
15801 * sysdeps/i386/fpu/libm-test-ulps: Update.
15802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15803
6ad13e08
L
158042012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15805
f66f0ce8
L
15806 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15807 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15808
6ad13e08
L
15809 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15810
b1d072a7
JM
158112012-05-19 Joseph Myers <joseph@codesourcery.com>
15812
15813 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15814 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15815 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15816 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15817 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15818 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15819 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15820 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15821 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15822 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15823 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15824 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15825 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15826 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15827 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15828 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15829 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15830 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15831 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15832 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15833 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15834 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15835 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15836 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15837 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15838 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15839 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15840 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15841 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15842 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15843 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15844
9eae47cb
AJ
158452012-05-18 Andreas Jaeger <aj@suse.de>
15846
15847 * csu/.gitignore: Delete.
15848
bb07f69f
L
158492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15850
15851 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15852 (timex): Use __syscall_slong_t.
15853
e6bdb741
AJ
158542012-05-18 Andreas Jaeger <aj@suse.de>
15855 Carlos O'Donell <carlos_odonell@mentor.com>
15856
15857 * manual/install.texi (Configuring and compiling): Update
15858 description about files modified in the source directory.
d6c33fda 15859 * INSTALL: Regenerated.
e6bdb741 15860
1b74487e
L
158612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15862
15863 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15864 value. Use "or" to set return value to -1.
15865 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15866 negate return value.
15867
a88b64b9
TMQMF
158682012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15869
15870 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15871 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15872 failure if the compiler has Graphite support disabled.
15873 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15874 Likewise.
15875 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15876 CFLAGS-memmove.c): Likewise.
15877 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15878 Likewise.
15879
3707636e
L
158802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15881
610b8622
L
15882 * sysdeps/x86_64/x32/_itoa.h: New file.
15883
7cd195df
L
15884 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15885 getdents system call only if kernel and user dirents have the
15886 same d_ino and d_off.
15887
94b07d20
L
15888 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15889 LLONG_MAX != LONG_MAX.
15890 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15891 (_fitoa_word): Likewise.
15892
18298070
L
15893 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15894 years.
15895 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15896 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15897 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15898
553c7ea4
L
15899 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15900 include <bits/wordsize.h>. Check __x86_64__ instead of
15901 __WORDSIZE.
15902 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15903 if __x86_64__ is defined. Use anonymous union on fpstate.
15904
3707636e
L
15905 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15906 anonymous union.
15907
b53ef01a
AS
159082012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15909
37fb1dc0
AS
15910 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15911 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15912 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15913 Refer to _rtld_local_ro instead of _rtld_global_ro.
15914 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15915 Likewise.
15916 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15917 Likewise.
15918 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15919 Likewise.
15920 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15921 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15922 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15923
b53ef01a
AS
15924 * sysdeps/powerpc/powerpc32/dl-machine.c
15925 (__elf_machine_runtime_setup) [PROF]: Don't reference
15926 _dl_prof_resolve.
15927
7a185db2
AJ
159282012-05-18 Andreas Jaeger <aj@suse.de>
15929
15930 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15931 function only available for GCCs before 3.4 since GCC 3.4
15932 introduced a builtin.
15933 (lrint): Likewise.
15934 (llrintf): Likewise.
15935 (llrint): Likewise.
15936 (fmaxf): Likewise.
15937 (fmax): Likewise.
15938 (fminf): Likewise.
15939 (fmin): Likewise.
15940 (rint): Likewise.
15941 (rintf): Likewise.
15942 (nearbyint): Likewise.
15943 (nearbyintf): Likewise.
15944 (ceil): Likewise.
15945 (ceilf): Likewise.
15946 (floor): Likewise.
15947 (floorf): Likewise.
15948
3e5aef87
L
159492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15950
428bd707
L
15951 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15952 on both fields and cast pointer to __syscall_ulong_t.
15953
3e5aef87
L
15954 * bits/types.h (__fsword_t): New type.
15955 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15956 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15958 (__FSWORD_T_TYPE): Likewise.
15959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15960 (__FSWORD_T_TYPE): Likewise.
15961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15962 (__FSWORD_T_TYPE): Likewise.
15963 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15964 (__FSWORD_T_TYPE): Likewise.
15965 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15966 __SWORD_TYPE with __fsword_t.
15967 (statfs64): Likewise.
15968
1ba7c3dc
DM
159692012-05-17 David S. Miller <davem@davemloft.net>
15970
15971 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15972
59910343
AJ
159732012-05-17 Andreas Jaeger <aj@suse.de>
15974
15975 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15976 warning.
15977
2e4c1e9e
L
159782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15979
15980 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15981
de7f5ce7
AJ
159822012-05-17 Andreas Jaeger <aj@suse.de>
15983
15984 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15985 when it is used.
15986
286abc3d
CM
159872012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15988
15989 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15990
477cc68e
L
159912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15992
15993 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15994 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15995
1a0994f5
CD
159962012-05-17 Andreas Jaeger <aj@suse.de>
15997 Carlos O'Donell <carlos_odonell@mentor.com>
15998
15999 [BZ #14059]
16000 * sysdeps/x86_64/multiarch/init-arch.h
16001 (bit_YMM_Usable): Rename to...
16002 (bit_AVX_Usable): ... this.
16003 (bit_FMA4_Usable): New macro.
16004 (bit_XMM_state): New macro.
16005 (bit_YMM_state): New macro.
16006 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16007 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16008 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16009 (CPUID_OSXSAVE): New macro.
16010 (CPUID_AVX): New macro.
16011 (CPUID_FMA4): New macro.
16012 (index_YMM_Usable): Rename to...
16013 (index_AVX_Usable): ... this.
16014 (HAS_AVX): Use HAS_ARCH_FEATURE.
16015 (HAS_FMA4): Likewise.
16016 (HAS_YMM_USABLE): Remove.
16017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16018 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16019 are present.
16020 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16021 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16022 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16023 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16024 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16025
0af797de
CM
160262012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16027
16028 * math/libm-test.c: Support platforms without multiple rounding modes.
16029 * math/bug-nextafter.c: Support platforms without FP exceptions.
16030 * math/bug-nexttoward.c: Likewise.
16031 * math/test-fenv.c: Likewise.
16032 * math/test-misc.c: Likewise.
16033 * stdlib/bug-getcontext.c: Likewise.
16034
e39745ff
AJ
160352012-05-17 Andreas Jaeger <aj@suse.de>
16036
16037 * manual/examples/search.c (critter_cmp): Change signature to
16038 avoid warnings.
16039 * manual/string.texi (Collation Functions): Likewise.
16040
48970aba
L
160412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16042
16043 * bits/types.h: Fold copyright years.
16044 * bits/typesizes.h: Likewise.
16045 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16047 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16049 * time/time.h: Likewise.
16050
bedee953
PP
160512012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16052
16053 [BZ #208]
16054 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16055 in instead of returning them. Return void.
16056 (__libc_mallinfo): Accumulate over all arenas.
16057 (__malloc_stats): Adjust for change in int_mallinfo interface.
16058
61653dfb
RM
160592012-05-16 Roland McGrath <roland@hack.frob.com>
16060
30b99d79
RM
16061 [BZ #10375]
16062 * configure.in (NM): Add AC_CHECK_TOOL for it.
16063 (libc_extra_cflags): New substituted variable.
16064 Check for -fstack-protector being used implicitly.
16065 * configure: Regenerated.
16066 * config.make.in (config-extra-cflags): New variable,
16067 gets @libc_extra_cflags@.
16068 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16069
61653dfb
RM
16070 [BZ #10375]
16071 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16072 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16073 * configure: Regenerated.
16074 * config.make.in (CPPUNDEFS): New substituted variable.
16075 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16076 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16077 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16078
661768bb
L
160792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16080
16081 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16082 (mq_attr): Use __syscall_slong_t.
16083
d4261567
L
160842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16085
16086 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16087 Check __x86_64__ instead of __WORDSIZE.
16088 (_STAT_VER_LINUX): Likewise.
16089 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16090 __syscall_ulong_t and __syscall_slong_t.
16091 (stat64): Likewise.
16092
cf3ff365
L
160932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16094
16095 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16096
76cf3e4d
L
160972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16098
16099 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16100
a637753a
L
161012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16102
16103 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16104 __syscall_ulong_t.
16105
d5e05119
L
16106 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16107 include <bits/wordsize.h>. Check __x86_64__ instead of
16108 __WORDSIZE.
16109 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16110 defined.
16111 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16112
f62ee380
L
16113 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16114 include <bits/wordsize.h>. Check __x86_64__ instead of
16115 __WORDSIZE.
16116 (user_regs_struct): Use "__extension__ unsigned long long"
16117 instead of "unsigned long" if __x86_64__ is defined.
16118 (user): Likewise. Pad after pointer field if __ILP32__ is
16119 defined.
16120
4e124ced
JM
161212012-05-16 Joseph Myers <joseph@codesourcery.com>
16122
6a3951a0
JM
16123 * configure.in (makeinfo): Require version 4.5 or later. Allow
16124 versions 5 to 9.
16125 * configure: Regenerated.
16126 * manual/install.texi (texinfo): Increase version requirement to
16127 4.5 or later.
16128 * INSTALL: Regenerated.
16129
4e124ced
JM
16130 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16131
953ca31a
L
161322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16133
16134 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16135
617aca05
L
16136 * sysdeps/x86_64/x32/ffs.c: New file.
16137
5762f7ae
L
16138 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16139 __syscall_ulong_t.
16140 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16141 defined. Use __syscall_ulong_t.
16142 (shminfo): Use __syscall_ulong_t.
16143 (shm_info): Likewise.
16144
a26b6856
L
16145 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16146 __syscall_ulong_t.
16147
cb2b9ef7
L
16148 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16149 <bits/wordsize.h>.
16150 (msgqnum_t): Use __syscall_ulong_t.
16151 (msglen_t): Likewise.
16152 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16153 __syscall_ulong_t.
16154
34683bb0
L
16155 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16156 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16157
84a68786
L
16158 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16159
48baa5f1
L
16160 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16161 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16162
180be88b
L
16163 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16164 __syscall_slong_t.
16165
5e90c8ad
L
16166 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16167 include <bits/wordsize.h>. Check __x86_64__ instead of
16168 __WORDSIZE.
16169
23dfb58b
L
16170 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16171 "unsigned long long int" if __x86_64__ is defined.
16172 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16173
ce5d54b0
L
16174 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16175 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16176 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16177
13dc9eac
L
16178 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16179 <stdint.h>.
16180 (GET_PC): Cast to uintptr_t first.
16181 (GET_FRAME): Likewise.
16182 (GET_STACK): Likewise.
16183
a7895d15
L
16184 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16185 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16186 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16187 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16188 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16189 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16190 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16191 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16192 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16193 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16194 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16195 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16196 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16197 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16198 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16199 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16200 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16201 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16202 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16203 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16204 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16205 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16206 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16207 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16208 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16209 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16210 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16211 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16212 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16213
656416c9
AS
162142012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16215
5bd66283
AS
16216 * Makerules (+depfiles): Also collect depfiles from .oS in
16217 $(extra-objs).
16218 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16219 .oS, $(libnldbl-routines)).
16220
656416c9
AS
16221 * Makerules (native-compile-mkdep-flags): Define.
16222 * sunrpc/Makefile (extra-objs): Add $(addprefix
16223 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16224 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16225 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16226 calling $(make-target-directory).
16227
a46f2169
L
162282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16229
16230 * bits/types.h (__snseconds_t): Removed.
16231 * time/time.h (struct timespec): Replace __snseconds_t with
16232 __syscall_slong_t.
16233 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16234 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16235 Likewise.
16236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16237 (__SNSECONDS_T_TYPE): Likewise.
16238 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16239 (__SNSECONDS_T_TYPE): Likewise.
16240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16241 (__SNSECONDS_T_TYPE): Likewise.
16242
6af6528b
L
162432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16244
16245 * sysdeps/mach/hurd/bits/typesizes.h
16246 (__SYSCALL_SLONG_TYPE): New macro.
16247 (__SYSCALL_ULONG_TYPE): Likewise.
16248
de986b56
L
162492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16250
16251 * bits/types.h (__syscall_slong_t): New type.
16252 (__syscall_ulong_t): Likewise.
16253
16254 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16255 (__SYSCALL_ULONG_TYPE): Likewise.
16256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16257 (__SYSCALL_SLONG_TYPE): Likewise.
16258 (__SYSCALL_ULONG_TYPE): Likewise.
16259 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16260 (__SYSCALL_SLONG_TYPE): Likewise.
16261 (__SYSCALL_ULONG_TYPE): Likewise.
16262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16263 (__SYSCALL_SLONG_TYPE): Likewise.
16264 (__SYSCALL_ULONG_TYPE): Likewise.
16265
85736dc7
L
162662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16267
16268 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16269 Add sigaltstack-offsets.sym.
16270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16271 <sigaltstack-offsets.h>.
16272 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16273 longjmp_msg pointer.
16274 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16275 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16276 signal stack.
16277 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16278
cc03b296
JM
162792012-05-15 Joseph Myers <joseph@codesourcery.com>
16280
a9538892
JM
16281 * elf/stackguard-macros.h: Remove file.
16282 * sysdeps/generic/stackguard-macros.h: New file.
16283 * sysdeps/i386/stackguard-macros.h: Likewise.
16284 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16285 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16286 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16287 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16288 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16289 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16290 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16291 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16292 <elf/stackguard-macros.h>.
16293
cc03b296
JM
16294 [BZ #14109]
16295 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16296 __aligned__ in attribute.
16297 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16298 (gregset_t): Likewise.
16299
93171016
L
163002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16301
16302 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16303 * sysdeps/x86_64/64/Implies-after: Here. New file.
16304 * sysdeps/x86_64/x32/Implies-after: New file.
16305
d86813a0
L
163062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16307
16308 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16309 and access return value for _dl_profile_fixup. Use R10_LP to
16310 load frame size.
16311
2953ec75
L
163122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16313
16314 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16315
3b550e9e
L
163162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16317
16318 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16319 * sysdeps/x86_64/x32/sysdep.h: New file.
16320
eda41706
L
163212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16322
16323 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16324 * sysdeps/x86_64/setjmp.S: Likewise.
16325
9ea01d93
AZ
163262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16327
16328 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16329 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16330 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16331 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16332 remove unused global constant.
16333
02a91938
CM
163342012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16335
16336 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16337 include of <not-cancel.h>.
16338
6540185f
RM
163392012-05-15 Roland McGrath <roland@hack.frob.com>
16340
16341 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16342
509072a0
AJ
163432012-05-15 Jeff Law <law@redhat.com>
16344 Andreas Jaeger <aj@suse.de>
16345
16346 [BZ #13594]
16347 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16348 out from...
16349 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16350 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16351 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16352 code changing __hst_map_handle.map.
16353
ba75122d
RM
163542012-05-15 Roland McGrath <roland@hack.frob.com>
16355
16356 * configure.in (sysnames): Look for Implies-before and Implies-after
16357 files.
16358 * configure: Regenerated.
16359
890d8bd8
L
163602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16361
16362 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16363 8-byte data alignment with LP_SIZE alignment.
16364
f6ee6623
L
163652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16366
16367 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16368 into R10_LP.
16369
ea2626f6
L
163702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16371
16372 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16373
085f715e
L
163742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16375
16376 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16377 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16378 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16379 Likewise.
16380 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16381
be8498fc
L
163822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16383
16384 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16385 (stackinfo_sub_sp): Likewise.
16386
70bc83b9
L
163872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16388
16389 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16390 RAX_LP.
16391
9bc0b730
L
163922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16393
16394 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16395 into R*_LP.
16396
6d2850e7
L
163972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16398
16399 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16400 sizes into R*_LP.
16401
3cb84561
L
164022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16403
16404 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16405
54e2ed81
L
164062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16407
16408 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16409 into R11_LP and load __x86_64_shared_cache_size_half into
16410 R8_LP.
16411
8a17f349
L
164122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16413
16414 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16415 R8_LP.
16416
777b1eea
AZ
164172012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16418
16419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16420 logb for POWER7.
16421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16422 logbf for POWER7.
16423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16424 logbl for POWER7.
16425 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16426 powerpc32/power7/fpu/s_logb.c via #include.
16427 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16428 powerpc32/power7/fpu/s_logbf.c via #include.
16429 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16430 powerpc32/power7/fpu/s_logbl.c via #include.
16431
d20d4ac2
JM
164322012-05-15 Joseph Myers <joseph@codesourcery.com>
16433
16434 * README.libm: Remove file.
16435
6cdef1ab
L
164362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16437
16438 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16439 count for x32. Use R*_LP and omit operand-size suffix.
16440
0b254d8f
L
164412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16442
16443 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16444 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16445 * sysdeps/x86_64/x32/shlib-versions: New file.
16446
ceb809dc
RM
164472012-05-14 Roland McGrath <roland@hack.frob.com>
16448
16449 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16450 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16451 Use _dl_fatal_printf instead.
16452
37f1abd4
JM
164532012-05-14 Joseph Myers <joseph@codesourcery.com>
16454
16455 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16456 set if not set by the user. Do not allow for being unset.
16457 * sysdeps/unix/sysv/linux/configure: Regenerated.
16458
11de3a33
L
164592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16460
16461 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16462 the `q' suffix from lea and replace .quad with ASM_ADDR.
16463
e02f153a
L
164642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16465
16466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16467 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16468 instead of $17.
16469 (PTR_DEMANGLE): Likewise.
16470
520ae0fd
L
164712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16472
16473 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16474 (LP_OP): Likewise.
16475 (ASM_ADDR): Likewise.
16476 (RAX_LP): Likewise.
16477 (RBP_LP): Likewise.
16478 (RBX_LP): Likewise.
16479 (RCX_LP): Likewise.
16480 (RDI_LP): Likewise.
16481 (RSI_LP): Likewise.
16482 (RSP_LP): Likewise.
16483 (R8_LP): Likewise.
16484 (R9_LP): Likewise.
16485 (R10_LP): Likewise.
16486 (R10_LP): Likewise.
16487 (R11_LP): Likewise.
16488 (R12_LP): Likewise.
16489 (R13_LP): Likewise.
16490 (R14_LP): Likewise.
16491 (R15_LP): Likewise.
16492
b985be81
L
164932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16494
16495 * sysdeps/x86_64/x32/dl-machine.h: New file.
16496
6a4888ff
AJ
164972012-05-14 Andreas Jaeger <aj@suse.de>
16498
16499 * manual/Makefile (subdir): Remove export of subdir.
16500 (all): Remove target.
16501 (.PHONY): Remove all from list.
16502 (mkinstalldirs): Remove.
16503 (.PHONY): Remove installdirs from list.
16504 ($(inst_infodir)/libc.info): Use make-target-directory.
16505 (installdirs): Remove.
16506 (subdir_%): Remove.
16507 (glibc-targets): Remove.
16508 (lib): Remove.
16509 (stubs): Remove.
16510 ($(objpfx)stubs ../po/manual.pot): Remove.
16511 ($(objpfx)stamp%): Remove.
16512 (make-target-directory): Remove.
16513 (subdir_install): Remove.
16514 (routines): Remove.
16515 (aux): Remove.
16516 (sources): Remove.
16517 (objects): Remove.
16518 (headers): Remove.
16519
16520 [BZ #13750]
16521 * manual/.gitignore: Remove, it's not needed anymore.
16522 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16523 all files in it.
16524 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16525 directory.
16526 (texis): Renamed to $(objpfx)texis.
16527 (texis-path): New, contains path to generated files.
16528 (chapters.%): Use texis-path for complete path, add extra argument
16529 libc-texinfo.sh.
16530 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16531 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16532 (summary,texi, stamp-summary): Use complete path of
16533 files. Generate files in build dir.
16534 (dir-add.texi): Build in build dir.
16535 (libm-err.texi,stamp-libm-err): Likewise.
16536 (version.texi, stamp-version): Likewise.
16537 (.%c.texi): Likewise.
16538 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16539 (mostlyclean): Remove target.
16540 (realclean): Remove target.
16541 (generated): Add new variable with contents from mostlyclean and
16542 realclean, remove entries duplicated in common-mostlyclean, add
16543 stamp-libm-err and stamp-version.
16544 (generated-dirs): Add libc directory.
16545 ($(inst_infodir)/libc.info): Install files from build dir.
16546
16547 * manual/install.texi (Configuring and compiling): Adjust since
16548 the info files are not part of the tar ball anymore.
16549
7ac77294
AJ
165502012-05-14 Andreas Jaeger <aj@suse.de>
16551
16552 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16553 variable.
16554
ffb7875d
JM
165552012-05-14 Joseph Myers <joseph@codesourcery.com>
16556
16557 [BZ #13717]
16558 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16559 to 2.2.0 where earlier.
16560 * sysdeps/unix/sysv/linux/configure: Regenerated.
16561 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16562 Remove conditional code.
16563 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16564 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16565 Remove conditional code.
16566 [!__NR_lchown]: Likewise.
16567 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16568 [__NR_lchown]: Likewise.
16569 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16570 comment referencing __ASSUME_LCHOWN_SYSCALL.
16571 * sysdeps/unix/sysv/linux/i386/sigaction.c
16572 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16573 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16574 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16575 Remove conditional code.
16576 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16577 (__protocol_available): Remove #if 0 code.
16578 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16579 conditional code.
16580 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16581 * sysdeps/unix/sysv/linux/kernel-features.h
16582 (__ASSUME_GETCWD_SYSCALL): Don't define.
16583 (__ASSUME_REALTIME_SIGNALS): Likewise.
16584 (__ASSUME_PREAD_SYSCALL): Likewise.
16585 (__ASSUME_PWRITE_SYSCALL): Likewise.
16586 (__ASSUME_POLL_SYSCALL): Likewise.
16587 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16588 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16589 non-SPARC.
16590 (__ASSUME_SIOCGIFNAME): Don't define.
16591 (__ASSUME_MSG_NOSIGNAL): Likewise.
16592 (__ASSUME_SENDFILE): Define unconditionally.
16593 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16594 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16595 conditional code.
16596 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16597 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16598 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16599 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16600 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16601 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16602 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16604 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16605 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16607 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16608 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16610 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16611 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16613 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16614 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16616 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16617 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16619 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16620 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16622 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16625 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16626 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16627 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16628 Remove conditional code.
16629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16630 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16631 Remove conditional code.
16632 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16633 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16634 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16635 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16636 Remove conditional code.
16637 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16638 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16639 Remove conditional code.
16640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16641 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16642 Remove conditional code.
16643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16644 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16645 Remove conditional code.
16646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16647 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16648 Remove conditional code.
16649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16650 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16653 * sysdeps/unix/sysv/linux/sigaction.c
16654 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16655 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16656 * sysdeps/unix/sysv/linux/sigpending.c
16657 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16658 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16659 * sysdeps/unix/sysv/linux/sigprocmask.c
16660 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16661 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16662 * sysdeps/unix/sysv/linux/sigsuspend.c
16663 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16664 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16665 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16666 (__libc_missing_rt_sigs): Remove.
16667 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16668 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16669 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16670 Remove conditional code.
16671 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16672 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16673 return 1.
16674 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16675 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16676 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16677 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16678
1bfb7291
AJ
166792012-05-14 Andreas Jaeger <aj@suse.de>
16680
caae5a81
AJ
16681 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16682 it's not used in glibc.
16683 (__coshm1): Likewise.
16684 (__acosh1p): Likewise.
16685 (__sgn): Likewise.
16686
1bfb7291
AJ
16687 * manual/string.texi (Copying and Concatenation): Add missing
16688 variable in concat example.
16689 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16690
c044d724
L
166912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16692
144c5467 16693 [BZ #14103]
c044d724
L
16694 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16695 __builtin_clzl with __builtin_clzll.
16696
2523c62b
L
166972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16698
16699 [BZ #14104]
16700 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16701 libc_freeres_ptr.
16702
d7bb4c42
LD
167032012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16704
16705 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16706 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16707 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16708 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16709
9dc4e1fb
MF
167102012-05-14 Mike Frysinger <vapier@gentoo.org>
16711
16712 * NEWS: Update ia64 info.
16713
c7df0112
AS
167142012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16715
16716 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16717 used as bcopy.
16718
dc70356c
TS
167192012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16720
16721 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16722 * sysdeps/unix/syscalls.list (dup3): Likewise.
16723 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16724 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16725
9fb1a21f
L
167262012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16727
16728 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16729 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16730
4822a2a5
L
167312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16732
16733 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16734 thread pointer.
16735 (TLS_IE): Use mov/add instead of movq/addq to load thread
16736 pointer.
16737 (TLS_GD_PREFIX): New.
16738 (TLS_GD): Use it.
16739
842b81d6
DM
167402012-05-11 David S. Miller <davem@davemloft.net>
16741
16742 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16743 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16744 (_FPU_SETCW): Likewise.
16745
1cf463cd
L
167462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16747
16748 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16749 is 32-byte aligned.
16750
60cc4a18
AS
167512012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16752
16753 [BZ #11837]
16754 * iconvdata/gb18030.c: Update tables.
16755 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16756 characters specially.
16757 (BODY for TO_LOOP): Add encoding of missing ranges.
16758
febb44a4
TS
167592012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16760
16761 [BZ #13673]
16762 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16763 * sysdeps/mach/hurd/dup3.c: Likewise.
16764 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16765 * sysdeps/powerpc/memmove.c:: Likewise.
16766
0a10fb9e
L
167672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16768
16769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16770 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16771
df8a552f
L
167722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16773
16774 * elf/elf.h (R_X86_64_RELATIVE64): New.
16775 (R_X86_64_NUM): Updated.
16776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16777 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16778 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16779 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16780 tst-quad1pie tst-quad2pie
16781 (modules-names): Add tst-quadmod1 tst-quadmod2.
16782 ($(objpfx)tst-quad1): New dependency.
16783 ($(objpfx)tst-quad2): Likewise.
16784 ($(objpfx)tst-quad1pie): Likewise.
16785 ($(objpfx)tst-quad2pie): Likewise.
16786 * sysdeps/x86_64/tst-quad1.c: New file.
16787 * sysdeps/x86_64/tst-quad1pie.c: New file.
16788 * sysdeps/x86_64/tst-quad2.c: Likewise.
16789 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16790 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16791 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16792 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16793 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16794
f34d6f84
ST
167952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16796
f42d41d1
ST
16797 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16798 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16799 * streams/stropts.h (t_scalar_t): Define type.
16800
3c3571fc
ST
16801 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16802 (_PATH_PRESERVE): Set to "/var/lib".
16803 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16804
61f06bd3
ST
16805 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16806 instead of int.
16807
918d4d71
ST
16808 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16809 if __dir_mkfile succeeded.
16810
f34d6f84
ST
16811 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16812 checking for _hurd_dtablesize. Unlock it right after having
16813 finished _hurd_dtable allocation.
16814
10589b4a
TS
168152012-05-10 Thomas Schwinge <thomas@schwinge.name>
16816
674cdbc7
TS
16817 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16818 * sysdeps/mach/hurd/configure: Regenerated.
16819 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16820 special-casing to...
16821 * sysdeps/gnu/configure.in: ... this new file.
16822 * sysdeps/unix/sysv/linux/configure: Regenerated.
16823 * sysdeps/gnu/configure: New generated file.
16824
8e41b99f
TS
16825 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16826 for Linux: use nsec instead of usec, as well as:
16827 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16828 members of type struct timespec.
16829 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16830 New macros.
16831 (struct stat64): Likewise.
16832 (_STATBUF_ST_NSEC): New macro.
16833 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16834
10589b4a
TS
16835 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16836 __strtoul_internal rather than strtoul.
16837
63643c85
PT
168382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16839
16840 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16841 and reject them.
16842
3faebe6a
ST
168432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16844
16845 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16846 which preserves existing values.
16847 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16848
c6474b07
PT
168492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16850
16851 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16852 TIMEOUT values. Return EINVAL for NFDS values either negative or
16853 greater than FD_SETSIZE.
16854
1043890b
ST
168552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16856
16857 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16858 allocated, call __vm_protect to finish enabling the existing space, and
16859 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16860 allocate the remainder.
16861
37ed8b9b
PT
168622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16863
16864 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16865 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16866
db653660
ST
168672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16868
37ed8b9b
PT
16869 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16870 sysdeps/mach/hurd/readlink.c.
b29d4053 16871
db653660
ST
16872 * posix/tst-sysconf.c (posix_options): Only use
16873 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16874 _POSIX_SYNCHRONIZED_IO when they are defined
16875 * sysdeps/mach/hurd/bits/posix_opt.h:
16876 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16877 (_XOPEN_REALTIME): Undefine macro.
16878 (_XOPEN_REALTIME_THREADS): Undefine macro.
16879 (_XOPEN_SHM): Undefine macro.
16880 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16881 macro to -1.
16882 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16883 macro to -1.
16884 (_POSIX_ASYNC_IO): Undefine macro.
16885 (_POSIX_PRIORITIZED_IO): Undefine macro.
16886 (_POSIX_SPIN_LOCKS): Define macro to -1.
16887
ee16e894
ST
16888 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16889 SA_NODEFER, SA_RESETHAND.
16890 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16891 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16892 F_DUPFD_CLOEXEC.
16893
6103ae3b
TS
168942012-05-10 Thomas Schwinge <thomas@schwinge.name>
16895
16896 * elf/Makefile (pldd-modules): Define unconditionally.
16897
80b4e5f3
TS
168982012-05-10 Thomas Schwinge <thomas@schwinge.name>
16899
16900 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16901
edadcbd6
ST
169022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16903
16904 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16905 Return ENOENT when name is empty.
16906 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16907
80694780
TS
169082012-05-10 Thomas Schwinge <thomas@schwinge.name>
16909
1792c087
TS
16910 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16911
80694780
TS
16912 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16913
6b645f0d
ST
169142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16915
80694780
TS
16916 Fix mlock in all cases except non-readable pages.
16917 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16918 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 16919
6b645f0d
ST
16920 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16921 (__mkdir): When path is `/', just fail with EEXIST.
16922 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16923
e468f8a3
TS
169242012-05-10 Thomas Schwinge <thomas@schwinge.name>
16925
16926 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16927 <sys/uio.h> (for writev).
16928 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16929 and <sys/param.h> (for MIN).
16930
a4186cff
PT
169312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16932
16933 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16934 REQUESTED_TIME. Properly set the remaining time and return EINTR
16935 if interrupted.
16936
510bbf14
TS
169372012-05-10 Thomas Schwinge <thomas@schwinge.name>
16938
16939 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16940 Depend on against $(link-rpcuserlibs).
16941
5d5722e8
ST
169422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16943
a4186cff
PT
16944 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16945 (__libc_stack_end): Do not use attribute_relro.
16946 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16947 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 16948 to libthread-provided value.
a4186cff
PT
16949 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16950 attribute_relro.
5d5722e8 16951
37233df9
TS
169522012-05-10 Thomas Schwinge <thomas@schwinge.name>
16953
be971a2b
TS
16954 [BZ #3748]
16955 * bits/libc-lock.h (__libc_once_get): New macro.
16956 * sysdeps/mach/bits/libc-lock.h: Likewise.
16957 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16958 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16959 instead of using implementation details.
16960
37233df9
TS
16961 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16962 * libio/freopen.c: Likewise.
16963 * libio/freopen64.c: Likewise.
16964 * misc/syslog.c: Likewise.
16965 * nscd/connections.c: Likewise.
16966 * nscd/netgroupcache.c: Likewise.
16967 * sysdeps/posix/getcwd.c: Likewise.
16968
38de94a5
RM
169692012-05-10 Roland McGrath <roland@hack.frob.com>
16970
16971 * math/w_ilogbf.c: Add #include <limits.h>.
16972
67530489
ST
169732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16974
a4186cff 16975 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
16976 path instead of returning without unlocking.
16977
67530489
ST
16978 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16979 immediate-write ioctls.
16980 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16981
5aa3a74a
TS
169822012-05-10 Thomas Schwinge <thomas@schwinge.name>
16983
18bad2ae
TS
16984 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16985 __builtin_frame_address instead of making assumptions about the
16986 location of the return address relative to DATA. Force early load of
16987 the return address.
16988 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16989 __builtin_frame_address.
16990
5aa3a74a
TS
16991 dup3 for GNU Hurd.
16992 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16993 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16994 implement dup3 and do some further code clean-ups.
16995 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16996 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16997
ecd0de9a
ST
169982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16999
cd9fa985
ST
17000 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17001
a4186cff
PT
17002 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17003 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17004 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17005 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17006 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17007 d->port.lock.
802ca5a5 17008
a4186cff
PT
17009 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17010 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17011 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 17012
bcf55240
TS
170132012-05-10 Thomas Schwinge <thomas@schwinge.name>
17014
6960eb42
TS
17015 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17016 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17017 definitions.
17018
eb43375f
TS
17019 accept4 for GNU Hurd.
17020 * include/sys/socket.h (__libc_accept4): New prototype.
17021 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17022 to implement __libc_accept4.
17023 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17024 __libc_accept4.
17025 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17026
bcf55240
TS
17027 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17028 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17029 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17030 signal-defines.sym.
17031
6178c55b
ST
170322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17033
a4186cff 17034 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 17035
6f080c2f
TS
170362012-05-10 Thomas Schwinge <thomas@schwinge.name>
17037
17038 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17039 assertion on O_CLOEXEC flag.
17040 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17041 * hurd/intern-fd.c: Likewise.
17042 * hurd/port2fd.c: Likewise.
17043
bcfe3a54
ST
170442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17045
17046 [BZ #3906]
17047 * bits/in.h (IPV6_PKTINFO): Define new macro.
17048 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17049
89c9aa49
AZ
170502012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17051
17052 [BZ #13954]
17053 [BZ #13955]
17054 [BZ #13956]
17055 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17056 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17057 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17058 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17059 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17060 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17061 * math/libm-test.inc (logb_test) : Additional logb tests.
17062
021db4be
AJ
170632012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17064 Andreas Jaeger <aj@suse.de>
17065
17066 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17067 * configure: Regenerated.
17068 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17069 * config.make.in (link-obsolete-rpc): New substituted variable.
17070 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17071 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17072 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17073 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17074 so that libc.a contains the symbols.
17075 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17076 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17077 * sunrpc/auth_none.c: Likewise.
17078 * sunrpc/auth_unix.c: Likewise.
17079 * sunrpc/authdes_prot.c: Likewise.
17080 * sunrpc/authuxprot.c: Likewise.
17081 * sunrpc/clnt_gen.c: Likewise.
17082 * sunrpc/clnt_perr.c: Likewise.
17083 * sunrpc/clnt_raw.c: Likewise.
17084 * sunrpc/clnt_simp.c: Likewise.
17085 * sunrpc/clnt_tcp.c: Likewise.
17086 * sunrpc/clnt_udp.c: Likewise.
17087 * sunrpc/clnt_unix.c: Likewise.
17088 * sunrpc/des_crypt.c: Likewise.
17089 * sunrpc/des_soft.c: Likewise.
17090 * sunrpc/get_myaddr.c: Likewise.
17091 * sunrpc/key_call.c: Likewise.
17092 * sunrpc/key_prot.c: Likewise.
17093 * sunrpc/netname.c: Likewise.
17094 * sunrpc/pm_getmaps.c: Likewise.
17095 * sunrpc/pm_getport.c: Likewise.
17096 * sunrpc/pmap_clnt.c: Likewise.
17097 * sunrpc/pmap_prot.c: Likewise.
17098 * sunrpc/pmap_prot2.c: Likewise.
17099 * sunrpc/pmap_rmt.c: Likewise.
17100 * sunrpc/publickey.c: Likewise.
17101 * sunrpc/rpc_cmsg.c: Likewise.
17102 * sunrpc/rpc_common.c: Likewise.
17103 * sunrpc/rpc_dtable.c: Likewise.
17104 * sunrpc/rpc_prot.c: Likewise.
17105 * sunrpc/rpc_thread.c: Likewise.
17106 * sunrpc/rtime.c: Likewise.
17107 * sunrpc/svc.c: Likewise.
17108 * sunrpc/svc_auth.c: Likewise.
17109 * sunrpc/svc_raw.c: Likewise.
17110 * sunrpc/svc_run.c: Likewise.
17111 * sunrpc/svc_tcp.c: Likewise.
17112 * sunrpc/svc_udp.c: Likewise.
17113 * sunrpc/svc_unix.c: Likewise.
17114 * sunrpc/svcauth_des.c: Likewise.
17115 * sunrpc/xcrypt.c: Likewise.
17116 * sunrpc/xdr.c: Likewise.
17117 * sunrpc/xdr_array.c: Likewise.
17118 * sunrpc/xdr_float.c: Likewise.
17119 * sunrpc/xdr_intXX_t.c: Likewise.
17120 * sunrpc/xdr_mem.c: Likewise.
17121 * sunrpc/xdr_rec.c: Likewise.
17122 * sunrpc/xdr_ref.c: Likewise.
17123 * sunrpc/xdr_sizeof.c: Likewise.
17124 * sunrpc/xdr_stdio.c: Likewise.
17125
b5c086a2
RM
171262012-05-10 Roland McGrath <roland@hack.frob.com>
17127
17128 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17129 change. Update copyright years.
17130
6d74dd09
JM
171312012-05-10 Joseph Myers <joseph@codesourcery.com>
17132
17133 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17134
28e72501
MK
171352012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17136 Joseph Myers <joseph@codesourcery.com>
17137 Paul Pluzhnikov <ppluzhnikov@google.com>
17138
17139 [BZ #14012]
17140 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17141 requiring rpcgen.
17142 [cross-compiling] (extra-libs): Likewise.
17143 [cross-compiling] (extra-libs-others): Likewise.
17144 [cross-compiling] (librpcsvc-routines): Likewise.
17145 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17146 [cross-compiling] (omit-deps): Likewise.
17147 (sunrpc-CPPFLAGS): New variable.
17148 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17149 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17150 (cross-rpcgen-objs): New variable.
17151 (extra-objs): Append $(cross-rpcgen-objs).
17152 ($(cross-rpcgen-objs)): New rule.
17153 ($(objpfx)cross-rpcgen): Likewise.
17154 (rpcgen-cmd): Define to use $(built-program-file). Expand
17155 comment.
17156 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17157 ($(objpfx)x%.stmp): Likewise.
17158 * sunrpc/proto.h [IS_IN_build] (_): Define.
17159 [IS_IN_build] (_libc_intl_domainname): Likewise.
17160
c8c59454
L
171612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17162
17163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17164 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17165 and R_X86_64_TPOFF64.
17166
6f27cd16
JM
171672012-05-10 Joseph Myers <joseph@codesourcery.com>
17168
17169 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17170 sysdeps/unix/sysv/syscalls.list.
17171 (stime): Likewise.
17172 (utime): Likewise.
17173 * sysdeps/unix/sysv/syscalls.list: Remove file.
17174
02467e1c
PE
171752012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17176
17177 [BZ #3440]
17178 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17179 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17180 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17181 (__LC_IDENTIFICATION): Make these macros useful in #if
17182 expressions, as required by C99.
17183
da392631
AS
171842012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17185
17186 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17187 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17188 after this.
17189
8115f29b
L
171902012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17191
17192 * stdlib/longlong.h: Updated from GCC.
17193
bdd74070
AJ
171942012-05-09 Andreas Jaeger <aj@suse.de>
17195
edfe0dbe
AJ
17196 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17197 default is first entry.
17198 (run_mode): Set type.
17199 (main): Remove informal message about syslog.
17200 (options): Fix typo.
17201
bcfe3a54
ST
17202 [BZ #14053]
17203 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17204 to asm.
bcfe3a54
ST
17205 (lrint): Likewise.
17206 (llrintf): Likewise.
17207 (llrint): Likewise.
17208 (rint): Likewise.
17209 (rintf): Likewise.
17210 (nearbyint): Likewise.
17211 (nearbyintf): Likewise.
bdd74070 17212
91d8d69e
AJ
172132012-05-09 Andreas Jaeger <aj@suse.de>
17214 Pedro Alves <palves@redhat.com>
17215
17216 * nscd/nscd.c (run_mode): Use enum.
17217 (main): Cleanup coding style issue.
17218
bb90b80b
AJ
172192012-05-09 Alexandre Oliva <aoliva@redhat.com>
17220 Andreas Jaeger <aj@suse.de>
17221
bcfe3a54
ST
17222 * nscd/nscd.c (go_background): Replaced with...
17223 (run_mode): ... this.
bb90b80b 17224 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17225 (options): Add -F --foreground.
17226 (main): Implement it.
17227 (parse_opt): Parse it.
bb90b80b 17228
1a4b75a1
AJ
172292012-05-09 Andreas Jaeger <aj@suse.de>
17230
17231 [BZ #14083]
17232 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17233 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17234 -Wconversion warning.
17235 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17236 Likewise.
17237
b1cc2472
JM
172382012-05-09 Joseph Myers <joseph@codesourcery.com>
17239
17240 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17241 == 0.
17242 (LC_ALL): Use macro-int-constant.
17243 (LC_COLLATE): Likewise.
17244 (LC_CTYPE): Likewise.
17245 (LC_MESSAGES): Likewise.
17246 (LC_MONETARY): Likewise.
17247 (LC_NUMERIC): Likewise.
17248 (LC_TIME): Likewise.
17249 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17250 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17251 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17252 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17253 Specify type.
17254 [C99-based standards] (float_t): Expect type.
17255 [C99-based standards] (double_t): Expect type.
17256 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17257 type.
17258 [C99-based standards] (HUGE_VALL): Likewise.
17259 [C99-based standards] (INFINITY): Likewise.
17260 [C99-based standards] (NAN): Likewise.
17261 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17262 [C99-based standards] (FP_NAN): Likewise.
17263 [C99-based standards] (FP_NORMAL): Likewise.
17264 [C99-based standards] (FP_SUBNORMAL): Likewise.
17265 [C99-based standards] (FP_ZERO): Likewise.
17266 [C99-based standards] (FP_FAST_FMA): Use
17267 optional-macro-int-constant. Specify type. Require == 1.
17268 [C99-based standards] (FP_FAST_FMAF): Likewise.
17269 [C99-based standards] (FP_FAST_FMAL): Likewise.
17270 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17271 [C99-based standards] (FP_ILOGBNAN): Likewise.
17272 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17273 Specify type.
17274 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17275 [C99-based standards] (math_errhandling): Specify type.
17276 [ISO99 || ISO11] (signgam): Do not allow.
17277 [non-C99-based standards] (copysignf): Do not allow.
17278 [non-C99-based standards] (exp2f): Likewise.
17279 [non-C99-based standards] (log2f): Likewise.
17280 [non-C99-based standards] (modff): Allow.
17281 [non-C99-based standards] (erff): Do not allow.
17282 [non-C99-based standards] (erfcf): Likewise.
17283 [non-C99-based standards] (gammaf): Likewise.
17284 [non-C99-based standards] (hypotf): Likewise.
17285 [non-C99-based standards] (j0f): Likewise.
17286 [non-C99-based standards] (j1f): Likewise.
17287 [non-C99-based standards] (jnf): Likewise.
17288 [non-C99-based standards] (lgammaf): Likewise.
17289 [non-C99-based standards] (tgammaf): Likewise.
17290 [non-C99-based standards] (y0f): Likewise.
17291 [non-C99-based standards] (y1f): Likewise.
17292 [non-C99-based standards] (ynf): Likewise.
17293 [non-C99-based standards] (isnanf): Likewise.
17294 [non-C99-based standards] (acoshf): Likewise.
17295 [non-C99-based standards] (asinhf): Likewise.
17296 [non-C99-based standards] (atanhf): Likewise.
17297 [non-C99-based standards] (cbrtf): Likewise.
17298 [non-C99-based standards] (expm1f): Likewise.
17299 [non-C99-based standards] (ilogbf): Likewise.
17300 [non-C99-based standards] (log1pf): Likewise.
17301 [non-C99-based standards] (logbf): Likewise.
17302 [non-C99-based standards] (nextafterf): Likewise.
17303 [non-C99-based standards] (remainderf): Likewise.
17304 [non-C99-based standards] (rintf): Likewise.
17305 [non-C99-based standards] (scalbf): Likewise.
17306 [non-C99-based standards] (copysignl): Likewise.
17307 [non-C99-based standards] (exp2l): Likewise.
17308 [non-C99-based standards] (log2l): Likewise.
17309 [non-C99-based standards] (modfl): Allow.
17310 [non-C99-based standards] (erfl): Do not allow.
17311 [non-C99-based standards] (erfcl): Likewise.
17312 [non-C99-based standards] (gammal): Likewise.
17313 [non-C99-based standards] (hypotl): Likewise.
17314 [non-C99-based standards] (j0l): Likewise.
17315 [non-C99-based standards] (j1l): Likewise.
17316 [non-C99-based standards] (jnl): Likewise.
17317 [non-C99-based standards] (lgammal): Likewise.
17318 [non-C99-based standards] (tgammal): Likewise.
17319 [non-C99-based standards] (y0l): Likewise.
17320 [non-C99-based standards] (y1l): Likewise.
17321 [non-C99-based standards] (ynl): Likewise.
17322 [non-C99-based standards] (isnanl): Likewise.
17323 [non-C99-based standards] (acoshl): Likewise.
17324 [non-C99-based standards] (asinhl): Likewise.
17325 [non-C99-based standards] (atanhl): Likewise.
17326 [non-C99-based standards] (cbrtl): Likewise.
17327 [non-C99-based standards] (expm1l): Likewise.
17328 [non-C99-based standards] (ilogbl): Likewise.
17329 [non-C99-based standards] (log1pl): Likewise.
17330 [non-C99-based standards] (logbl): Likewise.
17331 [non-C99-based standards] (nextafterl): Likewise.
17332 [non-C99-based standards] (remainderl): Likewise.
17333 [non-C99-based standards] (rintl): Likewise.
17334 [non-C99-based standards] (scalbl): Likewise.
17335 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17336 [non-C99-based standards] (FP_*): Do not allow.
17337 [C99-based standards] (FP_*): Change to
17338 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17339 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17340 allow.
17341 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17342 (SIG_ERR): Likewise.
17343 [X/Open-based standards] (SIG_HOLD): Likewise.
17344 (SIG_IGN): Likewise.
17345 (SIGABRT): Use macro-int-constant. Specify type. Require
17346 positive value.
17347 (SIGFPE): Likewise.
17348 (SIGILL): Likewise.
17349 (SIGINT): Likewise.
17350 (SIGSEGV): Likewise.
17351 (SIGTER): Likewise.
17352 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17353 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17354 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17355 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17356 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17357 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17358 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17359 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17360 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17361 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17362 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17363 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17364 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17365 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17366 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17367 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17368 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17369 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17370 [X/Open-based standards] (SIGTRAP): Likewise.
17371 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17372 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17373 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17374 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17375 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17376 allow.
17377
b9f1922d
IW
173782012-05-08 Ian Wienand <ianw@vmware.com>
17379
17380 [BZ #14080]
17381 * time/tzset.c (__tzset_parse_tz): Update default rules for
17382 daylight time changes in the Energy Policy Act of 2005.
17383
1db86e88
AJ
173842012-05-09 Andreas Jaeger <aj@suse.de>
17385
17386 [BZ #13983]
17387 * elf/ldconfig.c (parse_conf): Change string to make clear that
17388 ldconfig only issued a warning if ld.so.conf does not exist.
17389
dee4a4e3
DM
173902012-05-08 David S. Miller <davem@davemloft.net>
17391
ee0db190
DM
17392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17393 movxtod instead of popping the value on the stack.
17394
dee4a4e3
DM
17395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17396
6a43ec98
CD
173972012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17398
17399 * config.h.in: Add HAVE_ARM_PCS_VFP.
17400
05c2c961
RMG
174012012-05-08 Roland Mc Grath <roland@hack.frob.com>
17402
bcfe3a54
ST
17403 [BZ #13979]
17404 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17405 checking but the checks are disabled for any reason.
05c2c961 17406
4b30f61a
L
174072012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17408
17409 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17410 and ELF64_R_TYPE with ELFW(R_TYPE).
17411
eee2bc67
JM
174122012-05-08 Joseph Myers <joseph@codesourcery.com>
17413
7ea5391a
JM
17414 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17415 (ulimit): Likewise.
17416
eee2bc67
JM
17417 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17418 (settimeofday): Likewise.
17419
abb66a67
MF
174202012-05-08 Mike Frysinger <vapier@gentoo.org>
17421
17422 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17423 a struct th_u2 inside the union, and move tu_block/tu_code into
17424 a new th_u3 union of tu_block/tu_code inside of that. Move
17425 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17426 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17427 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17428 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17429 (th_stuff): Change to th_u1.tu_stuff.
17430 (th_data): Define.
17431 (th_msg): Change to th_u1.th_u2.tu_data.
17432
7f18b530
DM
174332012-05-07 David S. Miller <davem@davemloft.net>
17434
05760585
DM
17435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17436
7f18b530
DM
17437 [BZ #14074]
17438 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17439 (SETUP_PIC_REG): Use it.
17440 (SETUP_PIC_REG_LEAF): Use it.
17441
495fd99f
JM
174422012-05-07 Joseph Myers <joseph@codesourcery.com>
17443
17444 [BZ #13885]
17445 [BZ #13923]
17446 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17447 USE_AS_EXPM1L.
17448 (EXPL_FINITE): Likewise.
17449 (FLDLOG): Likewise.
17450 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17451 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17452 e_expl.S.
17453 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17454 USE_AS_EXPM1L.
17455 (EXPL_FINITE): Likewise.
17456 (FLDLOG): Likewise.
17457 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17458 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17459 e_expl.S.
17460 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17461 test of -max_value argument for long double.
17462 * sysdeps/i386/fpu/libm-test-ulps: Update.
17463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17464
6693d694
DM
174652012-05-06 David S. Miller <davem@davemloft.net>
17466
17467 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17468 quad soft-float symbols whose references which are compiler
17469 generated.
17470 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17471
6c23e11c
JM
174722012-05-06 Joseph Myers <joseph@codesourcery.com>
17473
d8b82cad
JM
17474 [BZ #13884]
17475 [BZ #13914]
17476 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17477 USE_AS_EXP10L.
17478 (EXPL_FINITE): Likewise.
17479 (FLDLOG): Likewise.
17480 (c0): Likewise.
17481 (c1): Likewise.
17482 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17483 Adjust comments for base varying.
17484 (__expl_finite): Change alias to EXPL_FINITE.
17485 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17486 e_expl.S.
17487 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17488 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17490 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17491 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17492 USE_AS_EXP10L.
17493 (EXPL_FINITE): Likewise.
17494 (FLDLOG): Likewise.
17495 (c0): Likewise.
17496 (c1): Likewise.
17497 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17498 Adjust comments for base varying.
17499 (__expl_finite): Change alias to EXPL_FINITE.
17500 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17501 tests for bugs.
17502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17503
6c23e11c
JM
17504 [BZ #14064]
17505 * math/libm-test.inc (check_float_internal): Correct ulp
17506 calculation for subnormal expected results.
17507
29ba805c
AJ
175082012-05-06 Andreas Jaeger <aj@suse.de>
17509
17510 * Makeconfig (+math-flags): New, set to -frounding-math.
17511 (+cflags): Add +math-flags so that all of glibc gets compiled with
17512 it.
17513
17514 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17515
7b17aeda
JM
175162012-05-05 Joseph Myers <joseph@codesourcery.com>
17517
5779f134
JM
17518 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17519 Disable one test.
17520
41498f4d
JM
17521 [BZ #13787]
17522 [BZ #13922]
17523 [BZ #14036]
17524 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17525 (__ieee754_expl): Allow for and saturate large arguments.
17526 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17527 (u_threshold): Likewise.
17528 (__exp): Call __ieee754_exp before checking for overflow and
17529 underflow.
17530 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17531 (u_threshold): Likewise.
17532 (__expf): Call __ieee754_expf before checking for overflow and
17533 underflow.
17534 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17535 (u_threshold): Likewise.
17536 (__expl): Call __ieee754_expl before checking for overflow and
17537 underflow.
17538 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17539 (__ieee754_expl): Allow for and saturate large arguments.
17540 * math/libm-test.inc (exp_test): Add another test. Do not allow
17541 missing overflow exception on overflow.
17542 (expm1_test): Do not allow missing overflow exception on overflow.
17543
6698b8bf
JM
17544 * sysdeps/i386/fpu/e_expl.c: Move to ...
17545 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17546 rather than using inline asm.
17547 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17548 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17549 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17550
7b17aeda
JM
17551 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17552 (nice): Likewise.
17553 (poll): Likewise.
17554 (signal): Likewise.
17555 (time): Likewise.
17556 (times): Likewise.
17557
f7c85819
JM
175582012-05-04 Joseph Myers <joseph@codesourcery.com>
17559
17560 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17561 sysdeps/unix/common/syscalls.list.
17562 (fchmod): Likewise.
17563 (fchown): Likewise.
17564 (ftruncate): Likewise.
17565 (getrusage): Likewise.
17566 (gettimeofday): Likewise.
17567 (setpgid): Likewise.
17568 (setregid): Likewise.
17569 (setreuid): Likewise.
17570 (sigaction): Likewise.
17571 (truncate): Likewise.
17572 (vhangup): Likewise.
17573 * sysdeps/unix/common/syscalls.list: Remove file.
17574 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17575 * sysdeps/unix/sysv/linux/Implies: Likewise.
17576
336270d0
L
175772012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17578
17579 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17581 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17582 Moved to ...
17583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17584 Here.
17585 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17586 to ...
17587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17588 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17589 to ...
17590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17591 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17592 to ...
17593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17594 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17595 to ...
17596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17597 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17598 to ...
17599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17600 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17601 to ...
17602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17603 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17604 to ...
17605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17606 Here.
17607 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17608 to ...
17609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17610 Here.
17611 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17612 to ...
17613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17614 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17615 Moved to ...
17616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17617 Here.
17618 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17619 to ...
17620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17621
d128e450
JM
176222012-05-04 Joseph Myers <joseph@codesourcery.com>
17623
fa8ee516
JM
17624 * sysdeps/unix/common/bits/dirent.h: Remove file.
17625 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17626
d128e450
JM
17627 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17628 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17629 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17630 * sysdeps/unix/bsd/isatty.c: Likewise.
17631 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17632 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17633 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17634
ff8faaf0 176352012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 17636
62881be4 17637 [BZ #13563]
31dc8730
AZ
17638 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17639 long double comparison inaccuracies.
17640 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17642
6fef930c
AS
176432012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17644
17645 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17646 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17647
8f203e6c
JM
176482012-05-04 Joseph Myers <joseph@codesourcery.com>
17649
17650 [BZ #14049]
17651 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17652 nonzero digits before rounding a hex value.
17653 * stdlib/tst-strtod.c (tests): Add another test.
17654
5197d9c2
AK
176552012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17656
17657 * sysdeps/s390/fpu/libm-test-ulps: Update.
17658
f0c1dedf
AJ
176592012-05-03 Andreas Jaeger <aj@suse.de>
17660
17661 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17662 does not get optimized out.
17663 (malloc_opt_barrier): New.
17664
a65ef2ae 176652012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 17666 Roland McGrath <roland@hack.frob.com>
a65ef2ae 17667
2b942cb7 17668 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 17669 intermediate file deletion.
2b942cb7 17670 (generated): Add .symlist files.
a65ef2ae 17671
54b71e02
JM
176722012-05-03 Joseph Myers <joseph@codesourcery.com>
17673
17674 [BZ #13775]
17675 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17676 Redirect under this condition.
17677 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17678 [__USE_GNU] (__dprintf_chk): Not under this condition.
17679 [__USE_GNU] (__vdprintf_chk): Likewise.
17680 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17681 under this condition.
17682 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17683 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17684 [__USE_XOPEN2K8] (vdprintf): Likewise.
17685 [__USE_GNU] (__dprintf_chk): Not under this condition.
17686 [__USE_GNU] (__vdprintf_chk): Likewise.
17687 [__USE_GNU] (dprintf): Likewise.
17688 [__USE_GNU] (vdprintf): Likewise.
17689
d3dfcc41
RM
176902012-05-03 Roland McGrath <roland@hack.frob.com>
17691
17692 * elf/Makefile (common-generated): Set this instead of generated for
17693 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17694 $(all-built-dso)-derived lists.
17695
7ac30cc5
AJ
176962012-05-03 Andreas Jaeger <aj@suse.de>
17697
0c51e550
AJ
17698 * sysdeps/i386/fpu/libm-test-ulps: Update.
17699
7ac30cc5
AJ
17700 * FAQ: Removed.
17701 * FAQ.in: Likewise.
17702 * scripts/gen-FAQ.pl: Likewise.
17703 * manual/install.texi (Installation): Point to online location of
17704 FAQ.
17705 * Makefile (files-for-dist): Remove FAQ.
17706 (FAQ): Remove.
17707
d4c2917f
AM
177082012-05-02 Allan McRae <allan@archlinux.org>
17709
17710 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17711 (LDFLAGS-reldepmod5.so): Likewise.
17712 (LDFLAGS-reldep6mod1.so): Likewise.
17713 (LDFLAGS-reldep6mod4.so): Likewise.
17714 (LDFLAGS-reldep8mod3.so): Likewise.
17715 (LDFLAGS-unload4mod1.so): Likewise.
17716 (LDFLAGS-unload4mod2.so): Likewise.
17717 (LDFLAGS-tst-initorder): Likewise.
17718 (LDFLAGS-tst-initordera2.so): Likewise.
17719 (LDFLAGS-tst-initordera3.so): Likewise.
17720 (LDFLAGS-tst-initordera4.so): Likewise.
17721 (LDFLAGS-tst-initorderb2.so): Likewise.
17722 (LDFLAGS-noload): Likewise.
17723 (LDFLAGS-next): Likewise.
17724 (LDFLAGS-order2mod1.so): Likewise.
17725 (LDFLAGS-order2mod2.so): Likewise.
17726 (LDFLAGS-tst-initorder2): Likewise.
17727 (LDFLAGS-tst-initorder2a.so): Likewise.
17728 (LDFLAGS-tst-initorder2b.so): Likewise.
17729 (LDFLAGS-tst-initorder2c.so): Likewise.
17730 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17731
d77f993f
DM
177322012-05-02 David S. Miller <davem@davemloft.net>
17733
17734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17735
171a70b4
PP
177362012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17737
17738 [BZ #14055]
17739 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17740
0be196ad
AJ
177412012-05-02 Andreas Jaeger <aj@suse.de>
17742
17743 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17744 since we manipulate rounding mode.
17745 (CPPFLAGS-test-idouble.c): Likewise.
17746 (CPPFLAGS-test-ifloat.c): Likewise.
17747 (CFLAGS-test-ldouble.c): Likewise.
17748 (CFLAGS-test-double.c): Likewise.
17749 (CFLAGS-test-float.c): Likewise.
17750 (CFLAGS-test-misc.c): Likewise.
17751 (CFLAGS-test-test-fenv.c): Likewise.
17752
4f9d04aa
AZ
177532012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17754
2b942cb7
RM
17755 [BZ #2550]
17756 [BZ #2570]
17757 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17758 comparisons to determine direction to adjust input.
4f9d04aa 17759
82a79e7d
RM
177602012-05-01 Roland McGrath <roland@hack.frob.com>
17761
f5a01ca9
RM
17762 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17763 output to the target.
17764
90fe4186
RM
17765 * scripts/localplt.awk: New file.
17766 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17767 (check-localplt-CFLAGS): Variable removed.
17768 ($(all-built-dso:=.jmprel)): New static pattern rule.
17769 (generated): Add those targets.
17770 (localplt-built-dso): New variable.
17771 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17772
17773 * elf/check-localplt.c: File removed.
17774
82397ed6
RM
17775 * scripts/check-execstack.awk: New file.
17776 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17777 (check-execstack-CFLAGS): Variable removed.
17778 ($(objpfx)check-execstack.h): Target removed.
17779 ($(objpfx)execstack-default): New target.
17780 (generated): Add that instead of check-execstack.h.
17781 ($(all-built-dso:=.phdr)): New static pattern rule.
17782 (generated): Add those targets.
17783 * elf/check-execstack.c: File removed.
17784
82a79e7d
RM
17785 * scripts/check-textrel.awk: New file.
17786 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17787 (check-textrel-CFLAGS): Variable removed.
17788 (all-built-dso): Use := to define.o
17789 ($(all-built-dso:=.dyn)): New static pattern rule.
17790 (generated): Add those targets.
17791 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17792 * config.make.in (READELF): New substituted variable.
17793 * elf/check-textrel.c: File removed.
17794
62fde54f 177952012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 17796
615605c9
JM
17797 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17798 allow.
17799 * conform/data/ctype.h-data [C99-based standards] (isblank):
17800 Expect function.
17801 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17802 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17803 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17804 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17805 Specify type. Require positive value.
17806 (EILSEQ): Likewise.
17807 (ERANGE): Likewise.
17808 [ISO || POSIX] (EILSEQ): Do not expect.
17809 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17810 Specify type. Require positive value.
17811 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17812 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17813 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17814 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17815 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17816 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17817 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17818 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17819 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17820 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17821 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17822 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17823 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17824 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17825 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17826 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17827 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17828 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17829 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17830 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17831 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17832 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17833 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17834 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17835 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17836 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17837 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17838 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17839 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17840 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17841 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17842 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17843 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17844 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17845 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17846 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17847 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17848 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17849 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17850 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17851 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17852 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17853 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17854 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17855 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17856 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17857 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17858 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17859 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17860 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17861 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17862 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17863 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17864 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17865 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17866 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17867 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17868 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17869 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17870 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17871 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17872 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17873 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17874 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17875 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17876 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17877 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17878 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17879 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17880 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17881 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17882 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17883 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17884 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17885 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17886 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17887 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17888 Require >= 2.
17889 (FLT_ROUNDS): Expect as macro, not constant.
17890 (FLT_MANT_DIG): Use macro-int-constant.
17891 (DBL_MANT_DIG): Likewise.
17892 (LDBL_MANT_DIG): Likewise.
17893 (FLT_DIG): Likewise.
17894 (DBL_DIG): Likewise.
17895 (LDBL_DIG): Likewise.
17896 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17897 (DBL_MIN_EXP): Likewise.
17898 (LDBL_MIN_EXP): Likewise.
17899 (FLT_MAX_EXP): Use macro-int-constant.
17900 (DBL_MAX_EXP): Likewise.
17901 (LDBL_MAX_EXP): Likewise.
17902 (FLT_MAX_10_EXP): Likewise.
17903 (DBL_MAX_10_EXP): Likewise.
17904 (LDBL_MAX_10_EXP): Likewise.
17905 (FLT_MAX): Use macro-constant.
17906 (DBL_MAX): Likewise.
17907 (LDBL_MAX): Likewise.
17908 (FLT_EPSILON): Use macro-constant. Give upper bound.
17909 (DBL_EPSILON): Likewise.
17910 (LDBL_EPSILON): Likewise.
17911 (FLT_MIN): Likewise.
17912 (DBL_MIN): Likewise.
17913 (LDBL_MIN): Likewise.
17914 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17915 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17916 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17917 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17918 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17919 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17920 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17921 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17922 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17923 [ISO11] (FLT_TRUE_MIN): Likewise.
17924 [ISO11] (LDBL_TRUE_MIN): Likewise.
17925 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17926 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17927 (SCHAR_MIN): Use macro-int-constant. Specify type.
17928 (SCHAR_MAX): Likewise.
17929 (UCHAR_MAX): Likewise.
17930 (CHAR_MIN): Likewise.
17931 (CHAR_MAX): Likewise.
17932 (MB_LEN_MAX): Use macro-int-constant.
17933 (SHRT_MIN): Use macro-int-constant. Specify type.
17934 (SHRT_MAX): Likewise.
17935 (USHRT_MAX): Likewise.
17936 (INT_MAX): Likewise.
17937 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17938 bound negative.
17939 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17940 bound with "U".
17941 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17942 bound with "L".
17943 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17944 bound negative. Suffix upper bound with "L".
17945 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17946 bound with "UL".
17947 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17948 Specify type.
17949 [C99-based standards] (LLONG_MAX): Likewise.
17950 [C99-based standards] (ULLONG_MAX): Likewise.
17951 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17952 == 0.
17953 [ISO11] (max_align_t): Require type.
17954 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17955
c9140a62
JM
17956 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17957 from $CFLAGS, without defining away __attribute__ calls.
17958 (checknamespace): Use $CFLAGS_namespace.
17959
9af0bf29
JM
17960 * conform/conformtest.pl (@keywords): Only include C99 keywords
17961 for standards based on C99 or C11.
17962
343222a2
JM
17963 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17964 Disable tests.
17965 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17966 UNIX98]: Likewise.
17967
661f8cf0
JM
17968 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17969 usability of symbols in #if.
17970
ee74b9cb
JM
17971 * conform/conformtest.pl: If macro or constant types start
17972 "promoted:", expect the symbol to be of the following type
17973 promoted by the integer promotions.
62fde54f 17974
aafc49b3
JM
17975 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17976 in one place. Also handle "macro-constant".
17977
fefdf574
JM
17978 * conform/conformtest.pl: Only accept expected macro values with
17979 "==". Parse all "macro" lines in one place.
17980 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17981
f2d922fe
JM
17982 * conform/conformtest.pl: Handle braced types on "constant" lines
17983 instead of handling "typed-constant".
17984 * conform/data/signal.h-data: Use "constant" instead of
17985 "typed-constant".
17986
d22956c9
JM
17987 * conform/conformtest.pl: Handle "optional-" at start of lines in
17988 one place rather than duplicating several cases. Handle each
17989 format of "macro" line with initial "optional-".
17990
028e2e38
JM
17991 * conform/conformtest.pl: Only accept expected constant or
17992 optional-constant values with "==". Parse all "constant" lines in
17993 one place. Parse all "optional-constant" lines in one place.
17994 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17995 * conform/data/fmtmsg.h-data: Likewise.
17996 * conform/data/netinet/in.h-data: Likewise.
17997 * conform/data/tar.h-data: Likewise.
17998 * conform/data/limits.h-data: Use "==" form on "constant" and
17999 "optional-constant" lines.
18000
1b8f2850
JM
18001 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18002 Use -std=c99 for XOPEN2K.
18003 (@knownproblems): Remove.
18004 (newtoken): Don't check %isknown.
18005
a05a144b
JM
18006 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18007 Do not expect macro.
18008 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18009 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18010 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18011 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18012 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18013 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18014 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18015 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18016 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18017 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18018 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18019 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18020 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18021 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18022 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18023 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18024 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18025 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18026 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18027 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18028 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18029 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18030 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18031 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18032 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18033 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18034 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18035 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18036 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18037 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18038 [XPG3] (acosh): Likewise.
18039 [XPG3] (asinh): Likewise.
18040 [XPG3] (atanh): Likewise.
18041 [XPG3] (cbrt): Likewise.
18042 [XPG3] (expm1): Likewise.
18043 [XPG3] (ilogb): Likewise.
18044 [XPG3] (log1p): Likewise.
18045 [XPG3] (logb): Likewise.
18046 [XPG3] (nextafter): Likewise.
18047 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18048 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18049 [XPG3] (remainder): Likewise.
18050 [XPG3] (rint): Likewise.
18051 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18052 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18053 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18054 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18055 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18056 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18057 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18058 [UNIX98 || XOPEN2K] (scalb): Expect.
18059 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18060 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18061 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18062 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18063 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18064 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18065 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18066 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18067 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18068 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18069 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18070 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18071 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18072 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18073 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18074 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18075 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18076 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18077 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18078 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18079 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18080 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18081 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18082 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18083 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18084 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18085 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18086 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18087 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18088 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18089 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18090 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18091 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18092 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18093 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18094 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18095 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18096 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18097 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18098 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18099 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18100 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18101 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18102 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18103 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18104 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18105 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18106 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18107 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18108 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18109 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18110 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18111 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18112 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18113 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18114 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18115 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18116 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18117 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18118 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18119 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18120 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18121 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18122 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18123 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18124 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18125 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18126 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18127 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18128 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18129 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18130 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18131 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18132 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18133 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18134 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18135 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18136 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18137 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18138 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18139 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18140 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18141 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18142 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18143 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18144 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18145 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18146 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18147 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18148 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18149 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18150 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18151 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18152 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18153 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18154 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18155 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18156 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18157 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18158 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18159 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18160 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18161 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18162 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18163 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18164 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18165 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18166 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18167 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18168 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18169 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18170 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18171 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18172 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18173 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18174 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18175 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18176 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18177 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18178 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18179 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18180 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18181 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18182 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18183 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18184 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18185 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18186 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18187 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18188 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18189 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18190 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18191 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18192 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18193 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18194 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18195 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18196
73c5ebe3
JM
18197 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18198 _XOPEN_SOURCE_EXTENDED for XPG4.
18199
39c33b6c
JM
18200 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18201
62fde54f
JM
18202 * Makeconfig (localtime): Remove variable.
18203 (inst_localtime-file): Likewise.
18204
0741d64c
AS
182052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18206
18207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18208 Update.
18209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18210 Update.
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18212 Update.
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18214 Update.
18215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18216 Update.
18217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18218 Update.
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18220 Update.
18221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18222 Update.
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18224 Update.
18225
7cb029ee
JM
182262012-05-01 Joseph Myers <joseph@codesourcery.com>
18227
18228 [BZ #2550]
18229 [BZ #2570]
18230 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18231 comparisons to determine direction to adjust input.
18232 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18233 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18234 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18235 Likewise.
18236 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18237 Likewise.
18238 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18239 Likewise.
18240 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18241 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18242 Likewise.
18243 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18244 Likewise.
18245 * math/libm-test.inc (nexttoward_test): Add more tests.
18246
412bd966
AS
182472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18248
18249 [BZ #14040]
18250 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18251 in version GLIBC_2.1, not GLIBC_2.0.
18252 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18253 Likewise.
18254
9568c0c2
JM
182552012-04-30 Joseph Myers <joseph@codesourcery.com>
18256
adfbc8ac
JM
18257 [BZ #13942]
18258 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18259 (1 - x) * (1 + x).
18260 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18261 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18262 * math/libm-test.inc (acos_test): Add more tests.
18263 (asin_test): Likewise.
18264 * sysdeps/i386/fpu/libm-test-ulps: Update.
18265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18266
5ba3cc69
JM
18267 [BZ #14034]
18268 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18269 of square root.
18270 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18271 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18272 * math/libm-test.inc (acos_test_tonearest): New function.
18273 (acos_test_towardzero): Likewise.
18274 (acos_test_downward): Likewise.
18275 (acos_test_upward): Likewise.
18276 (asin_test_tonearest): Likewise.
18277 (asin_test_towardzero): Likewise.
18278 (asin_test_downward): Likewise.
18279 (asin_test_upward): Likewise.
18280 (main): Call the new functions.
18281 * sysdeps/i386/fpu/libm-test-ulps: Update.
18282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18283
9568c0c2
JM
18284 [BZ #13884]
18285 [BZ #13924]
18286 * math/e_exp10.c: Include <float.h>.
18287 (__ieee754_exp10): Handle underflow here rather than multiplying
18288 large negative argument by M_LN10.
18289 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18290 of __ieee754_expf.
18291 * math/e_exp10l.c: Include <float.h>.
18292 (__ieee754_exp10l): Handle underflow here rather than multiplying
18293 large negative argument by M_LN10l.
18294 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18295 spurious overflow exception on underflow.
18296
5ac3ea17
MP
182972012-04-29 Marek Polacek <polacek@redhat.com>
18298
18299 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18300 (__fortify_function): New macro.
18301 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18302 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18303 __extern_always_inline.
18304 * libio/bits/stdio2.h: Likewise.
18305 * libio/bits/stdio.h: Likewise.
18306 * string/string.h: Likewise.
18307 * string/bits/string3.h: Likewise.
18308 * include/stdio.h: Likewise.
18309 * stdlib/bits/stdlib.h: Likewise.
18310 * stdlib/stdlib.h: Likewise.
18311 * rt/bits/mqueue2.h: Likewise.
18312 * rt/mqueue.h: Likewise.
18313 * posix/bits/unistd.h: Likewise.
18314 * posix/unistd.h: Likewise.
18315 * io/bits/poll2.h: Likewise.
18316 * io/bits/fcntl2.h: Likewise.
18317 * io/fcntl.h: Likewise.
18318 * io/sys/poll.h: Likewise.
18319 * misc/bits/syslog.h: Likewise.
18320 * misc/bits/syslog-ldbl.h: Likewise.
18321 * misc/sys/syslog.h: Likewise.
18322 * socket/bits/socket2.h: Likewise.
18323 * socket/sys/socket.h: Likewise.
18324 * debug/tst-chk1.c: Likewise.
18325 * wcsmbs/bits/wchar2.h: Likewise.
18326 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18327 * wcsmbs/wchar.h: Likewise.
18328
ecf0ebfb
AJ
183292012-04-29 Andreas Jaeger <aj@suse.de>
18330
18331 * Makerules (tests): Remove enable-check-abi protection.
18332 (check-abi-warn): Remove.
18333 (check-abi-%): Remove check-abi-warn usage.
18334
18335 * configure.in: Remove check-abi configure option.
18336 * configure: Regenerated.
18337 * config.make.in (enable-check-abi): Remove.
18338
6d5c57fa
AS
183392012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18340
24c5d07e 18341 [BZ #14033]
ded5180a
AS
18342 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18343 double functions to double *_finite functions.
18344
7e0d315d
AS
18345 [BZ #13941]
18346 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18347 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18348 LDBL_MIN_EXP.
18349 * stdio-common/Makefile (tests): Add tst-sprintf3.
18350 * stdio-common/tst-sprintf3.c: New file.
18351
6d5c57fa
AS
18352 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18353 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18354
0749ff8b
JM
183552012-04-28 Joseph Myers <joseph@codesourcery.com>
18356
18357 * conform/conformtest.pl: Remove duplicate typed-constant
18358 handling.
18359
8dbd5d7b
DM
183602012-04-28 David S. Miller <davem@davemloft.net>
18361
18362 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18363 (check-abi-%): Remove AWK script prerequisite and explicit
18364 abilist directory.
18365 (check-abi): Rewrite to just diff the symlist with the abilist.
18366 (config-tls, config-abi-config): Delete, no longer used.
18367 (update-abi-%): Remove AWK script and explicit abilist directory.
18368 (update-abi): Rewrite to simply compare and conditionally copy the
18369 symlist and the sysdep abilist file. Remove update-abi-config
18370 checks.
18371 * abilist/ld.abilist: Remove.
18372 * abilist/libBrokenLocale.abilist: Remove.
18373 * abilist/libanl.abilist: Remove.
18374 * abilist/libcrypt.abilist: Remove.
18375 * abilist/libdl.abilist: Remove.
18376 * abilist/librt.abilist: Remove.
18377 * abilist/libthread_db.abilist: Remove.
18378 * abilist/libutil.abilist: Remove.
18379 * scripts/extract-abilist.awk: Remove.
18380 * scripts/merge-abilist.awk: Remove.
18381 * sysdeps/generic/libcidn.abilist: New file.
18382 * sysdeps/generic/libnss_compat.abilist: New file.
18383 * sysdeps/generic/libnss_db.abilist: New file.
18384 * sysdeps/generic/libnss_dns.abilist: New file.
18385 * sysdeps/generic/libnss_files.abilist: New file.
18386 * sysdeps/generic/libnss_hesiod.abilist: New file.
18387 * sysdeps/generic/libnss_nis.abilist: New file.
18388 * sysdeps/generic/libnss_nisplus.abilist: New file.
18389 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18390 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18391 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18392 file.
18393 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18394 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18395 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18396 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18397 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18398 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18399 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18400 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18401 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18402 file.
18403 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18404 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18405 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18406 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18407 file.
18408 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18409 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18410 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18411 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18412 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18413 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18414 file.
18415 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18416 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18417 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18418 file.
18419 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18421 New file.
18422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18423 New file.
18424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18425 New file.
18426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18427 New file.
18428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18429 New file.
18430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18431 New file.
18432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18433 New file.
18434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18435 New file.
18436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18437 New file.
18438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18439 New file.
18440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18441 New file.
18442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18443 New file.
18444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18445 New file.
18446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18447 file.
18448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18449 New file.
18450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18451 New file.
18452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18453 file.
18454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18455 New file.
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18457 New file.
18458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18459 file.
18460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18461 New file.
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18463 New file.
18464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18465 New file.
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18467 New file.
18468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18469 New file.
18470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18471 New file.
18472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18474 file.
18475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18476 New file.
18477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18478 file.
18479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18480 file.
18481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18482 file.
18483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18484 file.
18485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18486 file.
18487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18488 New file.
18489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18490 file.
18491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18492 file.
18493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18494 New file.
18495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18496 file.
18497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18499 file.
18500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18501 New file.
18502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18503 file.
18504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18505 file.
18506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18507 file.
18508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18509 file.
18510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18511 file.
18512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18513 New file.
18514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18515 file.
18516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18517 file.
18518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18519 New file.
18520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18521 file.
18522 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18523 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18524 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18525 file.
18526 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18527 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18528 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18529 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18530 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18531 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18532 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18533 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18534 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18535 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18538 file.
18539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18540 New file.
18541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18542 file.
18543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18544 file.
18545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18546 file.
18547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18548 file.
18549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18550 file.
18551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18552 New file.
18553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18554 New file.
18555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18556 file.
18557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18558 New file.
18559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18560 file.
18561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18563 file.
18564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18565 New file.
18566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18567 file.
18568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18569 file.
18570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18571 file.
18572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18573 file.
18574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18575 file.
18576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18577 New file.
18578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18579 New file.
18580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18581 file.
18582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18583 New file.
18584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18585 file.
18586
41d73a1b
JM
185872012-04-28 Joseph Myers <joseph@codesourcery.com>
18588
18589 * conform/conformtest.pl: Fix typo in handling typed-constant from
18590 allow-header.
18591
28aeeda4
JM
185922012-04-27 Joseph Myers <joseph@codesourcery.com>
18593
adae8f5e
JM
18594 * README: Cut down references to pre-2.6 Linux kernels and
18595 Linuxthreads. Update lists of configurations in libc and ports
18596 and sort alphabetically. Say "or newer" with Linux kernel version
18597 requirements.
18598
28aeeda4
JM
18599 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18600
a462cb63
RA
186012012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18602
18603 [BZ #887]
18604 * math/libm-test.inc (logb_test_downward): New test to expose
18605 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18606 rounding mode.
18607
6ad3493e
JM
186082012-04-27 Joseph Myers <joseph@codesourcery.com>
18609
18610 [BZ #14027]
18611 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18612 to be done.
18613 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18614 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18615
2ce4f015
JM
186162012-04-26 Joseph Myers <joseph@codesourcery.com>
18617
5aeb141a
JM
18618 * sysdeps/unix/i386/brk.S: Remove file.
18619 * sysdeps/unix/i386/dl-brk.S: Likewise.
18620 * sysdeps/unix/i386/pipe.S: Likewise.
18621 * sysdeps/unix/i386/sigreturn.S: Likewise.
18622 * sysdeps/unix/i386/syscall.S: Likewise.
18623 * sysdeps/unix/i386/vfork.S: Likewise.
18624 * sysdeps/unix/i386/wait.S: Likewise.
18625
7143acae
JM
18626 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18627 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18628
2ce4f015
JM
18629 * configure.in (arm*-none*): Do not allow without
18630 --enable-hacker-mode.
18631 (netbsd*): Remove case setting base_os.
18632 (386bsd*): Likewise.
18633 (freebsd*): Likewise.
18634 (bsdi*): Likewise.
18635 (osf*): Likewise.
18636 (sunos*): Likewise.
18637 (ultrix*): Likewise.
18638 (newsos*): Likewise.
18639 (dynix*): Likewise.
18640 (*bsd*): Likewise.
18641 (sysv*): Likewise.
18642 (isc*): Likewise.
18643 (esix*): Likewise.
18644 (sco*): Likewise.
18645 (minix*): Likewise.
18646 (irix4*): Likewise.
18647 (irix6*): Likewise.
18648 (solaris[2-9]*): Likewise.
18649 (none): Likewise.
18650 * configure: Regenerated.
18651
0ac229c8
AZ
186522012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18653
18654 [BZ #11521]
18655 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18656 overflow or cancellation in calculating denominator.
18657 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18658 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18659 down expression to avoid unexpected rounding in newer GCCs.
18660 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18661
33f244f4
DM
186622012-04-26 David S. Miller <davem@davemloft.net>
18663
18664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18665 long-double compat symbols.
18666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18679
cfa1f3e8
DM
186802012-04-25 David S. Miller <davem@davemloft.net>
18681
18682 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18683 HWCAP_* values only after the memory barriers have been defined.
18684 (atomic_full_barrier): Define.
18685 (atomic_read_barrier): Define.
18686 (atomic_write_barrier): Define.
18687
6e236b92
SP
186882012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18689
18690 * shlib-versions: Add libgcc_s version information.
18691 * sysdeps/generic/libgcc_s.h: Remove.
18692 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18693 libgcc_s.h.
18694 * sysdeps/gnu/unwind-resume.c: Likewise.
18695 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18696
aab39a09
DM
186972012-04-25 David S. Miller <davem@davemloft.net>
18698
18699 * sysdeps/unix/sparc/brk.S: Delete.
18700 * sysdeps/unix/sparc/dl-brk.S: Delete.
18701 * sysdeps/unix/sparc/pipe.S: Delete.
18702 * sysdeps/unix/sparc/sysdep.S: Delete.
18703 * sysdeps/unix/sparc/sysdep.h: Delete.
18704 * sysdeps/unix/sparc/vfork.S: Delete.
18705 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18706 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18707 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18708 ret_ERRVAL, r0, r1, MOVE): Define.
18709 (JUMPTARGET): Remove.
18710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18711 sysdeps/unix/sparc/sysdep.h
18712 (ENTRY, END): Remove.
18713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18714
a3cc4f48
JM
187152012-04-25 Joseph Myers <joseph@codesourcery.com>
18716
2ed8cda2
JM
18717 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18718 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18719 -DIS_IN_build.
18720
35d76d59
JM
18721 * timezone/README: Update upstream location and email address for
18722 tzcode and tzdata.
18723 * timezone/zdump.c: Update from tzcode 2012b.
18724 * timezone/zic.c: Likewise.
18725
a3cc4f48
JM
18726 * configure.in (libc_cv_as_needed): Remove test.
18727 * configure: Regenerated.
18728 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18729 conditional definition.
18730 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18731 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18732 * config.make.in (have-as-needed): Remove variable.
18733
ceab42c3
SP
187342012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18735 Paul Pluzhnikov <ppluzhnikov@google.com>
18736
18737 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18738 strings correctly.
18739
3ce2865f
CLT
187402012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18741
18742 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18743 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18744 * sysdeps/sh/strlen.S: Likewise.
18745
f37e0d68
JM
187462012-04-24 Joseph Myers <joseph@codesourcery.com>
18747
ae186e9a
JM
18748 * sysdeps/unix/fork.S: Remove file.
18749 * sysdeps/unix/i386/fork.S: Likewise.
18750 * sysdeps/unix/sparc/fork.S: Likewise.
18751
b96914af
JM
18752 * sysdeps/unix/system.c: Remove file.
18753 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18754
f37e0d68
JM
18755 * sysdeps/unix/getegid.S: Remove file.
18756 * sysdeps/unix/geteuid.S: Likewise.
18757
87ef29ca
RM
187582012-04-24 Roland McGrath <roland@hack.frob.com>
18759
83bcd236
RM
18760 * scripts/check-localplt.awk: New file.
18761 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18762 of diff.
18763 * scripts/data/localplt-generic.data: Add a comment.
18764
87ef29ca
RM
18765 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18766 NODE when __dir_mkfile failed.
18767 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18768 Reported by Ludovic Courtès <ludo@gnu.org>.
18769
e5a6e567
AJ
187702012-04-24 Andreas Jaeger <aj@suse.de>
18771
18772 * Makerules (common-clean): Also remove gen-as-const-headers
18773 files.
18774
c1820385
JM
187752012-04-24 Joseph Myers <joseph@codesourcery.com>
18776
18777 * Makerules (native-compile): Do not change working directory for
18778 build. Use $(OUTPUT_OPTION) in command.
18779 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18780
94e02fc4
AZ
187812012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18782
18783 [BZ #13886]
18784 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18785 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18786 * math/libm-test.inc (floor_test): Add more tests.
18787 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18788
3a533ca3
JM
187892012-04-24 Joseph Myers <joseph@codesourcery.com>
18790
940ab4b3
JM
18791 * sysdeps/unix/getdents.c: Remove file.
18792 * sysdeps/unix/sysv/getdents.c: Likewise.
18793 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18794
90e037bd
JM
18795 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18796 sysdeps/unix/mman/syscalls.list.
18797 (mmap): Likewise.
18798 (mprotect): Likewise.
18799 (msync): Likewise.
18800 (munmap): Likewise.
18801 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18802 * sysdeps/unix/mman/syscalls.list: Remove.
18803 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18804
3a533ca3
JM
18805 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18806 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18807 * configure: Regenerated.
18808 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18809 $(libgcc_s_suffix).
18810 * config.make.in (libgcc_s_suffix): Remove variable.
18811
1ad743de
JM
188122012-04-23 Joseph Myers <joseph@codesourcery.com>
18813
4ad451e2
JM
18814 * sysdeps/unix/sysv/gethostname.c: Move to ...
18815 * sysdeps/posix/gethostname.c: ... here.
18816
5e37ce39
JM
18817 * sysdeps/unix/execve.S: Remove file.
18818
1ad743de
JM
18819 * sysdeps/unix/_exit.S: Remove file.
18820
4e681b5b
AJ
188212012-04-23 Andreas Jaeger <aj@suse.de>
18822
18823 [BZ #13739]
18824 * manual/Makefile: Remove make dist support, there's no
18825 need for a stand-alone documentation tar ball.
18826 (TEXI2DVI): Define always, it's not in Makeconfig.
18827 (dist): Removed.
18828 (tar-it): Removed.
18829 (edition): Removed.
18830 (glibc-doc-$(edition).tar): Removed
18831 (%.Z): Removed.
18832 (%.gz): Removed.
18833 (%.uu): Removed.
18834 (ETAGS): Remove, it's in Makeconfig.
18835 (move-if-change): Remove, it's in Makeconfig.
18836
38686a03 188372012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
18838
18839 [BZ #13970]
18840 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18841 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18842 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18843 (strtod_l, strtof_l, strtold_l): Remove __wur.
18844 It is not necessarily an error to ignore strtol's return value.
18845 One can reliably look at the stored endptr to decide whether
18846 the number had valid syntax.
18847
7c0616fa
AJ
188482012-04-21 Andreas Jaeger <aj@suse.de>
18849
803cb6b7 18850 [BZ #13739]
7c0616fa
AJ
18851 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18852
b0fe253f
JM
188532012-04-21 Joseph Myers <joseph@codesourcery.com>
18854
18855 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18856 * sysdeps/unix/sysv/Versions: Remove file.
18857
8280f22d
MT
188582012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18859
18860 [BZ #13927]
18861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18862
75ce411f 188632012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
18864
18865 [BZ #7064]
18866 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18867 version from __vm86.
18868
097d59fa
JM
188692012-04-20 Joseph Myers <joseph@codesourcery.com>
18870
a90f3bcb
JM
18871 * sysdeps/unix/common/lxstat.c: Remove file.
18872 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18873
edc7ea78
JM
18874 * sysdeps/unix/sysv/Makefile: Remove file.
18875
cb78c221
JM
18876 * sysdeps/unix/sysv/direct.h: Remove file.
18877
efa6a45f
JM
18878 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18879 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18880 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18881 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18882 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18883 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18884 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18885
9c9f2d0c
JM
18886 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18887
4541c83b
JM
18888 * sysdeps/unix/xmknod.c: Remove file.
18889 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18890
f5d153a0
JM
18891 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18892
aa746595
JM
18893 * sysdeps/unix/sysv/i386/time.S: Remove file.
18894
cce5905e
JM
18895 * sysdeps/unix/fxstat.c: Remove file.
18896 * sysdeps/unix/xstat.c: Likewise.
18897 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18898
37fa3841
JM
18899 * sysdeps/unix/sysv/sigaction.c: Remove file.
18900
ff1962a3
JM
18901 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18902 (sysdep_headers): Remove variable.
18903 [termio.h not in sysdep_headers] (generated): Likewise.
18904 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18905 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18906 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18907 * sysdeps/unix/sysv/tcflow.c: Likewise.
18908 * sysdeps/unix/sysv/tcflush.c: Likewise.
18909 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18910 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18911 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18912 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18913 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18914
e7740d31
JM
18915 * sysdeps/unix/siglist.c: Remove file.
18916
ee06f18b
JM
18917 * sysdeps/unix/getppid.S: Remove file.
18918
097d59fa
JM
18919 * sysdeps/unix/mkdir.c: Remove file.
18920 * sysdeps/unix/rmdir.c: Likewise.
18921
ff3d51ec
AS
189222012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18923
18924 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18925 ERR_MAX value.
18926 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18927 errlist-compat value.
18928
50f81fd7
DM
189292012-04-18 David S. Miller <davem@davemloft.net>
18930
18931 * sysdeps/generic/memcopy.h (reg_char): Delete.
18932 * debug/strcat_chk.c: Use char, not reg_char.
18933 * debug/strcpy_chk.c: Likewise.
18934 * debug/strncat_chk.c: Likewise.
18935 * debug/strncpy_chk.c: Likewise.
18936 * string/memchr.c: Likewise.
18937 * string/memrchr.c: Likewise.
18938 * string/rawmemchr.c: Likewise.
18939 * string/strcat.c: Likewise.
18940 * string/strchr.c: Likewise.
18941 * string/strchrnul.c: Likewise.
18942 * string/strcmp.c: Likewise.
18943 * string/strcpy.c: Likewise.
18944 * string/strncat.c: Likewise.
18945 * string/strncmp.c: Likewise.
18946 * string/strncpy.c: Likewise.
18947
8ff41c46
WS
189482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18949
18950 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18951 __builtin_memcopy is called when src and dest ranges are known to not
18952 overlap.
18953
6b652f46
WS
189542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18955
18956 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18957 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18958 fwd_align_merge macro call.
18959 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18960 bwd_align_merge macro call.
18961 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18962
b282631e
WS
189632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18964
18965 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18966 bwd_align_merge macros.
18967 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18968 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18969 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18970
95aa737c
DM
189712012-04-18 David S. Miller <davem@davemloft.net>
18972
18973 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18974
7a99a614
AJ
189752012-04-18 Andreas Jaeger <aj@suse.de>
18976
18977 [BZ# 6794]
18978 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18979 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18980 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18981
18982 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18983 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18984 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18985
18986 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18987 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18988 Adjust for changed ldbl-128 files.
18989
18990 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18991 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18992 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18993
e5270c23
DM
189942012-04-17 David S. Miller <davem@davemloft.net>
18995
18996 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18997
fb5e92c9
AS
189982012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18999
19000 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19001 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19002 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19003 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19004 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19005 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19006
76da7265
AZ
190072012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19008
19009 [BZ #6794]
19010 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19011 * math/libm-test.inc: Add ilogb errno and exception tests.
19012 * math/w_ilogb.c: New file: ilogb wrapper.
19013 * math/w_ilogbf.c: New file: ilogbf wrapper.
19014 * math/w_ilogbl.c: New file: ilogbl wrapper.
19015 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19016 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19017 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19018 exception being thrown with 0.0 as argument.
19019 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19020 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19021 exception being thrown with 0.0 as argument.
19022 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19023 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19024 exception being thrown with 0.0 as argument.
19025 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19026 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19027 exception being thrown with 0.0 as argument.
19028 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19029 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 19030 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
19031 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19032 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19033 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19034 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19035 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19036 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19037
0396e69d
PB
190382012-04-17 Petr Baudis <pasky@ucw.cz>
19039
19040 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19041 with altivec.
19042
750b5926
MP
190432012-04-16 Marek Polacek <polacek@redhat.com>
19044
19045 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19046
751728a1
MP
190472012-04-16 Marek Polacek <polacek@redhat.com>
19048
19049 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19050 operands of fdivp instruction.
19051
34a27407
L
190522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19053
19054 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19055 * elf/tst-auditmod3b.c: Likewise.
19056 * elf/tst-auditmod4b.c: Likewise.
19057 * elf/tst-auditmod5b.c: Likewise.
19058 * elf/tst-auditmod6b.c: Likewise.
19059 * elf/tst-auditmod6c.c: Likewise.
19060 * elf/tst-auditmod7b.c: Likewise.
19061 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19062 * sysdeps/x86_64/preconfigure.in: Likewise.
19063 * sysdeps/x86_64/preconfigure: Regenerated.
19064
7e73e17d
L
190652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19066
19067 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19068 __ILP32__.
19069
c7a6ab72
AB
190702012-04-13 Antoine Balestrat <merkil33@gmail.com>
19071
19072 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19073 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19074
a9e8e0e0
CL
190752012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19076
19077 [BZ #13973]
19078 * locale/iso-639.def: Fix gl language name. Spotted by
19079 Yaron Shahrabani.
19080
ec98af7d
RM
190812012-04-12 Roland McGrath <roland@hack.frob.com>
19082
19083 [BZ #2074]
19084 * libio/libio.h (__io_write_fn): Update comment.
19085
247c3ede
PB
190862012-04-12 Petr Baudis <pasky@ucw.cz>
19087
19088 [BZ #2074]
19089 * stdio.texi (Hook Functions): The user provided writer function
19090 is not allowed to return -1.
19091
55939d6d
DM
190922012-04-11 David S. Miller <davem@davemloft.net>
19093
19094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19095
90020f5a
MF
190962012-04-11 Mike Frysinger <vapier@gentoo.org>
19097
19098 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19099 Add a leading slash to rtkaio.
19100
288f9098
JM
191012012-04-11 Jim Meyering <meyering@redhat.com>
19102
90020f5a
MF
19103 [BZ #11959]
19104 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19105 It is not necessarily an error to ignore fwrite's return
19106 value. One can reliably use ferror to test for errors after
19107 the fact.
288f9098 19108
4be2b570
L
191092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19110
19111 * bits/types.h (__snseconds_t): New type.
19112 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19113
19114 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19116 (__SNSECONDS_T_TYPE): Likewise.
19117 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19118 (__SNSECONDS_T_TYPE): Likewise.
19119 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19120 (__SNSECONDS_T_TYPE): Likewise.
19121
288f9098 191222012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
19123
19124 [BZ #2636]
19125 * manual/time.texi (Processor Time): Return type of times is
19126 elapsed real time since an arbitrary point in the past.
19127 (CPU Time): Move CLK_TCK from here...
19128 (Processor Time): ...to here. Correct description.
19129 * manual/conf.texi (Constants for Sysconf): Correct description of
19130 _SC_CLK_TCK.
19131
d7dd4413
DM
191322012-04-10 David S. Miller <davem@davemloft.net>
19133
19134 [BZ #13967]
19135 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19136 where the is a gap between DT_REL(A) and DT_JMPREL.
19137
b46068fc
L
191382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19139
19140 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19141 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19142 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19143
73d65cc3
SP
191442012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19145
19146 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19147 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19148 (dl_main): Handle --inhibit-cache.
19149 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19150 _dl_inhibit_cache.
19151 * elf/dl-load.c (_dl_map_object): Use it.
19152 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19153
bcc8d661
JM
191542012-04-09 Joseph Myers <joseph@codesourcery.com>
19155
8f9a2fae
JM
19156 [BZ #13872]
19157 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19158 (__ieee754_powl): Saturate large exponents rather than testing for
19159 overflow of y*log2(x).
19160 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19161 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19162 exceptions.
19163
bcc8d661
JM
19164 [BZ #11521]
19165 * math/s_ctan.c: Include <float.h>.
19166 (__ctan): Avoid internal overflow or cancellation in calculating
19167 denominator.
19168 * math/s_ctanf.c: Likewise.
19169 * math/s_ctanl.c: Likewise.
19170 * math/s_ctanh.c: Likewise.
19171 * math/s_ctanhf.c: Likewise.
19172 * math/s_ctanhl.c: Likewise.
19173 * math/libm-test.inc (ctan_test): Add more tests.
19174 (ctanh_test): Likewise.
19175 * sysdeps/i386/fpu/libm-test-ulps: Update.
19176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19177
823fbbb4
AJ
191782012-04-09 Andreas Jaeger <aj@suse.de>
19179
03879793
AJ
19180 [BZ #6894]
19181 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19182 is an optional BSD extension.
19183
823fbbb4
AJ
19184 [BZ #10254]
19185 * manual/stdio.texi (Opening Streams): Document additional fopen
19186 parameters.
19187
8de131cb
RM
191882012-04-09 Roland McGrath <roland@hack.frob.com>
19189
19190 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19191 %eax without telling the compiler.
19192
c0ed9d7d
CD
191932012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19194
19195 [BZ # 13963]
19196 * manual/install.texi: Use sourceware.org.
19197
c483f6b4
JM
191982012-04-09 Joseph Myers <joseph@codesourcery.com>
19199
d7dd9453
JM
19200 [BZ #13873]
19201 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19202 (__ieee754_pow): Generate overflow and underflow using huge*huge
19203 and tiny*tiny rather than just returning constant infinity or zero
19204 for large exponents.
19205 * math/libm-test.inc (pow_test): Require overflow exceptions for
19206 applicable cases of large exponents.
19207
c483f6b4
JM
19208 [BZ #706]
19209 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19210 (__ieee754_pow): Use iterative multiplication algorithm only for
19211 integer exponents with absolute value below 1024. Check for odd
19212 integer exponents when using algorithm for real exponents.
19213 * math/libm-test.inc (pow_test): Add more tests.
19214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19215
d2de7579
JM
192162012-04-08 Joseph Myers <joseph@codesourcery.com>
19217
19218 [BZ #13705]
19219 * math/libm-test.inc (exp_test): Do not allow overflow exception
19220 on underflow test.
19221
f77f1232
AJ
192222012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19223
19224 [BZ #13705]
19225 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19226 instead of __kernel_standard_f.
19227
3884932b
MF
192282012-04-08 Mike Frysinger <vapier@gentoo.org>
19229
19230 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19231 * sysdeps/x86_64/memset_chk.S: Likewise.
19232
54472e9c
AJ
192332012-04-08 Andreas Jaeger <aj@suse.de>
19234
6ab0fbfc
AJ
19235 [BZ #10153]
19236 * manual/startup.texi (Environment Access): Describe return value
19237 for putenv and setenv.
19238
61efba8c
AJ
19239 [BZ #6895]
19240 * manual/filesys.texi (Directory Entries): Add description for
19241 DT_LNK.
19242
95c3f29a
AJ
19243 [BZ #6890]
19244 * manual/filesys.texi (Directory Entries): Clarify that it's file
19245 system not operating system in the description of DT_UNKNOWN.
19246
54472e9c
AJ
19247 [BZ #6578]
19248 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19249
624254b1
SC
192502012-04-08 Stephen Compall <s11@member.fsf.org>
19251
19252 [BZ #6649]
19253 * manual/llio.texi (Opening and Closing Files): Add cross
19254 reference to explain mode argument.
19255
1e4920e0
MF
192562012-04-07 Mike Frysinger <vapier@gentoo.org>
19257
19258 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19259 * sysdeps/x86_64/memset_chk.S: Likewise.
19260
5ed848f3
DM
192612012-04-07 David S. Miller <davem@davemloft.net>
19262
19263 * elf/elf.h (R_SPARC_WDISP10): Define.
19264 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19265 R_SPARC_SIZE32.
19266 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19267 R_SPARC_SIZE64 and R_SPARC_H34.
19268
96154cd8
CD
192692012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19270
19271 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19272 conditions and remove no longer applicable assertion.
19273
9904dc47
L
192742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19275
19276 * bits/byteswap.h: Include <features.h>.
19277 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19278 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19279
f8887d0a
L
192802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19281
19282 * bits/byteswap.h (__bswap_16): Removed.
19283 Include <bits/byteswap-16.h> to get __bswap_16.
19284 * sysdeps/i386/bits/byteswap.h: Likewise.
19285 * sysdeps/s390/bits/byteswap.h: Likewise.
19286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19287 * bits/byteswap-16.h: New file.
19288 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19289 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19290 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19291 * string/Makefile (headers): Add bits/byteswap-16.h.
19292
62470f60
PP
192932012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19294
19295 [BZ #13895]
19296 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19297 extra indirection.
19298 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19299 * nss/tst-nss-static.c: New.
19300
4dad7bab
RM
193012012-04-06 Robert Millan <rmh@gnu.org>
19302
19303 [BZ #6486]
19304 * manual/llio.texi (File Position Primitive): lseek
19305 refers to WHENCE when it really means OFFSET.
19306
e9142a17
AJ
193072012-04-06 Andreas Jaeger <aj@suse.de>
19308
2c040eff
AJ
19309 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19310 strncmp declarations.
19311
e9142a17
AJ
19312 * abilist/libc.abilist: Add __poll and __ppoll.
19313
ff9f1c5f
DM
193142012-04-05 David S. Miller <davem@davemloft.net>
19315
dcd2ae90
DM
19316 * scripts/check-local-headers.sh: Accept a host triplet in the
19317 path matched by the exclude regexp.
19318
993eb054
DM
19319 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19320 definition.
19321 * sysdeps/powerpc/powerpc32/dl-machine.h
19322 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19323 * sysdeps/s390/s390-32/dl-machine.h
19324 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19325 * sysdeps/sparc/sparc32/dl-machine.h
19326 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19327 * sysdeps/sparc/sparc64/dl-machine.h
19328 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19329
ff9f1c5f
DM
19330 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19331 lazy binding.
48e2e132 19332 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19333 undefined symbol errors.
19334
48e2e132 19335 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19336 DT_NEEDED entries.
19337
e80d6f94
MM
193382012-04-05 Michael Matz <matz@suse.de>
19339
19340 [BZ #13592]
19341 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19342
349fa79f
AJ
193432012-04-05 Andreas Jaeger <aj@suse.de>
19344
19345 [BZ #13908]
19346 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19347 comment.
19348
f402708f
KK
193492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19350
19351 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19352 which ROUND is no valid rounding mode.
19353
2ecccfc9
KK
193542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19355
19356 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19357 read again.
19358 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19359
8a53f50f
KK
193602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19361
19362 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19363 an exception using FPU order intentionally.
19364
193652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19366
19367 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19368 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19369 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19370 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19371
d653abb7
SJ
193722012-04-05 Simon Josefsson <simon@josefsson.org>
19373
19374 [BZ #12340]
19375 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19376 EINVAL when BUFLEN is too smal.
19377
c3b1bf7d
TS
193782012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19379
19380 [BZ #13553]
19381 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19382 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19383
b1aa60f3
AJ
193842012-04-03 Andreas Jaeger <aj@suse.de>
19385
c3b1bf7d 19386 [BZ #13938]
67f60a26
AJ
19387 * manual/setjmp.texi (System V contexts): Fix sentence.
19388
b1aa60f3
AJ
19389 [BZ #13926]
19390 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19391 New macro for this case.
19392 [!__GNUC__] (__bswap_64): New inline function for this case.
19393 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19394 * bits/byteswap.h: Likewise.
19395 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19396 ull, guard with __GLIBC_HAVE_LONG_LONG.
19397
19398 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19399 __GLIBC_HAVE_LONG_LONG.
19400
19401 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19402 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19403
39c59c35
TMQMF
194042012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19405
19406 [BZ #13691]
19407 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19408 inptr and inend, rather than using last_ch.
19409
135ffda8
DM
194102012-04-02 David S. Miller <davem@davemloft.net>
19411
19412 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19413 * stdio-common/printf-parse.h (read_int): Change return type to
19414 'int', return -1 on INT_MAX overflow.
19415 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19416 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19417 overflows INT_MAX. Check for overflow of in-format-string precision
19418 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19419 SIZE_MAX not INT_MAX for integer overflow test.
19420 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19421 skip the construct in the format string but do not record anything.
19422 * stdio-common/bug22.c: Adjust to test both width/prevision
19423 INT_MAX overflow as well as total length INT_MAX overflow. Check
19424 explicitly for proper errno values.
19425
228c019e
TS
194262012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19427
302cadd3
TS
19428 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19429 CHAR_MAX.
19430 * string/test-strcmp.c [! WIDE]: Likewise.
19431 * time/tst-mktime2.c: Likewise for INT_MAX.
19432 * string/test-string.h: #include <sys/param.h> for MIN.
19433
228c019e
TS
19434 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19435 * sysdeps/i386/init-first.c (init): Likewise.
19436 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19437 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19438 * sysdeps/sh/init-first.c (init): Likewise.
19439
cfa633f5
UD
194402012-04-01 Ulrich Drepper <drepper@gmail.com>
19441
19442 * po/ru.po: Update from translation team.
d1635ef8 19443 * po/vi.po: Likewise.
cfa633f5 19444
6cd0a5ea
SP
194452012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19446
19447 * resolv/nss_dns/dns-host.c: Merge copyright years.
19448
4b43400f
LD
194492012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19450
19451 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19452 Optimize memcpy with prefetch if
19453 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19454 src, dst pointers have unequal 16 byte alignments.
19455
48c41d04
SP
194562012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19457
19458 [BZ #13928]
19459 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19460 from a CNAME entry and return the minimum ttl for the query.
19461 (gaih_getanswer_slice): Likewise.
19462
b8dc394d
JL
194632012-03-30 Jeff Law <law@redhat.com>
19464
19465 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19466 due to long keys.
19467 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19468 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19469
2f5a5ed0
JL
19470 * resolv/nss_dns/dns-host.c: Update copyright year.
19471
1d39e359
UD
194722012-03-30 Ulrich Drepper <drepper@gmail.com>
19473
c030f70c 19474 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 19475 requests to save a system call. Fix check that all bytes are sent.
c030f70c 19476
1d39e359
UD
19477 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19478 comments for sendmmsg.
19479
194802012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
19481
19482 [BZ #13691]
19483 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19484 with only 1 character between 0x0041 and 0x01b0.
19485 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19486 * wcsmbs/tst-mbsnrtowcs.c: New file.
19487
20fde227
DM
194882012-03-29 David S. Miller <davem@davemloft.net>
19489
19490 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19491 small copies by hand.
19492
984a4237
JL
194932012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19494
19495 [BZ #13761]
19496 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19497 _nss_compat_initgroups_dyn): Fall back to malloc/free
19498 for large group memberships.
19499
18c9d62b
DM
195002012-03-28 David S. Miller <davem@davemloft.net>
19501
88d85d4f
DM
19502 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19503 that branches into memcpy.
19504 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19505 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19506 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19507 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19509 bits.
19510 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19511 implementation too.
19512 * sysdeps/sparc/mempcpy.S: New file.
19513
e5aa83e1
DM
19514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19515 the IFUNC routine in the libc case.
19516 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19517
88570753
DM
19518 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19519 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19520 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19521 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19522 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19523 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19524 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19525 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19526
249d7567
DM
19527 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19528 loop to 256 bytes instead of 64 bytes and fix test signedness.
19529
18c9d62b
DM
19530 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19531 * sysdeps/sparc/sparc32/Makefile: rather than here...
19532 * sysdeps/sparc/sparc64/Makefile: and here.
19533
05f3d1f6
UD
195342012-03-28 Ulrich Drepper <drepper@gmail.com>
19535
19536 * malloc/mallocbug.c: Avoid warnings about unused variables.
19537
86ae07a8
JL
195382012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19539
19540 [BZ #13760]
19541 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19542 in the right place. Discard and retry query if response is
19543 larger than input buffer size.
19544
41bf21a1
JM
195452012-03-28 Joseph Myers <joseph@codesourcery.com>
19546
d6270972
JM
19547 [BZ #369]
19548 [BZ #2678]
19549 [BZ #3866]
19550 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19551 x for large integer exponent.
19552 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19553 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19554 sign of result as needed afterwards.
19555 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19556 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19557 result for underflowing pow the same as for overflow.
19558 (__kernel_standard_l): Handle powl overflow and underflow here
19559 rather than calling __kernel_standard.
19560 * math/libm-test.inc (pow_test): Add more tests.
19561
414fca03 19562 [BZ #3868]
41bf21a1
JM
19563 [BZ #13879]
19564 [BZ #13910]
19565 [BZ #13911]
19566 [BZ #13912]
19567 [BZ #13913]
19568 [BZ #13915]
19569 [BZ #13916]
19570 [BZ #13917]
19571 [BZ #13918]
19572 [BZ #13919]
19573 [BZ #13920]
19574 [BZ #13921]
19575 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19576 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19577 (__kernel_standard_l): New function.
19578 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19579 __kernel_standard.
19580 * math/w_acosl.c (__acosl): Likewise.
19581 * math/w_asinl.c (__asinl): Likewise.
19582 * math/w_atan2l.c (__atan2l): Likewise.
19583 * math/w_atanhl.c (__atanhl): Likewise.
19584 * math/w_coshl.c (__coshl): Likewise.
19585 * math/w_exp10l.c (__exp10l): Likewise.
19586 * math/w_exp2l.c (__exp2l): Likewise.
19587 * math/w_fmodl.c (__fmodl): Likewise.
19588 * math/w_hypotl.c (__hypotl): Likewise.
19589 * math/w_j0l.c (__j0l, __y0l): Likewise.
19590 * math/w_j1l.c (__j1l, __y1l): Likewise.
19591 * math/w_jnl.c (__jnl, __ynl): Likewise.
19592 * math/w_lgammal.c (__lgammal): Likewise.
19593 * math/w_log10l.c (__log10l): Likewise.
19594 * math/w_log2l.c (__log2l): Likewise.
19595 * math/w_logl.c (__logl): Likewise.
19596 * math/w_powl.c (__powl): Likewise.
19597 * math/w_remainderl.c (__remainderl): Likewise.
19598 * math/w_scalbl.c (sysv_scalbl): Likewise.
19599 * math/w_sinhl.c (__sinhl): Likewise.
19600 * math/w_sqrtl.c (__sqrtl): Likewise.
19601 * math/w_tgammal.c (__tgammal): Likewise.
19602 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19603 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19604 * math/libm-test.inc (acos_test): Add more tests.
19605 (acosh_test): Likewise.
19606 (asin_test): Likewise.
19607 (atanh_test): Likewise.
19608 (exp_test): Likewise.
19609 (exp10_test): Likewise.
19610 (exp2_test): Likewise.
19611 (expm1_test): Likewise.
19612 (lgamma_test): Likewise.
19613 (log_test): Likewise.
19614 (log10_test): Likewise.
19615 (log1p_test): Likewise.
19616 (log2_test): Likewise.
19617 (pow_test): Do not allow some spurious overflow exceptions.
19618 (sqrt_test): Add more tests.
19619 (tgamma_test): Likewise.
19620 (y0_test): Likewise.
19621 (y1_test): Likewise.
19622 (yn_test): Likewise.
19623
dd62fda6
AB
196242012-03-27 Anton Blanchard <anton@samba.org>
19625
19626 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19627 MAP_HUGETLB.
19628 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19629 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19630 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19631
1e3cdfda
AJ
196322012-03-27 David S. Miller <davem@davemloft.net>
19633
b855ab85
DM
19634 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19635
1e3cdfda
AJ
19636 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19637 have-as-vis3 check.
19638
196392012-03-27 Andreas Jaeger <aj@suse.de>
19640
19641 * sysdeps/x86_64/elf/configure.in: Moved to ...
19642 * sysdeps/x86_64/configure.in: ... here.
19643 * sysdeps/x86_64/elf/start.S: Moved to ...
19644 * sysdeps/x86_64/start.S: ... here.
19645 * sysdeps/x86_64/elf/configure: Delete.
19646
19647 * sysdeps/x86_64/configure.in: Merge contents from
19648 sysdeps/i386/configure.in (without i686 check).
19649
19650 * sysdeps/i386/elf/Versions: Merge into ...
19651 * sysdeps/i386/Versions: ... this.
19652 * sysdeps/i386/elf/Versions: Delete file.
19653 * sysdeps/i386/elf/start.S: Moved to ...
19654 * sysdeps/i386/start.S: ...here.
19655 * sysdeps/i386/elf/configure.in: Merge into...
19656 * sysdeps/i386/configure.in: ...here.
19657 * sysdeps/i386/elf/configure.in: Delete file.
19658 * sysdeps/i386/elf/configure: Delete file.
19659
19660 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19661 * debug/backtracesyms.c: ... here.
19662 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19663 * debug/backtracesymsfd.c: ... here.
19664 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19665 * sysdeps/generic/ifunc-sel.h: ... here.
19666
19667 * sysdeps/unix/i386/start.c: Delete file.
19668 * sysdeps/unix/sparc/start.c: Delete file.
19669 * sysdeps/unix/start.c: Delete file.
19670
19671 * sysdeps/sh/elf/configure.in: Moved to ...
19672 * sysdeps/sh/configure.in: ... here.
19673 * sysdeps/sh/elf/start.S: Moved to ...
19674 * sysdeps/sh/start.S: ... here.
19675 * sysdeps/sh/elf/configure: Delete file.
19676
19677 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19678 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19679 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19680 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19681 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19682 * sysdeps/powerpc/powerpc64/start.S: here.
19683 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19684 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19685 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19686 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19687 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19688
19689 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19690 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19691 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19692 * sysdeps/powerpc/powerpc32/start.S: ... here.
19693 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19694 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19695 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19696
19697 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19698 * sysdeps/powerpc/ifunc-sel.h: ... here.
19699 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19700 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19701
19702 * sysdeps/sparc/elf/configure.in: Moved to ...
19703 * sysdeps/sparc/configure.in: ... here.
19704 * sysdeps/sparc/elf/configure: Delete file.
19705 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19706 * sysdeps/sparc/sparc32/start.S: ... here.
19707 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19708 * sysdeps/sparc/sparc64/start.S: ... here.
19709 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19710 * sysdeps/sparc/sparc32/Makefile: ... this.
19711 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19712 * sysdeps/sparc/sparc64/Makefile: ... this.
19713
19714 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19715 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19716 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19717 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19718 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19719 * sysdeps/s390/s390-32/setjmp.S: ... here.
19720 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19721 * sysdeps/s390/s390-32/configure.in: ... here.
19722 * sysdeps/s390/s390-32/elf/configure: Delete file.
19723 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19724 * sysdeps/s390/s390-32/start.S: ... here.
19725
19726 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19727 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19728 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19729 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19730 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19731 * sysdeps/s390/s390-64/setjmp.S: ... here.
19732 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19733 * sysdeps/s390/s390-64/configure.in: ... here
19734 * sysdeps/s390/s390-64/elf/configure: Delete file.
19735 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19736 * sysdeps/s390/s390-64/start.S: ... here.
19737 * sysdeps/s390/s390-64/elf/configure: Delete.
19738
19739 * configure.in: Remove support for elf directories in sysdeps.
19740
19741 * configure: Regenerated.
19742 * sysdeps/i386/configure: Regenerated.
19743 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19744 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19745 * sysdeps/s390/s390-32/configure: Regenerated.
19746 * sysdeps/s390/s390-64/configure: Regenerated.
19747 * sysdeps/sh/configure: Regenerated.
19748 * sysdeps/sparc/configure: Regenerated.
19749 * sysdeps/x86_64/configure: Regenerated.
19750
a3f61311
AS
197512012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19752
c876e002
AS
19753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19754
a3f61311
AS
19755 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19756 denormal result into account.
19757
ac4c54f0
RM
197582012-03-25 Roland McGrath <roland@hack.frob.com>
19759
19760 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19761 Reported by Allan McRae <allan@archlinux.org>.
19762
6a9b9c02
JL
197632012-03-23 Jeff Law <law@redhat.com>
19764
19765 * nss/getnssent.c (__nss_getent): Fix typo.
19766
4c42a0c1
DM
197672012-03-23 David S. Miller <davem@davemloft.net>
19768
19769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19770
1532c7ac
L
197712012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19772
19773 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19774 to pad to uint64_t for each field.
19775 (dl_tls_index): Replace unsigned long with uint64_t.
19776
3ff42526
PP
197772012-03-23 Daniel Jacobowitz <dmj@google.com>
19778 Paul Pluzhnikov <ppluzhnikov@google.com>
19779
19780 [BZ #6528]
19781 * grp/Makefile (otherlibs): Don't set it.
19782 * inet/Makefile (otherlibs): Likewise.
19783 * login/Makefile (otherlibs): Likewise.
19784 * nscd/Makefile (otherlibs): Likewise.
19785 * posix/Makefile (otherlibs): Likewise.
19786 * pwd/Makefile (otherlibs): Likewise.
19787 * rt/Makefile (otherlibs): Likewise.
19788 * sunrpc/Makefile (otherlibs): Likewise.
19789 * nss/Makefile (otherlibs): Likewise.
19790 Add libnss_files to routines and static-only-routines.
19791 ($(objpfx)getent): Remove rule.
19792 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19793 static-only-routines.
19794
7c69cd14
JM
197952012-03-22 Joseph Myers <joseph@codesourcery.com>
19796
19797 [BZ #13892]
19798 * math/s_cexp.c: Include <float.h>.
19799 (__cexp): Handle exp result overflowing not necessarily
19800 overflowing both real and imaginary parts of result.
19801 * math/s_cexpf.c: Likewise.
19802 * math/s_cexpl.c: Likewise.
19803 * math/libm-test.inc (cexp_test): Add more tests.
19804 * sysdeps/i386/fpu/libm-test-ulps: Update.
19805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19806
81b035fe
L
198072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19808
19809 * include/link.h (ELFW): New macro.
19810 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19811 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19812
1da7940c
L
198132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19814
19815 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19816 with uint64_t.
19817
b749dbb9
L
198182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19819
19820 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19821 declaration.
19822 (struct La_x32_retval): Likewise.
19823
2ff87f3f
L
198242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19825
19826 * sysdeps/x86_64/preconfigure.in: New file.
19827 * sysdeps/x86_64/preconfigure: New generated file.
19828
c0df8e69
JM
198292012-03-22 Joseph Myers <joseph@codesourcery.com>
19830
48e44791
JM
19831 [BZ #13824]
19832 * math/e_exp2l.c: Include <float.h>.
19833 (__ieee754_exp2l): Handle overflow and underflow cases
19834 separately. Only pass fractional part of argument to
19835 __ieee754_expl.
19836 * math/libm-test.inc (exp2_test): Add more tests.
19837
c0df8e69
JM
19838 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19839 negating x to take absolute value.
19840 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19841 Likewise.
19842 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19843 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19844 Likewise.
19845 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19846 computing low part if x was negated.
19847 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19848
c8e43ba7
L
198492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19850
19851 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19852 la_x32_gnu_pltexit.
19853 (pltexit): Cast int_retval to ptrdiff_t.
19854 * elf/tst-auditmod3b.c: Likewise.
19855 * elf/tst-auditmod4b.c: Likewise.
19856 * elf/tst-auditmod5b.c: Likewise.
19857 * elf/tst-auditmod6b.c: Likewise.
19858 * elf/tst-auditmod6c.c: Likewise.
19859 * elf/tst-auditmod7b.c: Likewise.
19860
19861 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19862 and x32_gnu_pltexit.
19863
19864 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19865 __ELF_NATIVE_CLASS.
19866 (La_x32_regs): New macro.
19867 (La_x32_retval): Likewise.
19868 (la_x32_gnu_pltenter): New function prototype.
19869 (la_x32_gnu_pltexit): Likewise.
19870
7998fa78
AS
198712012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19872
dcb33988
AS
19873 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19874 exponent.
19875
233fc563
AS
19876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19877
7998fa78
AS
19878 * configure.in (libc_cv_cc_nofma): Check for option to disable
19879 generation of FMA instructions.
19880 * configure: Regenerate.
19881 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19882 * sysdeps/ieee754/dbl-64/Makefile: New file.
19883 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19884 Remove brandred-fma4.
19885 (CFLAGS-brandred-fma4.c): Remove.
19886 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19887 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19888 define.
19889 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19890 define.
19891
8e95c99a
L
198922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19893
19894 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19895 LLONG_MAX != LONG_MAX.
19896 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19897 (_fitoa_word): Likewise.
19898 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19899 LLONG_MAX != LONG_MAX.
19900 * stdio-common/_itowa.h: Include <_itoa.h>.
19901 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19902 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19903 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19904 only if not defined.
19905 (_ITOA_WORD_TYPE): Likewise.
19906 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19907 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19908
6f4db457
DM
199092012-03-21 David S. Miller <davem@davemloft.net>
19910
19911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19912
7785fe5a
L
199132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19914
19915 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19916 of x86_64 when setting libc_cv_slibdir, libdir and
19917 libc_cv_localedir.
19918 * sysdeps/unix/sysv/linux/configure: Regenerated.
19919
4535cd55
JM
199202012-03-21 Joseph Myers <joseph@codesourcery.com>
19921
19922 * manual/lang.texi (Old Varargs): Remove section.
19923 (How Variadic): Update menu.
19924 (va_start): Do not mention varargs.h.
19925
17228132
TS
199262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19927 Joseph Myers <joseph@codesourcery.com>
19928
19929 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19930 link test.
19931 * configure: Regenerated.
19932
8149f976
TS
199332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19934
05f3d1f6
UD
19935 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19936 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19937 conformtest.pl
8149f976 19938
1a4ac776
JM
199392012-03-21 Joseph Myers <joseph@codesourcery.com>
19940
be22ce65
JM
19941 * NOTES: Remove.
19942 * Makefile (files-for-dist): Remove NOTES.
19943 (NOTES): Remove rule.
19944 * README: Don't refer to NOTES.
19945 * manual/creature.texi: Don't include macros.texi.
19946 * manual/intro.texi (creature.texi): Remove comment referring to
19947 NOTES.
19948
40b601fb
JM
19949 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19950 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19951 * configure: Regenerated.
19952 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19953 LIBC_TRY_CC_OPTION.
19954 (libc_cv_as_i686): Likewise.
19955 (libc_cv_cc_avx): Likewise.
19956 (libc_cv_cc_sse2avx): Likewise.
19957 (libc_cv_cc_fma4): Likewise.
19958 (libc_cv_cc_novzeroupper): Likewise.
19959 * sysdeps/i386/configure: Regenerated.
19960
1a4ac776
JM
19961 [BZ #13883]
19962 * sysdeps/i386/fpu/s_cexp.S: Remove.
19963 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19964 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19965 * math/libm-test.inc (cexp_test): Add more tests.
19966 * sysdeps/i386/fpu/libm-test-ulps: Update.
19967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19968
a458e7fe
AM
199692012-03-21 Allan McRae <allan@archlinux.org>
19970
19971 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19972
0cb7efc5
JM
199732012-03-21 Joseph Myers <joseph@codesourcery.com>
19974
19975 [BZ #13871]
19976 * math/w_exp2.c: Do not include <float.h>.
19977 (o_threshold, u_threshold): Remove.
19978 (__exp2): Calculate result before checking finiteness and calling
19979 __kernel_standard.
19980 * math/w_exp2f.c: Likewise.
19981 * math/w_exp2l.c: Likewise.
19982 * math/libm-test.inc (exp2_test): Require overflow exception for
19983 1e6 input.
2460d3aa
JM
19984
19985 [BZ #3866]
19986 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19987 range of signed 64-bit integers before using fistpll. Remove
19988 checks for whether integers fit in mantissa bits.
19989 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19990 the range of signed 32-bit integers before using fistpl. Remove
19991 checks for whether integers fit in mantissa bits.
19992 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19993 (__ieee754_powl): Test for y outside the range of signed 64-bit
19994 integers before using fistpll. Reduce 64-bit values to 63-bit
19995 ones as needed.
19996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19997 divide-by-zero is raised for zero to large negative powers.
19998 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19999 (__ieee754_powl): Test for y outside the range of signed 64-bit
20000 integers before using fistpll. Reduce 64-bit values to 63-bit
20001 ones as needed.
20002 * math/libm-test.inc (pow_test): Add more tests.
20003
eb96ffb0
L
200042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20005
20006 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20007 <stdio-common/_itoa.h>.
20008 * debug/segfault.c: Likewise.
20009 * elf/dl-cache.c: Likewise.
20010 * elf/dl-minimal.c: Likewise.
20011 * elf/dl-misc.c: Likewise.
20012 * elf/dl-sysdep.c: Likewise.
20013 * elf/dl-version.c: Likewise.
20014 * elf/rtld.c: Likewise.
20015 * hurd/hurdsock.c: Likewise.
20016 * hurd/lookup-retry.c: Likewise.
20017 * malloc/malloc.c: Likewise.
20018 * malloc/mtrace.c: Likewise.
20019 * nscd/nscd_getgr_r.c: Likewise.
20020 * nscd/nscd_getpw_r.c: Likewise.
20021 * nscd/nscd_getserv_r.c: Likewise.
20022 * posix/getopt_init.c: Likewise.
20023 * posix/wordexp.c: Likewise.
20024 * stdio-common/_itoa.c: Likewise.
20025 * stdio-common/printf_fphex.c: Likewise.
20026 * stdio-common/vfprintf.c: Likewise.
20027 * string/_strerror.c: Likewise.
20028 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20029 * sysdeps/i386/i686/hp-timing.h: Likewise.
20030 * sysdeps/mach/_strerror.c: Likewise.
20031 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20032 * sysdeps/mach/hurd/sethostid.c: Likewise.
20033 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20034 * sysdeps/mach/xpg-strerror.c: Likewise.
20035 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20036 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20037 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20038 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20039 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20040 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20041 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20042 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20043 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20044 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20045 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20046 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20047 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20048 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20049 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20050 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20051 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20052 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20053 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20054 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20055 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20056
20057 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20058
20059 * stdio-common/_itoa.h: Moved to ...
20060 * sysdeps/generic/_itoa.h: Here.
20061
20062 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20063
20064 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20065 instead of "_itoa.h" and "_itowa.h".
20066 * stdio-common/vfprintf.: Likewise.
20067
d1af992d
L
200682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20069
20070 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20071 <bits/wordsize.h>.
20072 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20073 (__signbit): Likwise.
20074 (llrintf): Likwise.
20075 (llrint): Likwise.
20076
114883e0
L
200772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20078
20079 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20080 __WORDSIZE != 64.
20081
c135cc1b
JM
200822012-03-20 Joseph Myers <joseph@codesourcery.com>
20083
20084 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20085 OVERFLOW_EXCEPTION_OK.
20086 * math/libm-test.inc ("Philosophy"): Update comment about
20087 exception testing.
20088 (OVERFLOW_EXCEPTION): Define.
20089 (OVERFLOW_EXCEPTION_OK): Likewise.
20090 (INVALID_EXCEPTION_OK): Renumber.
20091 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20092 (IGNORE_ZERO_INF_SIGN): Likewise.
20093 (test_exceptions): Handle FE_OVERFLOW.
20094 (exp10_test): Expect overflow exceptions.
20095 (exp2_test): Likewise.
20096 (expm1_test): Likewise.
20097 (nextafter_test): Likewise.
20098 (pow_test): Likewise.
20099 (scalbn_test): Likewise.
20100 (scalbln_test): Likewise.
20101
95443d88
L
201022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20103
20104 * sysdeps/x86_64/bits/atomic.h
20105 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20106 64bit integer.
20107 (atomic_exchange_acq): Likewise.
20108 (__arch_exchange_and_add_body): Likewise.
20109 (__arch_add_body): Likewise.
20110 (atomic_add_negative): Likewise.
20111 (atomic_add_zero): Likewise.
20112
490df6c4
L
201132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20114
c2722551 20115 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
20116 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20117
5e52b189
L
201182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20119
20120 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20121 Check __x86_64__ instead of __WORDSIZE.
20122
a9879d4c
L
201232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20124
20125 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20126
5df98260
DM
201272012-03-19 David S. Miller <davem@davemloft.net>
20128
e1497744
DM
20129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20130
5df98260
DM
20131 * sysdeps/sparc/fpu/fenv_private.h: New file.
20132 * sysdeps/sparc/fpu/math_private.h: Use it.
20133 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20134 Remove.
20135 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20136 (libc_feholdexcept_setroundl): Remove.
20137 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20138 Remove.
20139 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20140 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20141
b4c35121
L
201422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20143
20144 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20145 int64_t instead of long int.
20146 (INSERT_WORDS64): Likwise.
20147
56965fd7
L
201482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20149
20150 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20151 _Unwind_GetCFA return to _Unwind_Ptr first.
20152
83d1aec8
JM
201532012-03-19 Joseph Myers <joseph@codesourcery.com>
20154
1897ad44
JM
20155 [BZ #13629]
20156 * math/s_clog.c: Include <float.h>.
20157 (__clog): Scale large or subnormal inputs.
20158 * math/s_clogf.c: Likewise.
20159 * math/s_clogl.c: Likewise.
20160 * math/s_clog10.c: Include <float.h>.
20161 (M_LOG10_2): Define.
20162 (__clog10): Scale large or subnormal inputs.
20163 * math/s_clog10f.c: Likewise.
20164 * math/s_clog10l.c: Likewise.
20165 * math/libm-test.inc (clog_test): Add more tests.
20166 (clog10_test): Likewise.
20167 * sysdeps/i386/fpu/libm-test-ulps: Update.
20168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20169
7726d6a9
JM
20170 [BZ #11451]
20171 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20172 x and y.
20173 * math/libm-test.inc (atan2_test): Add another test.
20174
83d1aec8
JM
20175 * Makerules (common-objdir-compile): Remove.
20176 * sysdeps/unix/Makefile (config-generated): Do not add
20177 $(unix-generated) to variable.
20178 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20179 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20180 Remove rule.
20181 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20182 Likewise.
20183 [generic bits/local_lim.h] (before-compile): Do not append to
20184 variable.
20185 [generic bits/local_lim.h] (common-generated): Likewise.
20186 [generic sys/param.h] (before-compile): Do not append to variable.
20187 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20188 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20189 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20190 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20191 include.
20192 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20193 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20194 [generic sys/param.h] ($(addprefix
20195 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20196 [generic sys/param.h] (common-generated): Do not append to
20197 variable.
20198 [generic sys/param.h] (sysdep_headers): Likewise.
20199 [generic bits/errno.h] (before-compile): Do not append to
20200 variable.
20201 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20202 rule.
20203 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20204 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20205 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20206 [generic bits/errno.h] (common-generated): Do not append to
20207 variable.
20208 [generic bits/ioctls.h] (before-compile): Do not append to
20209 variable.
20210 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20211 rule.
20212 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20213 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20214 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20215 rule.
20216 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20217 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20218 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20219 [generic bits/ioctls.h] (common-generated): Do not append to
20220 variable.
20221 [generic sys/syscall.h] (syscall.h): Remove variable.
20222 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20223 rule.
20224 [generic sys/syscall.h] (before-compile): Do not append to
20225 variable.
20226 [generic sys/syscall.h] (common-generated): Likewise.
20227 * sysdeps/unix/errnos-tmpl.c: Remove file.
20228 * sysdeps/unix/errnos.awk: Likewise.
20229 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20230 * sysdeps/unix/ioctls.awk: Likewise.
20231 * sysdeps/unix/mk-local_lim.c: Likewise.
20232 * sysdeps/unix/snarf-ioctls: Likewise.
20233
4851a949
RH
202342012-03-19 Richard Henderson <rth@twiddle.net>
20235
bd37f2ee
RH
20236 * sysdeps/i386/fpu/fenv_private.h: New file.
20237 * sysdeps/i386/fpu/math_private.h: Use it.
20238 (math_opt_barrier, math_force_eval): Remove.
20239 (libc_feholdexcept_setround_53bit): Remove.
20240 (libc_feupdateenv_53bit): Remove.
20241 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20242 (math_opt_barrier, math_force_eval): Remove.
20243 (libc_feholdexcept): Remove.
20244 (libc_feholdexcept_setround): Remove.
20245 (libc_fetestexcept, libc_fesetenv): Remove.
20246 (libc_feupdateenv_test): Remove.
20247 (libc_feupdateenv, libc_feholdsetround): Remove.
20248 (libc_feresetround): Remove.
20249
d0adc922
RH
20250 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20251 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20252
0fe0f1f8
RH
20253 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20254 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20255 (libc_feupdateenv_testl): New.
20256 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20257 (libc_feupdateenv_testf): New.
20258 (libc_feupdateenv): Use libc_feupdateenv_test.
20259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20260 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20261
eb92c487
RH
20262 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20263 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20264 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20265 (libc_feresetround_noex): New.
20266 (libc_feresetround_noexf): New.
20267 (libc_feresetround_noexl): New.
20268 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20269 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20270 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20271 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20272 SET_RESTORE_ROUND.
20273 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20274 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20275 (__cos): Likewise.
20276 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20277 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20278 SET_RESTORE_ROUND_NOEX.
20279 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20280 SET_RESTORE_ROUND_NOEXF.
20281 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20282 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20283 (libc_feholdsetroundf): New.
20284 (libc_feresetround, libc_feresetroundf): New.
20285
7d2e8012
RH
20286 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20287 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20288 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20289
b4dabbb4
RH
20290 * sysdeps/generic/math_private.h: Include <fenv.h>.
20291 (default_libc_feholdexcept): New.
20292 (default_libc_feholdexcept_setround): New.
20293 (default_libc_fesetenv, default_libc_feupdateenv): New.
20294 (libc_feholdexcept): Only define if undefined.
20295 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20296 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20297 (libc_feholdexcept_setroundl): Likewise.
20298 (libc_feholdexcept_setround_53bit): Likewise.
20299 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20300 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20301 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20302 (libc_feupdateenv_53bit): Likewise.
20303 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20304 (libc_feholdexcept): Convert from macro to inline function.
20305 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20306 (libc_fesetenv, libc_feupdateenv): Likewise.
20307
4851a949
RH
20308 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20309 not previously defined.
20310 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20311 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20312 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20313 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20314 * sysdeps/ieee754/flt-32/math_private.h: New file.
20315 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20316 math_private.h below SET_FLOAT_WORD.
20317 (__isnan, __isinf_ns, __finite): Remove.
20318 (__isnanf, __isinf_nsf, __finitef): Remove.
20319
e79d442e
AS
203202012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20321
20322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20323
90b80344
DM
203242012-03-17 David S. Miller <davem@davemloft.net>
20325
20326 [BZ #6471]
20327 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20328 for 2.16.
20329
edc21804
DM
203302012-03-16 David S. Miller <davem@davemloft.net>
20331
77e927af
DM
20332 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20333 warnings.
20334
374976dd
DM
20335 [BZ #6471]
20336 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20337 properly.
20338 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20339 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20340 sysdep_routines when subdir is sysvipc.
20341 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20342 __getshmlba helper.
20343
edc21804
DM
20344 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20345
473c3ef3
L
203462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20347
20348 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20349 [__LP64__].
20350
eb0f39b6
L
203512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20352
20353 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20354 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20355 (__lround): Renamed to ...
20356 (__llround): This. Replace long int with long long int.
20357 Define lround functions as aliases of llround functions.
20358 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20359
6b6cd74b
L
203602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20361
20362 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20363 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20364 adresses to uintptr_t. Replace "long int" and "unsigned long
20365 int" with "greg_t" on va_arg.
20366
f1a77b01
L
203672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20368
20369 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20370 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20371
20372 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20373 Move e_machine check before EI_CLASS check. Handle x32
20374 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20375 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20376 SKIP_EM_IA_64 and include
20377 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20378
20379 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20380 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20381 (add_system_dir): New macro.
20382
20383 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20384 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20385
11b90b9f
JM
203862012-03-16 Joseph Myers <joseph@codesourcery.com>
20387
c36e1d23
JM
20388 [BZ #2551]
20389 [BZ #2552]
20390 [BZ #2553]
20391 [BZ #2554]
20392 [BZ #2562]
20393 [BZ #2563]
20394 [BZ #2565]
20395 [BZ #2566]
20396 [BZ #2576]
20397 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20398 (y0): Likewise.
20399 * math/w_j0f.c (j0f): Likewise.
20400 (y0f): Likewise.
20401 * math/w_j0l.c (__j0l): Likewise.
20402 (__y0l): Likewise.
20403 * math/w_j1.c (j1): Likewise.
20404 (y1): Likewise.
20405 * math/w_j1f.c (j1f): Likewise.
20406 (y1f): Likewise.
20407 * math/w_j1l.c (__j1l): Likewise.
20408 (__y1l): Likewise.
20409 * math/w_jn.c (jn): Likewise.
20410 (yn): Likewise.
20411 * math/w_jnf.c (jnf): Likewise.
20412 (ynf): Likewise.
20413 * math/w_jnl.c (__jnl): Likewise.
20414 (__ynl): Likewise.
20415 * math/libm-test.inc (j0_test): Add more tests.
20416 (j1_test): Likewise.
20417 (jn_test): Likewise. Add trailing semicolon to existing test.
20418 (y0_test): Likewise.
20419 (y1_test): Likewise.
20420 * sysdeps/i386/fpu/libm-test-ulps: Update.
20421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20422
11b90b9f
JM
20423 [BZ #13851]
20424 [BZ #13854]
20425 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20426 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20427 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20428 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20429 (__tanl): Set errno for infinite argument.
20430 * sysdeps/i386/fpu/mptan.c: Remove.
20431 * sysdeps/i386/fpu/s_tan.S: Likewise.
20432 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20433 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20434 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20435 * math/libm-test.inc (tan_test): Add more tests and enable more
20436 tests for double and long double.
20437 * sysdeps/i386/fpu/libm-test-ulps: Update.
20438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20439
6a1bd2a1
JK
204402012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20441
20442 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20443 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20444
10a803e0
RM
204452012-03-16 Roland McGrath <roland@hack.frob.com>
20446
20447 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20448 * configure.in: Use it for both main tree and add-ons.
20449 * configure: Regenerated.
20450
f196c7f7
L
204512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20452
20453 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20454
8848d99d
JM
204552012-03-16 Joseph Myers <joseph@codesourcery.com>
20456
96cbe7f4
JM
20457 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20458 in comment.
20459
8848d99d
JM
20460 [BZ #13851]
20461 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20462 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20463 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20464 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20465 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20466 infinite argument.
20467 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20468 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20469 != 0 for prec == 2.
20470 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20471 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20472 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20473 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20474 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20475 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20476 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20477 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20478 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20479 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20480 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20481 * math/libm-test.inc (cos_test): Add more tests and enable more
20482 tests for long double.
20483 (sin_test): Likewise.
20484 (sincos_test): Likewise.
20485 * sysdeps/i386/fpu/libm-test-ulps: Update.
20486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20487
dd7f4703
DM
204882012-03-16 David S. Miller <davem@davemloft.net>
20489
20490 * sysdeps/sparc/fpu/math_private.h: New file.
20491
006f1daa
DM
204922012-03-15 David S. Miller <davem@davemloft.net>
20493
c0c83bc8
DM
20494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20495 file.
e6a62e18 20496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
20497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20498 file.
e6a62e18
DM
20499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20504 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20505 sysdep routines.
20506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20507
88cb87d9
DM
20508 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20509 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20510
006f1daa 20511 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
20512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20513 sparc-ifunc.h
006f1daa 20514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
20515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20516 Likewise.
20517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20518 Likewise.
006f1daa
DM
20519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
20522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20523 Likewise.
006f1daa
DM
20524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
20528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20529 Likewise.
20530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20531 Likewise.
006f1daa
DM
20532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20538 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20550 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20551 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20552 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20553 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20554 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20555 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20556
11e0098e
AS
205572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20558
20559 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20560 scaling.
20561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20562
e85b09d0
AJ
205632012-03-15 Andreas Jaeger <aj@suse.de>
20564
20565 [BZ #13852]
20566 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20567 ieee754/flt-32 implementation for sin, cos and sincos.
20568 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20569 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20570 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20571 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20572 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20573 ieee754/flt-32 implementation for tan.
20574
20575 * math/libm-test.inc (cos_test): Enable some large input tests for
20576 float as well
20577 (sin_test): Likewise.
20578 (sincos_test): Likewise.
20579 (tan_test): Add tests for large input.
20580
20581 * sysdeps/i386/fpu/libm-test-ulps: Update.
20582
81c64153
AJ
205832012-03-15 Andreas Jaeger <aj@suse.de>
20584
20585 [BZ #13658]
20586 * math/libm-test.inc (cos_test): Add more test cases.
20587 (sin_test): Likewise.
20588 (sincos_test): Likewise.
20589
7bbfa5c6
AJ
205902012-03-15 Andreas Jaeger <aj@suse.de>
20591
20592 [BZ #13837]
20593 * math/libm-test.inc (cos_test): Add a test case for large input
20594 value.
20595 (sin_test): Likewise.
20596 (sincos_test): Likewise.
20597
205982012-03-15 Andreas Jaeger <aj@suse.de>,
20599 Joseph Myers <joseph@codesourcery.com>
20600
20601 [BZ #13658]
0671f479 20602 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
20603 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20604 * sysdeps/i386/fpu/branred.c: Likewise.
20605 * sysdeps/i386/fpu/dosincos.c: Likewise.
20606 * sysdeps/i386/fpu/mpa.c: Likewise.
20607 * sysdeps/i386/fpu/s_cos.S: Likewise.
20608 * sysdeps/i386/fpu/s_sin.S: Likewise.
20609 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20610 * sysdeps/i386/fpu/sincos32.c: Likewise.
20611
20612 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20613 Define.
20614 (libc_feupdateenv_53bit): Define.
20615 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20616 Define.
20617 (libc_feupdateenv_53bit): Define.
20618
20619 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20620 53 bit (without extend i386 double precision).
20621
20622 * math/libm-test.inc (sincos_test): Add tests for large input.
20623 (sin): Likewise.
20624 (cos): Likewise.
20625
20626 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20627
9cad04ea
AS
206282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20629
20630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20631
f7062b9a
DM
206322012-03-15 David S. Miller <davem@davemloft.net>
20633
20634 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20635 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20636 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20637 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
20649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20650 file.
f7062b9a 20651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
20652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20653 file.
f7062b9a 20654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
20655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20656 file.
f7062b9a 20657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
20658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20659 file.
f7062b9a
DM
20660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20661 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20662 fmin/fmax sysdep routines.
20663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20664
7bd951ff
DM
206652012-03-14 David S. Miller <davem@davemloft.net>
20666
559398ab
DM
20667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20671 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20672 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20673 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20674 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20675 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20676 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20687 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20688 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20691 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20692 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20696 routines.
20697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20698 file.
559398ab 20699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
20700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20701 file.
559398ab 20702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
20703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20704 file.
559398ab 20705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
20706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20707 file.
559398ab 20708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
20709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20710 file.
559398ab 20711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
20712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20713 file.
20714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20715 file.
20716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20717 file.
20718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20719 file.
20720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20721 New file.
20722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20723 file.
20724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20725 file.
559398ab 20726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
20727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20728 file.
559398ab 20729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20731 file.
559398ab 20732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
20733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20734 file.
559398ab 20735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
20736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20737 VIS3 routines.
559398ab
DM
20738
20739 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20740 New file.
20741
5a1c1e32
DM
20742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20743
eae47a36
DM
20744 * sysdeps/sparc/configure.in: New file.
20745 * sysdeps/sparc/configure: Generate.
20746 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20747 * configure: Regenerate.
20748 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20749 * config.make.in (have-as-vis3): New.
20750 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20751 available use -Av9d instead of -Av9a.
20752 * sysdeps/sparc/sparc64/Makefile: Likewise.
20753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
20754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20755 New file.
20756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20757 file.
20758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20759 New file.
20760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20761 file.
eae47a36
DM
20762 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20763 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20764 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20765 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20766 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20767
c0c83bc8
DM
20768 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20769 fzeros/fnegs to load 0x80000000 into a float register instead of
20770 using the stack.
7bd951ff
DM
20771 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20772
bd951ccb
JM
207732012-03-14 Joseph Myers <joseph@codesourcery.com>
20774
20775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20776 bits/syscall.h.
20777 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20778 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20779 ($(inst_includedir)/bits/syscall.h): Remove rule.
20780 ($(objpfx)bits/syscall.d): Include instead of
20781 $(objpfx)syscall-list.d.
20782 (generated): Change syscall-list.h and syscall-list.d to
20783 bits/syscall.h and bits/syscall.d.
20784
bb4e6db2
RM
207852012-03-14 Roland McGrath <roland@hack.frob.com>
20786
20787 [BZ #13846]
20788 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20789
aa4a2ae1
JM
207902012-03-14 Joseph Myers <joseph@codesourcery.com>
20791
e456826d
JM
20792 [BZ #13841]
20793 * math/s_csqrt.c: Include <float.h>.
20794 (__csqrt): Scale large or subnormal inputs.
20795 * math/s_csqrtf.c: Likewise.
20796 * math/s_csqrtl.c: Likewise.
20797 * math/libm-test.inc (csqrt_test): Add more tests.
20798 * sysdeps/i386/fpu/libm-test-ulps: Update.
20799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20800
aa4a2ae1
JM
20801 [BZ #13840]
20802 * math/libm-test.inc (hypot_test): Add more tests.
20803
7c10fd35
DM
208042012-03-13 David S. Miller <davem@davemloft.net>
20805
20806 [BZ #13840]
20807 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20808 double-precision for the calculation instead of scaling.
20809
f453b98b
JM
208102012-03-13 Joseph Myers <joseph@codesourcery.com>
20811
20812 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20813 manipulate bits before adding and subtracting TWO52[sx].
20814 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20815 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20816 Likewise.
20817 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20818
09a3453f
DM
208192012-03-13 David S. Miller <davem@davemloft.net>
20820
8e59da90
DM
20821 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20822 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20824 rtld-global-offsets.h
20825 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20826
2a8ab7f2
DM
20827 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20828 large parameters.
20829
10f62770
DM
20830 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20831
5f0bdb18
DM
20832 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20833 'err' in the ifdef scope in which it is actually used.
20834
09a3453f
DM
20835 * nss/nss_db/db-init.c: Include string.h
20836
b4b2eb5e
DM
208372012-03-12 David S. Miller <davem@davemloft.net>
20838
98bb2f1c
DM
20839 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20840 masking out of the most significant byte of random value used.
20841 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20842 Fix coding style in previous change.
20843
b4b2eb5e
DM
20844 * sysdeps/unix/sysv/linux/kernel-features.h
20845 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20846 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20847 expression.
20848 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20849 later.
20850
6e226b09
DM
208512012-03-11 David S. Miller <davem@davemloft.net>
20852
a1bcbd40
DM
20853 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20854 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20855 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20856 for 'resultvar' otherwise things get truncated on 64-bit.
20857
cb9d6174
DM
20858 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20859 Fix masking out of the most significant byte of random value used.
20860
6e226b09
DM
20861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20862
058c132d
AS
208632012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20864
20865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20866
2d2cd515
DM
208672012-03-09 David S. Miller <davem@davemloft.net>
20868
20869 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20870 variables with appropriate CPP guards.
20871 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20872 frame pointer, not the stack pointer. Correct layout comments. Fix test
20873 on resulting framesize and the management of the outregs buffer for pltexit.
20874 Preserve floating point return values across _dl_call_pltexit call.
20875 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20876 framesize and the management of the outregs buffer for pltexit.
20877 Preserve floating point return values across _dl_call_pltexit
20878 call.
20879 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20880 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20881 (print_exit): Fix format string for return register value.
20882
9a07f9d0
JM
208832012-03-10 Joseph Myers <joseph@codesourcery.com>
20884
20885 * sunrpc/Makefile (others): Add rpcgen.
20886 ($(objpfx)rpcgen): Remove special build rule and dependency on
20887 libc.
20888 * sunrpc/rpcgen.c: New file.
20889
547b5e30
PE
208902012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20891
c524201a
PE
20892 [BZ #13673]
20893 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20894 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20895 * sysdeps/i386/crti.S: Likewise.
20896 * sysdeps/i386/crtn.S: Likewise.
20897 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20898 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20899 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20900 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20901 * sysdeps/sh/crti.S: Likewise.
20902 * sysdeps/sh/crtn.S: Likewise.
20903 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20904
7b6235f2
PE
20905 [BZ #13673]
20906 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20907 with URL.
20908 * locale/programs/locfile-kw.gperf: Likewise.
20909 * locale/programs/charmap-kw.h: Regenerated.
20910 * locale/programs/locfile-kw.h: Likewise.
20911
547b5e30
PE
20912 [BZ #13673]
20913 * intl/plural.y: Replace FSF snail mail address with URL.
20914 * intl/plural.c: Regenerated.
20915
5f0a5dae
RH
209162012-03-09 Richard Henderson <rth@twiddle.net>
20917
20918 * include/math_private.h: Remove file.
20919 * math/math_private.h: Move file ...
20920 * sysdeps/generic/math_private.h: ... here.
20921
b8c03620
RH
20922 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20923 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20924 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20925
4e234f5d 20926 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
20927 and <math_private.h>.
20928 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20929 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20930 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20931 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20932 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20933 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20934 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20936 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20937 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20948 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20950 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20953 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20954 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20960 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20961 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20962 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20963 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20964 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20965 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20966 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20967 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20968 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20969 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20970 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20971 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20972 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20973 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20974 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20975 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20976 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20977 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20978 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20979 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20980 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20981 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20982 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20983 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20984 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20985 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20986 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20987 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20988 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20989 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20991 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20992 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20993 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20994 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20995 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20996 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20997 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20998 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20999 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21000 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21001 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21002 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21004 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21005 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21006 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21007 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21008 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21009 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21010 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21011 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21012 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21013 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21014 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21015 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21016 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21017 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21018 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21019 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21020 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21021 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21022 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21023 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21024 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21025 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21026 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21027 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21028 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21029 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21030 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21031 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21032 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21033 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21034 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21035 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21036 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21037 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21038 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21039 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21040 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21041 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21042 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21043 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21044 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21045 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21046 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21047 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21048 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21049 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21050 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21051 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21052 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21053 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21054 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21055 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21056 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21057 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21058 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21059 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21060 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21061 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21062 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21063 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21064 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21065 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21066 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21067 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21068 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21069 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21070 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21071 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21072 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21073 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21074 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21075 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21076 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21077 * sysdeps/ieee754/k_standard.c: Likewise.
21078 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21081 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21082 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21083 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21084 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21086 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21087 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21088 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21089 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21090 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21091 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21092 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21093 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21094 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21095 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21096 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21097 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21098 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21099 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21100 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21101 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21102 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21103 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21104 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21105 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21106 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21107 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21108 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21109 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21110 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21111 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21112 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21113 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21114 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21115 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21116 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21119 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21124 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21125 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21127 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21128 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21129 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21130 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21131 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21132 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21133 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21134 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21135 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21136 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21137 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21138 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21139 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21140 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21141 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21142 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21143 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21144 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21145 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21146 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21148 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21150 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21151 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21152 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21153 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21154 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21155 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21156 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21157 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21158 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21159 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21160 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21161 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21162 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21163 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21166 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21167 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21169 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21170 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21171 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21174 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21176 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21177 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21179 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21180 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21181 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21182 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21183 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21184 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21185 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21186 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21187 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21188 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21189 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21190 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21191 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21192 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21193 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21194 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21195 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21196 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21197 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21198 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21200 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21204 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21205 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21210 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21226 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21227 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21228 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21233 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21238 * sysdeps/ieee754/s_lib_version.c: Likewise.
21239 * sysdeps/ieee754/s_matherr.c: Likewise.
21240 * sysdeps/ieee754/s_signgam.c: Likewise.
21241 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21242 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21243 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21244 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21245 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21246 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21247 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21248 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21249 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21250 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21251 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21252 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21253 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21254 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21255 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21256 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21257 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21258 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21259 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21261 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21262
1991fa03
JM
212632012-03-09 Joseph Myers <joseph@codesourcery.com>
21264
21265 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21266 * sunrpc/rpc_main.c: Likewise.
21267 * sunrpc/rpc_svcout.c: Likewise.
21268
60d6f5a6
DM
212692012-03-09 David S. Miller <davem@davemloft.net>
21270
21271 * include/math_private.h: New file.
21272
4962050e
JM
212732012-03-09 Joseph Myers <joseph@codesourcery.com>
21274
02a6f887
JM
21275 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21276 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21277 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21278 from <bits/socket_type.h>.
21279 (enum __socket_type): Don't define here.
21280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21282 bits/socket_type.h.
21283
c6e013c1
JM
21284 [BZ #13566]
21285 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21286 checking __USE_GNU.
21287
4962050e
JM
21288 * Makerules ($(inst_includedir)/%.h): New rule.
21289 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21290 (install-others): Remove variable setting.
21291 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21292
38842f45
RH
212932012-03-08 Richard Henderson <rth@twiddle.net>
21294
67bb6da6
RH
21295 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21296 from macro to inline function; merge with the
21297 !__LIBC_INTERNAL_MATH_INLINES version.
21298 (__ieee754_sqrtf): Likewise.
21299
15194b4b
RH
21300 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21301 to inline function.
21302 (__rintf, __floor, __floorf): Likewise.
21303
64e21ede
RH
21304 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21305 macro to inline function.
21306 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21307
38842f45
RH
21308 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21309 not <math/math_private.h>.
21310
c64bf5fe
DM
213112012-03-08 David S. Miller <davem@davemloft.net>
21312
21313 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21314 copyright year.
21315 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21316
82d86f28
TS
213172012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21318
21319 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21320 normalization.
21321 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21322 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21323
aea5d727
UD
213242012-03-08 Ulrich Drepper <drepper@gmail.com>
21325
21326 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21327 be defined individually, they must be defined as a block. Define
21328 S for printing a string instead of hidint the different by using a
21329 macro for adding the 'l'.
21330 * stdio-common/tst-fphex-wide.c: Adjust.
21331
70bca0a3
MP
213322012-03-07 Marek Polacek <polacek@redhat.com>
21333
21334 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21335
65b81130
MP
213362012-03-08 Marek Polacek <polacek@redhat.com>
21337
21338 [BZ #13806]
21339 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21340 * stdio-common/tst-fphex.c: Define a few macros to make the
21341 test reusable. Use them.
21342 * stdio-common/tst-fphex-wide.c: New file.
21343
07037eeb
JM
213442012-03-08 Joseph Myers <joseph@codesourcery.com>
21345
a7a93d50
JM
21346 [BZ #6911]
21347 * manual/macros.texi (gnusystems): New macro.
21348 (nongnusystems): Likewise.
21349 (gnulinuxhurdsystems): Likewise.
21350 (gnuhurdsystems): Likewise..
21351 (gnulinuxsystems): Likewise.
21352 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21353 variants of the GNU system, not "GNU system".
21354 * manual/conf.texi: Likewise.
21355 * manual/errno.texi: Likewise. Update example of errno macro
21356 expansion.
21357 * manual/filesys.texi: Likewise.
21358 (getumask): Document as specific to GNU/Hurd.
21359 * manual/install.texi: Likewise. Reword some references to
21360 GNU/Linux.
21361 * manual/intro.texi: Likewise.
21362 * manual/io.texi: Likewise.
21363 (File Name Portability): Detail which constraints are inapplicable
21364 to all GNU systems and which are only inapplicable to GNU/Hurd.
21365 * manual/job.texi: Likewise.
21366 * manual/llio.texi: Likewise.
21367 (O_NOCTTY): Document as present on GNU/Linux.
21368 * manual/maint.texi: Likewise.
21369 * manual/memory.texi: Likewise.
21370 * manual/pattern.texi: Likewise.
21371 * manual/pipe.texi: Likewise.
21372 * manual/process.texi: Likewise.
21373 * manual/resource.texi: Likewise.
21374 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21375 child on GNU/Hurd.
21376 * manual/setjmp.texi: Likewise.
21377 * manual/signal.texi: Likewise.
21378 * manual/startup.texi: Likewise.
21379 * manual/stdio.texi: Likewise.
21380 * manual/terminal.texi: Likewise.
21381 (ONLCR): Document as POSIX.
21382 (OXTABS): Document availability on GNU/Linux as XTABS.
21383 (ONOEOT): Document availability separately from other bits.
21384 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21385 * manual/time.texi: Likewise.
21386 * manual/users.texi: Likewise.
21387 * INSTALL: Regenerated.
21388 * sysdeps/gnu/errlist.c: Regenerated.
21389
07037eeb
JM
21390 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21391 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21392 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21393 puts.
21394 * configure: Regenerated.
21395
d1d3431a
JM
213962012-03-07 Joseph Myers <joseph@codesourcery.com>
21397
af6a1e37
JM
21398 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21399 default includes instead of AC_HEADER_CHECK.
21400 * sysdeps/i386/configure: Regenerated.
21401
d1d3431a
JM
21402 [BZ #10716]
21403 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21404 * math/s_cacoshf.c (__cacoshf): Likewise.
21405 * math/s_cacoshl.c (__cacoshl): Likewise.
21406 * math/s_casinh.c (__casinh): Set signs of result from argument.
21407 * math/s_casinhf.c (__casinhf): Likewise.
21408 * math/s_casinhl.c (__casinhl): Likewise.
21409 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21410 (casinh_test): Add more tests.
21411 * sysdeps/i386/fpu/libm-test-ulps: Update.
21412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21413
482ff4da
UD
214142012-03-07 Ulrich Drepper <drepper@gmail.com>
21415
872fda05
UD
21416 * po/zh_TW.po: Update from translation team.
21417
a4300c7a
UD
21418 * login/Makefile (distribute): Remove variable.
21419 * catgets/Makefile: Likewise.
21420 * mach/Makefile: Likewise.
21421 * malloc/Makefile: Likewise.
21422 * misc/Makefile: Likewise.
21423 * iconv/Makefile: Likewise.
21424 * nscd/Makefile: Likewise.
21425 * hurd/Makefile: Likewise.
21426 * manual/Makefile: Likewise.
21427 * locale/Makefile: Likewise.
21428 * intl/Makefile: Likewise.
21429 * conform/Makefile: Likewise.
21430 * nss/Makefile: Likewise.
21431 * time/Makefile: Likewise.
21432 * soft-fp/Makefile: Likewise.
21433 * dirent/Makefile: Likewise.
21434 * gmon/Makefile: Likewise.
21435 * po/Makefile: Likewise.
21436 * rt/Makefile: Likewise.
21437 * socket/Makefile: Likewise.
21438 * math/Makefile: Likewise.
21439 * signal/Makefile: Likewise.
21440 * debug/Makefile: Likewise.
21441 * elf/Makefile: Likewise.
21442 * timezone/Makefile: Likewise.
21443 * stdlib/Makefile: Likewise.
21444 * iconvdata/Makefile: Likewise.
21445 * sunrpc/Makefile: Likewise.
21446 * io/Makefile: Likewise.
21447 * argp/Makefile: Likewise.
21448 * inet/Makefile: Likewise.
21449 * hesiod/Makefile: Likewise.
21450 * grp/Makefile: Likewise.
21451 * csu/Makefile: Likewise.
21452 * wctype/Makefile: Likewise.
21453 * crypt/Makefile: Likewise.
21454 * libio/Makefile: Likewise.
21455 * string/Makefile: Likewise.
21456 * nis/Makefile: Likewise.
21457 * resolv/Makefile: Likewise.
21458 * stdio-common/Makefile: Likewise.
21459 * wcsmbs/Makefile: Likewise.
21460 * dlfcn/Makefile: Likewise.
21461 * posix/Makefile: Likewise.
21462
3b7c4e74 21463 [BZ #6959]
482ff4da
UD
21464 * timezone/Makefile: Don't install timezone files, just the programs
21465 and scripts.
21466
f72ed77d
UD
214672012-03-06 Ulrich Drepper <drepper@gmail.com>
21468
a000466f
UD
21469 * nss/databases.def: Add missing gshadow entry.
21470
f72ed77d
UD
21471 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21472
a53b7a4e
MP
214732012-03-06 Marek Polacek <polacek@redhat.com>
21474
21475 [BZ #13726]
21476 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21477 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21478 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21479 * stdio-common/tst-long-dbl-fphex.c: New file.
21480
e9258400
DM
214812012-03-06 David S. Miller <davem@davemloft.net>
21482
21483 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21484 (set_obp_int): New function.
21485 (get_obp_int): New function.
21486 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
21487 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21488 Avoid unused variable warnings on 'val' and use builtin_expect.
21489 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21490 __builtin_expect.
e9258400
DM
21491 (INLINE_CLONE_SYSCALL): Likewise.
21492
3bd2c723
DM
214932012-03-05 David S. Miller <davem@davemloft.net>
21494
21495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21496
bbb78d03
AS
214972012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21498
884c5db4
AS
21499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21500
bbb78d03
AS
21501 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21502 only for |x| >= 40.
21503 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21504
1c9f702a 215052012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
21506
21507 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21508 Replace gettimeofday with __vdso_gettimeofday.
21509
7be16f82
RM
21510 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21511 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21512 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
21513
21514 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21515 time with __vdso_time.
21516
ed58a00f
JM
215172012-03-05 Joseph Myers <joseph@codesourcery.com>
21518
21519 * manual/lang.texi (size_t): Note types to which size_t may be
21520 equivalent with the GNU C Library, but do not describe when
21521 differences between them are significant.
21522
30ee4ced
AJ
215232012-03-05 Andreas Jaeger <aj@suse.de>
21524
21525 * sysdeps/i386/fpu/libm-test-ulps: Update.
21526
b7cd39e8
JM
215272012-03-05 Joseph Myers <joseph@codesourcery.com>
21528
21529 [BZ #3976]
21530 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21531 (__ieee754_pow): Save and restore rounding mode and use
21532 round-to-nearest for main computations.
21533 * math/libm-test.inc (pow_test_tonearest): New function.
21534 (pow_test_towardzero): Likewise.
21535 (pow_test_downward): Likewise.
21536 (pow_test_upward): Likewise.
21537 (main): Call the new functions.
21538 * sysdeps/i386/fpu/libm-test-ulps: Update.
21539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
21540
21541 [BZ #3976]
21542 * math/libm-test.inc (cosh_test_tonearest): New function.
21543 (cosh_test_towardzero): Likewise.
21544 (cosh_test_downward): Likewise.
21545 (cosh_test_upward): Likewise.
21546 (sinh_test_tonearest): Likewise.
21547 (sinh_test_towardzero): Likewise.
21548 (sinh_test_downward): Likewise.
21549 (sinh_test_upward): Likewise.
21550 (main): Call the new functions.
21551 * sysdeps/i386/fpu/libm-test-ulps: Update.
21552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21553
6c6a98c9
TV
215542012-03-05 Tom de Vries <tom@codesourcery.com>
21555
21556 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21557 default stack guard is set in last bytes.
21558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21559
21bb2d2e 215602012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 21561
21bb2d2e 21562 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 21563
21bb2d2e
AJ
21564 [BZ #13656]
21565 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21566 possibly allocate from heap instead of stack.
21567 * stdio-common/bug-vfprintf-nargs.c: New file.
21568 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 21569
c6922934
AS
215702012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21571
21572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21573
bc957d53
MP
215742012-03-03 Marek Polacek <polacek@redhat.com>
21575
21576 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21577 * math/math_private.h: Likewise.
21578 * stdlib/tst-strtod.c: Likewise.
21579 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21580 * sysdeps/x86_64/bits/atomic.h: Likewise.
21581
6358490d
DM
215822012-03-02 David S. Miller <davem@davemloft.net>
21583
21584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21588 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21589 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21590 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21591 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21592
01ae168d
RM
215932012-03-02 Roland McGrath <roland@hack.frob.com>
21594
d9a17c07
RM
21595 [BZ #13792]
21596 * manual/examples/README: New file, says the example source files
21597 can be used under GPL>=2.
21598 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21599 line containing just "*/".
21600 * manual/examples/add.c: Add copyright header (GPL>=2).
21601 * manual/examples/argp-ex1.c: Likewise.
21602 * manual/examples/argp-ex2.c: Likewise.
21603 * manual/examples/argp-ex3.c: Likewise.
21604 * manual/examples/argp-ex4.c: Likewise.
21605 * manual/examples/atexit.c: Likewise.
21606 * manual/examples/db.c: Likewise.
21607 * manual/examples/dir.c: Likewise.
21608 * manual/examples/dir2.c: Likewise.
21609 * manual/examples/execinfo.c: Likewise.
21610 * manual/examples/filecli.c: Likewise.
21611 * manual/examples/filesrv.c: Likewise.
21612 * manual/examples/fmtmsgexpl.c: Likewise.
21613 * manual/examples/genpass.c: Likewise.
21614 * manual/examples/inetcli.c: Likewise.
21615 * manual/examples/inetsrv.c: Likewise.
21616 * manual/examples/isockad.c: Likewise.
21617 * manual/examples/longopt.c: Likewise.
21618 * manual/examples/memopen.c: Likewise.
21619 * manual/examples/memstrm.c: Likewise.
21620 * manual/examples/mkfsock.c: Likewise.
21621 * manual/examples/mkisock.c: Likewise.
21622 * manual/examples/mygetpass.c: Likewise.
21623 * manual/examples/pipe.c: Likewise.
21624 * manual/examples/popen.c: Likewise.
21625 * manual/examples/rprintf.c: Likewise.
21626 * manual/examples/search.c: Likewise.
21627 * manual/examples/select.c: Likewise.
21628 * manual/examples/setjmp.c: Likewise.
21629 * manual/examples/sigh1.c: Likewise.
21630 * manual/examples/sigusr.c: Likewise.
21631 * manual/examples/stpcpy.c: Likewise.
21632 * manual/examples/strdupa.c: Likewise.
21633 * manual/examples/strftim.c: Likewise.
21634 * manual/examples/strncat.c: Likewise.
21635 * manual/examples/subopt.c: Likewise.
21636 * manual/examples/swapcontext.c: Likewise.
21637 * manual/examples/termios.c: Likewise.
21638 * manual/examples/testopt.c: Likewise.
21639 * manual/examples/testpass.c: Likewise.
21640 * manual/examples/timeval_subtract.c: Likewise.
21641
01ae168d
RM
21642 [BZ #13792]
21643 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21644 function to ...
21645 * manual/timeval_subtract.c.texi: ... here, new file.
21646
49efa33d
DM
216472012-03-02 David S. Miller <davem@davemloft.net>
21648
21649 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21650
28afd92d
JM
216512012-03-02 Joseph Myers <joseph@codesourcery.com>
21652
804360ed
JM
21653 [BZ #3976]
21654 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21655 (__sin): Save and restore rounding mode and use round-to-nearest
21656 for all computations.
21657 (__cos): Save and restore rounding mode and use round-to-nearest
21658 for all computations.
21659 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21660 <fenv.h>.
21661 (tan): Save and restore rounding mode and use round-to-nearest for
21662 all computations.
21663 * math/libm-test.inc (cos_test_tonearest): New function.
21664 (cos_test_towardzero): Likewise.
21665 (cos_test_downward): Likewise.
21666 (cos_test_upward): Likewise.
21667 (sin_test_tonearest): Likewise.
21668 (sin_test_towardzero): Likewise.
21669 (sin_test_downward): Likewise.
21670 (sin_test_upward): Likewise.
21671 (tan_test_tonearest): Likewise.
21672 (tan_test_towardzero): Likewise.
21673 (tan_test_downward): Likewise.
21674 (tan_test_upward): Likewise.
21675 (main): Call the new functions.
21676 * sysdeps/i386/fpu/libm-test-ulps: Update.
21677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21678
a6d06d7b
JM
21679 [BZ #10135]
21680 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21681 small n, then large n, before computing and testing k+n.
21682 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21683 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21684 Likewise.
21685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21686 Likewise.
21687 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21688 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21689 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21690 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21691 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21692 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21693 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21694 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21695 * math/libm-test.inc (scalbn_test): Add more tests.
21696 (scalbln_test): Likewise.
21697
07e12bb3
JM
21698 * manual/filesys.texi (mode_t): Describe constraints on size and
21699 signedness, not exact equivalence to a particular type.
21700 (ino_t): Likewise.
21701 (ino64_t): Likewise.
21702 (dev_t): Likewise.
21703 (nlink_t): Likewise.
21704 (blkcnt_t): Likewise.
21705 (blkcnt64_t): Likewise.
21706 * manual/llio.texi (off_t): Likewise.
21707
28afd92d
JM
21708 [BZ #3976]
21709 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21710 (__ieee754_exp): Save and restore rounding mode and use
21711 round-to-nearest for all computations.
21712 * math/libm-test.inc (exp_test_tonearest): New function.
21713 (exp_test_towardzero): Likewise.
21714 (exp_test_downward): Likewise.
21715 (exp_test_upward): Likewise.
21716 (main): Call the new functions.
21717 * sysdeps/i386/fpu/libm-test-ulps: Update.
21718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21719
b1eeb65d
CD
217202012-03-01 Chris Demetriou <cgd@google.com>
21721
21722 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21723 have predictable order.
21724
53362a4b
DM
217252012-03-01 David S. Miller <davem@davemloft.net>
21726
3c969083
DM
21727 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21728
759707de
DM
21729 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21730 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21731 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21732 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21733
dfdb8ff2
DM
21734 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21735 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21736 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21738 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21739 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21740 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21741 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21742 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21743
ead89f96
DM
21744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21745
7f66bd07
DM
21746 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21747 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21748 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21749
53362a4b
DM
21750 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21751 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21752 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21753 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21754 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21755 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21756 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21757 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21758 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21759 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21760 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21761 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21762 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21763 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21764 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21765 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21766 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21767 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21768 * sysdeps/sparc/elf/configure: Regenerated.
21769
7b1902cb
JM
217702012-03-01 Joseph Myers <joseph@codesourcery.com>
21771
bec039bc
JM
21772 * configure.in (AS, LD): Require binutils 2.20 or later.
21773 * configure: Regenerated.
21774 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21775 as required minimum version.
21776 * INSTALL: Regenerated.
21777
7b1902cb
JM
21778 [BZ #2541]
21779 [BZ #4108]
21780 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21781 before squaring exponent.
21782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21783 bottom long double and 27 bits of top long double before squaring
21784 exponent.
21785 * math/libm-test.inc (erfc_test): Add more tests.
21786 * sysdeps/i386/fpu/libm-test-ulps: Update.
21787 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21789
f775c276
KT
217902012-03-01 Kai Tietz <ktietz@redhat.com>
21791
21792 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21793 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21794 containing bit-fields.
21795 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21796 * soft-fp/single.h (_FP_UNION_S): Likewise.
21797 * soft-fp/double.h (_FP_UNION_D): Likewise.
21798
5b8a4d4a
JM
217992012-02-29 Joseph Myers <joseph@codesourcery.com>
21800
0bab47b6
JM
21801 [BZ #13786]
21802 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21803 not include ../strcmp.S.
21804 [USE_AS_STRNCASECMP_L]: Likewise.
21805 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21806 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21807 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21808 (__strncasecmp_l_ia32): Define as alias to
21809 __strncasecmp_l_nonascii.
21810
0fcad3e2
JM
21811 [BZ #5794]
21812 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21813 * sysdeps/i386/fpu/libm-test-ulps: Update.
21814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21815
5b8a4d4a
JM
21816 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21818
8fdceb2e
JL
218192012-02-29 Jeff Law <law@redhat.com>
21820
21821 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21822 out of bounds read.
21823
1f393a11
MP
218242012-02-29 Marek Polacek <polacek@redhat.com>
21825
21826 [BZ #13706]
21827 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21828 * elf/Makefile: Add rules to run tst-unused-dep.out.
21829
8847f037
DM
218302012-02-28 David S. Miller <davem@davemloft.net>
21831
21832 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21833 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21834 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21835 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21836 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21837 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21838
169d7f11
JM
218392012-02-29 Joseph Myers <joseph@codesourcery.com>
21840
21841 * math/libm-test.inc (llround_test): Move one test from
21842 lround_test. Use TEST_f_L in moved test.
21843 (lround_test): Move misplaced test to llround_test. Add testcase
21844 from bug 2561.
21845
39adf059
UD
218462012-02-28 Ulrich Drepper <drepper@gmail.com>
21847
21848 * sysdeps/x86_64/fpu/e_expf.S: New file.
21849 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21850
71b5d1c5
SB
218512012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21852
21853 [BZ #13637]
21854 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21855 of remain_len that may cause incomplete multi-byte character and
21856 false match.
21857 * posix/bug-regex33.c: New file.
21858 * posix/Makefile (tests): Add bug-regex33.
21859
1f77f049
JM
218602012-02-28 Joseph Myers <joseph@codesourcery.com>
21861
21862 * manual/macros.texi: New file.
21863 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21864 * manual/libc.texinfo: Include macros.texi.
21865 * manual/creatute.texi: Likewise.
21866 * manual/install.texi: Likewise.
21867 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21868 @glibcadj{} in references to the GNU C Library.
21869 * manual/charset.texi: Likewise.
21870 * manual/conf.texi: Likewise.
21871 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21872 when not using those macros.
21873 * manual/creature.texi: Likewise.
21874 * manual/crypt.texi: Likewise.
21875 * manual/errno.texi: Likewise.
21876 * manual/filesys.texi: Likewise.
21877 * manual/header.texi: Likewise.
21878 * manual/install.texi: Likewise.
21879 * manual/intro.texi: Likewise.
21880 * manual/io.texi: Likewise.
21881 * manual/job.texi: Likewise.
21882 * manual/lang.texi: Likewise.
21883 * manual/libc.texiinfo: Likewise.
21884 * manual/llio.texi: Likewise.
21885 * manual/locale.texi: Likewise.
21886 * manual/maint.texi: Likewise.
21887 * manual/math.texi: Likewise.
21888 * manual/memory.texi: Likewise.
21889 * manual/message.texi: Likewise.
21890 * manual/nss.texi: Likewise.
21891 * manual/pattern.texi: Likewise.
21892 * manual/process.texi: Likewise.
21893 * manual/resource.texi: Likewise.
21894 * manual/search.texi: Likewise.
21895 * manual/setjmp.texi: Likewise.
21896 * manual/signal.texi: Likewise.
21897 * manual/socket.texi: Likewise.
21898 * manual/startup.texi: Likewise.
21899 * manual/stdio.texi: Likewise.
21900 * manual/string.texi: Likewise.
21901 * manual/sysinfo.texi: Likewise.
21902 * manual/syslog.texi: Likewise.
21903 * manual/terminal.texi: Likewise.
21904 * manual/time.texi: Likewise.
21905 * manual/users.texi: Likewise.
21906 * INSTALL: Regenerated.
21907 * NOTES: Regenerated.
d40c5d54 21908 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 21909
450bf206
AS
219102012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21911
21912 * include/dirent.h: Include <dirstream.h> before
21913 <dirent/dirent.h>.
21914
741a235b
DM
219152012-02-28 David S. Miller <davem@davemloft.net>
21916
21917 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21918 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21919 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21920 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21921
d6b5aa58
DM
219222012-02-27 David S. Miller <davem@davemloft.net>
21923
1aff59a3
DM
21924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21926 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21927 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21928
d6b5aa58
DM
21929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21930 frame pointer instead of stack pointer relative arg slot.
21931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21932 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21933 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21934
433f48bf
CD
219352012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21936
21937 [BZ #3992]
21938 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21939
d674b76d
DM
219402012-02-27 David S. Miller <davem@davemloft.net>
21941
21942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21946 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21947 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21948 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21949 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21950
0e7727f7
JM
219512012-02-27 Joseph Myers <joseph@codesourcery.com>
21952
21953 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21954 later. Allow versions 5-9.
43be4ca2 21955 * configure: Regenerated.
0e7727f7
JM
21956 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21957 required minimum version and 4.6 as recommended version. Do not
21958 mention bugs in GCC 2.7 and 2.8.
43be4ca2 21959 * INSTALL: Regenerated.
0e7727f7 21960
a78bc654
DM
219612012-02-27 David S. Miller <davem@davemloft.net>
21962
428d5830
DM
21963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21967 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21968 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21969 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21970 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21971
a78bc654
DM
21972 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21973 manipulate bits before adding and subtracting TWO112[sx].
21974 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21975
4579f81c
RM
219762012-02-27 Roland McGrath <roland@hack.frob.com>
21977
36c8acb4
RM
21978 [BZ #13775]
21979 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21980 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21981 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21982 being in POSIX, because they are in 1003.1-2008.
21983
84ad622b
RM
21984 * rt/tst-aio.c: Include <fcntl.h>.
21985 * rt/tst-aio7.c: Likewise.
21986 * rt/tst-aio64.c: Likewise.
21987
4579f81c
RM
21988 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21989
abd923db
JM
219902012-02-27 Joseph Myers <joseph@codesourcery.com>
21991
21992 * manual/install.texi (--with-headers): Describe headers as
21993 interface headers, not private headers.
21994 (Specific advice for GNU/Linux systems): Describe use of headers
21995 from "make headers_install", not private headers from older
21996 kernels.
43be4ca2 21997 * INSTALL: Regenerated.
abd923db
JM
21998 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21999 Change to 2.6.19.
22000 * sysdeps/unix/sysv/linux/configure: Regenerated.
22001
6664049b
JM
22002 * manual/llio.texi (fclean): Remove documentation.
22003
bb8b6697
JM
22004 * manual/Makefile (libc-texi-generated): New variable. Include
22005 version.texi.
22006 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22007 $(libc-texi-generated), not duplicated list of files.
22008 (version.texi, stamp-version): New rules.
22009 (realclean): Remove $(libc-texi-generated), not individual files
22010 from that list. Do not remove dir-add.texinfo.
22011 * manual/libc.texinfo: Comment out uses of edition numbers and
22012 references to printed manual. Remove last-updated dates.
22013 (EDITION): Comment out.
22014 (ISBN): Likewise.
22015 (VERSION, UPDATED): Remove.
22016 (version.texi): Include.
22017
12e5c3b9
AS
220182012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22019
22020 * sysdeps/posix/spawni.c: Include <signal.h>.
22021 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22022 * sysdeps/pthread/aio_fsync.c: Likewise.
22023
4efeffc1 220242012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 22025
ba63ba08
UD
22026 * conform/Makefile (tests): Run only when not cross-compiling and
22027 when fast-check is not defined.
22028
d94a4670
UD
22029 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22030 * conform/data/limits.h-data: Fixes for POSIX2008.
22031 * conform/run-conformtest.sh: Run all tests.
22032 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22033 headers.
22034 * include/bits/dlfcn.h: Likewise.
22035 * include/langinfo.h: Likewise.
22036 * include/monetary.h: Likewise.
22037 * include/sys/poll.h: Likewise.
22038
22039 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22040 for __USE_GNU.
22041 * posix/spawn.h: Define __need_sigset_t.
22042 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22043 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22044 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22045 to get sigevent_t only.
22046 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22047 only for __USE_GNU.
22048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22049 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22050 process_vm_writev only for __USE_GNU.
22051 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
22052
22053 * conform/Makefile: For now ignore errors from run-conformtest.
22054 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22055 POSIX to avoid namespace pollution. Don't prepend headers.
22056 * conform/data/aio.h-data: Fixes for POSIX testing.
22057 * conform/data/fcntl.h-data: Likewise.
22058 * conform/data/glob.h-data: Likewise.
22059 * conform/data/grp.h-data: Likewise.
22060 * conform/data/pthread.h-data: Likewise.
22061 * conform/data/pwd.h-data: Likewise.
22062 * conform/data/signal.h-data: Likewise.
22063 * conform/data/spawn.h-data: Likewise.
22064 * conform/data/stdio.h-data: Likewise.
22065 * conform/data/stdlib.h-data: Likewise.
22066 * conform/data/stropts.h-data: Likewise.
22067 * conform/data/sys/mman.h-data: Likewise.
22068 * conform/data/sys/stat.h-data: Likewise.
22069 * conform/data/sys/types.h-data: Likewise.
22070 * conform/data/sys/wait.h-data: Likewise.
22071 * conform/data/time.h-data: Likewise.
22072 * conform/data/unistd.h-data: Likewise.
22073 * conform/data/utime.h-data: Likewise.
22074
22075 * io/sys/stat.h: fchmod was always in POSIX.
22076 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22077 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22078 * rt/aio.h: Define __need_timespec before including <time.h>.
22079 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22080 struct. Add forward declaration of pthread_attr_t and use it in
22081 sigevent.
22082 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22084 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22085 always remove CLK_TCK definition.
22086
c20105c3
AS
220872012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22088
22089 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22090
7a270350
UD
220912012-02-25 Ulrich Drepper <drepper@gmail.com>
22092
31341567
UD
22093 * conform/run-conformtest.sh: New file.
22094 * conform/Makefile: Run run-conformtest for tests.
22095 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22096 support.
22097
22098 * conform/data/uchar.h-data: New file.
22099 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22100 * conform/data/arpa/inet.h-data: Likewise.
22101 * conform/data/assert.h-data: Likewise.
22102 * conform/data/complex.h-data: Likewise.
22103 * conform/data/cpio.h-data: Likewise.
22104 * conform/data/ctype.h-data: Likewise.
22105 * conform/data/dirent.h-data: Likewise.
22106 * conform/data/dlfcn.h-data: Likewise.
22107 * conform/data/errno.h-data: Likewise.
22108 * conform/data/fcntl.h-data: Likewise.
22109 * conform/data/float.h-data: Likewise.
22110 * conform/data/fmtmsg.h-data: Likewise.
22111 * conform/data/fnmatch.h-data: Likewise.
22112 * conform/data/ftw.h-data: Likewise.
22113 * conform/data/glob.h-data: Likewise.
22114 * conform/data/grp.h-data: Likewise.
22115 * conform/data/iconv.h-data: Likewise.
22116 * conform/data/inttypes.h-data: Likewise.
22117 * conform/data/langinfo.h-data: Likewise.
22118 * conform/data/libgen.h-data: Likewise.
22119 * conform/data/limits.h-data: Likewise.
22120 * conform/data/locale.h-data: Likewise.
22121 * conform/data/math.h-data: Likewise.
22122 * conform/data/monetary.h-data: Likewise.
22123 * conform/data/mqueue.h-data: Likewise.
22124 * conform/data/ndbm.h-data: Likewise.
22125 * conform/data/net/if.h-data: Likewise.
22126 * conform/data/netdb.h-data: Likewise.
22127 * conform/data/netinet/in.h-data: Likewise.
22128 * conform/data/nl_types.h-data: Likewise.
22129 * conform/data/poll.h-data: Likewise.
22130 * conform/data/pthread.h-data: Likewise.
22131 * conform/data/pwd.h-data: Likewise.
22132 * conform/data/regex.h-data: Likewise.
22133 * conform/data/sched.h-data: Likewise.
22134 * conform/data/search.h-data: Likewise.
22135 * conform/data/semaphore.h-data: Likewise.
22136 * conform/data/setjmp.h-data: Likewise.
22137 * conform/data/signal.h-data: Likewise.
22138 * conform/data/spawn.h-data: Likewise.
22139 * conform/data/stdarg.h-data: Likewise.
22140 * conform/data/stdio.h-data: Likewise.
22141 * conform/data/stdlib.h-data: Likewise.
22142 * conform/data/string.h-data: Likewise.
22143 * conform/data/strings.h-data: Likewise.
22144 * conform/data/stropts.h-data: Likewise.
22145 * conform/data/sys/ipc.h-data: Likewise.
22146 * conform/data/sys/mman.h-data: Likewise.
22147 * conform/data/sys/msg.h-data: Likewise.
22148 * conform/data/sys/resource.h-data: Likewise.
22149 * conform/data/sys/select.h-data: Likewise.
22150 * conform/data/sys/sem.h-data: Likewise.
22151 * conform/data/sys/shm.h-data: Likewise.
22152 * conform/data/sys/socket.h-data: Likewise.
22153 * conform/data/sys/stat.h-data: Likewise.
22154 * conform/data/sys/statvfs.h-data: Likewise.
22155 * conform/data/sys/time.h-data: Likewise.
22156 * conform/data/sys/timeb.h-data: Likewise.
22157 * conform/data/sys/times.h-data: Likewise.
22158 * conform/data/sys/types.h-data: Likewise.
22159 * conform/data/sys/uio.h-data: Likewise.
22160 * conform/data/sys/un.h-data: Likewise.
22161 * conform/data/sys/utsname.h-data: Likewise.
22162 * conform/data/sys/wait.h-data: Likewise.
22163 * conform/data/syslog.h-data: Likewise.
22164 * conform/data/tar.h-data: Likewise.
22165 * conform/data/termios.h-data: Likewise.
22166 * conform/data/utime.h-data: Likewise.
22167 * conform/data/utmpx.h-data: Likewise.
22168 * conform/data/varargs.h-data: Likewise.
22169 * conform/data/wchar.h-data: Likewise.
22170 * conform/data/wctype.h-data: Likewise.
22171 * conform/data/wordexp.h-data: Likewise.
22172
22173 * include/stropts.h: New file.
22174 * include/uchar.h: New file.
22175 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22176 * include/assert.h: Likewise.
22177 * include/ctype.h: Likewise.
22178 * include/dirent.h: Likewise.
22179 * include/dlfcn.h: Likewise.
22180 * include/fcntl.h: Likewise.
22181 * include/fnmatch.h: Likewise.
22182 * include/glob.h: Likewise.
22183 * include/grp.h: Likewise.
22184 * include/libio.h: Likewise.
22185 * include/locale.h: Likewise.
22186 * include/math.h: Likewise.
22187 * include/net/if.h: Likewise.
22188 * include/netdb.h: Likewise.
22189 * include/netinet/in.h: Likewise.
22190 * include/pthread.h: Likewise.
22191 * include/pwd.h: Likewise.
22192 * include/regex.h: Likewise.
22193 * include/sched.h: Likewise.
22194 * include/search.h: Likewise.
22195 * include/setjmp.h: Likewise.
22196 * include/signal.h: Likewise.
22197 * include/stdio.h: Likewise.
22198 * include/stdlib.h: Likewise.
22199 * include/string.h: Likewise.
22200 * include/sys/cdefs.h: Likewise.
22201 * include/sys/mman.h: Likewise.
22202 * include/sys/msg.h: Likewise.
22203 * include/sys/resource.h: Likewise.
22204 * include/sys/select.h: Likewise.
22205 * include/sys/socket.h: Likewise.
22206 * include/sys/stat.h: Likewise.
22207 * include/sys/statvfs.h: Likewise.
22208 * include/sys/time.h: Likewise.
22209 * include/sys/times.h: Likewise.
22210 * include/sys/uio.h: Likewise.
22211 * include/sys/utsname.h: Likewise.
22212 * include/sys/wait.h: Likewise.
22213 * include/termios.h: Likewise.
22214 * include/time.h: Likewise.
22215 * include/ulimit.h: Likewise.
22216 * include/unistd.h: Likewise.
22217 * include/utime.h: Likewise.
22218 * include/wchar.h: Likewise.
22219 * include/wctype.h: Likewise.
22220 * include/wordexp.h: Likewise.
22221
22222 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22223
7a270350
UD
22224 * time/time.h: TIME_UTC must be a macro.
22225 Make timespec_get available for ISO C11 only as well.
22226
7724defc
UD
222272012-02-24 Ulrich Drepper <drepper@gmail.com>
22228
22229 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22230 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22231
6b1d1d46
JM
222322012-02-24 Joseph Myers <joseph@codesourcery.com>
22233
22234 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22235
0f8bbd69
JM
222362012-02-24 Joseph Myers <joseph@codesourcery.com>
22237
22238 * manual/texinfo.tex: Update to version 2012-01-19.16.
22239
66ab80bc
JM
222402012-02-24 Joseph Myers <joseph@codesourcery.com>
22241
22242 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22243
74981cc5
RM
222442012-02-24 Roland McGrath <roland@hack.frob.com>
22245
ee968201
RM
22246 [BZ #13738]
22247 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22248 * manual/fdl-1.3.texi: New file.
22249 * manual/fdl-1.1.texi: File removed.
22250
74981cc5
RM
22251 [BZ #13738]
22252 * manual/libc.texinfo (FDL_VERSION): New @set.
22253 Use it for mention of FDL in cover text.
22254 (Documentation License): Use it in @include file name.
22255
7bb764bc
JM
222562012-02-22 Joseph Myers <joseph@codesourcery.com>
22257 Roland McGrath <roland@hack.frob.com>
22258
22259 [BZ #5461]
22260 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22261 not LONG_LONG_MAX and LONG_LONG_MIN.
22262 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22263 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22264 name.
22265 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22266
6cbeae47
JM
222672012-02-22 Joseph Myers <joseph@codesourcery.com>
22268
22269 [BZ #2547]
22270 [BZ #11365]
22271 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22272 manipulate bits before adding and subtracting TWO23[sx].
22273 * math/libm-test.inc (nearbyint_test): Add more tests.
22274
fe45ce09
JM
222752012-02-22 Joseph Myers <joseph@codesourcery.com>
22276
22277 [BZ #2548]
22278 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22279 bits before adding and subtracting TWO23[sx].
22280 * math/libm-test.inc (rint_test): Add more tests.
22281 (rint_test_tonearest): Likewise.
22282 (rint_test_towardzero): Likewise.
22283 (rint_test_downward): Likewise.
22284 (rint_test_upward: Likewise.
22285
ff3b3d82
JM
222862012-02-22 Joseph Myers <joseph@codesourcery.com>
22287
22288 [BZ #10110]
22289 * include/stdc-predef.h: New file. Extracted from features.h.
22290 * include/features.h: Include stdc-predef.h.
22291 * Makefile (headers): Add stdc-predef.h.
22292 * CONFORMANCE (Compiler limitations): Update.
22293
ef0aab35
JM
222942012-02-22 Joseph Myers <joseph@codesourcery.com>
22295
22296 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22297
58639409
DM
222982012-02-21 David S. Miller <davem@davemloft.net>
22299
22300 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22301 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22302
c0e70b25
DM
223032012-02-20 David S. Miller <davem@davemloft.net>
22304
22305 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22306 using a normal save/restore sequence, rather than allocating a
22307 dummy stack frame just to store a frame pointer and restore.
22308 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22309
fb06851d
JM
223102012-02-21 Joseph Myers <joseph@codesourcery.com>
22311
22312 * manual/install.texi: Fix stray word in line-wrapped comment.
22313
7a8b71c3
DM
223142012-02-20 David S. Miller <davem@davemloft.net>
22315
d510c123
DM
22316 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22317 both binutils and gcc support GOTDATA.
22318
0722d7c2
DM
22319 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22320 "rd %pc" in the PIC register setup sequences.
22321
3d2b3019
DM
22322 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22323 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22324 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22325 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22326 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22327 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22328 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22329 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22331 (SYSCALL_ERROR_HANDLER): Likewise.
22332 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22333 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22335 (SYSCALL_ERROR_HANDLER): Likewise.
22336
c80098a9
DM
22337 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22338 (HAVE_GCC_GOTDATA): New.
22339 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22340 relocation support in both binutils and gcc.
22341 * sysdeps/sparc/elf/configure: Regenerate.
22342
3a2545a0
DM
22343 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22344 * sysdeps/sparc/sparc32/elf/configure: Delete.
22345 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22346 * sysdeps/sparc/sparc64/elf/configure: Delete.
22347 * sysdeps/sparc/elf/configure.in: New file.
22348 * sysdeps/sparc/elf/configure: Generate.
22349
7a8b71c3
DM
22350 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22351 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22352 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22353 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22354 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22355
f1e86fca
JM
223562012-02-21 Joseph Myers <joseph@codesourcery.com>
22357
22358 * manual/install.texi: Do not mention specific glibc version
22359 numbers.
22360 * manual/libc.texinfo (VERSION, UPDATED): Update.
22361 (@copying): Use @copyright{} and range of years.
22362
0e7dfaef
JM
223632012-02-21 Joseph Myers <joseph@codesourcery.com>
22364
22365 [BZ #13695]
22366 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22367 [crti.S not in sysdirs] (generated): Do not append.
22368 [crti.S not in sysdirs] (omit-deps): Likewise.
22369 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22370 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22371 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22372 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22373 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22374 Likewise.
22375 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22376 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22377 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22378 * csu/defs.awk: Remove file.
22379 * sysdeps/generic/initfini.c: Likewise.
22380 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22381 variable.
22382 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22383 Likewise.
22384
599af3ca
JM
223852012-02-20 Joseph Myers <joseph@codesourcery.com>
22386
22387 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22388 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22389 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22390 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22391 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22392 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22393 <bits/epoll.h>.
22394 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22395 (__EPOLL_PACKED): Define to empty if not defined by
22396 <bits/epoll.h>.
22397 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22399 bits/epoll.h.
22400
0e499750
JM
224012012-02-20 Joseph Myers <joseph@codesourcery.com>
22402
22403 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22404 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22405 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22406 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22407 <bits/timerfd.h>.
22408 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22410 bits/timerfd.h.
22411
5ad91f6e
JM
224122012-02-20 Joseph Myers <joseph@codesourcery.com>
22413
22414 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22415 in C locale.
22416 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22417 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22418 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22420
06b99b02
AJ
224212012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22422
22423 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22424 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22425
7638c0fd
AS
224262012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22427
22428 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22429 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22430 defined.
22431 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22432 Likewise.
22433 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22434 entry for 2.16.
22435
92221550
AJ
224362012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22437
22438 * math/w_acos.c: Use non-signaling floating-point comparisons.
22439 * math/w_acosf.c: Likewise.
22440 * math/w_acosh.c: Likewise.
22441 * math/w_acoshf.c: Likewise.
22442 * math/w_acoshl.c: Likewise.
22443 * math/w_acosl.c: Likewise.
22444 * math/w_asin.c: Likewise.
22445 * math/w_asinf.c: Likewise.
22446 * math/w_asinl.c: Likewise.
22447 * math/w_atanh.c: Likewise.
22448 * math/w_atanhf.c: Likewise.
22449 * math/w_atanhl.c: Likewise.
22450 * math/w_exp2.c: Likewise.
22451 * math/w_exp2f.c: Likewise.
22452 * math/w_exp2l.c: Likewise.
22453 * math/w_j0.c: Likewise.
22454 * math/w_j0f.c: Likewise.
22455 * math/w_j0l.c: Likewise.
22456 * math/w_j1.c: Likewise.
22457 * math/w_j1f.c: Likewise.
22458 * math/w_j1l.c: Likewise.
22459 * math/w_jn.c: Likewise.
22460 * math/w_jnf.c: Likewise.
22461 * math/w_log.c: Likewise.
22462 * math/w_log10.c: Likewise.
22463 * math/w_log10f.c: Likewise.
22464 * math/w_log10l.c: Likewise.
22465 * math/w_log2.c: Likewise.
22466 * math/w_log2f.c: Likewise.
22467 * math/w_log2l.c: Likewise.
22468 * math/w_logf.c: Likewise.
22469 * math/w_logl.c: Likewise.
22470 * math/w_sqrt.c: Likewise.
22471 * math/w_sqrtf.c: Likewise.
22472 * math/w_sqrtl.c: Likewise.
22473 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22474 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22475 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22476 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22477 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22478
ebaf36eb
JM
224792012-02-19 Joseph Myers <joseph@codesourcery.com>
22480
22481 [BZ #9739]
22482 * manual/string.texi (strnlen): Use correct parameter name in
22483 equivalent expression.
22484
71c254a6
JM
224852012-02-19 Joseph Myers <joseph@codesourcery.com>
22486
22487 [BZ #11174]
22488 * manual/users.texi (seteuid): Consistently use neweuid for
22489 argument name.
22490
16d2c631
JM
224912012-02-19 Joseph Myers <joseph@codesourcery.com>
22492
22493 [BZ #13704]
22494 * manual/nss.texi (Services in the NSS configuration): Correct
22495 list of services in example configuration file.
22496
cd837b09
NB
224972012-02-19 Nick Bowler <nbowler@draconx.ca>
22498
22499 [BZ #11322]
22500 * manual/arith.texi: Remove statements about negative zero
22501 behaving identically to zero.
22502
02c4bbad
JM
225032012-02-18 Joseph Myers <joseph@codesourcery.com>
22504
22505 [BZ #5993]
22506 * manual/install.texi: Do not document upgrading from libc5.
22507
366842e7
JM
225082012-02-18 Joseph Myers <joseph@codesourcery.com>
22509
22510 [BZ #4596]
22511 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22512
dd54084d
DM
225132012-02-18 David S. Miller <davem@davemloft.net>
22514
22515 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22516 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22517 %o7 across the call.
22518 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22519 instead.
22520 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22521 SETUP_PIC_REG_LEAF.
22522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22523 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22524 * sysdeps/sparc/crtn.S: Likewise.
22525
2bcc53a3
UD
225262012-02-17 Ulrich Drepper <drepper@gmail.com>
22527
22528 * aout/Makefile: Remove.
22529
09c093b5
RK
225302012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22531
22532 [BZ #13058]
22533 * manual/examples/argp-ex1.c (main): Format definition in GNU
22534 style.
22535 * manual/examples/argp-ex2.c (main): Likewise.
22536 * manual/examples/argp-ex3.c (main): Likewise.
22537 * manual/examples/argp-ex4.c (main): Likewise.
22538 * manual/examples/longopt.c (main): Use new-style prototype
22539 definition.
22540 * manual/examples/strncat.c (main): Specify return type and use
22541 (void) for arguments.
22542 * manual/examples/subopt.c (main): Use char **argv argument.
22543
2ee633a2
JM
225442012-02-17 Joseph Myers <joseph@codesourcery.com>
22545
22546 [BZ #5077]
22547 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22548 rounding modes.
22549
0520adde
FB
225502012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22551
22552 [BZ #6907]
22553 * manual/string.texi (strchr): Change when strchrnul is
22554 recommended.
22555
3f4081cd
DGM
225562012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22557
22558 [BZ #174]
22559 * manual/locale.texi (setlocale): Document LOCPATH.
22560
d1b10e78
JM
225612012-02-17 Joseph Myers <joseph@codesourcery.com>
22562
22563 [BZ #10210]
22564 * manual/process.texi (execle): Move @dots{} before last argument.
22565
79c6869c
PB
225662012-02-17 Paul Bolle <pebolle@tiscali.nl>
22567
22568 [BZ #12047]
22569 * manual/charset.texi (Generic Charset Conversion): Fix typo
22570 (LC_TYPE -> LC_CTYPE).
22571
cc6e48bc
NB
225722012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22573
22574 [BZ #5805]
22575 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22576 (scalbnf): Likewise.
22577 (scalbnl): Likewise.
22578 (scalbln): Likewise.
22579 (scalblnf): Likewise.
22580 (scalblnl): Likewise.
22581 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22582 (vwarnx): Likewise.
22583 (verr): Likewise.
22584 (verrx): Likewise.
22585 * manual/filesys.texi (telldir): Use braces around return type.
22586 * manual/llio.texi (mmap): Add space after comma.
22587 (mmap64): Likewise.
22588 * manual/math.texi (jn): Use @var{} on parameter names.
22589 (jnf): Likewise.
22590 (jnl): Likewise.
22591 (yn): Likewise.
22592 (ynf): Likewise.
22593 (ynl): Likewise.
22594 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22595 line.
22596 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22597 "...".
22598 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22599 (sched_get_priority_max): Likewise.
22600 * manual/signal.texi (sigvec): Add space after comma.
22601 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22602 names.
22603 (if_indextoname): Likewise.
22604 (if_freenameindex): Likewise.
22605 (sendto): Use ',' instead of '.' in prototype.
22606 * manual/startup.texi (syscall): Use @dots{} instead of literal
22607 "...".
22608 * manual/stdio.texi (__fpending): Separate initial words of
22609 paragraph from @deftypefun line.
22610 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22611 "...".
22612 (vsyslog): Use @var{} on parameter names.
22613 * manual/terminal.texi (stty): Use @var{} on parameter names.
22614 * manual/users.texi (getutmp): Use @var{} on parameter names.
22615 (getutmpx): Likewise.
22616
5b23062f
JM
226172012-02-17 Joseph Myers <joseph@codesourcery.com>
22618
22619 [BZ #6884]
22620 * manual/stdio.texi (fopen): Fix typos in description of
22621 ",ccs=STRING".
22622
8dee4833
AJ
226232012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22624
22625 [BZ #4026]
22626 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22627 get clock_id definition.
22628
9078ce93
TS
226292012-02-17 Thomas Schwinge <thomas@schwinge.name>
22630
22631 [BZ #4822]
22632 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22633 (madvise): Cast every argument to void on its own.
22634
3835c55f
JM
226352012-02-17 Joseph Myers <joseph@codesourcery.com>
22636
22637 [BZ #9902]
22638 * manual/startup.texi (Exit Status): Fix typo.
22639
35c47e37
JM
226402012-02-17 Joseph Myers <joseph@codesourcery.com>
22641
22642 [BZ #10140]
22643 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22644 * manual/examples/argp-ex2.c: Likewise.
22645 * manual/examples/argp-ex3.c: Likewise.
22646
e3b69ca7
RH
226472012-02-16 Richard Henderson <rth@redhat.com>
22648
22649 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22650 * sysdeps/s390/s390-32/initfini.c: Remove.
22651 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22652 * sysdeps/s390/s390-64/initfini.c: Remove.
22653
df83af67
KK
226542012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22655
22656 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22657 compiler output for sysdeps/generic/initfini.c.
22658 * sysdeps/sh/elf/initfini.c: Remove file.
22659
f63f3380
DM
226602012-02-16 David S. Miller <davem@davemloft.net>
22661
fb59b3a4
DM
22662 [BZ #11494]
22663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22664
f63f3380
DM
22665 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22666 * sysdeps/sparc/crti.S: New file.
22667 * sysdeps/sparc/crtn.S: New file.
22668 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22669 * sysdeps/sparc/sparc64/Makefile: Likewise.
22670
df6a4a4a
MF
226712012-02-15 Mike Frysinger <vapier@gentoo.org>
22672
6dd8f3dc 22673 [BZ #3335]
df6a4a4a
MF
22674 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22675
1cac7236
RM
226762012-02-15 Roland McGrath <roland@hack.frob.com>
22677
d2c736f8
RM
22678 [BZ #4822]
22679 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22680
1cac7236
RM
22681 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22682 (write, read, close): Likewise.
22683 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22684
8e475601
JM
226852012-02-15 Joseph Myers <joseph@codesourcery.com>
22686
22687 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22688 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22689 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22690 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22691 <bits/signalfd.h>.
22692 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22694 bits/signalfd.h.
22695
ed656b40
MP
226962012-02-14 Marek Polacek <polacek@redhat.com>
22697
22698 * sysdeps/x86_64/crti.S: New file.
22699 * sysdeps/x86_64/crtn.S: New file.
22700 * sysdeps/x86_64/elf/initfini.c: Remove file.
22701
2a979d3a
JM
227022012-02-13 Joseph Myers <joseph@codesourcery.com>
22703
22704 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22705 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22706 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22707 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22708 <bits/inotify.h>.
22709 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22710 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22711 bits/inotify.h.
22712
2a418ac3
JM
227132012-02-13 Joseph Myers <joseph@codesourcery.com>
22714
22715 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22716 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22717 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22718 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22719 <bits/eventfd.h>.
22720 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22722 bits/eventfd.h.
22723
fb779be7
TS
227242012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22725
e19e83c5
RM
22726 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22727 __feraiseexcept instead of feraiseexcept.
7c35ffed 22728
fb779be7
TS
22729 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22730 nanosleep invocations.
22731 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22732 strings, and add error checking for a nanosleep invocations.
22733
59ba27a6
PE
227342012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22735
22736 Replace FSF snail mail address with URLs, as per GNU coding standards.
22737 Most of the snail mail addresses were wrong anyway, and omitting
22738 them makes the source code easier to maintain. Almost all of the
22739 changes are to license notices and to locale LC_IDENTIFICATION
22740 addresses, except for this one:
22741 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22742 not its snail mail address.
22743
57b957eb
RH
227442012-02-09 Richard Henderson <rth@twiddle.net>
22745
af850b1c
RH
22746 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22747 of kernel-features.h.
22748
57b957eb
RH
22749 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22750
6b73181a
MP
227512012-02-08 Marek Polacek <polacek@redhat.com>
22752
22753 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22754 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22755 * sysdeps/gnu/_G_config.h: Likewise.
22756 * sysdeps/generic/_G_config.h: Likewise.
22757
26ecc33a
AS
227582012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22759
6c6dbc63
AS
22760 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22761 tests.
22762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22763
e216c012
AS
22764 * sysdeps/powerpc/powerpc32/crti.S: New file.
22765 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22766 * sysdeps/powerpc/powerpc64/crti.S: New file.
22767 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22768
26ecc33a
AS
22769 * Makeconfig (have-initfini): Don't set.
22770 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22771 * configure.in (nopic_initfini): Don't substitute.
22772 * config.h.in (HAVE_INITFINI): Don't #undef.
22773 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22774 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22775
3add8e13
JM
227762012-02-08 Joseph Myers <joseph@codesourcery.com>
22777
22778 Support crti.S and crtn.S provided directly by architectures.
22779 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22780 [crti.S in sysdirs] (omit-deps): Likewise.
22781 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22782 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22783 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22784 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22785 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22786 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22787 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22788 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22789 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22790 compiler output for sysdeps/generic/initfini.c.
22791 * sysdeps/i386/elf/Makefile: Remove file.
22792 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22793
a22f12b4
MP
227942012-02-07 Marek Polacek <polacek@redhat.com>
22795
22796 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22797 * sysdeps/gnu/_G_config.h: Likewise.
22798 * sysdeps/mach/hurd/_G_config.h: Likewise.
22799
148cf100
MP
228002012-02-07 Marek Polacek <polacek@redhat.com>
22801
22802 * math/Makefile (tests): Add tst-CMPLX2.
22803 * math/tst-CMPLX2.c: New file.
22804
cfdc0dd7
AS
228052012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22806
84ba42c4
AS
22807 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22808
cfdc0dd7
AS
22809 * math/libm-test.inc (jn_test): Add missing L suffix.
22810
622c86f4
MP
228112012-02-06 Marek Polacek <polacek@redhat.com>
22812
22813 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22814 * sysdeps/i386/fpu/e_powf.S: Likewise.
22815 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22816 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22817 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22818 * sysdeps/i386/fpu/e_pow.S: Likewise.
22819 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22820 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22821 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22822 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22823 * sysdeps/i386/fpu/e_log2.S: Likewise.
22824 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22825 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22826 * sysdeps/i386/fpu/e_powl.S: Likewise.
22827 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22828 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22829 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22830 * sysdeps/i386/fpu/e_logl.S: Likewise.
22831 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22832 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22833 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22834 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22835 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22836 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22837 * sysdeps/i386/fpu/e_log.S: Likewise.
22838 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22839 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22840 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22841 * sysdeps/i386/fpu/e_logf.S: Likewise.
22842 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22843 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22844 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22845 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22846 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22847 * sysdeps/i386/fpu/e_log10.S: Likewise.
22848 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22849 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22850 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22851 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22852 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22853 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22854 * sysdeps/i386/asm-syntax.h: Likewise.
22855 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22856 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22857 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22858 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22859 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22860 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22861 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22862 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22863 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22864 * sysdeps/powerpc/sysdep.h: Likewise.
22865 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22866 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22867
d4a54ac6
JM
228682012-02-06 Joseph Myers <joseph@codesourcery.com>
22869
22870 [BZ #411]
22871 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22872
314054ea
JM
228732012-02-06 Joseph Myers <joseph@codesourcery.com>
22874
22875 * sysdeps/i386/sysdep.h: Include <features.h>.
22876 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22877 version.
22878
d8e0ca50
JM
228792012-02-05 Joseph Myers <joseph@codesourcery.com>
22880
22881 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22882 Define.
22883 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22884 LOAD_PIC_REG_STR.
22885
b1da7dd9
JM
228862012-02-03 Joseph Myers <joseph@codesourcery.com>
22887
22888 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22889 (SETUP_PIC_REG): Use GET_PC_THUNK.
22890 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22891 macro.
22892
9a1d9254
JM
228932012-02-03 Joseph Myers <joseph@codesourcery.com>
22894
22895 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22896 for non-PIC compilation.
22897 (SETUP_PIC_REG): Add .p2align directive.
22898 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22899 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22900 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22901 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22902 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22903 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22904 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22905 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22906 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22907 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22908 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22909 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22910 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22911 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22912 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22913 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22914 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22915 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22916 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22917 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22918 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22919 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22920 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22921 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22922 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22923 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22924 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22925 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22926 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22927 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22928 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22930 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22931 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22932 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22933 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22934 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22935 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22936 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22937 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22938 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22939
65dc3b75
JM
229402012-02-03 Joseph Myers <joseph@codesourcery.com>
22941
22942 * math/tst-CMPLX.c: Include <stdio.h>.
22943
d55bf177
JM
229442012-01-31 Joseph Myers <joseph@codesourcery.com>
22945
22946 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22947 float.
22948 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22949 * sysdeps/sparc/bits/mathdef.h: Likewise.
22950
69db4f8f
MP
229512012-01-31 Marek Polacek <polacek@redhat.com>
22952
22953 * libio/libio.h: Don't define _PARAMS.
22954 * locale/programs/config.h: Don't define PARAMS.
22955 * stdlib/strtol_l.c: Likewise.
22956 (__strtol_l): Remove PARAMS from the prototype.
22957
41b81892
UD
229582012-01-31 Ulrich Drepper <drepper@gmail.com>
22959
3b49edc0
UD
22960 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22961 names. Just use the correct names. Remove unnecessary wrapper
22962 functions.
22963 * malloc/arena.c: Likewise.
22964 * malloc/hooks.c: Likewise.
22965
41b81892
UD
22966 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22967 ARENA_TEST says not to. Simplify test for creation of a new arena.
22968 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22969
27a25b6e
UD
229702012-01-30 Ulrich Drepper <drepper@gmail.com>
22971
22972 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22973 into tail calls.
22974 (update_get_addr): New function.
22975 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22976 GET_ADDR_MODULE parameter.
22977
c8a89e7d
JM
229782012-01-30 Joseph Myers <joseph@codesourcery.com>
22979
22980 * crypt/cert.c: Remove __STDC__ conditionals.
22981 * crypt/crypt-entry.c: Likewise.
22982 * crypt/crypt_util.c: Likewise.
22983 * libio/filedoalloc.c: Likewise.
22984 * libio/fileops.c: Likewise.
22985 * libio/genops.c: Likewise.
22986 * libio/iofclose.c: Likewise.
22987 * libio/iofdopen.c: Likewise.
22988 * libio/iofopen.c: Likewise.
22989 * libio/iofopen64.c: Likewise.
22990 * libio/iogetdelim.c: Likewise.
22991 * libio/iopopen.c: Likewise.
22992 * libio/obprintf.c: Likewise.
22993 * libio/oldfileops.c: Likewise.
22994 * libio/oldiofclose.c: Likewise.
22995 * libio/oldiofdopen.c: Likewise.
22996 * libio/oldiofopen.c: Likewise.
22997 * libio/oldiopopen.c: Likewise.
22998 * libio/wfiledoalloc.c: Likewise.
22999 * libio/wgenops.c: Likewise.
23000 * locale/programs/xmalloc.c: Likewise.
23001 * misc/syslog.c: Likewise.
23002 * stdio-common/xbug.c: Likewise.
23003 * string/memchr.c: Likewise.
23004 * string/memcmp.c: Likewise.
23005 * string/memrchr.c: Likewise.
23006 * string/rawmemchr.c: Likewise.
23007 * sysdeps/posix/getcwd.c: Likewise.
23008 * time/strftime_l.c: Likewise.
23009
3b100462
JM
230102012-01-30 Joseph Myers <joseph@codesourcery.com>
23011
23012 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
23013 * config.make.in (config-cflags-sse2avx): Define.
23014 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23015 Fix typo.
23016
607998af
CM
230172012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23018
23019 * scripts/config.guess: Update from upstream config git repository.
23020 * scripts/config.sub: Likewise.
23021
3601428f
CM
230222012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23023
3ac8b282
CM
23024 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23025 (EM_NUM): Update.
23026 (R_TILEPRO_*, R_TILEGX_*): New macros.
23027
e034841e
CM
23028 * scripts/firstversions.awk: Fix bug in version range handling.
23029
540d7568
CM
23030 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23031
3601428f
CM
23032 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23033
463de862
CM
23034 * include/sys/epoll.h: New file.
23035 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23036 libc_hidden_def.
23037
73139a76
UD
230382012-01-28 Ulrich Drepper <drepper@gmail.com>
23039
96bc5b45
UD
23040 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23041 Avoid unnecessary __WORDSIZE == 64 test.
23042 (fmaxf): Use VEX format if possible.
23043 (fmax): Likewise.
23044 (fminf): Likewise.
23045 (fmin): Likewise.
23046
56f6f6a2
UD
23047 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23048 * math/math_private.h: Remove libc_fegetround* and
23049 libc_fesetround*.
23050 * sysdeps/i386/configure.in: Check for -msse2avx.
23051 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23052 also if SSE2AVX is defined.
23053 Remove libc_fegetround* and libc_fesetround*.
23054 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23055 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23056 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23057 of HAS_YMM_USABLE.
23058 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23059 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23060 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23061 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23062 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23063
73139a76
UD
23064 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23065
d73f93a4
AZ
230662012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23067
23068 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23069 size is not set.
23070 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23071
6ee65ed6
UD
230722012-01-27 Ulrich Drepper <drepper@gmail.com>
23073
23074 [BZ #13618]
23075 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23076 relocation.
23077 * Makeconfig (libm): Define.
23078 * elf/Makefile: Add rules to build and run tst-relsort1.
23079 * elf/tst-relsort1.c: New file.
23080 * elf/tst-relsort1mod1.c: New file.
23081 * elf/tst-relsort1mod2.c: New file.
23082
8db21882
JM
230832012-01-27 Joseph Myers <joseph@codesourcery.com>
23084
23085 * math/s_ldexp.c: Remove __STDC__ conditionals.
23086 * math/s_ldexpf.c: Likewise.
23087 * math/s_ldexpl.c: Likewise.
23088 * math/s_nextafter.c: Likewise.
23089 * math/s_nexttowardf.c: Likewise.
23090 * math/s_significand.c: Likewise.
23091 * math/s_significandf.c: Likewise.
23092 * math/s_significandl.c: Likewise.
23093 * math/w_jnl.c: Likewise.
23094 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23095 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23096 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23097 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23098 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23099 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23100 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23101 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23102 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23103 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23104 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23105 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23106 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23107 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23108 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23109 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23110 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23111 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23113 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23114 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23115 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23116 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23117 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23118 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23119 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23120 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23121 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23122 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23123 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23124 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23125 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23126 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23127 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23128 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23129 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23130 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23131 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23132 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23133 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23134 * sysdeps/ieee754/k_standard.c: Likewise.
23135 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23136 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23137 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23138 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23139 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23140 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23141 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23142 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23143 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23144 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23145 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23146 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23147 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23148 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23149 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23150 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23151 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23152 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23153 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23154 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23155 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23156 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23157 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23158 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23159 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23160 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23161 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23162 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23163 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23164 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23165 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23166 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23167 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23168 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23170 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23171 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23172 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23173 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23174 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23175 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23177 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23178 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23179 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23180 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23181 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23182 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23183 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23184 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23185 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23186 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23187 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23188 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23189 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23190 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23191 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23192 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23193 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23194 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23195 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23196 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23197 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23198 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23199 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23200 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23201 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23202 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23203 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23204 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23205 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23206 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23207 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23208 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23209 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23210 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23211 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23212 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23213 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23214 * sysdeps/ieee754/s_matherr.c: Likewise.
23215 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23216 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23217 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23218 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23219
965a54a4
JM
232202012-01-26 Joseph Myers <joseph@codesourcery.com>
23221
23222 * crypt/md5.h: Remove __STDC__ conditionals.
23223 * libio/libioP.h: Likewise.
23224 * locale/programs/config.h: Likewise.
23225 * sysdeps/generic/sysdep.h: Likewise.
23226 * sysdeps/i386/asm-syntax.h: Likewise.
23227 * sysdeps/s390/asm-syntax.h: Likewise.
23228 * sysdeps/unix/sysdep.h: Likewise.
23229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23231
7071ad79
JM
232322012-01-26 Joseph Myers <joseph@codesourcery.com>
23233
23234 * libio/libio.h: Remove __STDC__ conditionals.
23235 * malloc/obstack.h: Likewise.
23236 * math/complex.h: Likewise.
23237 * math/math.h: Likewise.
23238 * sysdeps/generic/_G_config.h: Likewise.
23239 * sysdeps/gnu/_G_config.h: Likewise.
23240 * sysdeps/mach/hurd/_G_config.h: Likewise.
23241 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23242 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23243 * sysdeps/sparc/bits/mathdef.h: Likewise.
23244
afc5ed09
UD
232452012-01-26 Ulrich Drepper <drepper@gmail.com>
23246
23247 [BZ #13583]
23248 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23249 Clean up HAS_* macros.
afc5ed09 23250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23251 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23252 possible.
23253 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23254 HAS_AVX.
23255 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23256 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23257 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23258 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23259 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23260
bdb6de1d
JM
232612012-01-25 Joseph Myers <joseph@codesourcery.com>
23262
23263 * elf/tst-unique3.cc (gets): Remove declaration.
23264 * elf/tst-unique3lib.cc (gets): Likewise.
23265 * elf/tst-unique3lib2.cc (gets): Likewise.
23266 * elf/tst-unique4.cc (gets): Likewise.
23267
b15549e6
UD
232682012-01-24 Ulrich Drepper <drepper@gmail.com>
23269
23270 * include/stdio.h: Add C++ protection. Add gets declarations and
23271 definitions.
23272 * debug/tst-chk1.c: Don't declare gets here.
23273 * stdio-common/tst-gets.c: Likewise.
23274
a037381f
JM
232752012-01-24 Joseph Myers <joseph@codesourcery.com>
23276
23277 * posix/glob: Remove directory.
23278
f1d4aa75
JM
232792012-01-24 Joseph Myers <joseph@codesourcery.com>
23280
23281 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23282
81c0c964
PT
232832012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23284
23285 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23286 of the non-standard EPFNOSUPPORT.
23287
0ea698ae
ST
232882011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23289
23290 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23291 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23292 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23293
d220b117
UD
232942012-01-21 Ulrich Drepper <drepper@gmail.com>
23295
23296 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23297
3e1aa84e
UD
232982012-01-20 Ulrich Drepper <drepper@gmail.com>
23299
23300 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23301 transient errors.
23302 * nscd/grpcache.c (cache_addgr): Likewise.
23303 * nscd/hstcache.c (cache_addhst): Likewise.
23304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23305 * nscd/pwdcache.c (cache_addpw): Likewise.
23306 * nscd/servicescache.c (cache_addserv): Likewise.
23307
400aa020
UD
233082012-01-16 Ulrich Drepper <drepper@gmail.com>
23309
d77e7869
UD
23310 * malloc/malloc.c: Various cleanups.
23311 * malloc/hooks.c: Likewise.
23312
400aa020
UD
23313 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23314 * stdlib/bug-fmtmsg1.c: New file.
23315
23316 * stdlib/fmtmsg.c (init): Add missing unlock.
23317 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23318
e0a309cf
MP
233192012-01-12 Marek Polacek <polacek@redhat.com>
23320
23321 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23322 and _GNU_SOURCE.
23323
929d11c7
WS
233242012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23325
23326 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23327 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23328 macro to ensure uniqueness of label name.
23329 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23330 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23331
41d0e869
UD
233322012-01-11 Ulrich Drepper <drepper@gmail.com>
23333
0cc5ed3b
UD
23334 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23335
41d0e869
UD
23336 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23337 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23338 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23340
a47a831a
UD
233412012-01-10 Ulrich Drepper <drepper@gmail.com>
23342
daa891c0
UD
23343 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23344
23345 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23346 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23347 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23348
e58ef0f2
UD
23349 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23350
a47a831a 23351 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23352 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23353 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23354 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23355
23356 * math/bits/math-finite.h: Add ldexp support.
23357
a0bfc9c7
MP
233582012-01-10 Marek Polacek <polacek@redhat.com>
23359
23360 * locale/programs/localedef.h (show_archive_content): Add noreturn
23361 attribute.
23362
d6e97a1d
UD
233632012-01-09 Ulrich Drepper <drepper@gmail.com>
23364
23365 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23366
d5835c26
UD
233672012-01-08 Ulrich Drepper <drepper@gmail.com>
23368
e5f484c6
UD
23369 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23370
d5835c26
UD
23371 * io/Makefile (headers): Add bits/poll2.h.
23372
d1f741e9
WS
233732011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23374
23375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23376 typo #include statement.
23377
ec09c1c4
UD
233782012-01-08 Ulrich Drepper <drepper@gmail.com>
23379
23380 * include/sys/cdefs.h: Define __attribute_alloc_size.
23381 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23382 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23383 * elf/pldd.c: Likewise.
23384 * iconv/iconv_charmap.c: Likewise.
23385 * iconv/iconvconfig.c: Likewise.
23386 * iconv/strtab.c: Likewise.
23387 * locale/programs/locale.c: Likewise.
23388 * locale/programs/localedef.h: Likewise.
23389 * locale/programs/simple-hash.c: Likewise.
23390 * nscd/nscd.h: Likewise.
23391 * nss/makedb.c: Likewise.
23392 * sysdeps/generic/ldconfig.h: Likewise.
23393 * locale/programs/localedef.c: Remove xmalloc prototype.
23394 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23395
20b38e03
PP
233962012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23397
23398 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23399 appropriate.
23400
a0da5fe1
UD
234012012-01-08 Ulrich Drepper <drepper@gmail.com>
23402
1d5a644a 23403 * math/Makefile (tests): Add tst-CMPLX.
669704fd 23404 * math/tst-CMPLX.c: New file.
1d5a644a 23405
8784a6db
UD
23406 * math/complex.h (CMPLXL): Fix typo.
23407
d9a216c0
UD
23408 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23409 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23410 GLIBC_2.16.
23411 * debug/tst-chk1.c: Add poll and ppoll tests.
23412 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23413 * include/sys/poll.h: Add hidden proto for ppoll.
23414 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23415 * sysdeps/mach/hurd/ppoll.c: Likewise.
23416 * io/ppoll.c: Likewise.
23417 * debug/poll_chk.c: New file.
23418 * debug/ppoll_chk.c: New file.
23419 * include/bits/poll2.h: New file.
23420 * io/bits/poll2.h: New file.
23421
ac097f5c
UD
23422 [BZ #1350]
23423 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23424
2119dcfa
UD
23425 * configure.in: static is always set to yes. Remove.
23426 * config.make.in: Don't set build-static.
23427 * Makeconfig: Remove use of build-static.
23428 * dlfcn/Makefile: Likewise.
23429 * elf/Makefile: Likewise.
23430 * math/Makefile: Likewise.
23431 * misc/Makefile: Likewise.
23432 * nptl/Makefile: Likewise.
23433 * sysdeps/mach/hurd/Makefile: Likewise.
23434
121766a9
UD
23435 * configure.in: PWD_P is not used anymore.
23436 * config.make.in: Remove PWD_P entry.
23437
51a1d39c 23438 * configure.in: Remove last remnants of RANLIB.
8720d066 23439 No need to check for signed size_t anymore.
215f4bdc
UD
23440 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23441 and IA-64.
3857022a 23442 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
23443 * aclocal.m4: Likewise.
23444
d3ed7225
UD
23445 * wcsmbs/mbrtoc16.c: Implement using towc function.
23446 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23447 * wcsmbs/wcsmbsload.c: Likewise.
23448 * iconv/gconv_simple.c: Likewise.
23449 * iconv/gconv_int.h: Likewise.
23450 * iconv/gconv_builtin.h: Likewise.
23451 * iconv/iconv_prog.c: Remove CHAR16 handling.
23452
23453 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23454
23455 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23456
a0da5fe1
UD
23457 * configure.in: Remove --with-elf and --enable-bounded options.
23458 Dont set base_machine for ia64. More non-ELF conditions removed.
23459 Remove testing and setting of leading underscore information.
23460 * config.make.in (build-bounded): Set to no.
23461 * config.h.in: Remove NO_UNDERSCORES entry.
23462 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23463 them.
23464 * csu/start.c: Remove !NO_UNDERSCORE code.
23465 * locale/localeinfo.h: Likewise.
23466 * sysdeps/generic/machine-gmon.h: Likewise.
23467 * sysdeps/generic/sysdep.h: Likewise.
23468 * sysdeps/i386/sysdep.h: Likewise.
23469 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23470 * sysdeps/mach/sysdep.h: Likewise.
23471 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23472 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23473 * sysdeps/sh/sysdep.h: Likewise.
23474 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23475 * sysdeps/unix/i386/sysdep.S: Likewise.
23476 * sysdeps/unix/sparc/start.c: Likewise.
23477 * sysdeps/unix/sparc/sysdep.S: Likewise.
23478 * sysdeps/unix/sparc/sysdep.h: Likewise.
23479 * sysdeps/unix/start.c: Likewise.
23480 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23481 * sysdeps/x86_64/sysdep.h: Likewise.
23482
df78418a
UD
234832012-01-07 Ulrich Drepper <drepper@gmail.com>
23484
a784e502
UD
23485 [BZ #13553]
23486 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23487 for non-gcc.
23488 * argp/argp-fmtstream.h: Use const instead __const.
23489 * argp/argp.h: Likewise.
23490 * assert/assert.h: Likewise.
23491 * bits/fenv.h: Likewise.
23492 * bits/sched.h: Likewise.
23493 * bits/sigset.h: Likewise.
23494 * bits/sigthread.h: Likewise.
23495 * catgets/nl_types.h: Likewise.
23496 * conform/data/pthread.h-data: Likewise.
23497 * crypt/crypt-private.h: Likewise.
23498 * crypt/crypt.h: Likewise.
23499 * crypt/crypt_util.c: Likewise.
23500 * ctype/ctype.h: Likewise.
23501 * debug/execinfo.h: Likewise.
23502 * debug/mbsnrtowcs_chk.c: Likewise.
23503 * debug/mbsrtowcs_chk.c: Likewise.
23504 * debug/wcsnrtombs_chk.c: Likewise.
23505 * debug/wcsrtombs_chk.c: Likewise.
23506 * debug/wcstombs_chk.c: Likewise.
23507 * dirent/dirent.h: Likewise.
23508 * dlfcn/dlfcn.h: Likewise.
23509 * elf/neededtest4.c: Likewise.
23510 * grp/grp.h: Likewise.
23511 * gshadow/gshadow.h: Likewise.
23512 * iconv/gconv.h: Likewise.
23513 * iconv/gconv_int.h: Likewise.
23514 * iconv/gconv_simple.c: Likewise.
23515 * iconv/iconv.h: Likewise.
23516 * iconv/loop.c: Likewise.
23517 * iconv/skeleton.c: Likewise.
23518 * include/aio.h: Likewise.
23519 * include/aliases.h: Likewise.
23520 * include/argz.h: Likewise.
23521 * include/arpa/inet.h: Likewise.
23522 * include/assert.h: Likewise.
23523 * include/dirent.h: Likewise.
23524 * include/dlfcn.h: Likewise.
23525 * include/execinfo.h: Likewise.
23526 * include/fcntl.h: Likewise.
23527 * include/fenv.h: Likewise.
23528 * include/glob.h: Likewise.
23529 * include/grp.h: Likewise.
23530 * include/libintl.h: Likewise.
23531 * include/mntent.h: Likewise.
23532 * include/netdb.h: Likewise.
23533 * include/pwd.h: Likewise.
23534 * include/rpc/netdb.h: Likewise.
23535 * include/sched.h: Likewise.
23536 * include/search.h: Likewise.
23537 * include/shadow.h: Likewise.
23538 * include/signal.h: Likewise.
23539 * include/stdio.h: Likewise.
23540 * include/stdlib.h: Likewise.
23541 * include/string.h: Likewise.
23542 * include/sys/socket.h: Likewise.
23543 * include/sys/stat.h: Likewise.
23544 * include/sys/statfs.h: Likewise.
23545 * include/sys/statvfs.h: Likewise.
23546 * include/sys/syslog.h: Likewise.
23547 * include/sys/time.h: Likewise.
23548 * include/sys/uio.h: Likewise.
23549 * include/time.h: Likewise.
23550 * include/unistd.h: Likewise.
23551 * include/utmp.h: Likewise.
23552 * include/wchar.h: Likewise.
23553 * include/wctype.h: Likewise.
23554 * inet/aliases.h: Likewise.
23555 * inet/arpa/inet.h: Likewise.
23556 * inet/netinet/ether.h: Likewise.
23557 * inet/netinet/in.h: Likewise.
23558 * intl/libintl.h: Likewise.
23559 * io/bits/fcntl2.h: Likewise.
23560 * io/fcntl.h: Likewise.
23561 * io/ftw.h: Likewise.
23562 * io/sys/poll.h: Likewise.
23563 * io/sys/stat.h: Likewise.
23564 * io/sys/statfs.h: Likewise.
23565 * io/sys/statvfs.h: Likewise.
23566 * io/utime.h: Likewise.
23567 * libio/bits/stdio.h: Likewise.
23568 * libio/bits/stdio2.h: Likewise.
23569 * libio/libio.h: Likewise.
23570 * libio/libioP.h: Likewise.
23571 * libio/stdio.h: Likewise.
23572 * locale/lc-ctype.c: Likewise.
23573 * locale/locale.h: Likewise.
23574 * login/utmp.h: Likewise.
23575 * malloc/arena.c: Likewise.
23576 * malloc/malloc.c: Likewise.
23577 * malloc/malloc.h: Likewise.
23578 * malloc/mcheck.c: Likewise.
23579 * malloc/mtrace.c: Likewise.
23580 * math/bits/mathcalls.h: Likewise.
23581 * math/fenv.h: Likewise.
23582 * math/math_private.h: Likewise.
23583 * misc/bits/error.h: Likewise.
23584 * misc/bits/syslog.h: Likewise.
23585 * misc/err.h: Likewise.
23586 * misc/error.h: Likewise.
23587 * misc/fstab.h: Likewise.
23588 * misc/mntent.h: Likewise.
23589 * misc/regexp.h: Likewise.
23590 * misc/search.h: Likewise.
23591 * misc/sgtty.h: Likewise.
23592 * misc/sys/mman.h: Likewise.
23593 * misc/sys/syslog.h: Likewise.
23594 * misc/sys/uio.h: Likewise.
23595 * misc/sys/xattr.h: Likewise.
23596 * misc/ttyent.h: Likewise.
23597 * nis/rpcsvc/ypclnt.h: Likewise.
23598 * nss/nss.h: Likewise.
23599 * posix/bits/unistd.h: Likewise.
23600 * posix/fnmatch.h: Likewise.
23601 * posix/glob.h: Likewise.
23602 * posix/sched.h: Likewise.
23603 * posix/spawn.h: Likewise.
23604 * posix/sys/wait.h: Likewise.
23605 * posix/unistd.h: Likewise.
23606 * posix/wordexp.h: Likewise.
23607 * pwd/pwd.h: Likewise.
23608 * resolv/netdb.h: Likewise.
23609 * resource/sys/resource.h: Likewise.
23610 * rt/aio.h: Likewise.
23611 * rt/bits/mqueue2.h: Likewise.
23612 * rt/mqueue.h: Likewise.
23613 * shadow/shadow.h: Likewise.
23614 * signal/signal.h: Likewise.
23615 * socket/send.c: Likewise.
23616 * socket/sendto.c: Likewise.
23617 * socket/sys/socket.h: Likewise.
23618 * stdio-common/printf.h: Likewise.
23619 * stdlib/bits/stdlib.h: Likewise.
23620 * stdlib/fmtmsg.h: Likewise.
23621 * stdlib/monetary.h: Likewise.
23622 * stdlib/stdlib.h: Likewise.
23623 * stdlib/ucontext.h: Likewise.
23624 * streams/stropts.h: Likewise.
23625 * string/argz.h: Likewise.
23626 * string/bits/string2.h: Likewise.
23627 * string/string.h: Likewise.
23628 * string/strings.h: Likewise.
23629 * sunrpc/rpc/auth.h: Likewise.
23630 * sunrpc/rpc/auth_des.h: Likewise.
23631 * sunrpc/rpc/clnt.h: Likewise.
23632 * sunrpc/rpc/netdb.h: Likewise.
23633 * sunrpc/rpc/pmap_clnt.h: Likewise.
23634 * sunrpc/rpc/xdr.h: Likewise.
23635 * sysdeps/generic/inttypes.h: Likewise.
23636 * sysdeps/generic/net/if.h: Likewise.
23637 * sysdeps/generic/sys/swap.h: Likewise.
23638 * sysdeps/gnu/net/if.h: Likewise.
23639 * sysdeps/gnu/utmpx.h: Likewise.
23640 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23641 * sysdeps/i386/i486/bits/string.h: Likewise.
23642 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23643 * sysdeps/s390/bits/string.h: Likewise.
23644 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23645 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23646 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23647 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23648 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23649 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23650 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23651 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23652 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23653 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23654 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23655 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23656 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23657 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23658 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23659 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23660 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23662 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23663 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23664 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23665 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23666 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23667 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23668 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23669 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23670 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23671 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23672 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23673 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23674 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23675 * sysvipc/sys/ipc.h: Likewise.
23676 * sysvipc/sys/msg.h: Likewise.
23677 * sysvipc/sys/sem.h: Likewise.
23678 * sysvipc/sys/shm.h: Likewise.
23679 * termios/termios.h: Likewise.
23680 * time/sys/time.h: Likewise.
23681 * time/time.h: Likewise.
23682 * wcsmbs/bits/wchar2.h: Likewise.
23683 * wcsmbs/uchar.h: Likewise.
23684 * wcsmbs/wchar.h: Likewise.
23685 * wctype/wctype.h: Likewise.
23686
0269750c
UD
23687 [BZ #13551]
23688 * Makeconfig: Remove all but ELF support including AIX support.
23689 * Makerules: Likewise.
23690 * config.h.in: Likewise.
23691 * config.make.in: Likewise.
23692 * configure: Likewise.
23693 * configure.in: Likewise.
23694 * csu/Makefile: Likewise.
23695 * csu/version.c: Likewise.
23696 * debug/Makefile: Likewise.
23697 * dlfcn/Makefile: Likewise.
23698 * elf/Makefile: Likewise.
23699 * extra-lib.mk: Likewise.
23700 * iconv/Makefile: Likewise.
23701 * include/libc-symbols.h: Likewise.
23702 * include/shlib-compat.h: Likewise.
23703 * resolv/Makefile: Likewise.
23704 * resolv/res_libc.c: Likewise.
23705 * rt/Makefile: Likewise.
23706 * sysdeps/i386/asm-syntax.h: Likewise.
23707 * sysdeps/i386/sysdep.h: Likewise.
23708 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23709 * sysdeps/mach/sysdep.h: Likewise.
23710 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23711 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23712 * sysdeps/s390/asm-syntax.h: Likewise.
23713 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23714 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23715 * sysdeps/sh/sysdep.h: Likewise.
23716 * sysdeps/unix/sparc/sysdep.h: Likewise.
23717 * sysdeps/wordsize-32/divdi3.c: Likewise.
23718 * sysdeps/x86_64/sysdep.h: Likewise.
23719
00bbd29b
UD
23720 * argp/Versions: Remove _argp_unlock_xxx.
23721
23722 [BZ #13559]
23723 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23724 * abilist/libBrokenLocale.abilist: Likewise.
23725 * abilist/libanl.abilist: Likewise.
23726 * abilist/libc.abilist: Likewise.
23727 * abilist/libcrypt.abilist: Likewise.
23728 * abilist/libdl.abilist: Likewise.
23729 * abilist/libm.abilist: Likewise.
23730 * abilist/libnsl.abilist: Likewise.
23731 * abilist/libpthread.abilist: Likewise.
23732 * abilist/libresolv.abilist: Likewise.
23733 * abilist/librt.abilist: Likewise.
23734 * abilist/libthread_db.abilist: Likewise.
23735 * abilist/libutil.abilist: Likewise.
23736 * abilist/libnss_db.abilist: New file.
23737
23738 * scripts/abilist.awk: Add support for indirect functions.
23739
a2693a0e
UD
23740 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23741
3f05895f
UD
23742 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23743
ecb6fb48
UD
23744 * shlib-versions: Remove entries for ports architectures.
23745
664f8cb9
UD
23746 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23747 files in ports.
23748 * elf/stackguard-macros.h: Remove support for IA-64.
23749 * elf/tst-auditmod1.c: Likewise.
23750 * sysdeps/generic/ldsodefs.h: Likewise.
23751
7ae81d88
UD
23752 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23753 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23754 configure files.
23755
bdeba135
UD
23756 [BZ #13552]
23757 * configure.in: Remove --enable-omitfp support.
23758 * FAQ.in: Adjust.
23759 * config.make.in: Likewise.
23760 * Makeconfig: Likewise.
23761 * manual/install.texi: Likewise.
23762
d75a0a62
UD
23763 In case anyone cares, the IA-64 architecture could move to ports.
23764 * sysdeps/ia64/*: Removed.
23765 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 23766 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 23767
dcc9756b
UD
23768 [BZ #13555]
23769 * configure.in: Remove entries for unsupported architectures.
23770
d3761ebc 23771 [BZ #13533]
9954432e
UD
23772 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23773 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23774 routines.
23775 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23776 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23777 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23778 fall back to using wcrtomb.
23779 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23780 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23781 renaming.
23782 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23783 * wcsmbs/tst-c16c32-1.c: New file.
23784
23785 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23786 local variable.
23787
c3a87236
UD
23788 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23789
28926a1b
UD
23790 * elf/tst-unique3.cc: Add explicit declaration of gets.
23791 * elf/tst-unique3lib.cc: Likewise.
23792 * elf/tst-unique3lib2.cc: Likewise.
23793 * elf/tst-unique4.cc: Likewise.
23794
df78418a
UD
23795 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23796
8ecd6b2a
JM
237972012-01-06 Joseph Myers <joseph@codesourcery.com>
23798
23799 [BZ #13566]
23800 * assert/assert.h (static_assert): Don't define for C++.
23801 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23802 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23803
9f115170
UD
238042012-01-03 Ulrich Drepper <drepper@gmail.com>
23805
5e0d0300
UD
23806 * iconv/loop.c (single loop): Fix assertion in storing of
23807 remaining bytes.
23808
9f115170
UD
23809 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23810
81fb02b0
UD
238112012-01-01 Ulrich Drepper <drepper@gmail.com>
23812
23813 * posix/getconf.c: Update copyright year.
23814 * nss/getent.c: Likewise.
a316c1f6 23815 * nss/makedb.c: Likewise.
81fb02b0
UD
23816 * iconv/iconvconfig.c: Likewise.
23817 * iconv/iconv_prog.c: Likewise.
23818 * elf/ldconfig.c: Likewise.
a316c1f6
UD
23819 * elf/pldd.c: Likewise.
23820 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
23821 * catgets/gencat.c: Likewise.
23822 * csu/version.c: Likewise.
23823 * elf/ldd.bash.in: Likewise.
23824 * elf/sprof.c (print_version): Likewise.
23825 * locale/programs/locale.c: Likewise.
23826 * locale/programs/localedef.c: Likewise.
a316c1f6 23827 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
23828 * nscd/nscd.c (print_version): Likewise.
23829 * debug/xtrace.sh: Likewise.
23830 * malloc/memusage.sh: Likewise.
23831 * malloc/mtrace.pl: Likewise.
23832 * debug/catchsegv.sh: Likewise.
23833
2ba92745
JJ
238342011-12-30 Jakub Jelinek <jakub@redhat.com>
23835
23836 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23837 pure attribute.
23838
dadebdae
UD
238392011-12-24 Ulrich Drepper <drepper@gmail.com>
23840
d3761ebc 23841 [BZ #13533]
db6af3eb
UD
23842 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23843 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23844 transformations.
23845 * iconv/gconv_int.h: Likewise.
23846 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23847 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23848 from libc for GLIBC_2.16.
23849 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23850 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23851 * wcsmbs/uchar.h: Really define mbstate_t.
23852 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23853 * wcsmbs/c16rtomb.c: New file.
23854 * wcsmbs/mbrtoc16.c: New file.
23855 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23856 for C/POSIX locale.
23857 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23858 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23859
dadebdae
UD
23860 * wcsmbs/wchar.h: Add missing __restrict.
23861
67371b56
UD
238622011-12-23 Ulrich Drepper <drepper@gmail.com>
23863
74033a25
UD
23864 [BZ #13532]
23865 * time/Makefile (routines): Add timespec_get.
23866 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23867 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23868 timespec for ISO C11.
23869 * time/timespec_get.c: New file.
23870 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23871 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23872
380d7e87
UD
23873 [BZ #13531]
23874 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23875 * stdlib/stdlib.h: Declare aligned_alloc.
23876 * Versions.def: Add GLIBC_2.16 for libc.
23877 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23878
4e9e7a35
UD
23879 [BZ 13527]
23880 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23881 ISO C11.
23882
380d7e87 23883 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
23884 code.
23885
03a71829
UD
23886 [BZ #13528]
23887 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23888
839e283e
UD
23889 [BZ #13529]
23890 * assert/assert.h (static_assert): Define.
23891
ce5294e2 23892 * version.h: Update for 2.16 development version.
90fa7312 23893
8d44e150 23894 [BZ #13526]
d7809905
UD
23895 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23896 _ISOC11_SOURCE.
23897
c0da14cd
UD
23898 * version.h (RELEASE): Bump for 2.15 release.
23899 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23900
530a3249
MP
23901 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23902 Patch by Marek Polacek <mpolacek@redhat.com>.
23903
67371b56
UD
23904 * bits/byteswap.h: Protect long long constants with __extension__.
23905 * sysdeps/i386/bits/byteswap.h: Likewise.
23906 * sysdeps/ia64/bits/byteswap.h: Likewise.
23907 * sysdeps/s390/bits/byteswap.h: Likewise.
23908 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23909
15db4de1
LD
239102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23911
23912 [BZ #13540]
bbe315ea
LD
23913 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23914 destination buffer.
15db4de1
LD
23915 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23916
2b2596b1
MP
239172011-12-23 Marek Polacek <polacek@redhat.com>
23918
23919 * elf/dl-addr.c (determine_info): Add inline keyword.
23920 * elf/tst-auditmod4b.c (check_avx): Likewise.
23921 * elf/tst-auditmod6b.c (check_avx): Likewise.
23922 * elf/tst-auditmod6c.c (check_avx): Likewise.
23923 * elf/tst-auditmod7b.c (check_avx): Likewise.
23924
70c6c246
UD
239252011-12-23 Ulrich Drepper <drepper@gmail.com>
23926
23927 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23928 !__SSE_MATH__.
23929
c044cf14
LD
239302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23931
15db4de1 23932 [BZ #13540]
c044cf14
LD
23933 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23934 processing for last bytes.
23935
6b13d9d9
BH
239362011-08-06 Bruno Haible <bruno@clisp.org>
23937
d455f537
BH
23938 [BZ #13061]
23939 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23940 U+0385, not to U+1FEE.
23941
6b13d9d9
BH
23942 [BZ #13062]
23943 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23944 entry for U+00A5 U+0301.
23945
db910efd
UD
239462011-12-22 Ulrich Drepper <drepper@gmail.com>
23947
27deeafc
UD
23948 [BZ #13166]
23949 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23950 buffer for the output is too small.
23951
aed9d171
UD
23952 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23953 optimization.
23954
db910efd
UD
23955 [BZ #13185]
23956 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23957 SSE flags if possible.
23958
2bd779ae
LD
239592011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23960
e7f9dac3 23961 [BZ #13540]
2bd779ae
LD
23962 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23963 processing for last bytes.
23964
154bfc16
JM
239652011-12-22 Joseph Myers <joseph@codesourcery.com>
23966
23967 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23968 (syscall-list-default-options, syscall-list-default-condition)
23969 (syscall-list-includes): Define.
23970 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23971 list of ABIs and options and #if conditions for each ABI. Do not
23972 handle common syscalls between ABIs specially.
23973 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23974 Remove.
23975 (syscall-list-variants, syscall-list-32bit-options)
23976 (syscall-list-32bit-condition, syscall-list-64bit-options)
23977 (syscall-list-64bit-condition): Define.
23978 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23979 (syscall-list-variants, syscall-list-32bit-options)
23980 (syscall-list-32bit-condition, syscall-list-64bit-options)
23981 (syscall-list-64bit-condition): Define.
23982 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23983 Remove.
23984 (syscall-list-variants, syscall-list-32bit-options)
23985 (syscall-list-32bit-condition, syscall-list-64bit-options)
23986 (syscall-list-64bit-condition): Define.
23987 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23988 Remove.
23989 (syscall-list-variants, syscall-list-32bit-options)
23990 (syscall-list-32bit-condition, syscall-list-64bit-options)
23991 (syscall-list-64bit-condition): Define.
23992
21eaf3a5
UD
239932011-12-22 Ulrich Drepper <drepper@gmail.com>
23994
16c6f992
UD
23995 * locale/iso-639.def: Add brx entry.
23996
41043168
UD
23997 [BZ #13328]
23998 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23999 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24000
21eaf3a5
UD
24001 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24002 __feraiseexcept_renamed.
24003
e3a851a2
UD
240042011-12-21 Ulrich Drepper <drepper@gmail.com>
24005
4920765e
UD
24006 [BZ #13538]
24007 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24008 EPOLLET with unsigned values.
24009 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24011
e3a851a2
UD
24012 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24013 to large cancellation.
24014 * math/s_cacoshf.c: Likewise.
24015 * math/s_cacoshl.c: Likewise.
24016
b27e24b8
RK
240172011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24018
24019 [BZ #13305]
aebefeee 24020 [BZ #12786]
b27e24b8
RK
24021 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24022 * math/s_cacoshf.c: Likewise.
24023 * math/s_cacoshl.c: Likewise.
24024
ee190f67
UD
240252011-12-21 Ulrich Drepper <drepper@gmail.com>
24026
24027 [BZ #13439]
24028 * iconv/gconv.h: Define __GCONV_SWAP.
24029 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24030 * iconvdata/utf-16.c: Likewise.
24031 * iconvdata/utf-32.c: Likewise.
24032
707f25df
AS
240332011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24034
24035 [BZ #13524]
24036 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24037 numerator after shifting it by one limb.
24038
d2daaa1e
RÁE
240392011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24040
24041 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24042 under [__USE_EXTERN_INLINES].
24043
a4647e72
UD
240442011-12-17 Ulrich Drepper <drepper@gmail.com>
24045
24046 [BZ #13446]
24047 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24048
f0b264f1
AZ
240492011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24050
24051 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24052 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24053 optimized code.
24054 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24055 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24056 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24057 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24058 for strncasecmp/strncasecmp_l compilation.
24059 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24060 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24061
8ef4f244
MP
240622011-12-08 Marek Polacek <mpolacek@redhat.com>
24063
24064 [BZ #13484]
24065 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24066 of __asm__.
24067
97ac2654
UD
240682011-12-17 Ulrich Drepper <drepper@gmail.com>
24069
24070 [BZ #13506]
24071 * time/tzfile.c (__tzfile_read): Check values from file header.
24072
91d2a845
WS
240732011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24074
24075 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24076 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24077 * powerpc/powerpc32/dl-start.S: Likewise.
24078 * powerpc/powerpc32/elf/start.S: Likewise.
24079 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24080 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24081 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24082 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24083 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24084 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24085 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24086 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24087 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24088 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24089 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24090 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24091 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24092 * powerpc/powerpc32/memset.S: Likewise.
24093 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24094 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24095 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24096 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24097 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24098 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24099 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24100 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24101 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24102 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24103 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24104 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24105 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24106
a1267ba1
AZ
241072011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24108
24109 * math/libm-test.inc: Added more nearbyint tests.
24110 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24111 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24112 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24113 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24114
ad8ac1bd
RL
241152011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24116
24117 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24118 FD_CLOEXEC.
24119
1d3e4b61
UD
241202011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24121
24122 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24123 Add wcscpy-ssse3 wcscpy-c.
24124 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24125 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24126 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24127 * sysdeps/x86_64/wcschr.S: New file.
24128 * sysdeps/x86_64/wcsrchr.S: New file.
24129 * string/test-strcmp.c: Remove checking of wcscmp function for
24130 wrong alignments.
24131 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24132 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24133 wcsrchr-sse2 wcsrchr-c.
24134 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24135 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24136 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24137 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24138 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24139 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24140 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24141 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24142 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24143 * wcsmbc/wcschr.c (WCSCHR): New macro.
24144
5b330a2d
UD
241452011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24146
24147 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24148 * wcsmbs/test-wcsrchr.c: New file.
24149 * string/test-strrchr.c: Add wcsrchr support.
24150 (WIDE): New macro.
24151 * wcsmbs/test-wcscpy.c: New file.
24152 * string/test-strcpy.c: Add wcscpy support.
24153 (WIDE): New macro.
26428b7c 24154
f039c043
UD
241552011-12-10 Ulrich Drepper <drepper@gmail.com>
24156
24157 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24158 the inner loop.
24159
850fb039
AS
241602011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24161
24162 [BZ #13472]
24163 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24164
4efbd5cb
UD
241652011-12-04 Ulrich Drepper <drepper@gmail.com>
24166
52ff5dd0 24167 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24168 Minor optimizations.
52ff5dd0 24169
4efbd5cb
UD
24170 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24171 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24172 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24173
8a426e12
UD
241742011-12-03 Ulrich Drepper <drepper@gmail.com>
24175
aff2453d
UD
24176 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24177 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24178 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24179 for gcc to avoid warnings.
24180 * inet/Makefile (tests): Add tst-checks.
24181 * inet/tst-checks.c: New file.
24182
24183 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24184 warning.
24185
24186 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24187 __wmemcmp_sse2.
24188
24189 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24190 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24191
8a426e12
UD
24192 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24193
9bea3473
UD
241942011-12-02 Ulrich Drepper <drepper@gmail.com>
24195
3a965496
UD
24196 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24197 problem.
24198
9bea3473
UD
24199 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24200
f101631b
UD
242012011-11-29 Joseph Myers <joseph@codesourcery.com>
24202
24203 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24204 conditional on GCC version.
24205 (__arch_compare_and_exchange_val_8_acq)
24206 (__arch_compare_and_exchange_val_16_acq)
24207 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24208 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24209 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24210
a98275aa
UD
242112011-12-02 Joseph Myers <joseph@codesourcery.com>
24212
24213 * sysdeps/sh/backtrace.c: New file.
24214
d4cc29a2
AS
242152011-12-02 Andreas Schwab <schwab@redhat.com>
24216
24217 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24218 parenthesis.
24219
6257af2d
AS
242202011-12-01 Andreas Schwab <schwab@redhat.com>
24221
24222 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24223 falling back to utime.
24224
b5f44c1a
AS
242252011-11-30 Andreas Schwab <schwab@redhat.com>
24226
24227 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24228 expectations for float.
24229
f3a6cc0a
AS
242302011-11-29 Andreas Schwab <schwab@redhat.com>
24231
24232 * locale/weight.h (findidx): Add parameter len.
24233 * locale/weightwc.h (findidx): Likewise.
24234 * posix/fnmatch_loop.c (FCT): Adjust caller.
24235 * posix/regcomp.c (build_equiv_class): Likewise.
24236 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24237 * posix/regexec.c (check_node_accept_bytes): Likewise.
24238 * string/strcoll_l.c (STRCOLL): Likewise.
24239 * string/strxfrm_l.c (STRXFRM): Likewise.
24240
9d65ea3a
UD
242412011-11-17 Ulrich Drepper <drepper@gmail.com>
24242
24243 * Makefile.in: Remove CVSOPT handling.
24244 * configure.in: Remove use of AC_REVISION.
24245 * iconvdata/Makefile (distribute): No need to filter out CVS.
24246 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24247 handling.
24248
5583a086
AS
242492011-11-16 Andreas Schwab <schwab@redhat.com>
24250
24251 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24252 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24253 [USE_AS_STRNCASECMP_L]: Likewise.
24254 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24255 NO_TLS_DIRECT_SEG_REFS.
24256 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24257 Fix argument offsets for non-PIC.
24258 [USE_AS_STRNCASECMP_L]: Likewise.
24259 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24260 NO_TLS_DIRECT_SEG_REFS.
24261
d62a8200
UD
242622011-11-15 Ulrich Drepper <drepper@gmail.com>
24263
9d65ea3a 24264 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24265 O_CLOEXEC.
24266 * locale/loadlocale.c (_nl_load_locale): Likewise.
24267
09f93bd3
AS
242682011-11-15 Andreas Schwab <schwab@redhat.com>
24269
446514f9
AS
24270 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24271 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24272 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24273 (SYSCALL_GETTIME): Set errno on error.
24274
09f93bd3
AS
24275 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24276 count references to noai6ai_cached.
24277
312be3f9
UD
242782011-11-15 Ulrich Drepper <drepper@gmail.com>
24279
24280 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24281
24282 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24283 FD_CLOEXEC for /proc/self/maps.
24284
24285 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24286 FD_CLOEXEC for /proc/meminfo.
24287
24288 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24289 gai.conf.
24290
24291 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24292 FD_CLOEXEC for given file.
24293
24294 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24295
24296 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24297 FD_CLOEXEC for /etc/hosts.
24298 (_gethtent): Likewise.
24299
24300 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24301
24302 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24303 cancellation and set FD_CLOEXEC for /etc/netgroup.
24304
24305 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24306 reading /etc/publickey.
24307
24308 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24309 allow cancellation when reading /etc/group.
24310
24311 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24312 cancellation.
24313 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24314
24315 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24316 when using data file.
24317
24318 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24319
24320 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24321 (write_nis_obj): Use "c" and "e" in fopen.
24322
24323 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24324
24325 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24326
24327 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24328
24329 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24330
24331 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24332 locale.alias.
24333
24334 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24335
24336 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24337
24338 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24339
24340 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24341 file parsing and set FD_CLOEXEC.
24342
82af0fa8
UD
243432011-11-14 Ulrich Drepper <drepper@gmail.com>
24344
24345 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24346
a5fb313c
AS
243472011-11-14 Andreas Schwab <schwab@redhat.com>
24348
24349 * malloc/arena.c (arena_get2): Don't call reused_arena when
24350 _int_new_arena failed.
24351
6abf3465
UD
243522011-11-14 Ulrich Drepper <drepper@gmail.com>
24353
24354 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24355 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24356 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24357 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24358 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24360 to compile strcasecmp and strncasecmp.
24361 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24362 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24363
24364 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24365
76e3966e
UD
243662011-11-13 Ulrich Drepper <drepper@gmail.com>
24367
24368 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24369 locale-defines.sym to gen-as-const-headers.
24370 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24371 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24373 to compile strcasecmp and strncasecmp.
24374 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24375 strcasecmp_l and strncasecmp_l.
24376 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24377 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24378 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24379 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24380 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24381 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24382 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24383 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24384 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24385 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24386 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24387
ab26144e
UD
243882011-11-12 Ulrich Drepper <drepper@gmail.com>
24389
7edb22ef
UD
24390 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24391 result of SYSDEP_GETTIME_CPU to retval.
24392 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24393 parameter list to macro. Remove trailing semicolon. Adjust users.
24394
9694fc44
UD
24395 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24396 variable.
24397
8ad89ef8
UD
24398 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24399 mantissa words.
24400 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24401
0c822ef9
UD
24402 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24403 from unused variable.
24404
874e0564
UD
24405 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24406 DWARF definitions.
24407 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24408 for assembling.
24409
3a2edc79
UD
24410 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24411 over namespaces.
24412
f3c2577f
UD
24413 * sunrpc/rpc_prot.c (rejected): Fix case value.
24414
294ce126
UD
24415 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24416 unsigned long long int to avoid warnings in shift.
24417
5e2b63c6
UD
24418 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24419 of use of trans.
24420 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24421 variable tmp.
24422
e7f4b08e
UD
24423 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24424 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24425 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24426
ab26144e
UD
24427 * nis/nis_table.c (nis_list): Use variable of correct type for
24428 result of __follow_path call.
24429
8a6d5255
AZ
244302011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24431
24432 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24433 of math functions ceil, trunc, floor, round, and sqrt, when
24434 avaliable on the platform.
24435 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24436 name clash.
24437 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24438 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24439 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24440
aaddc98c
MP
244412011-10-30 Marek Polacek <mpolacek@redhat.com>
24442
24443 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24444 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24445
95b7042b
RM
244462011-11-11 Roland McGrath <roland@hack.frob.com>
24447
24448 * include/unistd.h: Fix __readlink return type.
24449 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24450
57769839
UD
244512011-11-11 Ulrich Drepper <drepper@gmail.com>
24452
24453 * stdlib/ucontext.h: Undo last change for makecontext.
24454
edc5984d
AS
244552011-11-11 Andreas Schwab <schwab@redhat.com>
24456
98591e58
AS
24457 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24458
edc5984d
AS
24459 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24460 * setjmp/setjmp.h: Mark functions as non-leaf.
24461 * setjmp/bits/setjmp2.h: Likewise.
24462 * stdlib/ucontext.h: Likewise.
24463
77cdc054
AS
244642011-11-10 Andreas Schwab <schwab@redhat.com>
24465
24466 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24467 (reused_arena): Don't check arena limit.
24468 (arena_get2): Atomically check arena limit.
24469
fe72eebd
UD
244702011-11-08 Ulrich Drepper <drepper@gmail.com>
24471
5f078c32
UD
24472 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24473 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24474
fe72eebd
UD
24475 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24476 instructions.
24477
ae1bc2fa
AS
244782011-11-07 Andreas Schwab <schwab@redhat.com>
24479
7583a88d
AS
24480 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24481 handler when locking.
24482
ae1bc2fa
AS
24483 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24484 Fix size of allocated buffer.
24485
10fb0bfa
AS
244862011-11-04 Andreas Schwab <schwab@redhat.com>
24487
998832a4
AS
24488 [BZ #10103]
24489 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24490 declarations for long double functions.
24491 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24492
10fb0bfa
AS
24493 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24494
3d7ba52b
AS
244952011-11-03 Andreas Schwab <schwab@redhat.com>
24496
a9ae54a1
AS
24497 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24498 installed.
24499
3d7ba52b
AS
24500 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24501 is disabled.
24502
bc8db248
ST
245032011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24504
24505 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24506
45b96dd6
AS
245072011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24508
647776f6
AS
24509 * include/alloca.h (stackinfo_alloca_round): Define.
24510 (extend_alloca): Use it.
24511 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24512 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24513 here.
24514
d91a8b93
AS
24515 * scripts/check-local-headers.sh: Ignore libaudit.h.
24516
45b96dd6
AS
24517 * nscd/Makefile (extra-objs): Make recursively expanded.
24518
432d41ce
UD
245192011-11-01 Ulrich Drepper <drepper@gmail.com>
24520
34372fc6
UD
24521 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24522 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24523
fadb59f8
UD
24524 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24525 * posix/tst-rfc3484-2.c: Likewise.
24526 * posix/tst-rfc3484-3.c: Likewise.
24527
78239589
UD
24528 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24529 process_vm_writev.
24530 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24531 process_vm_writev.
24532 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24533 process_vm_writev from libc using GLIBC_2.15 version.
24534
432d41ce
UD
24535 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24536
02f9c6cf
PP
245372011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24538
24539 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24540 stack usage.
24541
3a2c0242
UD
245422011-10-31 Ulrich Drepper <drepper@gmail.com>
24543
f4ec4833
UD
24544 [BZ #13367]
24545 * nss/getent.c (initgroups_keys): Show error message in case no group
24546 names are given.
24547
3a2c0242
UD
24548 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24549 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24550 __bump_nl_timestamp.
24551 * nscd/connections (nscd_init): When host database is served open
24552 netlink socket and request notification about configuration changes.
24553 (main_loop_poll): Track netlink file descriptor and bump timestamp
24554 in case data becomes available.
24555 (main_loop_epoll): Likewise.
24556 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24557 (database_pers_head): Add extra_data fileds.
24558 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24559 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24560 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24561 Adjust caller.
24562 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24563 in6ai data, call __free_in6ai.
24564 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24565 Add -DHAVE_NETLINK.
24566 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24567 interface information. Reuse previous data if netlink timestamp
24568 is not changed.
24569 (__bump_nl_timestamp): New function.
24570 (__free_in6ai): New function.
24571
636064eb
UD
245722011-10-30 Ulrich Drepper <drepper@gmail.com>
24573
24574 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24575 close_not_cancel_no_status here.
24576 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24577
9beb2334
UD
245782011-10-29 Ulrich Drepper <drepper@gmail.com>
24579
6ef76f3b
UD
24580 [BZ #13276]
24581 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24582 return value.
24583
0ffc4f3e 24584 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
24585 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24586 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24587
cb95113e
UD
245882011-07-03 Andreas Jaeger <aj@suse.de>
24589
24590 [BZ #10709]
24591 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24592 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24593 * math/libm-test.inc (sin_test): Add test case.
24594
a1b560ff
UD
245952011-10-29 Ulrich Drepper <drepper@gmail.com>
24596
c9aaface
UD
24597 [BZ #13337]
24598 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24599 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24600
d272e7f1
UD
24601 * elf/chroot_canon.c (chroot_canon): Cleanups.
24602
1bc33071
UD
24603 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24604
1760874d
TJ
24605 [BZ #13335]
24606 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24607 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24608
51d91b18
UD
24609 * string/test-strchr.c: Make usable for strchrnul testing.
24610 * string/test-strchrnul.c: New file.
24611 * string/Makefile (strop-tests): Add strchrnul.
24612
a1b560ff 24613 * po/it.po: Update from translation team.
b611fb81 24614 * po/es.po: Likewise.
a1b560ff 24615
a5b81e1f
UD
246162011-10-28 Ulrich Drepper <drepper@gmail.com>
24617
fd52bc6d
UD
24618 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24619 the three constants needed as parameters. Drop the others.
24620 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24621 __m128i_strloadu_tolower.
52e4b9eb
UD
24622 Create and initialize variable zero and use it in all the places
24623 where _mm_setzero_si128 was used.
fd52bc6d 24624
a5b81e1f
UD
24625 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24626 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24627 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24628 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24629 anymore.
24630 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24631 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24632 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24633 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24634 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24635 __mpranred, __mptan.
24636 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24637 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24638 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24639 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24640 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24641 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24642 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24643 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24644 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24645
b4343346
AS
246462011-10-28 Andreas Schwab <schwab@redhat.com>
24647
0c92d8a8
AS
24648 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24649 redefine if SHARED.
24650 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24651
b4343346
AS
24652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24653 wide char related routines to wcsmbs subdir.
24654
3871f58f
AS
246552011-10-27 Andreas Schwab <schwab@redhat.com>
24656
24657 [BZ #13344]
24658 * misc/sys/cdefs.h (__THROWNL): Define.
24659 * posix/unistd.h: Use __THREADNL instead of __THREAD
24660 for memory synchronization functions.
24661
94d44d9f
RM
246622011-10-26 Roland McGrath <roland@hack.frob.com>
24663
21b64b15 24664 [BZ #13349]
94d44d9f
RM
24665 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24666 doesn't exist.
24667 * manual/stdio.texi (Obstack Streams): Node removed.
24668
f6ce9294
AS
246692011-10-26 Andreas Schwab <schwab@redhat.com>
24670
80479147
AS
24671 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24672 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24673 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24674
f6ce9294
AS
24675 * math/math_private.h (math_force_eval): Allow non-addressable
24676 arguments.
24677 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24678
618280a1
UD
246792011-10-25 Ulrich Drepper <drepper@gmail.com>
24680
e0016b11
UD
24681 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24682 file is not needed.
24683
24684 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24685 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24686 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24687 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24688 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24689 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24690 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24691 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24692 Add AVX variants.
24693 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24694 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24695 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24696 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24697 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24698 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24699 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24700 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24701 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24702 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24703 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24704 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24705 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24706 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24707 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24708 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24709 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24710 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24711 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24712
24713 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24714 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24715
618280a1
UD
24716 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24717 place. Use VEX encoding when compiling for AVX.
24718
37822576
AS
247192011-10-25 Andreas Schwab <schwab@redhat.com>
24720
1f1e1947
AS
24721 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24722 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24723
37822576
AS
24724 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24725
31ea014d
UD
247262011-10-25 Ulrich Drepper <drepper@gmail.com>
24727
d7826aa1 24728 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 24729 useless if() expression.
d7826aa1
UD
24730 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24731 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24732 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24733 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24734 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24735 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24736 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24737 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24738 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24739 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24740 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24741 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24742 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24743 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24744 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24745 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24746 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24747 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24748 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24749
31ea014d
UD
24750 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24751
16437fec
AS
247522011-10-25 Andreas Schwab <schwab@redhat.com>
24753
24754 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24755 condition.
24756 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24757
31d3cc00
UD
247582011-10-25 Ulrich Drepper <drepper@gmail.com>
24759
24760 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24761 .text section. Avoid duplicate constants.
24762 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24763 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24764 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24766 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24769 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24770 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24771 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24772 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24773 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24774 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24775 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24776 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24777 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24778 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24779 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24780 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24781 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24782 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24783 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24784 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24785 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24786 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24787 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24788 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24789 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24790 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24791 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24792 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24793 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24794 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24795 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24796 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24797 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24798 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24799 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24800 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24801 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24802 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24803 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24804 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24805 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24806 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24807
58985aa9
UD
248082011-10-24 Ulrich Drepper <drepper@gmail.com>
24809
202c9deb
UD
24810 * sysdeps/x86_64/dla.h: Move to ...
24811 * sysdeps/x86_64/fpu/dla.h: ...here.
24812 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24813 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 24814
af968f62
UD
24815 * config.make.in: Add have-mfma4 entry.
24816 * configure.in: Substitute libc_cv_cc_fma4.
24817 * math/Makefile (dbl-only-routines): Add sincostab.
24818 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24819 Use __sincostab not sincos.
24820 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24821 name is a macro.
24822 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24824 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24826 using __copysign.
24827 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24828 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24829 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24830 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24831 and __inv.
24832 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24833 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24834 __copysign.
24835 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24836 define aliases when function name is a macro.
24837 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24838 sysdeps/ieee754/dbl-64/sincos.tbl.
24839 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24840 fma4-enabled routines.
24841 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24842 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24843 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24844 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24845 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24846 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24847 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24848 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24849 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24850 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24851 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24852 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24853 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24854 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24855 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24856 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24857 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24858 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24859 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24860 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24861 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24862 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24863 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24864 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24865 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24866 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24867 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24868 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24869 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24870 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24871
58985aa9
UD
24872 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24873 rename.
24874 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24875 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24878 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24879 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24880 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24882
a201fbcf
AS
248832011-10-24 Andreas Schwab <schwab@redhat.com>
24884
24885 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24886
fc2ee42a
LD
248872011-10-23 Ulrich Drepper <drepper@gmail.com>
24888
bb3129bd
UD
24889 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24890
0275fff8
UD
24891 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24892 prediction.
24893 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24894
2fa2ae85
UD
24895 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24896 Remove unused variable magic_bits.
24897 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24898
fc2ee42a
LD
24899 * string/strnlen.c: Define and use STRNLEN macro.
24900 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24901 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24902 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24903 * wcsmbs/wcslen.c: Define and use WCSLEN.
24904 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24905 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24906 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24907 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24908 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24909 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24910 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24911
ce7dd29f
LD
249122011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24913
24914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24915 strnlen-sse2-no-bsf.
24916 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24918 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24919 Add strnlen support.
24920 (USE_AS_STRNLEN): New macro.
24921 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24922 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24923 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24924 * sysdeps/x86_64/wcslen.S: New file.
24925
979c70a3
MZ
249262011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24927
24928 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24929 XMM-moves are used for copying on small sizes.
24930
2d09f82f
LD
249312011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24932
24933 * wcsmbs/Makefile (strop-tests): Add wcschr.
24934 * wcsmbs/test-wcschr.c: New file.
24935 * string/test-strchr.c: Update.
24936 Add wcschr support.
24937 (WIDE): New macro.
24938
619fccca
LD
249392011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24940
2d09f82f 24941 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
24942 * wcsmbs/test-wcslen.c: New file.
24943 * string/test-strlen.c: Update.
24944 Add wcslen support.
24945 (WIDE): New macro.
24946
09f699ea
UD
249472011-10-23 Ulrich Drepper <drepper@gmail.com>
24948
24949 * po/it.po: Update from translation team.
24950
95584d3b
LD
249512011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24952
24953 * sysdeps/x86_64/wcscmp.S: Update.
24954 Fix wrong comparison semantics.
24955 wcscmp shall use signed comparison not unsigned.
24956 Don't use substraction to avoid overflow bug.
24957 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24958 * wcsmbc/wcscmp.c: Likewise.
24959 * string/test-strcmp.c: Likewise.
24960 Add new tests to check cases with negative values.
24961
c8b3296b
UD
249622011-10-23 Ulrich Drepper <drepper@gmail.com>
24963
24964 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24965 * sysdeps/x86_64/dla.h: ...here. New file.
24966 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24971 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24973 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24975
246ad57a
AS
249762011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24977
24978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24979 __ynl_finite aliases.
24980
a1a87169
UD
249812011-10-22 Ulrich Drepper <drepper@gmail.com>
24982
0d355eb7
UD
24983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24984
a1a87169
UD
24985 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24986 define DLA_FMA.
24987 [DLA_FMA] (EMULV): Use DLA_FMA.
24988 [DLA_FMA] (MUL12): Use EMULV.
24989 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24990 that are not needed.
24991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24995 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24996 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24998
ee2aafe0
AS
249992011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25000
25001 * math/s_nan.c: Undef __nan.
25002 * math/s_nanf.c: Undef __nanf.
25003 * math/s_nanl.c: Undef __nanl.
25004 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25005 "math_private.h".
25006
bc62c2fb
UD
250072011-10-22 Ulrich Drepper <drepper@gmail.com>
25008
77425c63
UD
25009 * math/s_catan.c: Add branch predictions.
25010 * math/s_catanf.c: Likewise.
25011 * math/s_catanh.c: Likewise.
25012 * math/s_catanhf.c: Likewise.
25013 * math/s_catanhl.c: Likewise.
25014 * math/s_catanl.c: Likewise.
25015 * math/s_cexp.c: Likewise.
25016 * math/s_cexpf.c: Likewise.
25017 * math/s_cexpl.c: Likewise.
25018 * math/s_clog.c: Likewise.
25019 * math/s_clog10.c: Likewise.
25020 * math/s_clog10f.c: Likewise.
25021 * math/s_clog10l.c: Likewise.
25022 * math/s_clogf.c: Likewise.
25023 * math/s_clogl.c: Likewise.
25024 * math/s_csqrt.c: Likewise.
25025 * math/s_csqrtf.c: Likewise.
25026 * math/s_csqrtl.c: Likewise.
25027 * math/s_ctanf.c: Likewise.
25028 * math/s_ctanh.c: Likewise.
25029 * math/s_ctanhf.c: Likewise.
25030 * math/s_ctanhl.c: Likewise.
25031 * math/s_ctanl.c: Likewise.
25032
bc62c2fb
UD
25033 * math/math_private.h: Define __nan, __nanf, __nanl.
25034 * math/s_cacosh.c: Include <math_private.h>.
25035 * math/s_cacoshl.c: Likewise.
25036 * math/s_casinh.c: Likewise.
25037 * math/s_casinhf.c: Likewise.
25038 * math/s_casinhl.c: Likewise.
25039 * math/s_ccos.c: Rely entire on ccosh.
25040 * math/s_ccosf.c: Rely entire on ccoshf.
25041 * math/s_ccosl.c: Rely entirely on ccoshl.
25042 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25043 Remove tests for FE_INVALID.
25044 * math/s_ccoshf.c: Likewise.
25045 * math/s_ccoshl.c: Likewise.
25046 * math/s_csin.c: Likewise.
25047 * math/s_csinf.c: Likewise.
25048 * math/s_csinh.c Likewise.
25049 * math/s_csinhf.c: Likewise.
25050 * math/s_csinhl.c: Likewise.
25051 * math/s_csinl.c: Likewise.
25052 * math/s_ctan.c: Likewise.
25053 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25054 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25055 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25056
8ec250a4
UD
250572011-10-21 Ulrich Drepper <drepper@gmail.com>
25058
c196fed8
UD
25059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25060 compilation problems.
25061
8ec250a4
UD
25062 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25063 __builtin_expect.
25064
8d4f46c6
UD
250652011-10-20 Ulrich Drepper <drepper@gmail.com>
25066
ed72b654
UD
25067 * sysdeps/i386/configure.in: Test for -mfma4 option.
25068 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25069 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25070 COMMON_CPUID_INDEX_80000001.
25071 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25072 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25073 use it if FMA3 is not supported.
25074 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25075
8d4f46c6
UD
25076 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25077 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25078
d45c60c2
AS
250792011-10-20 Andreas Schwab <schwab@redhat.com>
25080
25081 [BZ #12892]
25082 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25083 it would create a cycle with a link time dependency.
25084
d9a4d2ab
UD
250852011-10-19 Ulrich Drepper <drepper@gmail.com>
25086
855d1560
UD
25087 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25088 instruction.
25089 * string/Makefile (strop-tests): Add rawmemchr.
25090 * string/test-rawmemchr.c: New file.
25091
d9a4d2ab
UD
25092 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25093 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25094 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25095 when compiling str{,n}casecmp and when AVX is available. Hook up
25096 new optimized code in initializers.
25097
8f3b1ffe
AS
250982011-10-19 Andreas Schwab <schwab@redhat.com>
25099
25100 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25101 __feraiseexcept instead of feraiseexcept.
25102
d38f1dba
UD
251032011-10-18 Ulrich Drepper <drepper@gmail.com>
25104
d9a8d0ab
UD
25105 * math/math_private.h: Define defaults for libc_fetestexcept and
25106 libc_feupdateenv.
25107 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25108 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25109 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25110 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25111 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25112 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25113 libc_fetestexcept and libc_feupdateenv.
25114
4855e3dd
UD
25115 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25116 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25117 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25118 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25119 libc_feholdexcept_setround.
25120
581d30e3
UD
25121 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25122 Add s_nearbyint-c and s_nearbyintf-c.
25123 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25124 nearbyintf inlines.
25125 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25126 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25127 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25128 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25129
d38f1dba
UD
25130 * math/math_private.h: Define defaults for libc_fegetround,
25131 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25132 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25133 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25134 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25135 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25136 standard functions.
25137 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25138 Remove comments and hacks for old compiler versions.
25139 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25140 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25141 libc_feholdexceptl.
25142
caa6c9d8
AS
251432011-10-18 Andreas Schwab <schwab@redhat.com>
25144
25145 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
25146 (__feraiseexcept_renamed): Add __NTH.
25147 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
25148 namespace violations.
25149
97c066e6
UD
251502011-10-17 Ulrich Drepper <drepper@gmail.com>
25151
99ce7b04
UD
25152 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25153
1004d182
UD
25154 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25155
228a984d
UD
25156 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25157 recently added interfaces.
25158 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25159
c8553a6a
UD
25160 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25161 about macro parameter expansion.
25162
ed22dcf6
UD
25163 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25164 __NO_MATH_INLINES is defined. Cleanups.
25165
25166 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25167 and __floorf is target has SSE4.1.
25168 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25169 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25170 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25171 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25172
b171c137
UD
25173 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25174 name.
25175 (floorf): Likewise.
25176
97c066e6
UD
25177 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25178
629f62ef
AS
251792011-10-17 Andreas Schwab <schwab@redhat.com>
25180
49a43d80
AS
25181 * misc/sys/cdefs.h: Fix last change.
25182
629f62ef
AS
25183 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25184 database lookup.
25185
e453f6cd
UD
251862011-10-16 Ulrich Drepper <drepper@gmail.com>
25187
aa78043a
UD
25188 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25189
ad0f5cad
UD
25190 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25191 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25192 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25193 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25194 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25195 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25196 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25197 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25198 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25199 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25200 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25201 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25202 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25203 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25204 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25205 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25206 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25207 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25208 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25209 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25210 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25211 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25212
25213 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25214 ceil, ceilf, floor, floorf.
25215
25216 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25217 Perform IRELATIVE relocations last.
25218
e453f6cd
UD
25219 * elf/do-rel.h: Add another parameter nrelative, replacing the
25220 local variable with the same name. Change name of the function
25221 to end in Rel or Rela (uppercase).
25222 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25223 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25224 elf_dynamic_do_##reloc function.
25225
fd5bdc09
UD
252262011-10-15 Ulrich Drepper <drepper@gmail.com>
25227
79b195b5
UD
25228 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25229 is sufficient, at least on modern CPUs.
25230
d4a28569
UD
25231 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25232
b61099b5
UD
25233 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25234 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25235
bcf01e6d
UD
25236 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25237 __expl_finite.
25238 * math/bits/math-finite.h: Add entries for exp.
25239 * math/e_expl.c: Add __*_finite alias.
25240 * sysdeps/i386/fpu/e_exp.S: Likewise.
25241 * sysdeps/i386/fpu/e_expf.S: Likewise.
25242 * sysdeps/i386/fpu/e_expl.c: Likewise.
25243 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25244 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25245 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25246 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25247 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25248 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25249 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25250
ba1a0d59
UD
25251 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25252 is sufficient, at least on modern CPUs.
25253
fd5bdc09
UD
25254 * ctype/ctype-info.c (__ctype_init): Define.
25255 * include/ctype.h (__ctype_init): Declare.
25256 (__ctype_b_loc): The variable is always initialized.
25257 (__ctype_toupper_loc): Likewise.
25258 (__ctype_tolower_loc): Likewise.
25259 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25260 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25261
7872cfb0
AS
252622011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25263
b468825a
AS
25264 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25265
7872cfb0
AS
25266 * configure.in: Also look in $cxxmachine/include for C++ system
25267 headers.
25268
be13f7bf
LD
252692011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25270
25271 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25272 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25273 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25274 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25275 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25276 (USE_AS_WMEMCMP): New macro.
25277 Fixing indents.
25278 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25279 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25280 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25281 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25283 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25284 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25285 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25286 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25287 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25288 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25289 (USE_AS_WMEMCMP): New macro.
25290 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25291 * sysdeps/string/test-memcmp.c: Update.
25292 Fix simple_wmemcmp.
25293 Add new tests.
25294 * wcsmbs/wmemcmp.c: Update.
25295 (WMEMCMP): New macro.
25296 Fix overflow bug.
25297
556a2007
AJ
252982011-10-12 Andreas Jaeger <aj@suse.de>
25299
25300 [BZ #13268]
25301 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25302
538faaa7
UD
253032011-10-15 Ulrich Drepper <drepper@gmail.com>
25304
ab6737ff
UD
25305 * libio/iofwide.c (do_length): Avoid warning.
25306
538faaa7
UD
25307 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25308
396a21b1
UD
253092011-10-14 Ulrich Drepper <drepper@gmail.com>
25310
cdf2901f
UD
25311 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25312
38ad40ce
UD
25313 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25314 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25315 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25316 * sysdeps/i386/i686/fpu/e_log.S: New file.
25317 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25318 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25319
396a21b1
UD
25320 * ctype/ctype.h: Add support for inlined isXXX functions when
25321 compiling C++ code.
25322
6b1f68c9
AS
253232011-10-14 Andreas Schwab <schwab@redhat.com>
25324
349290c0
AS
25325 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25326
6b1f68c9
AS
25327 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25328
f2282d42
RM
253292011-10-13 Roland McGrath <roland@hack.frob.com>
25330
25331 [BZ #13291]
25332 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25333
5298ffa8
AS
253342011-10-13 Andreas Schwab <schwab@redhat.com>
25335
714fad23
AS
25336 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25337 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25338 feraiseexcept.
25339
81dcc7fb
AS
25340 * sysdeps/x86_64/memrchr.S: Check for zero size.
25341
5298ffa8
AS
25342 * string/stratcliff.c: Add memrchr tests.
25343
951fbcec
LD
253442011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25345
25346 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25347 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25348 rawmemchr-sse2 rawmemchr-sse2-bsf.
25349 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25350 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25351 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25352 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25353 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25354 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25355 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25356 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25357 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25358 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25359 * string/memrchr.c (MEMRCHR): New macro.
25360
0ac5ae23
UD
253612011-10-12 Ulrich Drepper <drepper@gmail.com>
25362
25363 Add integration with gcc's -ffinite-math-only and optimize wrapper
25364 functions in libm.
25365 * Versions.def: Define GLIBC_2.15 version for libm.
25366 * math/Makefile (headers): Add bits/math-finite.h.
25367 * math/bits/math-finite.h: New file.
25368 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25369 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25370 * math/e_acoshl.c: Add __*_finite alias.
25371 * math/e_acosl.c: Likewise.
25372 * math/e_asinl.c: Likewise.
25373 * math/e_atan2l.c: Likewise.
25374 * math/e_atanhl.c: Likewise.
25375 * math/e_coshl.c: Likewise.
25376 * math/e_exp10.c: Likewise.
25377 * math/e_exp10f.c: Likewise.
25378 * math/e_exp10l.c: Likewise.
25379 * math/e_exp2l.c: Likewise.
25380 * math/e_fmodl.c: Likewise.
25381 * math/e_gammal_r.c: Likewise.
25382 * math/e_hypotl.c: Likewise.
25383 * math/e_j0l.c: Likewise.
25384 * math/e_j1l.c: Likewise.
25385 * math/e_jnl.c: Likewise.
25386 * math/e_lgammal_r.c: Likewise.
25387 * math/e_log10l.c: Likewise.
25388 * math/e_log2l.c: Likewise.
25389 * math/e_logl.c: Likewise.
25390 * math/e_powl.c: Likewise.
25391 * math/e_sinhl.c: Likewise.
25392 * math/e_sqrtl.c: Likewise.
25393 * math/e_scalb.c: Completely rewritten and optimized.
25394 * math/e_scalbf.c: Likewise.
25395 * math/e_scalbl.c: Likewise.
25396 * math/w_acos.c: Likewise.
25397 * math/w_acosf.c: Likewise.
25398 * math/w_acosl.c: Likewise.
25399 * math/w_acosh.c: Likewise.
25400 * math/w_acoshf.c: Likewise.
25401 * math/w_acoshl.c: Likewise.
25402 * math/w_asin.c: Likewise.
25403 * math/w_asinf.c: Likewise.
25404 * math/w_asinl.c: Likewise.
25405 * math/w_atan2.c: Likewise.
25406 * math/w_atan2f.c: Likewise.
25407 * math/w_atan2l.c: Likewise.
25408 * math/w_atanh.c: Likewise.
25409 * math/w_atanhf.c: Likewise.
25410 * math/w_atanhl.c: Likewise.
25411 * math/w_exp10.c: Likewise.
25412 * math/w_exp10f.c: Likewise.
25413 * math/w_exp10l.c: Likewise.
25414 * math/w_fmod.c: Likewise.
25415 * math/w_fmodf.c: Likewise.
25416 * math/w_fmodl.c: Likewise.
25417 * math/w_j0.c: Likewise.
25418 * math/w_j0f.c: Likewise.
25419 * math/w_j0l.c: Likewise.
25420 * math/w_j1.c: Likewise.
25421 * math/w_j1f.c: Likewise.
25422 * math/w_j1l.c: Likewise.
25423 * math/w_jn.c: Likewise.
25424 * math/w_jnf.c: Likewise.
25425 * math/w_log.c: Likewise.
25426 * math/w_logf.c: Likewise.
25427 * math/w_logl.c: Likewise.
25428 * math/w_log10.c: Likewise.
25429 * math/w_log10f.c: Likewise.
25430 * math/w_log10l.c: Likewise.
25431 * math/w_log2.c: Likewise.
25432 * math/w_log2f.c: Likewise.
25433 * math/w_log2l.c: Likewise.
25434 * math/w_pow.c: Likewise.
25435 * math/w_powf.c: Likewise.
25436 * math/w_powl.c: Likewise.
25437 * math/w_remainder.c: Likewise.
25438 * math/w_remainderf.c: Likewise.
25439 * math/w_remainderl.c: Likewise.
25440 * math/w_scalb.c: Likewise.
25441 * math/w_scalbf.c: Likewise.
25442 * math/w_scalbl.c: Likewise.
25443 * math/w_sqrt.c: Likewise.
25444 * math/w_sqrtf.c: Likewise.
25445 * math/w_sqrtl.c: Likewise.
25446 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25447 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25448 used.
25449 * math/math_private.h: Declare __kernel_standard_f.
25450 * math/w_cosh.c: Remove cruft and optimize a bit.
25451 * math/w_coshf.c: Likewise.
25452 * math/w_coshl.c: Likewise.
25453 * math/w_exp2.c: Likewise.
25454 * math/w_exp2f.c: Likewise.
25455 * math/w_exp2l.c: Likewise.
25456 * math/w_hypot.c: Likewise.
25457 * math/w_hypotf.c: Likewise.
25458 * math/w_hypotl.c: Likewise.
25459 * math/w_lgamma.c: Likewise.
25460 * math/w_lgamma_r.c: Likewise.
25461 * math/w_lgammaf.c: Likewise.
25462 * math/w_lgammaf_r.c: Likewise.
25463 * math/w_lgammal.c: Likewise.
25464 * math/w_lgammal_r.c: Likewise.
25465 * math/w_sinh.c: Likewise.
25466 * math/w_sinhf.c: Likewise.
25467 * math/w_sinhl.c: Likewise.
25468 * math/w_tgamma.c: Likewise.
25469 * math/w_tgammaf.c: Likewise.
25470 * math/w_tgammal.c: Likewise.
25471 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25472 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25473 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25474 Minor optimizations. Pretty printing. Remove cruft.
25475 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25476 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25477 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25478 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25479 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25480 * sysdeps/i386/fpu/e_asin.S: Likewise.
25481 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25482 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25483 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25484 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25485 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25486 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25487 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25488 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25489 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25490 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25491 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25492 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25493 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25494 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25495 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25496 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25497 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25498 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25499 * sysdeps/i386/fpu/e_log.S: Likewise.
25500 * sysdeps/i386/fpu/e_log10.S: Likewise.
25501 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25502 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25503 * sysdeps/i386/fpu/e_log2.S: Likewise.
25504 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25505 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25506 * sysdeps/i386/fpu/e_logf.S: Likewise.
25507 * sysdeps/i386/fpu/e_logl.S: Likewise.
25508 * sysdeps/i386/fpu/e_pow.S: Likewise.
25509 * sysdeps/i386/fpu/e_powf.S: Likewise.
25510 * sysdeps/i386/fpu/e_powl.S: Likewise.
25511 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25512 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25513 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25514 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25515 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25516 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25517 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25518 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25519 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25528 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25530 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25531 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25533 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25534 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25536 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25537 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25538 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25539 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25540 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25541 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25542 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25543 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25544 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25545 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25546 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25547 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25548 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25549 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25550 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25551 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25552 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25553 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25554 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25555 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25556 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25557 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25558 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25559 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25560 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25561 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25562 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25566 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25570 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25572 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25575 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25576 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25577 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25583 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25585 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25588 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25589 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25591 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25592 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25593 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25600 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25601 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25602 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25603 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25605 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25606 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25608 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25611 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25612 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25613 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25614 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25615 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25616 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25617 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25618 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25619 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25620 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25621 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25622 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25623 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25624 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25625 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25626 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25627 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25628 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25629 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25630 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25631 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25632 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25633 (__isnanf): Likewise.
25634 (__isinf_ns): Likewise.
25635 (__isinf_nsf): Likewise.
25636 (__finite): Likewise.
25637 (__finitef): Likewise.
25638 (__ieee754_sqrt): Define as macro.
25639 (__ieee754_sqrtf): Define as macro.
25640 (__ieee754_sqrtl): Define as macro.
25641 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25642 inlined copy.
25643 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25644 __FINITE_MATH_ONLY__ consistent.
25645 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25646
12cc2fcd
AS
256472011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25648
a843a204
AS
25649 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25650 of rawmemchr.
25651
12cc2fcd
AS
25652 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25653
c853acd5
UD
256542011-10-09 Ulrich Drepper <drepper@gmail.com>
25655
25656 * po/ja.po: Update from translation team.
25657
c658d255
RM
256582011-10-08 Roland McGrath <roland@hack.frob.com>
25659
110946e4
RM
25660 * locale/programs/locarchive.c (prepare_address_space): New function.
25661 (create_archive, enlarge_archive, open_archive): Use it.
25662
50604220
RM
25663 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25664 inside [SHARED], where it is used.
25665
c658d255
RM
25666 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25667
25668 * nss/getent.c (netgroup_keys): Remove unused variable.
25669 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25670
6a621eb7
UD
256712011-10-08 Ulrich Drepper <drepper@gmail.com>
25672
7edb55ce
UD
25673 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25674 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25675 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25676 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25677 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25678 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25679 * math/Makefile (libm-calls): Add s_isinf_ns.
25680 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25681 * math/multc3.c: Likewise.
25682 * math/s_casin.c: Likewise.
25683 * math/s_casinf.c: Likewise.
25684 * math/s_casinl.c: Likewise.
25685 * math/s_ccos.c: Likewise.
25686 * math/s_ccosf.c: Likewise.
25687 * math/s_ccosl.c: Likewise.
25688 * math/s_ctan.c: Likewise.
25689 * math/s_ctanf.c: Likewise.
25690 * math/s_ctanh.c: Likewise.
25691 * math/s_ctanhf.c: Likewise.
25692 * math/s_ctanhl.c: Likewise.
25693 * math/s_ctanl.c: Likewise.
25694 * math/w_fmod.c: Likewise.
25695 * math/w_fmodf.c: Likewise.
25696 * math/w_fmodl.c: Likewise.
25697 * math/w_remainder.c: Likewise.
25698 * math/w_remainderf.c: Likewise.
25699 * math/w_remainderl.c: Likewise.
25700 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25701 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25702 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25704 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25705 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25706 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25707 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25708
187da0ae
UD
25709 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25710 of the number.
25711 * stdio-common/printf_fphex.c: Likewise.
25712 * stdio-common/printf_size.c: Likewise.
25713
9277c064
UD
25714 * math/e_exp10.c: Include math_private.h using <...> not "...".
25715 * math/e_exp10f.c: Likewise.
25716 * math/e_exp10l.c: Likewise.
25717 * math/e_exp2l.c: Likewise.
25718 * math/e_j0l.c: Likewise.
25719 * math/e_j1l.c: Likewise.
25720 * math/e_jnl.c: Likewise.
25721 * math/e_lgammal_r.c: Likewise.
25722 * math/e_rem_pio2l.c: Likewise.
25723 * math/e_scalb.c: Likewise.
25724 * math/e_scalbf.c: Likewise.
25725 * math/e_scalbl.c: Likewise.
25726 * math/k_cosl.c: Likewise.
25727 * math/k_sinl.c: Likewise.
25728 * math/k_tanl.c: Likewise.
25729 * math/s_cacoshf.c: Likewise.
25730 * math/s_catan.c: Likewise.
25731 * math/s_catanf.c: Likewise.
25732 * math/s_catanh.c: Likewise.
25733 * math/s_catanhf.c: Likewise.
25734 * math/s_catanhl.c: Likewise.
25735 * math/s_catanl.c: Likewise.
25736 * math/s_ccosh.c: Likewise.
25737 * math/s_ccoshf.c: Likewise.
25738 * math/s_ccoshl.c: Likewise.
25739 * math/s_cexp.c: Likewise.
25740 * math/s_cexpf.c: Likewise.
25741 * math/s_cexpl.c: Likewise.
25742 * math/s_clog.c: Likewise.
25743 * math/s_clog10.c: Likewise.
25744 * math/s_clog10f.c: Likewise.
25745 * math/s_clog10l.c: Likewise.
25746 * math/s_clogf.c: Likewise.
25747 * math/s_clogl.c: Likewise.
25748 * math/s_csin.c: Likewise.
25749 * math/s_csinf.c: Likewise.
25750 * math/s_csinh.c: Likewise.
25751 * math/s_csinhf.c: Likewise.
25752 * math/s_csinhl.c: Likewise.
25753 * math/s_csinl.c: Likewise.
25754 * math/s_csqrt.c: Likewise.
25755 * math/s_csqrtf.c: Likewise.
25756 * math/s_csqrtl.c: Likewise.
25757 * math/s_ctan.c: Likewise.
25758 * math/s_ctanf.c: Likewise.
25759 * math/s_ctanh.c: Likewise.
25760 * math/s_ctanhf.c: Likewise.
25761 * math/s_ctanhl.c: Likewise.
25762 * math/s_ctanl.c: Likewise.
25763 * math/s_ldexp.c: Likewise.
25764 * math/s_ldexpf.c: Likewise.
25765 * math/s_ldexpl.c: Likewise.
25766 * math/s_significand.c: Likewise.
25767 * math/s_significandf.c: Likewise.
25768 * math/s_significandl.c: Likewise.
25769 * math/w_acos.c: Likewise.
25770 * math/w_acosf.c: Likewise.
25771 * math/w_acosh.c: Likewise.
25772 * math/w_acoshf.c: Likewise.
25773 * math/w_acoshl.c: Likewise.
25774 * math/w_acosl.c: Likewise.
25775 * math/w_asin.c: Likewise.
25776 * math/w_asinf.c: Likewise.
25777 * math/w_asinl.c: Likewise.
25778 * math/w_atan2.c: Likewise.
25779 * math/w_atan2f.c: Likewise.
25780 * math/w_atan2l.c: Likewise.
25781 * math/w_atanh.c: Likewise.
25782 * math/w_atanhf.c: Likewise.
25783 * math/w_atanhl.c: Likewise.
25784 * math/w_cosh.c: Likewise.
25785 * math/w_coshf.c: Likewise.
25786 * math/w_coshl.c: Likewise.
25787 * math/w_dremf.c: Likewise.
25788 * math/w_exp10.c: Likewise.
25789 * math/w_exp10f.c: Likewise.
25790 * math/w_exp10l.c: Likewise.
25791 * math/w_exp2.c: Likewise.
25792 * math/w_exp2f.c: Likewise.
25793 * math/w_fmod.c: Likewise.
25794 * math/w_fmodf.c: Likewise.
25795 * math/w_fmodl.c: Likewise.
25796 * math/w_hypot.c: Likewise.
25797 * math/w_hypotf.c: Likewise.
25798 * math/w_hypotl.c: Likewise.
25799 * math/w_j0.c: Likewise.
25800 * math/w_j0f.c: Likewise.
25801 * math/w_j0l.c: Likewise.
25802 * math/w_j1.c: Likewise.
25803 * math/w_j1f.c: Likewise.
25804 * math/w_j1l.c: Likewise.
25805 * math/w_jn.c: Likewise.
25806 * math/w_jnf.c: Likewise.
25807 * math/w_jnl.c: Likewise.
25808 * math/w_lgamma.c: Likewise.
25809 * math/w_lgamma_r.c: Likewise.
25810 * math/w_lgammaf.c: Likewise.
25811 * math/w_lgammaf_r.c: Likewise.
25812 * math/w_lgammal.c: Likewise.
25813 * math/w_lgammal_r.c: Likewise.
25814 * math/w_log.c: Likewise.
25815 * math/w_log10.c: Likewise.
25816 * math/w_log10f.c: Likewise.
25817 * math/w_log10l.c: Likewise.
25818 * math/w_log2.c: Likewise.
25819 * math/w_log2f.c: Likewise.
25820 * math/w_log2l.c: Likewise.
25821 * math/w_logf.c: Likewise.
25822 * math/w_logl.c: Likewise.
25823 * math/w_pow.c: Likewise.
25824 * math/w_powf.c: Likewise.
25825 * math/w_powl.c: Likewise.
25826 * math/w_remainder.c: Likewise.
25827 * math/w_remainderf.c: Likewise.
25828 * math/w_remainderl.c: Likewise.
25829 * math/w_scalb.c: Likewise.
25830 * math/w_scalbf.c: Likewise.
25831 * math/w_scalbl.c: Likewise.
25832 * math/w_sinh.c: Likewise.
25833 * math/w_sinhf.c: Likewise.
25834 * math/w_sinhl.c: Likewise.
25835 * math/w_sqrt.c: Likewise.
25836 * math/w_sqrtf.c: Likewise.
25837 * math/w_sqrtl.c: Likewise.
25838 * math/w_tgamma.c: Likewise.
25839 * math/w_tgammaf.c: Likewise.
25840 * math/w_tgammal.c: Likewise.
25841
6a621eb7
UD
25842 * po/ja.po: Update from translation team.
25843
bf582445
AJ
258442011-09-29 Andreas Jaeger <aj@suse.de>
25845
f9efbf3a
AJ
25846 [BZ #13179]
25847 * sunrpc/netname.c (netname2host): Fix logic.
25848
bf582445
AJ
25849 [BZ #6779]
25850 [BZ #6783]
25851 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25852 correctly.
25853 * math/w_remainder.c (__remainder): Likewise.
25854 * math/w_remainderf.c (__remainderf): Likewise.
25855 * math/libm-test.inc (remainder_test): Add test cases.
25856
48693bea
AK
258572011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25858
25859 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25860 sdiv_qrnnd.
25861
42622229
LD
258622011-10-07 Ulrich Drepper <drepper@gmail.com>
25863
25864 * string/test-memcmp.c: Avoid unncessary #defines.
25865 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25866
093ecf92
LD
258672011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25868
25869 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25870 Use new sse2 version for core i3 - i7 as it's faster
25871 than sse42 version.
25872 (bit_Prefer_PMINUB_for_stringop): New.
25873 * sysdeps/x86_64/rawmemchr.S: Update.
25874 Replace with faster SSE2 version.
25875 * sysdeps/x86_64/memrchr.S: New file.
25876 * sysdeps/x86_64/memchr.S: Update.
25877 Replace with faster SSE2 version.
25878
fde56e5c
MP
258792011-09-12 Marek Polacek <mpolacek@redhat.com>
25880
25881 * elf/dl-load.c (lose): Add cast to avoid warning.
25882
21fd49a9
UD
258832011-10-07 Ulrich Drepper <drepper@gmail.com>
25884
5a06e643
UD
25885 * po/ca.po: Update from translation team.
25886
684ae515
UD
25887 * inet/getnetgrent_r.c: Hook up nscd.
25888 * nscd/Makefile (routines): Add nscd_netgroup.
25889 (nscd-modules): Add netgroupcache.
25890 (CFLAGS-netgroupcache.c): Define.
25891 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25892 (cache_search): Add const to second parameter.
25893 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25894 INNETGR.
25895 (dbs): Add netgrdb entry.
25896 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25897 (verify_persistent_db): Handle netgrdb.
25898 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25899 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25900 GETFDNETGR.
25901 (netgroup_response_header): Define.
25902 (innetgroup_response_header): Define.
25903 (datahead): Add netgroup_response_header and innetgroup_response_header
25904 elements.
25905 * nscd/nscd.conf: Add entries for netgroup cache.
25906 * nscd/nscd.h (dbtype): Add netgrdb.
25907 (_PATH_NSCD_NETGROUP_DB): Define.
25908 (netgroup_iov_disabled): Declare.
25909 (xmalloc, xcalloc, xrealloc): Move declarations here.
25910 (cache_search): Adjust prototype.
25911 Add netgroup-related prototypes.
25912 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25913 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25914 (__nscd_innetgr): Declare.
25915 * nscd/selinux.c (perms): Use access_vector_t as element type and
25916 add netgroup-related initializers.
25917 * nscd/netgroupcache.c: New file.
25918 * nscd/nscd_netgroup.c: New file.
25919 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25920 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25921 For four parameters use innetgr.
25922 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25923 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25924 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25925 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25926
21fd49a9
UD
25927 * nscd/connections.c (register_traced_file): Don't register file
25928 for disabled databases.
25929
054c0457
UD
259302011-10-06 Ulrich Drepper <drepper@gmail.com>
25931
32b63198
UD
25932 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25933
054c0457
UD
25934 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25935 from tree and freeing node.
25936
64031225
JO
259372011-09-25 Jiri Olsa <jolsa@redhat.com>
25938
25939 * nss/nsswitch.c (__nss_database_lookup): Handle
25940 nss_parse_service_list out of memory case.
25941
0490345c
JO
259422011-09-15 Jiri Olsa <jolsa@redhat.com>
25943
25944 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25945 out of memory case.
25946
3a62d00d
AS
259472011-10-04 Andreas Schwab <schwab@redhat.com>
25948
25949 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25950 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25951 pass it down.
25952 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25953 elf_machine_rela, elf_machine_lazy_rel.
25954 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25955 (ELF_DYNAMIC_DO_REL): Likewise.
25956 (ELF_DYNAMIC_DO_RELA): Likewise.
25957 (ELF_DYNAMIC_RELOCATE): Likewise.
25958 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25959 to ELF_DYNAMIC_DO_REL.
25960 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25961 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25962 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25963 elf_machine_rela.
25964 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25965 skip_ifunc, don't call ifunc function if non-zero.
25966 (elf_machine_rela): Likewise.
25967 (elf_machine_lazy_rel): Likewise.
25968 (elf_machine_lazy_rela): Likewise.
25969 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25970 (elf_machine_lazy_rel): Likewise.
25971 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25972 Likewise.
25973 (elf_machine_lazy_rel): Likewise.
25974 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25975 Likewise.
25976 (elf_machine_lazy_rel): Likewise.
25977 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25978 (elf_machine_lazy_rel): Likewise.
25979 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25980 (elf_machine_lazy_rel): Likewise.
25981 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25982 (elf_machine_lazy_rel): Likewise.
25983 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25984 (elf_machine_lazy_rel): Likewise.
25985 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25986 (elf_machine_lazy_rel): Likewise.
25987 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25988 (elf_machine_lazy_rel): Likewise.
25989
68577918
UD
259902011-09-28 Ulrich Drepper <drepper@gmail.com>
25991
25992 * nss/nss_files/files-init.c (_nss_files_init): Use static
25993 initialization for all the *_traced_file variables.
25994
68822d74
AS
259952011-09-28 Andreas Schwab <schwab@redhat.com>
25996
25997 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25998
2056100b
RM
259992011-09-27 Roland McGrath <roland@hack.frob.com>
26000
26001 [BZ #13226]
26002 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26003
32c76b63
AS
260042011-09-27 Andreas Schwab <schwab@redhat.com>
26005
26006 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26007 Reread the line before reparsing it.
26008
bf972c9d
AS
260092011-09-26 Andreas Schwab <schwab@redhat.com>
26010
26011 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26012
e057a1b5
JM
260132011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26014 Maxim Kuvyrkov <maxim@codesourcery.com>
26015 Joseph Myers <joseph@codesourcery.com>
26016
26017 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26018 if needed for __stack_chk_guard.
26019
bc7e1c36
RM
260202011-09-19 Roland McGrath <roland@hack.frob.com>
26021
ecb1482f
RM
26022 * sysdeps/posix/spawni.c (script_execute): Always define it.
26023 It will be optimized away if unused.
26024 (maybe_script_execute): New function.
26025 (__spawni): Call it.
26026
bc7e1c36
RM
26027 * Makerules: Don't include tls.make.
26028 (config-tls): Always set to thread.
26029 * tls.make.c: File removed.
26030
1c3b002b
MF
260312011-09-19 Mike Frysinger <vapier@gentoo.org>
26032
26033 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26034 * config.make.in (CPPFLAGS-config): New substituted variable.
26035
2840865d
UD
260362011-09-15 Ulrich Drepper <drepper@gmail.com>
26037
88738eb6
UD
26038 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26039
cbf645a6 26040 [BZ #13192]
2840865d
UD
26041 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26042 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26043
b402e91a
RM
260442011-09-15 Roland McGrath <roland@hack.frob.com>
26045
26046 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26047 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26048 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26049 (CALL_FAIL): Likewise.
26050 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26051 (CALL_FAIL): Macro removed.
26052 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26053
4c1a1f71
UD
260542011-09-15 Ulrich Drepper <drepper@gmail.com>
26055
26056 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26057 for __FINITE_MATH_ONLY__ == 1.
26058
edc121be
AS
260592011-09-15 Andreas Schwab <schwab@redhat.com>
26060
26061 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26062 __ieee754_sqrt instead of sqrt.
26063 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26064 __ieee754_sqrtf instead of sqrtf.
26065 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26066 __floorf instead of floorf.
26067 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26068 __floorf, __truncf instead of floorf, truncf.
26069
cd205654
UD
260702011-09-14 Ulrich Drepper <drepper@gmail.com>
26071
ee4d0315
UD
26072 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26073
cd205654
UD
26074 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26075 __extern_always_inline.
26076 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26077 32-bit.
26078
48b67d71
AS
260792011-09-14 Andreas Schwab <schwab@redhat.com>
26080
26081 * elf/rtld.c (dl_main): Also relocate in dependency order when
26082 doing symbol dependency testing.
26083
1ae12c75
AS
260842011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26085
26086 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26087 Always define `refsym'.
26088
995a80df
AS
260892011-09-13 Andreas Schwab <schwab@redhat.com>
26090
e529793b
AS
26091 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26092 (__FD_ELT): Renamed from __FDELT.
26093 * misc/bits/select2.h (__FD_ELT): Likewise.
26094 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26095 __FD_MASK instead of __FDELT, __FDMASK.
26096 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26097 Likewise.
26098 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26099 Likewise.
26100
52d4fef8
AS
26101 * elf/Makefile (gen-ldd): Fix pattern.
26102
995a80df
AS
26103 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26104 (init_tls): Likewise.
26105
8682f8b0
UD
261062011-09-12 Ulrich Drepper <drepper@gmail.com>
26107
26108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26109
de82006d
AS
261102011-09-12 Andreas Schwab <schwab@redhat.com>
26111
a7c8e6a1
AS
26112 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26113 `struct cmsghdr *' instead of `void *'.
26114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26115 Likewise.
26116
0f31fe77
AS
261172011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26118
26119 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26120 if non-absolute.
26121 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26122 ldd_rewrite_script.
0f31fe77 26123
32b4c839
UD
261242011-09-11 Ulrich Drepper <drepper@gmail.com>
26125
83cd1420
UD
26126 * configure.in: Remove --with-tls option.
26127 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26128 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26129 out in case it is missing.
26130 * sysdeps/ia64/elf/configure.in: Likewise.
26131 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26132 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26133 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26134 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26135 * sysdeps/sh/elf/configure.in: Likewise.
26136 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26137 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26138 * sysdeps/x86_64/elf/configure.in: Likewise.
26139 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26140 * sysdeps/mach/hurd/tls.h: Likewise.
26141
633f745d
UD
26142 [BZ #13067]
26143 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26144
f318beb8
UD
26145 [BZ #13090]
26146 * configure.in: Fix use of AC_INIT.
26147
32b4c839
UD
26148 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26149
3ce1f295
UD
261502011-09-10 Ulrich Drepper <drepper@gmail.com>
26151
bb016596
UD
26152 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26153 __set_errno.
8e58439c
UD
26154 * malloc/hooks.c: Likewise.
26155
aebae053 26156 [BZ #11929]
02d46fc4
UD
26157 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26158 variables statically.
26159 (narenas): Initialize.
26160 (list_lock): Initialize.
bb016596
UD
26161 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26162 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
26163 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26164 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26165 Add initializers to main_arena and mp_.
26166 (malloc_state): Remove pagesize member. Change all users to use
26167 GLRO(dl_pagesize).
26168
26169 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26170 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26171 is always initialized.
26172
22a89187
UD
26173 * malloc/malloc.c: Removed unused configurations and dead code.
26174 * malloc/arena.c: Likewise.
26175 * malloc/hooks.c: Likewise.
02d46fc4 26176 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26177
d063d164
UD
26178 * include/tls.h: Removed. USE___THREAD must always be defined.
26179 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26180 * elf/dl-libc.c: Likewise.
26181 * elf/dl-tsd.c: Likewise.
26182 * include/errno.h: Likewise.
26183 * include/netdb.h: Likewise.
26184 * include/resolv.h: Likewise.
26185 * inet/herrno-loc.c: Likewise.
26186 * inet/herrno.c: Likewise.
26187 * malloc/arena.c: Likewise.
26188 * malloc/hooks.c: Likewise.
26189 * malloc/malloc.c: Likewise.
26190 * resolv/res-state.c: Likewise.
26191 * resolv/res_libc.c: Likewise.
26192 * sysdeps/i386/dl-machine.h: Likewise.
26193 * sysdeps/ia64/dl-machine.h: Likewise.
26194 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26195 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26196 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26197 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26198 * sysdeps/sh/dl-machine.h: Likewise.
26199 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26200 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26201 * sysdeps/unix/i386/sysdep.S: Likewise.
26202 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26203 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26204 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26205 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26206 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26207 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26208 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26210 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26212 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26213 * sysdeps/x86_64/dl-machine.h: Likewise.
26214 * tls.make.c: Likewise.
26215
3ce1f295
UD
26216 * configure.in: Remove --with-__thread option. Make tests for
26217 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26218 tls_model attribute fail if no support is available. Remove
26219 USE_IN_LIBIO.
26220 * Makeconfig: Adjust for dropped configure option. All features are
26221 now mandatory.
26222 * Makerules: Likewise.
26223 * Versions.def: Likewise.
26224 * argp/argp-fmtstream.c: Likewise.
26225 * argp/argp-fmtstream.h: Likewise.
26226 * argp/argp-help.c: Likewise.
26227 * assert/assert.c: Likewise.
26228 * config.h.in: Likewise.
26229 * config.make.in: Likewise.
26230 * configure: Likewise.
26231 * configure.in: Likewise.
26232 * csu/Versions: Likewise.
26233 * csu/init.c: Likewise.
26234 * elf/tst-audit2.c: Likewise.
26235 * elf/tst-tls10.c: Likewise.
26236 * elf/tst-tls10.h: Likewise.
26237 * elf/tst-tls11.c: Likewise.
26238 * elf/tst-tls12.c: Likewise.
26239 * elf/tst-tls14.c: Likewise.
26240 * elf/tst-tlsmod11.c: Likewise.
26241 * elf/tst-tlsmod12.c: Likewise.
26242 * elf/tst-tlsmod13.c: Likewise.
26243 * elf/tst-tlsmod13a.c: Likewise.
26244 * elf/tst-tlsmod14a.c: Likewise.
26245 * elf/tst-tlsmod15b.c: Likewise.
26246 * elf/tst-tlsmod16a.c: Likewise.
26247 * elf/tst-tlsmod16b.c: Likewise.
26248 * elf/tst-tlsmod7.c: Likewise.
26249 * elf/tst-tlsmod8.c: Likewise.
26250 * elf/tst-tlsmod9.c: Likewise.
26251 * gmon/gmon.c: Likewise.
26252 * grp/fgetgrent_r.c: Likewise.
26253 * grp/putgrent.c: Likewise.
26254 * hurd/fopenport.c: Likewise.
26255 * include/libc-symbols.h: Likewise.
26256 * include/tls.h: Likewise.
26257 * intl/gettextP.h: Likewise.
26258 * intl/loadinfo.h: Likewise.
26259 * locale/global-locale.c: Likewise.
26260 * locale/localeinfo.h: Likewise.
26261 * mach/devstream.c: Likewise.
26262 * malloc/arena.c: Likewise.
26263 * malloc/set-freeres.c: Likewise.
26264 * misc/err.c: Likewise.
26265 * misc/getttyent.c: Likewise.
26266 * misc/mntent_r.c: Likewise.
26267 * posix/getopt.c: Likewise.
26268 * posix/wordexp.c: Likewise.
26269 * pwd/fgetpwent_r.c: Likewise.
26270 * resolv/Versions: Likewise.
26271 * resolv/res_hconf.c: Likewise.
26272 * shadow/fgetspent_r.c: Likewise.
26273 * shadow/putspent.c: Likewise.
26274 * stdio-common/printf_fphex.c: Likewise.
26275 * stdio-common/tmpfile.c: Likewise.
26276 * stdlib/abort.c: Likewise.
26277 * stdlib/fmtmsg.c: Likewise.
26278 * sunrpc/auth_unix.c: Likewise.
26279 * sunrpc/clnt_perr.c: Likewise.
26280 * sunrpc/clnt_tcp.c: Likewise.
26281 * sunrpc/clnt_udp.c: Likewise.
26282 * sunrpc/clnt_unix.c: Likewise.
26283 * sunrpc/openchild.c: Likewise.
26284 * sunrpc/svc_simple.c: Likewise.
26285 * sunrpc/svc_tcp.c: Likewise.
26286 * sunrpc/svc_udp.c: Likewise.
26287 * sunrpc/svc_unix.c: Likewise.
26288 * sunrpc/xdr.c: Likewise.
26289 * sunrpc/xdr_array.c: Likewise.
26290 * sunrpc/xdr_rec.c: Likewise.
26291 * sunrpc/xdr_ref.c: Likewise.
26292 * sunrpc/xdr_stdio.c: Likewise.
26293
1248c1c4
PB
262942011-09-09 Ulrich Drepper <drepper@gmail.com>
26295
26296 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26297
262982011-07-03 Andreas Jaeger <aj@suse.de>
26299
26300 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26301 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26302 regenerate with gen-libm-tests.pl.
26303
263042010-05-12 Petr Baudis <pasky@suse.cz>
26305
26306 [BZ #11589]
26307 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26308 around j0() zero points by switching to j1().
26309 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26313
f22e1074
UD
263142011-09-09 Ulrich Drepper <drepper@gmail.com>
26315
f19009c1
UD
26316 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26317 instead of 0.
26318 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26319 instead of 0.
f19009c1
UD
26320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26321 Patch in part by Pavel Roskin <proski@gnu.org>.
26322
3f8cc204
UD
26323 [BZ #13138]
26324 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26325 realloc.
26326 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26327 Free memory block if necessary.
26328
f22e1074
UD
26329 [BZ #12847]
26330 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26331 be NULL. Don't lock in this case.
26332
0a2349f9
RM
263332011-09-09 Roland McGrath <roland@hack.frob.com>
26334
26335 * elf/elf.h (ELFOSABI_GNU): New macro.
26336 (ELFOSABI_LINUX): Define to that.
26337
f3cdd467
DZ
263382011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26339
26340 * string/strncat.c (strncat): Undef the symbol in case it has been
26341 defined in bits/string.h.
26342
74718d13
UD
263432011-09-09 Ulrich Drepper <drepper@gmail.com>
26344
633e9e0f
UD
26345 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26346
0a2349f9 26347 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26348 link map.
26349
f9924780
AJ
263502011-08-17 Andreas Jaeger <aj@suse.de>
26351
26352 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26353
7f5517aa
PP
263542011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26355 Ian Lance Taylor <iant@google.com>
26356
26357 * math/libm-test.inc (lround_test): New testcase.
26358 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26359
762011fe
UD
263602011-09-08 Ulrich Drepper <drepper@gmail.com>
26361
92963737
UD
26362 * Makefile: Remove support for automatic cvs check-ins.
26363 * Makerules: Likewise.
26364 * config.make.in: Likewise.
26365 * configure.in: Likewise.
26366 * intl/Makefile: Likewise.
26367 * locale/Makefile: Likewise.
26368 * po/Makefile: Likewise.
26369 * posix/Makefile: Likewise.
26370 * sysdeps/gnu/Makefile: Likewise.
26371 * sysdeps/mach/hurd/Makefile: Likewise.
26372 * sysdeps/sparc/sparc32/Makefile: Likewise.
26373
b0727fd8
JS
26374 [BZ #13118]
26375 * posix/Makefile (bug-regex32-ENV): Define.
26376 Patch by John Stanley <jpsinthemix@verizon.net>.
26377
a0f33f99
UD
26378 * misc/Makefile (headers): Add bits/select2.h.
26379 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26380 * misc/bits/select2.h: New file.
26381 * include/bits/select2.h: New file.
26382 * debug/Makefile (routines): Add fdelt_chk.
26383 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26384 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26385 FD_ISSET.
26386 * debug/fdelt_chk.c: New file.
26387
762011fe
UD
26388 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26389 * wcsmbs/test-wmemcmp.c: Likewise.
26390 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 26391 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
26392
263932011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26394
26395 * string/Makefile (strop-tests): Add memcmp.
26396 * string/test-wmemcmp.c: New file.
26397 * string/test-memcmp.c: Add wmemcmp support.
26398
7f513ec8
RM
263992011-09-08 Roland McGrath <roland@hack.frob.com>
26400
0442afb4
RM
26401 [BZ #13153]
26402 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26403 2011-07-19 change.
26404
7f513ec8
RM
26405 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26406 garbage value in a __mach_port_mod_refs call in the cases of the
26407 task-self and thread-self ports.
26408
a12b2239
ST
264092011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26410
26411 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26412
610f9ab4
AS
264132011-09-08 Andreas Schwab <schwab@redhat.com>
26414
7f513ec8 26415 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 26416
48882a1a
LD
264172011-09-07 Ulrich Drepper <drepper@gmail.com>
26418
b49865be
UD
26419 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26420
fdc86bc9
UD
26421 * elf/dl-libc.c (dlerror_run): Pass back error code from
26422 dl_catch_error.
26423
c966526a
UD
26424 [BZ #13123]
26425 * elf/dl-load.c (lose): Free l_origin if it is valid.
26426
48882a1a
LD
26427 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26428 names.
26429 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26430 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26431 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26432 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26433 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26434 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26435
77a2a8b4
AZ
264362011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26437
26438 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26439 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26440 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26441 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26442 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26443 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26444 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26445 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26446 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26447 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26448
24f579d8
AM
264492011-08-15 Alan Modra <amodra@gmail.com>
26450
26451 [BZ #13092]
26452 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26453 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26454 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26455 ppc_mcount to static-only-routines.
26456 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26457 __mcount_internal.
26458 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26459 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26460
3d4837df
UD
264612011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26462
26463 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26464 for finite and infinity parameters.
26465
22700377
WS
264662011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26467
26468 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26469 and add nop instructions for throughput optimization.
26470 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26471
5025581e
WS
264722011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26473
26474 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26475 aligned copy for power7 with vector-scalar instructions.
26476 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26477
08a300c9
L
264782011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26479
26480 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26481 AVX check.
26482
59178ef9
AS
264832011-09-07 Andreas Schwab <schwab@redhat.com>
26484
26485 [BZ #13144]
26486 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26487 last change.
26488
e38ba7ab
UD
264892011-09-07 Ulrich Drepper <drepper@gmail.com>
26490
26491 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26492 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26493 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26494 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26495 clock_gettime.
26496
d53a73ac
UD
264972011-09-06 Ulrich Drepper <drepper@gmail.com>
26498
fc8bffcc
UD
26499 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26500 Forgot to demangle the pointer.
26501
ceaa0c5d
UD
26502 * sysdeps/i386/sysdep.h: Define atom_text_section.
26503 * sysdeps/x86_64/sysdep.h: Likewise.
26504 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26505 section with atom_text_section.
26506 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26507 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26508 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26509 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26510 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26511
a77d3c17
UD
26512 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26513 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26514 already be defined. Change to take two parameters and don't assign
26515 result to variable. Adjust all users.
26516 Define INTERNAL_GETTIME if not already defined.
26517 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26518 call.
26519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26520 HAVE_CLOCK_GETTIME_VSYSCALL.
26521 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26522
d53a73ac
UD
26523 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26524 gettimeofday vsyscall, just use time.
26525
a8f84144
AS
265262011-09-06 Andreas Schwab <schwab@redhat.com>
26527
26528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26529 <errno.h>.
26530
ef606249
UD
265312011-09-06 Ulrich Drepper <drepper@gmail.com>
26532
26533 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26534 syscall on x86-64.
26535 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26536 syscall.
26537 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26538 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26539 syscall if possible.
26540
6585cb60
UD
265412011-09-05 Ulrich Drepper <drepper@gmail.com>
26542
26543 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26544 e_ident. Don't pass to find_mapsXX.
26545 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26546
a5f524e4
LD
265472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26548
26549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26550 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26551 * sysdeps/x86_64/multiarch/strchr.S: Update.
26552 Check bit_slow_BSF bit.
26553 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26554 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26555 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26556
554881ef
UD
265572011-09-05 Ulrich Drepper <drepper@gmail.com>
26558
d96de963
UD
26559 [BZ #13134]
26560 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26561 before glibc 2.15.
26562 (tryshell): Define.
26563 (__spawni): Change last parameter to be flag. Test
26564 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26565 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26566 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26567 * posix/spawni.c: Likewise.
26568 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26569 * posix/spawnp.c: Likewise. Change normal version to use
26570 SPAWN_XFLAGS_USE_PATH.
26571 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26572 SPAWN_XFLAGS_TRY_SHELL.
26573
d48e5868
UD
26574 [BZ #13150]
26575 * posix/glob.h: Remove gcc 1.x support.
26576
554881ef
UD
26577 [BZ #13068]
26578 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26579
693fb948
LD
265802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26581
26582 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26583 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26584 strrchr-sse2-bsf
26585 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26586 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26587 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26588 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26589 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26590 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26591
1b48c537
UD
265922011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26593
49d42c37
UD
26594 * sysdeps/x86_64/wcscmp.S: New file.
26595
1b48c537
UD
26596 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26597 wcscmp-c wcscmp-sse2
26598 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26599 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26600 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26601 * wcsmbs/wcscmp.c: Allow renaming.
26602
15c95c5d
DM
266032011-09-05 David S. Miller <davem@davemloft.net>
26604
26605 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26606 stack slot, rather than the struct return pointer slot.
26607 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26608 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26610 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26611
2f0ad8f3
UD
266122011-09-05 Ulrich Drepper <drepper@gmail.com>
26613
d88ae418
UD
26614 * po/ja.po: Update from translation team.
26615
2f0ad8f3
UD
26616 [BZ #13144]
26617 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26618 kernel in 64-bit binaries.
26619
5f4318d1
DM
266202011-09-01 David S. Miller <davem@davemloft.net>
26621
26622 * elf/elf.h (HWCAP_SPARC_*): Move to..
26623 * sysdeps/sparc/sysdep.h: this new file and add new values.
26624 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26625 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26626 _DL_HWCAP_COUNT to 24.
26627 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26628 entries.
26629 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26630 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26631 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26633 instead of magic constants.
26634 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26635
3ba57516
DM
266362011-08-31 David S. Miller <davem@davemloft.net>
26637
26638 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26639 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26640 Reimplement to do errno handling inline.
26641 (SYSCALL_ERROR_HANDLER): New macro.
26642 (__SYSCALL_STRING): Do not do errno handling in asm.
26643 (__CLONE_SYSCALL_STRING): Delete.
26644 (__INTERNAL_SYSCALL_STRING): Delete.
26645 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26646 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26647 (PSEUDO): Reimplement to do errno handling inline.
26648 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26649 (SYSCALL_ERROR_HANDLER): New macro.
26650 (__SYSCALL_STRING): Do not do errno handling in asm.
26651 (__CLONE_SYSCALL_STRING): Delete.
26652 (__INTERNAL_SYSCALL_STRING): Delete.
26653 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26654 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26655 i386.
26656 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26657 (inline_syscall*): Add 'err' argument.
26658 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26659 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26660 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26661 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26662
26663 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26664 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26665
2bc17433
AS
266662011-08-30 Andreas Schwab <schwab@redhat.com>
26667
26668 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26669
fbeb5f4d
JO
266702011-08-29 Jiri Olsa <jolsa@redhat.com>
26671
26672 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26673 directive.
26674
ad69cc26
DM
266752011-08-24 David S. Miller <davem@davemloft.net>
26676
26677 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26678
39dd69df
AS
266792011-08-24 Andreas Schwab <schwab@redhat.com>
26680
26681 * elf/Makefile: Add rules to build and run unload8 test.
26682 * elf/unload8.c: New file.
26683 * elf/unload8mod1.c: New file.
26684 * elf/unload8mod1x.c: New file.
26685 * elf/unload8mod2.c: New file.
26686 * elf/unload8mod3.c: New file.
26687
26688 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26689 it wasn't used.
26690
2c0b250a
DM
266912011-08-23 David S. Miller <davem@davemloft.net>
26692
26693 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26694 subtract stack bias.
26695 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26696 %sp not %fp in calculations.
26697 (_JMPBUF_UNWINDS_ADJ): Likewise.
26698
22044b48
DM
26699 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26700 (aio_suspend): Call it to force an exception region around the
26701 AIO_MISC_WAIT() invocation.
26702
2cae4995
AS
267032011-08-23 Andreas Schwab <schwab@redhat.com>
26704
26705 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26706 backslash.
26707
873a772e
AJ
267082011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26709
26710 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26711 protection macro.
26712 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26713 and <dl-machine.h>.
26714 (Elf64_FuncDesc): Remove.
26715
25ad0df1
DM
267162011-08-22 David S. Miller <davem@davemloft.net>
26717
26718 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26719 sigaltstack check, add missing cfi directives.
26720 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26721 missing cfi directives, and sigaltstack handling.
26722
e888bcbe
AS
267232011-08-16 Andreas Schwab <schwab@redhat.com>
26724
26725 [BZ #11724]
26726 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26727 object is seen twice.
26728 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26729
26730 * elf/Makefile (distribute): Add tst-initorder2.c.
26731 (tests): Add tst-initorder2.
26732 (modules-names): Add tst-initorder2a tst-initorder2b
26733 tst-initorder2c tst-initorder2d. Add rules to build them.
26734 ($(objpfx)tst-initorder2.out): New rule.
26735 * elf/tst-initorder2.c: New file.
26736 * elf/tst-initorder2.exp: New file.
26737
87162f46
AS
267382011-08-22 Andreas Schwab <schwab@redhat.com>
26739
70538b7f
AS
26740 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26741
f55ffe58
AS
26742 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26743 dependencies back to end of function.
26744
87162f46
AS
26745 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26746 $(elfobjdir)/ld.so.
26747
91b392a4
UD
267482011-08-21 Ulrich Drepper <drepper@gmail.com>
26749
26750 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26751 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26752 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26753 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26754 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26755 of __vdso_gettimeofday.
26756 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26757 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26758 attribute_hidden.
26759 (_libc_vdso_platform_setup): Remove initialization of
26760 __vdso_gettimeofday and __vdso_time.
26761
5c43483f
UD
267622011-08-20 Ulrich Drepper <drepper@gmail.com>
26763
775a77e7
UD
26764 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26765 and fgetc_unlocked.
26766 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26767 getc_unlocked.
89f447ed 26768
49c74ba9
UD
26769 * elf/dl-open.c (add_to_global): Report additions to the global scope
26770 for LD_DEBUG=scopes.
26771 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 26772 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 26773
5c43483f
UD
26774 [BZ #13114]
26775 * stdio-common/Makefile (tests): Add bug24.
26776 * stdio-common/bug24.c: New file.
26777
a101b025
AJ
267782011-08-19 Andreas Jaeger <aj@suse.de>
26779
26780 [BZ #13114]
26781 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26782 non-existant file when using close-on-exec mode.
26783
c88f1766
UD
267842011-08-20 Ulrich Drepper <drepper@gmail.com>
26785
0276a718
UD
26786 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26787 the very first instruction.
26788
c88f1766
UD
26789 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26790 the CFI state in the end.
26791 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26792 inclusion of dl-trampoline.h.
26793 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26794
51ccffa0
AS
267952011-08-19 Andreas Schwab <schwab@redhat.com>
26796
94d7165f
AS
26797 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26798 expectations for long double.
26799
51ccffa0
AS
26800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26801 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26802
fd708658 268032011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
26804
26805 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26806 artificual limit depends upon the system page size.
26807
44f0a71e
UD
268082011-08-17 Ulrich Drepper <drepper@gmail.com>
26809
26810 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26811 * resolv/Makefile: Define CFLAGS-libresolv.
26812
8de79a24
AS
268132011-08-17 Andreas Schwab <schwab@redhat.com>
26814
26815 * nss/makedb.c (compute_tables): Make variables used in nested
26816 function static.
26817
27724598
UD
268182011-08-17 Ulrich Drepper <drepper@gmail.com>
26819
c5305d88
UD
26820 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26821 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26822 if buffer was too small.
26823
27724598
UD
26824 * elf/pldd.c (main): Attach to all threads in the process.
26825 Rewrite /proc handling to use *at functions.
26826
076fe015
UD
268272011-08-16 Ulrich Drepper <drepper@gmail.com>
26828
174baab3
UD
26829 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26830 specifies first scope to show.
26831 (dl_open_worker): Update callers. Move printing scope of new
26832 object to before the relocation.
44f0a71e 26833 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
26834 * sysdeps/generic/ldsodefs.h: Update declaration.
26835
076fe015
UD
26836 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26837 string for the scope number.
26838
a60df2c3
UD
268392011-08-14 Ulrich Drepper <drepper@gmail.com>
26840
26841 * nscd/servicescache.c (cache_addserv): Make sure written is always
26842 initialized.
26843
5e4287d1
RM
268442011-08-14 Roland McGrath <roland@hack.frob.com>
26845
85ae0589
RM
26846 * sysdeps/i386/i486/bits/atomic.h
26847 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26848 statement expression, so as to suppress "set but not used" warning.
26849 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26850
69f63097
RM
26851 * string/strncat.c (STRNCAT): Use prototype definition.
26852
675456ef
RM
26853 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26854 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26855 -Iprograms here.
26856 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26857 (localedef-modules): Add localedef.
26858 (locale-modules): Add locale.
26859
5e4287d1
RM
26860 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26861 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26862 to avoid a warning.
26863
9c96ff23
DM
268642011-08-14 David S. Miller <davem@davemloft.net>
26865
26866 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26867 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26868
f9ddf089
UD
268692011-08-13 Ulrich Drepper <drepper@gmail.com>
26870
44f0a71e 26871 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
26872 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26873 * elf/rtld.c (dl_main): Set l_name of vDSO.
26874 Call _dl_show_scope when DL_DEBUG_SCOPES.
26875 (process_dl_debug): Recognize scopes flag and also set it for all.
26876 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26877 Declare _dl_show_scope.
26878
1dc27704
UD
26879 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26880 (do_dlopen): Pass caller_dlopen to dl_open.
26881 (__libc_dlopen_mode): Initialize caller_dlopen.
26882
f9ddf089
UD
26883 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26884 of libc. Make tolower call locale-independent. Optimize a bit by
26885 using isdigit instead of isalnum.
26886 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26887
9ac533d3
UD
268882011-08-12 Ulrich Drepper <drepper@gmail.com>
26889
26890 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26891 was a dependency or dynamically loaded.
26892
89edf2e9
UD
268932011-08-11 Ulrich Drepper <drepper@gmail.com>
26894
8e999d29
UD
26895 * intl/l10nflist.c: Allow architecture-specific pop function.
26896 * sysdeps/x86_64/l10nflist.c: New file.
26897
89edf2e9
UD
26898 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26899 classification.
26900
14d96785
AS
269012011-08-10 Andreas Schwab <schwab@redhat.com>
26902
26903 * include/dirent.h: Add libc_hidden_proto for scandirat and
26904 scandirat64. Don't declare __scandirat64.
26905 * dirent/scandirat.c: Add libc_hidden_def.
26906 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26907 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26908
6761ac04
DM
269092011-08-10 David S. Miller <davem@davemloft.net>
26910
26911 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26912 enum.
26913 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26914 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26915 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26916
c55fbd1e
UD
269172011-08-09 Ulrich Drepper <drepper@gmail.com>
26918
26919 * Versions.def [libc]: Add GLIBC_2.15.
26920 * dirent/Makefile (routines): Add scandirat and scandirat64.
26921 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26922 GLIBC_2.15.
26923 * dirent/dirent.h: Declare scandirat and scandirat64.
26924 * dirent/scandirat.c: New file.
26925 * dirent/scandirat64.c: New file.
26926 * sysdeps/wordsize-64/scandirat.c: New file.
26927 * sysdeps/wordsize-64/scandirat64.c: New file.
26928 * dirent/opendir.c: Define opendirat.
26929 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26930 using scandirat.
26931 * dirent/scandir64.c: Adjust for scandir.c change.
26932 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26933 __scandirat64, and __scandir_cancel_handler.
26934 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26935 additional parameter and use openat instead of open (outside of ld.so).
26936 Add new __opendir as wrapper around __opendirat.
26937 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26938 here without requiring old scandirat implementation.
26939
879165f2
UD
269402011-08-08 Ulrich Drepper <drepper@gmail.com>
26941
26942 * dirent/scandir.c (cancel_handler): Renamed to
26943 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26944 defined. Adjust users.
26945 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26946 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26947
cb7e923b
UD
269482011-08-04 Ulrich Drepper <drepper@gmail.com>
26949
16292edd
UD
26950 * string/test-string.h (IMPL): Use __STRING to expand name and then
26951 stringify it.
26952
cb7e923b
UD
26953 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26954 of cleanups.
26955
cff82933
LD
269562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26957
26958 * string/Makefile: Update.
26959 (strop-tests): Append strncat.
26960 * string/test-wcscmp.c: New file.
26961 New comprehensive test for wcscmp.
26962 * string/test-strcmp.c: Update.
26963 (WIDE): New define.
26964
9be9bfcc
AS
269652011-07-22 Andreas Schwab <schwab@redhat.com>
26966
26967 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26968 line.
26969
2e96f1c7
AS
269702011-07-26 Andreas Schwab <schwab@redhat.com>
26971
26972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26973 encoding to ACE if AI_IDN.
26974
85188888
JJ
269752011-08-01 Jakub Jelinek <jakub@redhat.com>
26976
26977 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26978 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26979
5fa16e9b
LD
269802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26981
26982 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26983 Fix overflow bug in strncat.
26984 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26985
26986 * string/test-strncat.c: Update.
26987 Add new tests for checking overflow bugs.
26988
269892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26990
26991 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26992 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26993 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26994 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26995 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26996 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26997 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26998 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26999 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27000
27001 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27002 (USE_AS_STRCAT): Define.
27003 Add strcat and strncat support.
27004 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27005
8c1a459f
AS
270062011-07-25 Andreas Schwab <schwab@redhat.com>
27007
27008 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27009 __n bigger than INT_MAX+1.
27010 (__strncmp_g): Likewise.
27011
bba33c28
UD
270122011-07-23 Ulrich Drepper <drepper@gmail.com>
27013
798be72d
UD
27014 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27015 * libio/stido.h: Likewise.
27016
8accd4dc
UD
27017 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27018 (AF_NFC): Define.
27019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27020 (AF_NFC): Define.
27021
cbff0d96
UD
27022 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27023 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27024 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27025 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27026 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27027
9191c04a
UD
27028 [BZ #13021]
27029 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27030 installed.
27031
bba33c28
UD
27032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27033 typo.
27034 (_dl_x86_64_save_sse): Likewise.
27035
90f139dd
UD
270362011-07-22 Ulrich Drepper <drepper@gmail.com>
27037
1aae088a
UD
27038 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27039 OSXSAVE.
27040 (_dl_x86_64_save_sse): Likewise.
27041
8e2045f5
UD
27042 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27043
90f139dd
UD
27044 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27045
1d002f25
AS
270462011-07-21 Andreas Schwab <schwab@redhat.com>
27047
27048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27049 change.
27050 (_dl_x86_64_save_sse): Use correct AVX check.
27051
21137f89
UD
270522011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27053
27054 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27055 bug in strncpy/strncat.
27056 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27057
a65c0b7a
UD
270582011-07-21 Ulrich Drepper <drepper@gmail.com>
27059
27060 * string/tester.c (test_strcat): Add tests for different alignments
27061 of source and destination.
27062 (test_strncat): Likewise.
27063
6986b98a
UD
270642011-07-20 Ulrich Drepper <drepper@gmail.com>
27065
90bb2039
UD
27066 [BZ #12852]
27067 * posix/glob.c (glob): Check passed in values before using them in
27068 expressions to avoid some overflows.
27069 (glob_in_dir): Likewise.
27070
5644ef54
UD
27071 [BZ #13007]
27072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27073 check for AVX enablement so that we don't crash with old kernels and
27074 new hardware.
27075 * elf/tst-audit4.c: Add same checks here.
27076 * elf/tst-audit6.c: Likewise.
27077
27078 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 27079
bfc9dc9b
AS
270802011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27081
27082 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27083
702e64bb
UD
270842011-07-20 Ulrich Drepper <drepper@gmail.com>
27085
27086 * po/cs.po: Update from translation team.
27087 * po/bg.po: Likewise.
27088
295e904f
MP
270892011-07-12 Marek Polacek <mpolacek@redhat.com>
27090
27091 * misc/sys/cdefs.h: Add support for const attribute.
27092 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27093 to gnu_dev_{major,minor,makedev} functions.
27094
3ff94596
MP
270952011-07-20 Marek Polacek <mpolacek@redhat.com>
27096
27097 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27098
28b59fca
AS
270992011-07-20 Andreas Schwab <schwab@redhat.com>
27100
27101 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27102 strlen results.
27103
19df733e
AK
271042011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27105
27106 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27107 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27108 register in order to avoid conflicts with the soft frame pointer
27109 being held in r11 when necessary.
27110 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27111 (INTERNAL_VSYSCALL_NCS): Likewise.
27112
c8835729
MP
271132011-07-14 Marek Polacek <mpolacek@redhat.com>
27114
27115 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27116 * elf/dl-fini.c (_dl_fini): Adjust caller.
27117 * elf/dl-close.c (_dl_close_worker): Likewise.
27118 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27119
b902330c
MP
271202011-07-15 Marek Polacek <mpolacek@redhat.com>
27121
8991e135
MP
27122 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27123 "aux_cache->nlibs < 0".
27124
b902330c
MP
27125 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27126 in the reload-count case.
27127
99710781
LD
271282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27129
27130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27131 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27132 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27133 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27134 * sysdeps/x86_64/multiarch/strcat.S: New file.
27135 * sysdeps/x86_64/multiarch/strncat.S: New file.
27136 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27137 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27138 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27139 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27141 (USE_AS_STRCAT): Define.
27142 Add strcat and strncat support.
27143 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27144 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27145 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27146 * string/strncat.c: Update.
27147 (USE_AS_STRNCAT): Define.
27148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27149 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27150 and i7.
27151 * sysdeps/x86_64/multiarch/init-arch.h
27152 (bit_Prefer_PMINUB_for_stringop): New.
27153 (index_Prefer_PMINUB_for_stringop): Likewise.
27154 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27155 bit_Prefer_PMINUB_for_stringop.
27156
7dc6bd90
UD
271572011-07-19 Ulrich Drepper <drepper@gmail.com>
27158
27159 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27160 buffer64.
27161 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27162 of casting of buffer.
27163 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27164 buffer32 and buffer64.
27165 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27166 writes instead of casting of buffer.
27167 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27168 buffer32.
27169 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27170 casting of buffer.
27171
e0e72284
AS
271722011-07-19 Andreas Schwab <schwab@redhat.com>
27173
27174 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27175
feb1eb0b
UD
271762011-07-19 Ulrich Drepper <drepper@gmail.com>
27177
27178 * nscd/nscd.c (termination_handler): Don't do anything for a database
27179 if it has not yet been initialized.
27180
298711ff
UD
271812011-07-18 Ulrich Drepper <drepper@gmail.com>
27182
27183 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27184
271852011-07-15 Marek Polacek <mpolacek@redhat.com>
27186
27187 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27188
f9d68389
UD
271892011-07-18 Ulrich Drepper <drepper@gmail.com>
27190
27191 * po/nl.po: Update from translation team.
27192 * po/sv.po: Likewise.
27193
db290cf5
RM
271942011-07-16 Roland McGrath <roland@hack.frob.com>
27195
27196 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27197 now disallowed by GCC.
5c550700 27198
fd5e21c7
RM
27199 * configure.in (use-default-link): Default to yes if a test -shared
27200 link meets our qualifications.
27201 * configure: Regenerated.
27202
5c550700
RM
27203 * config.make.in (output-format): New variable.
27204 * configure.in: Check for ld --print-output-format support.
27205 * configure: Regenerated.
27206 * Makerules ($(common-objpfx)format.lds)
27207 [$(output-format) != unknown]: Just use $(output-format),
27208 instead of the linker-script munging.
27209
9fa2c032
RM
272102011-07-14 Roland McGrath <roland@hack.frob.com>
27211
a6928d51
RM
27212 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27213 of $(common-objpfx)shlib.lds.
27214 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27215
661607b3
RM
27216 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27217 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27218
9fa2c032
RM
27219 * configure.in (-z relro check): Adjust test code to add a large
27220 writable data section after it.
27221 * configure: Regenerated.
27222
defe9061
RM
272232011-07-11 Roland McGrath <roland@hack.frob.com>
27224
27225 * configure.in (-z relro check): Fix test code to make the variable
27226 truly const.
27227 * configure: Regenerated.
27228
319b9ad4
UD
272292011-07-11 Ulrich Drepper <drepper@gmail.com>
27230
27231 * nscd/nscd.h (struct traced_file): Define.
27232 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27233 elements. Add traced_files.
27234 (inotify_fd): Declare.
27235 (register_traced_file): Declare.
27236 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27237 (inotify_fd): Export.
27238 (resolv_conf_descr): Remove.
27239 (nscd_init): Move inotify descriptor creation to main.
27240 Don't register files for notification here.
27241 (register_traced_file): New function.
27242 (invalidate_cache): Don't use reset_res to determine whether to call
27243 res_init, go through the list of registered files.
27244 (main_loop_poll): The inotify descriptors are now stored in the
27245 structures for the traced files.
27246 (main_loop_epoll): Likewise
27247 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27248 to __nss_disable_nscd.
27249 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27250 for a database anymore. Check the records for all the registered
27251 files instead.
27252 * nss/Makefile (libnss_files-routines): Add files-init.
27253 (libnss_db-routines): Add db-init.
27254 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27255 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27256 * nss/nss_db/db-init.c: New file.
27257 * nss/nss_files/files-init.c: New file.
27258 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27259 __nss_lookup_function.
27260 (__nss_lookup_function): Call nss_load_library.
27261 (nss_load_all_libraries): New function.
27262 (__nss_disable_nscd): Take parameter with callback function for files
27263 to register. Set is_nscd. Load all the DSOs for the NSS modules
27264 used for the cached services.
27265 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27266 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27267 options for features to all the files in nscd.
27268
27269 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27270
23bee3e8
RM
272712011-07-10 Roland McGrath <roland@hack.frob.com>
27272
27273 * csu/elf-init.c (__libc_csu_init): Comment typo.
27274
46a5b7f0
UD
272752011-07-09 Ulrich Drepper <drepper@gmail.com>
27276
27277 * po/pl.po: Update from translation team.
27278 * po/ja.po: Likewise.
27279 * po/ru.po: Likewise.
27280 * po/ko.po: Likewise.
27281 * po/fr.po: Likewise.
27282
d30cf5bb
RM
272832011-07-09 Roland McGrath <roland@hack.frob.com>
27284
113ddea4
RM
27285 * configure.in (.ctors/.dtors header and trailer check):
27286 Use an empirical test on a built program.
27287 * configure: Regenerated.
27288
574920b4
RM
27289 * configure.in (-z relro check): Use an empirical test on a built DSO.
27290 Detect, but do not require, on ia64.
27291 * configure: Regenerated.
27292
d30cf5bb
RM
27293 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27294 Update tests that use readelf to use $READELF instead.
27295 * configure: Regenerated.
27296
8538fdb3
UD
272972011-07-08 Ulrich Drepper <drepper@gmail.com>
27298
27299 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27300 if the result is not used.
27301
04d08991
AJ
273022011-07-05 Andreas Jaeger <aj@suse.de>
27303
27304 [BZ#9696]
27305 * stdlib/tst-strtod.c: Add testcase.
27306
de283087
AD
273072011-07-07 Ulrich Drepper <drepper@gmail.com>
27308
4e5f31c8 27309 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27310 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27311 The latter has a higher limit. Take additional parameter to pass to
27312 the new function.
27313 (__pathconf): Pass file to __statfs_link_max.
27314 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27315 __statfs_link_max.
27316 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27317 __statfs_link_max.
27318
de283087
AD
27319 [BZ #12868]
27320 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27321 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27322 Handle Lustre.
27323 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27324 (__statfs_filesize_max): Likewise.
27325 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27326
c75fa153
AJ
273272011-07-05 Andreas Jaeger <aj@suse.de>
27328
27329 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27330
1a544854
UD
273312011-07-06 Marek Polacek <mpolacek@redhat.com>
27332
27333 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27334 `status' variable.
27335 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27336 Likewise.
27337
6f0eec67
UD
273382011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27339
27340 * Makefile (strop-tests): Add strncat.
27341 * string/test-strncat.c: New file.
27342
aae30307
UD
273432011-06-30 Marek Polacek <mpolacek@redhat.com>
27344
27345 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27346
c0cfb5eb
UD
273472011-06-21 Andreas Jaeger <aj@suse.de>
27348
27349 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27350 Copy rule from iconvdata/Makefile.
27351
01636b21
UD
273522011-07-06 Ulrich Drepper <drepper@gmail.com>
27353
27354 [BZ #12922]
27355 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27356 but no long options are defined, just return 'W'.
27357
9895c8bc
UD
273582011-06-22 Marek Polacek <mpolacek@redhat.com>
27359
27360 [BZ #9696]
27361 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27362
5d4cf042
UD
273632011-07-06 Ulrich Drepper <drepper@gmail.com>
27364
27365 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27366 netgroups to read.
960e5535 27367 (innetgr): Likewise.
5d4cf042 27368
751eb97e
RM
273692011-07-05 Roland McGrath <roland@hack.frob.com>
27370
27371 * config.make.in (install_root): Default to $(DESTDIR).
27372
f15f1e45
UD
273732011-07-05 Ulrich Drepper <drepper@gmail.com>
27374
27375 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27376
4e34ac6a
RM
273772011-07-02 Roland McGrath <roland@hack.frob.com>
27378
5e9b6af4
RM
27379 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27380
84f9ea0f
RM
27381 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27382 containing directory rather than embedding absolute directory names.
27383
ea5ee9f7
RM
27384 * scripts/check-local-headers.sh: Rewritten using awk.
27385 Match by word, not by line. Print error messages for matches.
27386 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27387
1b74661a
RM
27388 * Makerules [shlib-lds-flags empty]:
27389 ($(common-objpfx)libc_pic.opts): New target.
27390 ($(common-objpfx)libc_pic.os.clean): New target.
27391 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27392
27393 * config.make.in (OBJCOPY): New variable.
27394 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27395 * configure: Regenerated.
27396
f781ef40
RM
27397 * config.make.in (use-default-link): New variable.
27398 * configure.in (use_default_link): Grok --with-default-link to set it.
27399 * configure: Regenerated.
27400 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27401 (shlib-lds, shlib-lds-flags): Define to empty.
27402
2d4fa81e
RM
27403 * Makerules (shlib-lds): New variable.
27404 (shlib-lds-flags): New variable.
27405 (build-shlib, build-moduile, build-module-asneeded): Use it.
27406 ($(common-objpfx)libc.so): Use $(shlib-lds).
27407 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27408 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27409
31fffa6b
RM
27410 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27411 DT_FLAGS/DT_FLAGS_1 with zero flags.
27412
4e34ac6a
RM
27413 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27414 linker script munging.
27415
fcfc776b
UD
274162011-07-02 Ulrich Drepper <drepper@gmail.com>
27417
27418 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27419 as 128-bit value.
27420 * crypt/sha512.c (sha512_process_block): Perform total addition using
27421 128-bit if possible.
27422 (__sha512_finish_ctx): Likewise.
27423 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27424 as 64-bit value.
27425 * crypt/sha256.c (SWAP64): Define.
27426 (sha256_process_block): Perform total addition using 64-bit if
27427 possible.
27428 (__sha256_finish_ctx): Likewise.
27429
99231d9a
UD
274302011-07-01 Ulrich Drepper <drepper@gmail.com>
27431
27432 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27433 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27434 * nscd/hstcache.c (cache_addhst): Likewise.
27435 * nscd/grpcache.c (cache_addgr): Likewise.
27436 * nscd/aicache.c (addhstaiX): Likewise
27437 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27438
445b4a53
TK
274392011-07-01 Thorsten Kukuk <kukuk@suse.de>
27440
27441 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27442 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27443 * nscd/hstcache.c (cache_addhst): Likewise.
27444 * nscd/grpcache.c (cache_addgr): Likewise.
27445 * nscd/aicache.c (addhstaiX): Likewise
27446
6d4d8e8e
AS
274472011-07-01 Andreas Schwab <schwab@redhat.com>
27448
27449 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27450 domain only when needed.
27451
89f654c5
AS
274522011-06-30 Andreas Schwab <schwab@redhat.com>
27453
27454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27455 is always restored.
27456
cf3b23ff
UD
274572011-06-29 Ulrich Drepper <drepper@gmail.com>
27458
27459 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27460 are re-adding the entry.
27461 * nscd/servicescache.c (cache_addserv): Likewise.
27462
751626f9
AJ
274632011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27464
27465 * sysdeps/generic/dl-irel.h: fix protection against multiple
27466 inclusions.
27467 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27468
9113ea1f
UD
274692011-06-28 Ulrich Drepper <drepper@gmail.com>
27470
5c0b8d90
UD
27471 [BZ #12935]
27472 * malloc/memusage.sh: Fix quoting in message.
27473 * debug/xtrace.sh: Likewise.
27474
9113ea1f
UD
27475 * configure.in: Remove support for --experimental-malloc option, make
27476 it the default.
27477 * config.make.in: Likewise.
27478 * malloc/Makefile: Likewise.
27479
a4172181
AS
274802011-06-27 Andreas Schwab <schwab@redhat.com>
27481
27482 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27483 two-byte characters.
27484
78a7eee7
RM
274852011-06-27 Roland McGrath <roland@hack.frob.com>
27486
62bede13
RM
27487 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27488 AC_CACHE_CHECK invocation.
27489 * configure: Regenerated.
27490
78a7eee7
RM
27491 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27492
5ce33a62
UD
274932011-06-27 Ulrich Drepper <drepper@gmail.com>
27494
034807a9
UD
27495 [BZ #12350]
27496 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27497 bit from old_res_options.
27498
4902da17
UD
27499 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27500
5ce33a62
UD
27501 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27502 value type for setfct.
27503
c2344f56
L
275042011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27505
27506 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27507 __gettimeofday instead of gettimeofday.
27508
68468076
UD
275092011-06-26 Ulrich Drepper <drepper@gmail.com>
27510
27511 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27512
acb0d739
L
275132011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27514
27515 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27516
27517 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27518 info.
27519
8912479f
L
275202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27521
27522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27523 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27524 strcpy-sse2-unaligned strncpy-sse2-unaligned
27525 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27526 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27527 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27528 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27529 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27530 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27531 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27532 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27533 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27534 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27535 (STRCPY): Support SSE2 and SSSE3 versions.
27536
d5495a11
UD
275372011-06-24 Ulrich Drepper <drepper@gmail.com>
27538
27539 [BZ #12874]
27540 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27541 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27542 kernels which artificially limit size of requests.
27543
0b1cbaae
L
275442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27545
27546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27547 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27548 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27549 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27550 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27551 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27552 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27553 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27554 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27556 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27557 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27558 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27559 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27560 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27562 Enable unaligned load optimization for Intel Core i3, i5 and i7
27563 processors.
27564 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27565 Define.
27566 (index_Fast_Unaligned_Load): Define.
27567 (HAS_FAST_UNALIGNED_LOAD): Define.
27568
07f494a0
MP
275692011-06-23 Marek Polacek <mpolacek@redhat.com>
27570
27571 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27572
fa3fc0fe
UD
275732011-06-22 Ulrich Drepper <drepper@gmail.com>
27574
27575 [BZ #12907]
27576 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27577 until it is clear that the information is realy needed.
27578 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27579
e12df166
AS
275802011-06-22 Andreas Schwab <schwab@redhat.com>
27581
27582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27583
852eb34d
UD
275842011-06-22 Ulrich Drepper <drepper@gmail.com>
27585
84e2a551
UD
27586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27587 /sys/devices/system/cpu/online if it is usable.
27588
852eb34d
UD
27589 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27590 reading the information from the /proc filesystem to once a second.
27591
6e502e19
UD
275922011-06-21 Andreas Jaeger <aj@suse.de>
27593
27594 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27595 NULL after inclusion of kernel headers.
27596
75d39ff2
UD
275972011-06-21 Ulrich Drepper <drepper@gmail.com>
27598
51f9aa6a
UD
27599 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27600 calls to internal_setent.
27601
c0244a9d
UD
27602 [BZ #12885]
27603 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27604 addresses using gethostbyname4_r ignore IPv4 addresses.
27605
c5e3c2ae
UD
27606 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27607 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27608
75d39ff2
UD
27609 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27610
42675c6f
DM
276112011-06-20 David S. Miller <davem@davemloft.net>
27612
27613 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27614 inclusions.
27615 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27616
27617 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27618 (elf_irel): Use it.
27619 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27620 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27621 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27622 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27623 * sysdeps/x86_64/dl-irel.h: Likewise.
27624
27625 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27626 * elf/dl-sym.c: Likewise.
27627
57912a71
UD
276282011-06-15 Ulrich Drepper <drepper@gmail.com>
27629
27630 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27631 need to dereference resplen2.
27632
ee22793d
AS
276332011-06-14 Andreas Schwab <schwab@redhat.com>
27634
27635 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27636
a9e836b0
UD
276372011-06-15 Ulrich Drepper <drepper@gmail.com>
27638
77fb9117
UD
27639 * Makeconfig: Define vardbdir and inst_vardbdir.
27640 * nss/Makefile: Add rules to install db-Makefile.
27641
40c1b22c
UD
27642 * nss/nss_db/db-XXX.c: Cleanup.
27643
9f2da732
UD
27644 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27645 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27646 GLIBC_PRIVATE.
27647 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27648 * nss/makedb.c: Implement -g option to specify that value strings
27649 are generated and should not be added to table iterated over for
27650 get*ent calls.
27651 * nss/nss_db/db-initgroups.c: New file.
27652
82e9a1f7
UD
27653 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27654 interface.
27655
c41af17e
UD
27656 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27657 (internal_getgrouplist): Adjust to name change.
27658 Update use_initgroups_entry if this is not the first call.
27659 * nss/databases.def: Add initgroups entry.
27660
a9e836b0
UD
27661 * nss/makedb.c (compute_tables): Check result of multiple hash table
27662 sizes to minimize maximum chain length.
27663
2666d441
UD
276642011-06-14 Ulrich Drepper <drepper@gmail.com>
27665
27666 * Versions.def: Add entry for libnss_db.
27667 * shlib-versions: Likewise.
27668 * nss/Makefile: Add rules to build libnss_db.
27669 * nss/Versions: Add libnss_db information. Organize libnss_files
27670 entries better.
27671 * nss/db-Makefile: Add gshadow support. Change rules for the new
27672 makedb progra. Some minor improvements to generate smaller files.
27673 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27674 here from...
27675 * nss/makedb.c: ...here.
27676 Improve database format to be smaller and require less memory at
27677 runtime.
27678 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27679 db anymore.
27680 * nss/nss_db/db-netgrp.c: Likewise.
27681 * nss/nss_db/db-open.c: Likewise.
27682 * nss/nss_files/flies-XXX.x: Adjust comments.
27683 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27684 * nss/nss_files/files-grp.c: Likewise.
27685 * nss/nss_files/files-hosts.c: Likewise.
27686 * nss/nss_files/files-network.c: Likewise.
27687 * nss/nss_files/files-proto.c: Likewise.
27688 * nss/nss_files/files-pwd.c: Likewise.
27689 * nss/nss_files/files-rpc.c: Likewise.
27690 * nss/nss_files/files-service.c: Likewise.
27691 * nss/nss_files/files-sgrp.c: Likewise.
27692 * nss/nss_files/files-spwd.c: Likewise.
27693 * nss/nss_db/db-alias.c: Removed.
27694 * nss/nss_db/dummy-db.h: Removed.
27695
9ee76b5a
UD
276962011-06-02 Ulrich Drepper <drepper@gmail.com>
27697
27698 * nss/makedb.c: Rewritten to not use database library.
27699 * nss/Makefile: Update to build new makedb program.
27700
c71ca1f8
AJ
277012011-06-14 Andreas Jaeger <aj@suse.de>
27702
27703 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27704 memset declaration.
27705
3154bfb8
UD
277062011-06-10 Andreas Schwab <schwab@redhat.com>
27707
27708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27709 tmpbuf.
27710
b350afab
RM
277112011-06-10 Roland McGrath <roland@hack.frob.com>
27712
decd4e50
RM
27713 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27714 * elf/Makefile ($(objpfx)ld.so): Likewise.
27715
5615eaf2
RM
27716 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27717 Don't list ld.so twice in dependencies.
27718
27719 * posix/bug-regex31.c: Include <stdlib.h>.
27720
27721 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27722
27723 * nis/nss_compat/compat-spwd.c
27724 (getspent_next_nss_netgr): Remove unused variable.
27725 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27726
27727 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27728 nonmembers" output to use the right array.
27729
27730 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27731
27732 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27733
27734 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27735 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27736 * catgets/gencat.c (read_input_file): Likewise.
27737 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27738
27739 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27740 variable definition inside #if's controlling its use.
27741
27742 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27743
27744 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27745
27746 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27747
27748 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27749 unreachable code.
27750
27751 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27752
b68e08db
RM
27753 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27754 * configure: Regenerated.
27755
b350afab
RM
27756 * Makerules: Revert last change.
27757 * elf/Makefile: Likewise.
27758
28368601
RM
277592011-06-09 Roland McGrath <roland@hack.frob.com>
27760
27761 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27762 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27763 (reloc-link): Likewise.
27764
11988f8f
UD
277652011-06-09 Ulrich Drepper <drepper@gmail.com>
27766
27767 * elf/Makefile: Add rules to build pldd.
27768 * elf/pldd.c: New file.
27769 * elf/pldd-xx.c: New file.
27770
e80fab37
UD
277712011-06-07 Ulrich Drepper <drepper@gmail.com>
27772
27773 * version.h: Update for 2.15 development version.
27774
9b849836
DM
277752011-06-07 David S. Miller <davem@davemloft.net>
27776
27777 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27778 ifuncs.
27779 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27780 elf_machine_lazy_rel): Likewise.
27781 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27782 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27783 elf_machine_lazy_rel): Likewise.
27784 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27785 dl_hwcap via passed in argument.
27786 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27787 Likewise.
27788
5a31b283
AK
277892011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27790
27791 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27792
069e52f8
RM
277932011-06-06 Roland McGrath <roland@hack.frob.com>
27794
27795 [BZ #12849]
27796 * manual/fdl-1.1.texi: New file, verbatim from:
27797 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27798 * manual/lgpl-2.1.texi: New file, verbatim from:
27799 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27800 * manual/Makefile (licenses): New variable, list those new file names.
27801 (texis): Use it.
27802 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27803
27804 * manual/fdl.texi: File removed.
27805 * manual/lesser.texi: File removed.
27806 * manual/libc.texinfo (Copying, Documentation License):
27807 Use new @include file names, put @appendix directive before @include.
27808
f16846a5
JJ
278092011-06-04 Jakub Jelinek <jakub@redhat.com>
27810
27811 [BZ #12841]
27812 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27813 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27814 (mq_open): Add __NTH.
27815
3d29045b
L
278162011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27817
27818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27819 Assume Intel Core i3/i5/i7 processor if AVX is available.
27820
8c297311
UD
278212011-05-31 Ulrich Drepper <drepper@gmail.com>
27822
27823 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27824 typo.
27825
c8fc0c91
UD
278262011-05-31 Andreas Schwab <schwab@redhat.com>
27827
27828 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27829 memory. Use alloca_account. Fix memory leak when retrying.
27830
5b27a807
UD
278312011-05-31 Ulrich Drepper <drepper@gmail.com>
27832
356f8bc6
UD
27833 * version.h (RELEASE): Bump for 2.14 release.
27834 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27835
5b27a807
UD
27836 * config.make.in (RANLIB): Remove entry.
27837
01f16ab0
UD
278382011-05-30 Ulrich Drepper <drepper@gmail.com>
27839
41fce8bd
UD
27840 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27841 (libc.pot): Work around missing support for .ksh extension in xgettext.
27842
4769ae77
UD
27843 [BZ #12684]
27844 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27845 if both request failed.
27846 (send_dg): In case of server errors clear resplen or *resplen2.
27847
6b1e7d19
UD
27848 [BZ #12454]
27849 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27850 when there are multiple maps.
27851 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27852 (_dl_fini): Remove test here.
27853
01f16ab0
UD
27854 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27855
b1ebd700
UD
278562011-05-29 Ulrich Drepper <drepper@gmail.com>
27857
7ae22829
UD
27858 [BZ #12350]
27859 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27860 bit from old_res_options.
27861 (gaih_inet): Likewise.
27862
553149f6 27863 [BZ #11099]
18a84741 27864 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
27865 as signed.
27866
652ffab1
UD
27867 * resolv/res_init.c (res_setoptions): Make the code more compact.
27868
16985fd0
UD
27869 [BZ #11558]
27870 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27871 set RES_USEVC.
27872
0464f746
UD
27873 [BZ #11634]
27874 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27875
7d17596c
UD
27876 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27877
cf6bbbd7
UD
27878 [BZ #11781]
27879 * malloc/malloc.h: Declare malloc hook variables as volatile.
27880
13f1ab36
UD
27881 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27882 in last patch.
27883
b1ebd700
UD
27884 [BZ #11799]
27885 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 27886 raise in the comment.
80e2212d
UD
27887 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27888 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27889 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 27890
ce67228d
UD
278912011-05-28 Ulrich Drepper <drepper@gmail.com>
27892
8887a920
UD
27893 [BZ #12811]
27894 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27895 grow the buffers more if it already has to be sufficient.
27896 (build_wcs_upper_buffer): Likewise.
27897 * posix/regexec.c (check_matching): Likewise.
27898 (clean_state_log_if_needed): Likewise.
27899 (extend_buffers): Don't enlarge buffers beyond size of the input
27900 buffer.
27901 Patches mostly by Emil Wojak <emil@wojak.eu>.
27902 * posix/bug-regex32.c: New file.
27903 * posix/Makefile (tests): Add bug-regex32.
27904
4f031072
UD
27905 * locale/findlocale.c (_nl_find_locale): Return right away if
27906 _nl_explode_name failed.
27907 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27908
d0478f0c
UD
27909 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27910
de81b246
UD
27911 * debug/xtrace.sh: Unify messages.
27912 * malloc/memusage.sh: Likewise.
27913
c738465a
UD
27914 [BZ #12813]
27915 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27916 time symbol from vDSO. Substitute with vsyscall if not available.
27917 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27918 __vdso_time.
27919
f1f929d7
UD
27920 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27921 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27922 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27923 Add sendmmsg and internal_sendmmsg.
27924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27925 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27926 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27927
ce67228d
UD
27928 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27929 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27930 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27931
e57420c6
UD
279322011-05-27 Ulrich Drepper <drepper@gmail.com>
27933
a8509ca5
UD
27934 [BZ #12813]
27935 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27936 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27937 available.
27938 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27939 __vdso_getcpu.
27940
e57420c6
UD
27941 [BZ #12814]
27942 * iconvdata/Makefile (tests): Add bug-iconv9.
27943 * iconvdata/bug-iconv9.c: New file.
27944
4d07db15
AS
279452011-05-27 Andreas Schwab <schwab@redhat.com>
27946
27947 [BZ #12814]
27948 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27949
ea486f69
JJ
279502011-05-25 Jakub Jelinek <jakub@redhat.com>
27951
27952 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27953 (struct user_regs_struct): Change intcs field back to cs.
27954
6f038433
UD
279552011-05-25 Ulrich Drepper <drepper@gmail.com>
27956
27957 * po/ja.po: Update from translation team.
27958
67f86a25
UD
279592011-05-23 Ulrich Drepper <drepper@gmail.com>
27960
27961 [BZ #12795]
27962 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27963 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27964
def7fbd6
AS
279652011-05-20 Andreas Schwab <schwab@redhat.com>
27966
27967 * stdlib/longlong.h: Update from GCC.
27968
f50ef8f1
AS
279692011-05-23 Andreas Schwab <schwab@redhat.com>
27970
27971 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27972 parameter name.
27973 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27974 Add parameter name.
27975 (__sysconf): Pass it down.
27976
de7ce8f1
UD
279772011-05-22 Ulrich Drepper <drepper@gmail.com>
27978
f2962a71
UD
27979 [BZ #12671]
27980 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27981 some situations.
27982 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27983 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27984 add in in __libc_use_alloca calls. Adjust callers.
27985 (glob): Use malloc in some situations.
27986
de7ce8f1
UD
27987 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27988 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27989 pltexit.
27990
aec84f53
UD
279912011-05-21 Ulrich Drepper <drepper@gmail.com>
27992
05bb4a68
UD
27993 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27994 and CLOCK_BOOTTIME_ALARM.
27995
7ea72f99
UD
27996 [BZ #12782]
27997 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27998 is returned.
27999
7e4afad5
UD
28000 * string/_strerror.c (__strerror_r): Print negative errors as signed
28001 numbers.
28002
8e211fec
UD
28003 [BZ #12777]
28004 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28005 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28006 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28007
f7d82dc9
UD
28008 * configure.in: Fix typo in redirection and correct removal of test
28009 files in two cases.
28010
cc9e536d
UD
28011 [BZ #12788]
28012 * locale/setlocale.c (new_composite_name): Fix test to check for
28013 identical name of all categories.
28014
aec84f53
UD
28015 [BZ #12792]
28016 * libio/filedoalloc.c (local_isatty): New function.
28017 (_IO_file_doallocate): Use local_isatty.
28018 * stdio-common/perror.c (perror): In case a new stream is used
28019 forward the stream error.
28020 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28021 error flag.
28022
78e64fdc
RT
280232011-05-20 Ulrich Drepper <drepper@gmail.com>
28024
34a9094f
UD
28025 [BZ #11869]
28026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28027 alloca.
28028 * include/alloca.h (extend_alloca_account): Define.
28029
78e64fdc
RT
28030 [BZ #11857]
28031 * posix/regex.h: Fix comments with documentation of user-accessible
28032 fields after compilation and describe correct free'ing of pattern
28033 after re_compile_pattern.
28034 Patch by Reuben Thomas <rrt@sc3d.org>.
28035
457bddfc
RA
280362011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28037
28038 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28039 and -mno-altivec to prevent the compiler from using Altivec and/or
28040 VSX instructions when the corresponding registers are not available.
28041
a4527b51
AS
280422011-05-19 Andreas Schwab <schwab@redhat.com>
28043
28044 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28045
ed690b2f
UD
280462011-05-19 Ulrich Drepper <drepper@gmail.com>
28047
28048 * libio/freopen.c (freopen): Use __dup2, not dup2.
28049 * libio/freopen64.c (freopen64): Likewise.
28050
8db73634
L
280512011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28052
28053 [BZ #12775]
28054 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28055 * math/Makefile (tests): Add test-powl.
28056 (CFLAGS-test-powl.c): Define.
28057 * math/test-powl.c: New file.
28058
0a197a9d
L
280592011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28060
28061 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28062
ee30c380
UD
280632011-05-17 Ulrich Drepper <drepper@gmail.com>
28064
28065 [BZ #11837]
28066 * iconvdata/gb18030.c: Update to GB18020-2005.
28067
6ce75379
UD
280682011-05-16 Ulrich Drepper <drepper@gmail.com>
28069
a4b89fd8
AR
28070 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28071 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28072 Patch by Aharon Robbins <arnold@skeeve.com>.
28073
ea389b12
UD
28074 [BZ #11892]
28075 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28076 on the stack.
28077
68a3f91f
UD
28078 [BZ #11895]
28079 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28080 through underflows.
28081
15cc7dd1
UD
28082 [BZ #12766]
28083 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28084 point to strings before performing equality test for error_one_per_line
28085 mode.
28086
f3799213
UD
28087 [BZ #11697]
28088 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28089
d79a9c94
UD
28090 [BZ #11820]
28091 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28092 (struct user_fpregs_struct): Avoid __uint*_t types.
28093
56e5eb46
UD
28094 [BZ #6420]
28095 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28096 symbol info. Use it instead of calling _dl_addr locally.
28097 (lock_and_info): New function.
28098 (tr_freehook): Call lock_and_info and pass symbol info as additional
28099 parameter to tr_where.
28100 (tr_mallochook): Likewise.
28101 (tr_reallochook): Likewise.
28102 (tr_memalignhook): Likewise.
28103
6ce75379
UD
28104 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28105 used and couldn't be at all thread-safe.
28106
f8a3b5bf
UD
281072011-05-15 Ulrich Drepper <drepper@gmail.com>
28108
94b7cc37
UD
28109 * libio/freopen.c (freopen): Don't close old file descriptor
28110 before the new one is opened. Instead dup the new file descriptor
28111 to the old one after the new stream is created.
28112 * libio/freopen64.c (freopen64): Likewise.
28113 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28114 * libio/fileops.c (_IO_new_file_close_it): Handle new
28115 _IO_FLAGS2_NOCLOSE flag.
28116 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28117 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28118 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28119 _IO_FLAGS2_NOCLOSE flag.
28120 * include/unistd.h: Add hidden_proto for dup3.
28121 Define __have_dup3.
28122 * io/dup3.c: Define hidden symbol.
28123 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28124
bd25564e
UD
28125 [BZ #7101]
28126 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28127 when an incomplete long option is used.
28128 * posix/tst-getopt_long1.c: New file.
28129 * posix/Makefile (tests): Add tst-getopt_long1.
28130
c84cfef4
UD
28131 [BZ #10138]
28132 * scripts/config.guess: Update from autoconf-2.68.
28133 * scripts/config.sub: Likewise.
28134
3b85df27
UD
28135 [BZ #10157]
28136 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28137 tests into ...
28138 (has_cpuclock): ...this. New function.
28139 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28140 macro here based on has_cpuclock code.
28141
15a856b1
UD
28142 [BZ #10149]
28143 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28144 First byte (not low byte) is now always NUL.
28145 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28146
05f399e6
UD
28147 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28148 Use non-cancelable interfaces.
28149
10a52685 28150 [BZ #9809]
94ecc67d
UD
28151 * locale/iso-639.def: Add entry for Sorani.
28152
f8a3b5bf
UD
28153 [BZ #11901]
28154 * include/stdlib.h: Move include protection to the right place.
28155 Define abort_msg_s. Declare __abort_msg with it.
28156 * stdlib/abort.c (__abort_msg): Adjust type.
28157 * assert/assert.c (__assert_fail_base): New function. Majority
28158 of code from __assert_fail. Allocate memory for __abort_msg with
28159 mmap.
28160 (__assert_fail): Now call __assert_fail_base.
28161 * assert/assert-perr.c: Remove bulk of implementation. Use
28162 __assert_fail_base.
28163 * include/assert.hL Declare __assert_fail_base.
28164 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28165 mmap.
28166 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28167
1af4e298
UD
281682011-05-14 Ulrich Drepper <drepper@gmail.com>
28169
f8a3b5bf 28170 [BZ #11952]
d26dfc60
MG
28171 [BZ #12453]
28172 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28173 until all modules are registered in the DTV.
28174 * elf/Makefile: Add rules to build and run tst-tls19.
28175 * elf/tst-tls19.c: New file.
28176 * elf/tst-tls19mod1.c: New file.
28177 * elf/tst-tls19mod2.c: New file.
28178 * elf/tst-tls19mod3.c: New file.
28179 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28180
2fc54d6f
UD
28181 [BZ #12083]
28182 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28183 correctly.
28184
98d76b46
UD
28185 [BZ #12601]
28186 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28187 two-byte sequence errors.
28188 * iconvdata/Makefile (tests): Add bug-iconv8.
28189 * iconvdata/bug-iconv8.c: New file.
28190
da3c19ef
UD
28191 [BZ #12626]
28192 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28193 buf2 definition.
28194
ca408c15
UD
28195 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28196
d6f67f7d
UD
28197 [BZ #12432]
28198 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28199 (dummy_getcfa): New function.
28200 (init): Get _Unwind_GetCFA address, use dummy if not found.
28201 (backtrace_helper): In recursion check, also check whether CFA changes.
28202 (__backtrace): Completely initialize arg.
28203
1af4e298 28204 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28205 storing incomplete byte sequence in state object. Avoid testing for
28206 guaranteed too small input if we know there is enough data available.
1af4e298 28207
da62f81b
AS
282082011-05-11 Andreas Schwab <schwab@redhat.com>
28209
28210 * Makeconfig (+link-pie): Indent.
28211 * Rules (binaries-pie): Define if $(have-fpie) and
28212 $(build-shared).
28213 (binaries-shared): Also filter out $(binaries-pie).
28214 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28215 * nscd/Makefile (others-pie): Add nscd.
28216 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28217 ($(objpfx)nscd): Remove command override.
28218 * login/Makefile (others-pie): Add pt_chown.
28219 ($(objpfx)pt_chown): Remove command override.
28220 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28221 remove command overrides.
28222
fcabc0f8
UD
282232011-05-13 Ulrich Drepper <drepper@gmail.com>
28224
20030ae6
UD
28225 * libio/tst_putwc.c: Fix error messages.
28226
fcabc0f8
UD
28227 [BZ #12724]
28228 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28229 currently writing and seek to current position when not.
28230 * libio/Makefile (tests): Add bug-fclose1.
28231 * libio/bug-fclose1.c: New file.
28232
320a5dc0
PB
282332011-05-12 Ulrich Drepper <drepper@gmail.com>
28234
28235 [BZ #12511]
28236 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28237 don't set DF_1_NODELETE here.
28238 (do_lookup_x): When entering new entry test for copy relocation
28239 and if necessary set DF_1_NODELETE flag.
28240 * elf/tst-unique4.cc: New file.
28241 * elf/tst-unique4.h: New file.
28242 * elf/tst-unique4lib.cc: New file.
28243 * elf/Makefile: Add rules to build and run tst-unique4.
28244 Patch by Piotr Bury <pbury@goahead.com>.
28245
22836f52
UD
282462011-05-11 Ulrich Drepper <drepper@gmail.com>
28247
f574184a
UD
28248 [BZ #12052]
28249 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28250
e1fb097f
UD
28251 [BZ #12625]
28252 * misc/mntent_r.c (addmntent): Flush the stream after the output
28253
22836f52
UD
28254 [BZ #12393]
28255 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28256 (is_trusted_path_normalize): Skip initial colon. Append slash
28257 to empty buffer. Duplicate is_trusted_path code but allow
28258 constructed patch to be prefix.
28259 (is_dst): Allow $ORIGIN followed by /.
28260 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28261 Correct testing of result of is_trusted_path_normalize
28262 (decompose_rpath): Fix warning.
28263
7b3b0b2a
UD
282642011-05-10 Ulrich Drepper <drepper@gmail.com>
28265
28266 [BZ #11257]
28267 * grp/initgroups.c (internal_getgrouplist): When we found the service
28268 list through the initgroups entry in nsswitch.conf do not always
28269 continue on a successful lookup. Don't always use the
eac80ce2 28270 __nss_group_database value if it is set.
7b3b0b2a
UD
28271 * nss/nsswitch.conf (initgroups): Change action for successful db
28272 lookup to continue for compatibility.
28273
2a81eaa5
UD
282742011-05-09 Ulrich Drepper <drepper@gmail.com>
28275
be97a69e
UD
28276 [BZ #11532]
28277 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28278 and CP774 modules.
28279 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28280 and CP774 modules.
28281 * iconvdata/tst-tables.sh: Likewise.
28282 * iconvdata/cp770.c: New file.
28283 * iconvdata/cp771.c: New file.
28284 * iconvdata/cp772.c: New file.
28285 * iconvdata/cp773.c: New file.
28286 * iconvdata/cp774.c: New file.
28287 * iconvdata/testdata/CP770: New file.
28288 * iconvdata/testdata/CP770..UTF8: New file.
28289 * iconvdata/testdata/CP771: New file.
28290 * iconvdata/testdata/CP771..UTF8: New file.
28291 * iconvdata/testdata/CP772: New file.
28292 * iconvdata/testdata/CP772..UTF8: New file.
28293 * iconvdata/testdata/CP773: New file.
28294 * iconvdata/testdata/CP773..UTF8: New file.
28295 * iconvdata/testdata/CP774: New file.
28296 * iconvdata/testdata/CP774..UTF8: New file.
28297
28298 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28299 END CHARMAP line.
28300 * iconvdata/gen-8bit-gap.sh: Likewise.
28301 * iconvdata/gen-8bit.sh: Likewise.
28302
c1e9e399
UD
28303 * locale/iso-639.def: Add ary entry.
28304
24c55fb3 28305 [BZ #11258]
96b4b1b0
UD
28306 * locale/C-translit.h.in: Add U20A1 transliteration.
28307
bdc2f971
KB
28308 [BZ #12178]
28309 * locale/iso-639.def: Add wae entry.
28310 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28311
2952b117
UD
28312 [BZ #12545]
28313 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28314 for n.
28315
2a81eaa5
UD
28316 [BZ #12711]
28317 * locale/C-translit.h.in: Add entry for U20B9.
28318 Patch by pravin.d.s@gmail.com.
28319
28377d1b
UD
283202011-05-08 Ulrich Drepper <drepper@gmail.com>
28321
7fb90fb8
UD
28322 [BZ #12713]
28323 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28324 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28325 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28326 in rtld. Use *stat64.
7fb90fb8 28327 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28328 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28329 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
28330 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28331 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28332 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28333 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28334 __fstatat64 macros.
7fb90fb8
UD
28335 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28336 * dirent/rewinddir.c: Add libc_hidden_def.
28337 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 28338 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28339
28377d1b
UD
28340 * include/dirent.h (__alloc_dir): Add flags parameter.
28341 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28342 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28343 __alloc_dir.
28344 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28345 from fdopendir if O_CLOEXEC is already set.
28346
66bdbaa4
AM
283472011-03-15 Alan Modra <amodra@gmail.com>
28348
28349 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28350 l_tls_firstbyte_offset non-zero. Save padding offset in
28351 l_tls_firstbyte_offset for later use.
28352 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28353 freeing static tls block.
28354
95721191
JN
283552011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28356
28357 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28358 where #ifdef was intended. The intent is to prevent ARG_MAX from
28359 being defined by the kernel headers.
28360
f87dfb1f
UD
283612011-05-07 Ulrich Drepper <drepper@gmail.com>
28362
28363 [BZ #12734]
28364 * resolv/resolv.h: Define RES_NOTLDQUERY.
28365 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28366 no-tld-query and set RES_NOTLDQUERY.
28367 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28368 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28369 modern BIND to search name as TLD unless forbidden.
28370
47c3cd7a
UD
283712011-05-07 Petr Baudis <pasky@suse.cz>
28372 Ulrich Drepper <drepper@gmail.com>
28373
28374 [BZ #12393]
28375 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28376 (is_trusted_path): ...to here.
c1e9ea35 28377 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28378 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28379 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28380
8a35c912
PP
283812011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28382
28383 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28384 __BEGIN/__END_DECLS.
28385
acd41f47
UD
283862011-05-06 Ulrich Drepper <drepper@gmail.com>
28387
28388 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28389 NSS_STATUS_NOTFOUND if no record was found.
28390
597df647
AS
283912011-05-05 Andreas Schwab <schwab@redhat.com>
28392
28393 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28394 (headers-not-in-tirpc): Remove rpc/netdb.h
28395 * resolv/netdb.h: Revert last change.
28396
b9af1301
PP
283972011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28398
28399 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28400 circular dependency between libgcc.a and libc.a.
28401
4e34d5f5
AS
284022011-05-05 Andreas Schwab <schwab@redhat.com>
28403
28404 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28405 * nis/Makefile: Don't install rpcsvc/*.
28406 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28407 instead of <rpc/types.h>.
28408 (MAXHOSTNAMELEN): Define.
28409
00ee369c
AS
284102011-05-03 Andreas Schwab <schwab@redhat.com>
28411
28412 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28413
0b592a30
MB
284142011-04-28 Maciej Babinski <mbabinski@google.com>
28415
28416 [BZ #12714]
28417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28418 gethostbyname4_r when IPv6 results are possible.
28419
6e04cbbe
UD
284202011-05-02 Ulrich Drepper <drepper@gmail.com>
28421
28422 [BZ #12723]
28423 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28424 _PC_PIPE_BUF handling.
28425
e4ecafe0
BH
284262011-04-30 Bruno Haible <bruno@clisp.org>
28427
28428 [BZ #12717]
28429 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28430 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28431 to 'int'.
28432 * inet/getnameinfo.c (getnameinfo): Likewise.
28433
125ee683
UD
284342011-04-29 Ulrich Drepper <drepper@gmail.com>
28435
28436 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28437 to groups setting in database lookup.
28438 * nss/nsswitch.conf: Add initgroups entry.
28439
b722481a
EB
284402011-04-22 Ulrich Drepper <drepper@gmail.com>
28441
28442 [BZ #12685]
28443 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28444 mode string.
28445 Patch by Eric Blake <eblake@redhat.com>.
28446
4df46dbd
L
284472011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28448
28449 * sunrpc/Makefile (need-export-routines): Add svc_run.
28450 (routines): Remove svc_run.
28451 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28452 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28453 * sunrpc/svc_run.c (svc_run): Likewise.
28454 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28455
e84142d2
UD
284562011-04-21 Ulrich Drepper <drepper@gmail.com>
28457
28458 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28459 problem in reallocation in last patch.
28460
877175d8
UD
284612011-04-20 Ulrich Drepper <drepper@gmail.com>
28462
28463 * sunrpc/Makefile: Move inclusion of Rules.
28464
ab8eed78
UD
284652011-04-19 Ulrich Drepper <drepper@gmail.com>
28466
28467 * nss/nss_files/files-initgroups.c: New file.
28468 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28469 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28470 _nss_files_initgroups_dyn.
28471
e3d8f584
RS
284722011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28473
28474 * elf/elf.h (R_ARM_IRELATIVE): Define.
28475
af190f45
UD
284762011-04-19 Ulrich Drepper <drepper@gmail.com>
28477
28478 * po/ru.po: Update from translation team.
28479
53cf59ef
UD
284802011-04-17 Ulrich Drepper <drepper@gmail.com>
28481
28482 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28483 dependencies.
28484
4c559bcd
MF
284852011-02-06 Mike Frysinger <vapier@gentoo.org>
28486
28487 [BZ #12653]
28488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28489 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28490 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28491 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28492 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28493
4420675c
AS
284942011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28495
28496 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28497 differing bytes.
28498 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28499 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28500 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28501
75ea32ab
UD
285022011-04-17 Ulrich Drepper <drepper@gmail.com>
28503
28504 [BZ #12420]
28505 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28506 storing it.
28507 * stdlib/bug-getcontext.c: New file.
28508 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28509
27390476
AK
285102011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28511
28512 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28513 instructions into .machine "z9-109".
28514 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28515 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28516
10442705
AK
285172011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28518
28519 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28520 between environment variables and auxiliary vector.
28521
7b57bfe5
UD
285222011-04-16 Ulrich Drepper <drepper@gmail.com>
28523
28524 * Makefile: Add rules to build linkobj/libc.so.
28525 * include/libc-symbols.h: Define libc_hidden_nolink.
28526 * include/rpc/auth.h: Mark functions which are to be hidden.
28527 * include/rpc/auth_des.h: Likewise.
28528 * include/rpc/auth_unix.h: Likewise.
28529 * include/rpc/clnt.h: Likewise.
28530 * include/rpc/des_crypt.h: Likewise.
28531 * include/rpc/key_prot.h: Likewise.
28532 * include/rpc/pmap_clnt.h: Likewise.
28533 * include/rpc/pmap_prot.h: Likewise.
28534 * include/rpc/pmap_rmt.h: Likewise.
28535 * include/rpc/rpc_msg.h: Likewise.
28536 * include/rpc/svc.h: Likewise.
28537 * include/rpc/svc_auth.h: Likewise.
28538 * include/rpc/xdr.h: Likewise.
28539 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28540 * nss/Makefile: Likewise.
28541 * sunrpc/Makefile: Don't install headers. Build library with normal
28542 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28543 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28544 for the compat linking library. Remove use of INTDEF/INTUSE.
28545 * sunrpc/auth_none.c: Likewise.
28546 * sunrpc/auth_unix.c: Likewise.
28547 * sunrpc/authdes_prot.c: Likewise.
28548 * sunrpc/authuxprot.c: Likewise.
28549 * sunrpc/clnt_gen.c: Likewise.
28550 * sunrpc/clnt_perr.c: Likewise.
28551 * sunrpc/clnt_raw.c: Likewise.
28552 * sunrpc/clnt_simp.c: Likewise.
28553 * sunrpc/clnt_tcp.c: Likewise.
28554 * sunrpc/clnt_udp.c: Likewise.
28555 * sunrpc/clnt_unix.c: Likewise.
28556 * sunrpc/des_crypt.c: Likewise.
28557 * sunrpc/des_soft.c: Likewise.
28558 * sunrpc/get_myaddr.c: Likewise.
28559 * sunrpc/key_call.c: Likewise.
28560 * sunrpc/key_prot.c: Likewise.
28561 * sunrpc/netname.c: Likewise.
28562 * sunrpc/pm_getmaps.c: Likewise.
28563 * sunrpc/pm_getport.c: Likewise.
28564 * sunrpc/pmap_clnt.c: Likewise.
28565 * sunrpc/pmap_prot.c: Likewise.
28566 * sunrpc/pmap_prot2.c: Likewise.
28567 * sunrpc/pmap_rmt.c: Likewise.
28568 * sunrpc/publickey.c: Likewise.
28569 * sunrpc/rpc_cmsg.c: Likewise.
28570 * sunrpc/rpc_common.c: Likewise.
28571 * sunrpc/rpc_dtable.c: Likewise.
28572 * sunrpc/rpc_prot.c: Likewise.
28573 * sunrpc/rpc_thread.c: Likewise.
28574 * sunrpc/rtime.c: Likewise.
28575 * sunrpc/svc.c: Likewise.
28576 * sunrpc/svc_auth.c: Likewise.
28577 * sunrpc/svc_authux.c: Likewise.
28578 * sunrpc/svc_raw.c: Likewise.
28579 * sunrpc/svc_run.c: Likewise.
28580 * sunrpc/svc_simple.c: Likewise.
28581 * sunrpc/svc_tcp.c: Likewise.
28582 * sunrpc/svc_udp.c: Likewise.
28583 * sunrpc/svc_unix.c: Likewise.
28584 * sunrpc/svcauth_des.c: Likewise.
28585 * sunrpc/xcrypt.c: Likewise.
28586 * sunrpc/xdr.c: Likewise.
28587 * sunrpc/xdr_array.c: Likewise.
28588 * sunrpc/xdr_float.c: Likewise.
28589 * sunrpc/xdr_intXX_t.c: Likewise.
28590 * sunrpc/xdr_mem.c: Likewise.
28591 * sunrpc/xdr_rec.c: Likewise.
28592 * sunrpc/xdr_ref.c: Likewise.
28593 * sunrpc/xdr_sizeof.c: Likewise.
28594 * sunrpc/xdr_stdio.c: Likewise.
28595
e6c61494
UD
285962011-04-10 Ulrich Drepper <drepper@gmail.com>
28597
28598 [BZ #12650]
28599 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28600 * sysdeps/ia64/dl-tls.h: Likewise.
28601 * sysdeps/powerpc/dl-tls.h: Likewise.
28602 * sysdeps/s390/dl-tls.h: Likewise.
28603 * sysdeps/sh/dl-tls.h: Likewise.
28604 * sysdeps/sparc/dl-tls.h: Likewise.
28605 * sysdeps/x86_64/dl-tls.h: Likewise.
28606 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28607
34fe483e
AS
286082011-03-14 Andreas Schwab <schwab@redhat.com>
28609
28610 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28611 rpath element also skip the following colon.
28612 (expand_dynamic_string_token): Add is_path parameter and pass
28613 down to DL_DST_REQUIRED and _dl_dst_substitute.
28614 (decompose_rpath): Call expand_dynamic_string_token with
28615 non-zero is_path. Ignore empty rpaths.
28616 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28617 with zero is_path.
28618
f12a32e6
AS
286192011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28620
28621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28622 Make cancelable.
28623
38a7d692
UD
286242011-04-09 Ulrich Drepper <drepper@gmail.com>
28625
28626 [BZ #12655]
28627 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28628 Patch by Filipe David Manana <fdmanana@apache.org>.
28629
e451d22b
AS
286302011-04-07 Andreas Schwab <schwab@redhat.com>
28631
28632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28633 Maintain aligned stack.
28634 (CHECK_RSP): Remove unused macro.
28635
dedc7c7b
UD
286362011-04-03 Ulrich Drepper <drepper@gmail.com>
28637
28638 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28639 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28640
94521213
UD
286412011-04-02 Ulrich Drepper <drepper@gmail.com>
28642
28643 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28644
8cb700c0 28645 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 28646
0354e355
L
286472011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28648
28649 [BZ #12518]
28650 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28651 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28652 * sysdeps/x86_64/memmove.c: New file.
28653 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28654 (memcpy): Renamed to ...
28655 (__new_memcpy): This.
28656 (memcpy): Provide GLIBC_2_14 memcpy.
28657 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28658 (memcpy): Provide GLIBC_2_2_5 memcpy.
28659
8593482f
UD
286602011-04-01 Ulrich Drepper <drepper@gmail.com>
28661
28662 [BZ #12631]
28663 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28664
81a5726b
AS
286652011-03-30 Andreas Schwab <schwab@redhat.com>
28666
28667 * misc/syncfs.c: New file.
28668 * misc/Makefile (routines): Add syncfs.
28669 * posix/unistd.h: Declare syncfs.
28670 * sysdeps/unix/syscalls.list: Add syncfs.
28671
00e5419f
AS
286722011-04-01 Andreas Schwab <schwab@redhat.com>
28673
28674 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28675 open_by_handle_at.
28676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28677 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28679 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28681 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28682 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28683
748876bf
UD
286842011-04-01 Ulrich Drepper <drepper@gmail.com>
28685
658e451d
UD
28686 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28687 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28688 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28689 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28690 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28692 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28693
748876bf
UD
28694 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28695 sync_file_range.c with -fexceptions.
28696 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28697 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28698 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28699 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28700 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28701 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28702 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
28703 sync_file_range as cancellation point
28704 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28705 now a wrapper around __call_sync_file_range with cancellation handling.
28706 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28707 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28708 function name to __call_sync_file_range.
28709 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28710 Add call_sync_file_range.
748876bf 28711
6e63d5e1
AS
287122011-04-01 Andreas Schwab <schwab@redhat.com>
28713
28714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 28715 bits/timex.h.
6e63d5e1 28716
46998f74
UD
287172011-04-01 Ulrich Drepper <drepper@gmail.com>
28718
4c1423ed
UD
28719 * iconv/iconv.h: Fix typo in comment.
28720 * io/fcntl.h: Likewise.
28721 * libio/stdio.h: Likewise.
28722 * posix/spawn.h: Likewise.
28723 * posix/unistd.h: Likewise.
28724 * stdlib/stdlib.h: Likewise.
28725 * time/time.h: Likewise.
28726 * wcsmbs/wchar.h: Likewise.
28727
158648c0
UD
28728 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28729 open_by_handle): Add.
28730 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28731 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28732 Augment a few comments.
28733 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28734 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28735 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28737 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28738 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28739 open_by_handle.
28740
46998f74
UD
28741 * io/fcntl.h (AT_EMPTY_PATH): Define.
28742
83fe108b
UD
287432011-03-30 Ulrich Drepper <drepper@gmail.com>
28744
28745 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28746 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28747 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28748 to...
28749 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
28750 * Versions.def: Add GLIBC_2.14.
28751 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28752 Export.
83fe108b 28753
bb242059
UD
287542011-03-22 Ulrich Drepper <drepper@gmail.com>
28755
28756 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28757 round counter.
28758 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28759
c97a1282
L
287602011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28761
28762 [BZ #12597]
28763 * string/test-strncmp.c (do_page_test): New function.
28764 (check2): Likewise.
28765 (test_main): Call check2.
28766 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28767
2a115601
UD
287682011-03-20 Ulrich Drepper <drepper@gmail.com>
28769
28770 [BZ #12587]
28771 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28772 Handle cache information in CPU leaf 4.
28773 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28774
8126d904
UD
287752011-03-18 Ulrich Drepper <drepper@gmail.com>
28776
042c49c6 28777 [BZ #12583]
8126d904
UD
28778 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28779 character representation.
28780 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28781
ccfe366e
RA
287822011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28783
28784 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28785 END(__isnan) to END(__isnanf) to match function entry point/label
28786 EALIGN(__isnanf,...).
28787
c6e13027
JJ
287882011-03-10 Jakub Jelinek <jakub@redhat.com>
28789
28790 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28791
33f85a3f
UD
287922011-03-10 Ulrich Drepper <drepper@gmail.com>
28793
028478fa
UD
28794 [BZ #12510]
28795 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28796 copy from the symbol referenced in the relocation to initialize the
28797 used variable.
28798 Patch by Piotr Bury <pbury@goahead.com>.
28799 * elf/Makefile: Add rules to build and tst-unique3.
28800 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28801 * elf/tst-unique3.cc: New file.
28802 * elf/tst-unique3.h: New file.
28803 * elf/tst-unique3lib.cc: New file.
28804 * elf/tst-unique3lib2.cc: New file.
28805
33f85a3f
UD
28806 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28807
03592fc7
MF
288082011-03-10 Mike Frysinger <vapier@gentoo.org>
28809
28810 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28811 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28812 to _start.
03592fc7 28813
6a5ee102
UD
288142011-03-06 Ulrich Drepper <drepper@gmail.com>
28815
28816 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28817 to-be-loaded object along a path to loader is ld.so.
28818
7e4ba49c
HJ
288192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28820 Ulrich Drepper <drepper@gmail.com>
28821
28822 * sysdeps/x86_64/memset.S: After aligning destination, code
28823 branches to different locations depending on the value of
28824 misalignment, when multiarch is enabled. Fix this.
28825
288262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28827
28828 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28829 Set _x86_64_preferred_memory_instruction for AMD processsors.
28830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28831 Set bit_Prefer_SSE_for_memop for AMD processors.
28832
13a804de
UD
288332011-03-04 Ulrich Drepper <drepper@gmail.com>
28834
28835 * libio/fmemopen.c (fmemopen): Optimize a bit.
28836
9d25c392
AS
288372011-03-03 Andreas Schwab <schwab@redhat.com>
28838
28839 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28840
a5543c6a
RM
288412011-03-03 Roland McGrath <roland@redhat.com>
28842
28843 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28844
012d35f7
DM
288452011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28846
7e4ba49c 28847 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
28848 __bzero_ultra1 instead of __memset_ultra1.
28849
4bff6e01
AS
288502011-02-23 Andreas Schwab <schwab@redhat.com>
28851 Ulrich Drepper <drepper@gmail.com>
28852
28853 [BZ #12509]
28854 * include/link.h (struct link_map): Add l_orig_initfini.
28855 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28856 returning unsuccessfully.
28857 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28858 close of a file loaded at startup, restore the original l_initfini
28859 list.
28860 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28861 list, store the pointer.
28862 * elf/Makefile ($(objpfx)noload-mem): New rule.
28863 (noload-ENV): Define.
28864 (tests): Add $(objpfx)noload-mem.
28865 * elf/noload.c: Include <memcheck.h>.
28866 (main): Call mtrace. Close all opened handles.
28867
f2092faf
AS
288682011-02-17 Andreas Schwab <schwab@redhat.com>
28869
28870 [BZ #12454]
28871 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28872 dependencies are missing.
28873
6c8a2e88
ST
288742011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28875
f2092faf 28876 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
28877 Hurd needs munmap.
28878 * sysdeps/mach/hurd/ifreq.h: New file.
28879
84a42118
PB
288802011-01-27 Petr Baudis <pasky@suse.cz>
28881 Ulrich Drepper <drepper@gmail.com>
28882
071f805e 28883 [BZ 12445]#
84a42118
PB
28884 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28885 to extend_alloca().
28886 * stdio-common/bug23.c: New file.
28887 * stdio-common/Makefile (tests): Add bug23.
28888
e23fe25b
AS
288892010-09-28 Andreas Schwab <schwab@redhat.com>
28890 Ulrich Drepper <drepper@gmail.com>
28891
28892 [BZ #12489]
28893 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28894 before performing relro protection. At old place add assertion
28895 to make sure nothing changed.
28896
d3f02e10
NS
288972011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28898 Glauber de Oliveira Costa <glommer@gmail.com>
28899
28900 * elf/elf.h: Add new ARM TLS relocs.
28901
d55fd7a5
RA
289022011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28903
28904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28905 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28906 cast from r3.
28907 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28908 'tests' variable.
28909 * sysdeps/wordsize-64/tst-writev.c: New file.
28910
2206397e
RA
289112011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28912
28913 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28914 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28915 insns in _dl_start to prevent a TOC reference before relocs are
28916 resolved.
28917
e9433893
UD
289182011-02-15 Ulrich Drepper <drepper@gmail.com>
28919
28920 [BZ #12469]
28921 * Makeconfig: Remove RANLIB definition.
28922 * Makerules: Don't use RANLIB.
28923 * aclocal.m4: Remove ranlib test.
28924 * configure.in: No need to check for ranlib.
28925 * elf/rtld-Rules: Don't use RANLIB.
28926
f75286c6
ST
289272011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28928
8e31c82d
ST
28929 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28930 protection macro.
28931 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28932 inclusion protection macro.
28933
f75286c6
ST
28934 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28935 SIGRTMIN and SIGRTMAX and print information in that case only when
28936 SIGRTMIN is defined.
28937
c1d0e639
JJ
289382011-02-11 Jakub Jelinek <jakub@redhat.com>
28939
28940 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28941 arginfo fn returning -1.
28942
28943 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28944 and thousands string is zero terminated.
28945
edf9294e
AS
289462011-02-03 Andreas Schwab <schwab@redhat.com>
28947
28948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28949 sysdeps/unix/sysv/linux/bits/socket.h.
28950
2b7e92df
ST
289512011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28952
edf9294e
AS
28953 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28954 (__CPU_COUNT): Remove old macros.
28955 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28956 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28957 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
28958 (__sched_cpualloc, __sched_cpufree): Add declarations.
28959
a4c7ea7b
UD
289602011-02-05 Ulrich Drepper <drepper@gmail.com>
28961
28962 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28963 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28964 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28965 (readdhstai): Return value of addhstaiX call.
28966 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28967 (addgrbyX): Return value returned by cache_addgr.
28968 (readdgrbyname): Return value returned by addgrbyX.
28969 (readdgrbygid): Likewise.
28970 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28971 (addpwbyX): Return value returned by cache_addpw.
28972 (readdpwbyname): Return value returned by addhstbyX.
28973 (readdpwbyuid): Likewise.
28974 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28975 (addservbyX): Return value returned by cache_addserv.
28976 (readdservbyname): Return value returned by addservbyX:
28977 (readdservbyport): Likewise.
28978 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28979 (addhstbyX): Return value returned by cache_addhst.
28980 (readdhstbyname): Return value returned by addhstbyX.
28981 (readdhstbyaddr): Likewise.
28982 (readdhstbynamev6): Likewise.
28983 (readdhstbyaddrv6): Likewise.
28984 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28985 (readdinitgroups): Return value returned by addinitgroupsX.
28986 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28987 (prune_cache): Keep track of timeout value of re-added entries.
28988 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28989 * nscd/nscd.h: Adjust prototypes of readd* functions.
28990
a0bf67cc
RM
289912011-02-04 Roland McGrath <roland@redhat.com>
28992
28993 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28994 (nis_stats): Likewise.
28995 * nis/nis_modify.c (nis_modify): Likewise.
28996 * nis/nis_remove.c (nis_remove): Likewise.
28997 * nis/nis_add.c (nis_add): Likewise.
28998
28999 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29000
29001 * posix/fnmatch_loop.c: Add some consts.
29002
29003 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29004
435b95eb
L
290052011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29006
29007 [BZ #12460]
29008 * config.make.in (config-cflags-novzeroupper): Define.
29009 * configure.in: Substitute libc_cv_cc_novzeroupper.
29010 * elf/Makefile (AVX-CFLAGS): Define.
29011 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29012 (CFLAGS-tst-auditmod4a.c): Likewise.
29013 (CFLAGS-tst-auditmod4b.c): Likewise.
29014 (CFLAGS-tst-auditmod6b.c): Likewise.
29015 (CFLAGS-tst-auditmod6c.c): Likewise.
29016 (CFLAGS-tst-auditmod7b.c): Likewise.
29017 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29018
8517b15e
UD
290192011-02-02 Ulrich Drepper <drepper@gmail.com>
29020
29021 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29022 function to the callback.
29023 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29024
10a656fe
AS
290252011-02-02 Andreas Schwab <schwab@redhat.com>
29026
29027 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29028 of errno.
29029
968dad0a
UD
290302011-01-19 Ulrich Drepper <drepper@gmail.com>
29031
9f94d2ea 29032 [BZ #11724]
968dad0a
UD
29033 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29034 of constructors.
29035 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29036 of destructors.
29037 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29038
29039 [BZ #11724]
29040 * elf/Makefile: Add rules to build and run new test.
29041 * elf/tst-initorder.c: New file.
29042 * elf/tst-initorder.exp: New file.
29043 * elf/tst-initordera1.c: New file.
29044 * elf/tst-initordera2.c: New file.
29045 * elf/tst-initordera3.c: New file.
29046 * elf/tst-initordera4.c: New file.
29047 * elf/tst-initorderb1.c: New file.
29048 * elf/tst-initorderb2.c: New file.
29049 * elf/tst-order-a1.c: New file.
29050 * elf/tst-order-a2.c: New file.
29051 * elf/tst-order-a3.c: New file.
29052 * elf/tst-order-a4.c: New file.
29053 * elf/tst-order-b1.c: New file.
29054 * elf/tst-order-b2.c: New file.
29055 * elf/tst-order-main.c: New file.
29056 New test case by George Gensure <werkt0@gmail.com>.
29057
86e92359
UD
290582010-10-01 Andreas Schwab <schwab@redhat.com>
29059
29060 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29061 decoding ACE if AI_CANONIDN.
29062
5d5732b0
UD
290632011-01-18 Ulrich Drepper <drepper@gmail.com>
29064
29065 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29066
a77e8cbc
UD
290672011-01-17 Ulrich Drepper <drepper@gmail.com>
29068
6392473f
UD
29069 * version.h (RELEASE): Bump for 2.13 release.
29070 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29071
620a0529
UD
29072 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29073
18ba70a5
UD
29074 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29075 MADV_NOHUGEPAGE.
32465c3e
UD
29076 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29077 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29078 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29079 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29080 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29081 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29082
c0dafcf1
UD
29083 * posix/getconf.c: Update copyright year.
29084 * catgets/gencat.c: Likewise.
29085 * csu/version.c: Likewise.
29086 * debug/catchsegv.sh: Likewise.
29087 * debug/xtrace.sh: Likewise.
29088 * elf/ldconfig.c: Likewise.
29089 * elf/ldd.bash.in: Likewise.
29090 * elf/sprof.c (print_version): Likewise.
29091 * iconv/iconv_prog.c: Likewise.
29092 * iconv/iconvconfig.c: Likewise.
29093 * locale/programs/locale.c: Likewise.
29094 * locale/programs/localedef.c: Likewise.
29095 * malloc/memusage.sh: Likewise.
29096 * malloc/mtrace.pl: Likewise.
29097 * nscd/nscd.c (print_version): Likewise.
29098 * nss/getent.c: Likewise.
29099
a77e8cbc
UD
29100 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29101 PF_CAIF, and PF_ALG.
29102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29103
77e8bddf
AS
291042011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29105
1f20b93a
AS
29106 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29107 (modules-names): Use them.
29108 (ifunc-test-modules, ifunc-pie-tests): Define.
29109 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29110 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29111 (test-extras): Likewise.
29112 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29113 $(compile-command.c).
29114 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29115 (all-built-dso): Define.
29116 (check-textrel.out, check-execstack.out): Depend on it.
29117
77e8bddf
AS
29118 * configure.in: Don't override --enable-multi-arch.
29119
bc425b33
UD
291202011-01-15 Ulrich Drepper <drepper@gmail.com>
29121
29122 [BZ #6812]
29123 * nscd/hstcache.c (tryagain): Define.
29124 (cache_addhst): Return tryagain not notfound for temporary errors.
29125 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29126 failed.
29127
794c3ad3
UD
291282011-01-14 Ulrich Drepper <drepper@gmail.com>
29129
70181fdd
UD
29130 [BZ #10563]
29131 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29132 to make the syscall.
29133 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29134
794c3ad3
UD
29135 [BZ #12378]
29136 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29137 and fall back to matching as normal character if the string ends before
29138 the matching ']' is found. This is what POSIX requires.
29139 * posix/testfnm.c: Adjust test result.
29140 * posix/globtest.sh: Adjust test result. Add new test.
29141 * posix/tst-fnmatch.input: Likewise.
29142 * posix/tst-fnmatch2.c: Add new test.
29143
68dc9497
AS
291442010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29145
29146 * elf/Makefile (check-execstack): Revert last change. Depend on
29147 check-execstack.h.
29148 (check-execstack.h): New target.
29149 (generated): Add check-execstack.h.
29150 * elf/check-execstack.c: Include "check-execstack.h".
29151 (main): Revert last change.
29152 (handle_file): Return zero if GNU_STACK is absent and
29153 DEFAULT_STACK_PERMS doesn't include PF_X.
29154
451f001b
UD
291552011-01-13 Ulrich Drepper <drepper@gmail.com>
29156
cfa28e56
UD
29157 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29158 in child fails because the descriptor is already closed.
8cf8ce17
UD
29159 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29160 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29161 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 29162
1086d70d
UD
29163 [BZ #12397]
29164 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29165 syscall.
29166
451f001b
UD
29167 [BZ #10484]
29168 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29169 temporary buffer used to handle multi lookups locally.
a85b5cb4 29170 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29171
08769175
UD
291722011-01-12 Ulrich Drepper <drepper@gmail.com>
29173
29174 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29175 loader is ld.so.
29176
5e49c52e
UD
291772011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29178
29179 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29180 alignment for SSE2.
29181
60522a5f
UD
291822011-01-12 Ulrich Drepper <drepper@gmail.com>
29183
29184 [BZ #12394]
29185 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29186 characters. When rounding increased number of integer digits recompute
29187 number of groups.
29188 * stdio-common/tst-grouping.c: New file.
29189 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29190
f257bbd7
UD
291912011-01-09 Ulrich Drepper <drepper@gmail.com>
29192
29193 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29194 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29195
29196 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29197 void.
29198 * bits/select.h: Likewise.
29199
fa9c15cb
UD
292002011-01-08 Ulrich Drepper <drepper@gmail.com>
29201
29202 * po/ja.po: Update from translation team.
29203
16c2895f
DM
292042011-01-04 David S. Miller <davem@sunset.davemloft.net>
29205
29206 [BZ #11155]
29207 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29208 implementation just like for lxstat, fxstatat, et al.
29209
2543fef2
JM
292102010-12-27 Jim Meyering <meyering@redhat.com>
29211
29212 [BZ #12348]
29213 * posix/regexec.c (build_trtable): Return failure indication upon
29214 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29215
98727dbe
UD
292162010-12-25 Ulrich Drepper <drepper@gmail.com>
29217
5bd6dc5c
UD
29218 [BZ #12201]
29219 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29220 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29221 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29222 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29223
97983464
UD
29224 [BZ #12207]
29225 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29226
98727dbe
UD
29227 [BZ #12204]
29228 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29229 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29230
4a531bb0
L
292312010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29232
29233 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29234 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29235 script has SORT_BY_INIT_PRIORITY.
29236 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29237 NO_CTORS_DTORS_SECTIONS is defined.
29238 * elf/soinit.c: Likewise.
29239 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29240 NO_CTORS_DTORS_SECTIONS is defined.
29241 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29242 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29243 * sysdeps/sh/init-first.c: Likewise.
29244 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29245
07eb4b71
UD
292462010-12-24 Ulrich Drepper <drepper@gmail.com>
29247
29248 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29249 always use the slow path.
29250
30950a5f
RA
292512010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29252
29253 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29254 similar rule which adds the sysdep directories to the header search in
29255 order to pick up the correct platform stackinfo.h.
29256 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29257 perform test if it is, otherwise return successfully without testing.
29258 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29259 DEFAULT_STACK_PERMS define in stackinfo.h.
29260 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29261 defined in stackinfo.h.
29262 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29263 DEFAULT_STACK_PERMS defined in stackinfo.h.
29264 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29265 * sysdeps/ia64/stackinfo.h: Likewise.
29266 * sysdeps/s390/stackinfo.h: Likewise.
29267 * sysdeps/sh/stackinfo.h: Likewise.
29268 * sysdeps/sparc/stackinfo.h: Likewise.
29269 * sysdeps/x86_64/stackinfo.h: Likewise.
29270 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29271 PF_X for powerpc64. Retain PF_X for powerpc32.
29272
db753e2c
UD
292732010-12-19 Ulrich Drepper <drepper@gmail.com>
29274
14b697f7
UD
29275 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29276 accurately.
db753e2c
UD
29277 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29278 GETDENTS_64BIT_ALIGNED.
29279
28300719
UD
292802010-12-14 Ulrich Drepper <dreper@gmail.com>
29281
14b697f7 29282 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29283
4f197237
AS
292842010-12-10 Andreas Schwab <schwab@redhat.com>
29285
dbb0472f
AS
29286 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29287 _GNU_SOURCE.
29288
4f197237
AS
29289 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29290 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29291 Remove __restrict.
29292 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29293 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29294
fb88ac72
UD
292952010-12-09 Ulrich Drepper <drepper@gmail.com>
29296
29297 [BZ #11655]
29298 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29299 are initialized.
29300
42acbb92
JJ
293012010-12-09 Jakub Jelinek <jakub@redhat.com>
29302
29303 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29304
c038d98d
UD
293052010-12-03 Ulrich Drepper <drepper@gmail.com>
29306
29307 * po/it.po: Update from translation team.
29308
3a4a2499
L
293092010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29310
29311 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29312 unused codes.
29313
1e24cf6e
UD
293142010-11-30 Ulrich Drepper <drepper@gmail.com>
29315
29316 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29317
a7690819
AS
293182010-11-24 Andreas Schwab <schwab@redhat.com>
29319
29320 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29321 specially.
29322 (gaih_getanswer_slice): Likewise.
29323
3bf8d1b1
JJ
293242010-10-20 Jakub Jelinek <jakub@redhat.com>
29325
29326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29327
6db52fbb
PB
293282010-05-31 Petr Baudis <pasky@suse.cz>
29329
29330 [BZ #11149]
29331 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29332 silently even in the chroot mode.
29333
eaca7569
UD
293342010-11-22 Ulrich Drepper <drepper@gmail.com>
29335
29336 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29337 last patch a bit. Pretty printing
29338
3056dcdb
UD
293392010-05-31 Petr Baudis <pasky@suse.cz>
29340
29341 [BZ #10085]
29342 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29343 initialization of skip_initgroups_dyn.
29344
cf7c9078
UD
293452010-11-19 Ulrich Drepper <drepper@gmail.com>
29346
29347 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29348 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29349
a1fb5e3e
UD
293502010-11-16 Ulrich Drepper <drepper@gmail.com>
29351
29352 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29353
3540d66b
AS
293542010-11-11 Andreas Schwab <schwab@redhat.com>
29355
29356 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29357 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29358 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29359 ($(objpfx)tst-fnmatch-mem): New rule.
29360 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29361 * posix/tst-fnmatch.c (main): Call mtrace.
29362
13b69574
L
293632010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29364
29365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29366 Support Intel processor model 6 and model 0x2c.
29367
da93d214
LM
293682010-11-10 Luis Machado <luisgpm@br.ibm.com>
29369
29370 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29371 signed comparison.
29372
8ca52c6e
L
293732010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29374
29375 [BZ #12205]
29376 * string/test-strncasecmp.c (check_result): New function.
29377 (do_one_test): Use it.
29378 (check1): New function.
29379 (test_main): Use it.
29380 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29381 Support strcasecmp and strncasecmp.
29382
69da074d
UD
293832010-11-08 Ulrich Drepper <drepper@gmail.com>
29384
29385 [BZ #12194]
29386 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29387 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29388
ff02d528
L
293892010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29390
29391 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29392 IFUNC support.
29393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29394 memset-x86-64.
29395 * sysdeps/x86_64/multiarch/bzero.S: New file.
29396 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29397 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29398 * sysdeps/x86_64/multiarch/memset.S: New file.
29399 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29401 Set bit_Prefer_SSE_for_memop for Intel processors.
29402 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29403 Define.
29404 (index_Prefer_SSE_for_memop): Define.
29405 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29406
344d0b54
LM
294072010-11-04 Luis Machado <luisgpm@br.ibm.com>
29408
29409 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29410 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29411
c0dde15b
UD
294122010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29413
29414 [BZ #12191]
29415 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29416 (__x86_64_raw_data_cache_size_half): Likewise.
29417 (__x86_64_raw_shared_cache_size): Likewise.
29418 (__x86_64_raw_shared_cache_size_half): Likewise.
29419
29420 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29421 (__x86_64_raw_data_cache_size_half): Likewise.
29422 (__x86_64_raw_shared_cache_size): Likewise.
29423 (__x86_64_raw_shared_cache_size_half): Likewise.
29424 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29425 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29426 and __x86_64_raw_shared_cache_size_half. Round
29427 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29428 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29429 to multiple of 256 bytes.
29430
0e516e0e
MS
294312010-11-03 Ulrich Drepper <drepper@gmail.com>
29432
29433 [BZ #12167]
29434 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29435 of inacessible symlinks. Verify result of symlink before returning it.
29436 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29437 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29438
0e012e87
ER
294392010-10-28 Erich Ritz <erichritz@gmail.com>
29440
29441 * math/math.h (isinf): Fix typo in comment.
29442
de0ff7bc
UD
294432010-11-01 Ulrich Drepper <drepper@gmail.com>
29444
29445 * po/da.po: Update from translation team.
29446
fa41c84d
UD
294472010-10-26 Ulrich Drepper <drepper@gmail.com>
29448
29449 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29450 is added to the list.
29451
f0967738
AK
294522010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29453 Ulrich Drepper <drepper@gmail.com>
29454
29455 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29456 the global list here. Move code to...
29457 (_dl_add_to_namespace_list): ...here. New function.
29458 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29459 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29460 * elf/dl-load.c (lose): Don't remove the element from the list.
29461 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29462 (_dl_map_object): Likewise.
29463
294642010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
29465
29466 [BZ #12159]
29467 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29468 into all bytes of SSE register.
29469 Patch by Richard Li <richardpku@gmail.com>.
29470
f0967738 294712010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
29472
29473 [BZ #12140]
29474 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29475 perturbing.
29476
d0b9e94f
MB
294772010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29478
29479 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29480 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29481 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29482 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29484 submachine.
29485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29486
8e9f92e9
AS
294872010-10-22 Andreas Schwab <schwab@redhat.com>
29488
29489 * include/dlfcn.h (__RTLD_SECURE): Define.
29490 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29491 mode & __RTLD_SECURE instead.
29492 (open_path): Rename preloaded parameter to secure.
29493 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29494 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29495 * elf/dl-deps.c (openaux): Likewise.
29496 * elf/rtld.c (struct map_args): Remove is_preloaded.
29497 (map_doit): Don't use it.
29498 (dl_main): Likewise.
29499 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29500 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29501
bc96fbda
AS
295022010-09-09 Andreas Schwab <schwab@redhat.com>
29503
29504 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29505 (sysd-rules-targets): Remove duplicates.
29506 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29507 rtld-%.$o dependency.
29508
22cd1c9b
AS
295092010-10-18 Andreas Schwab <schwab@redhat.com>
29510
29511 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29512 _dl_map_object do it.
29513
18edac48
UD
295142010-10-19 Ulrich Drepper <drepper@gmail.com>
29515
29516 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29517 fast fma builtins, define the macros in the C99 standard.
29518 (FP_FAST_FMAF): Likewise.
29519 (FP_FAST_FMAL): Likewise.
29520 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29521
29522 * bits/mathdef.h: Update copyright year.
29523 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29524
d2050124
MM
295252010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29526
29527 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29528 builtins, define the macros in the C99 standard.
29529 (FP_FAST_FMAF): Likewise.
29530 (FP_FAST_FMAL): Likewise.
29531 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29532 multiply/add.
29533 (FP_FAST_FMAF): Likewise.
29534
475facd1
JJ
295352010-10-15 Jakub Jelinek <jakub@redhat.com>
29536
29537 [BZ #3268]
29538 * math/libm-test.inc (fma_test): Some new testcases.
29539 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29540 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29541 y and infinite z. Do multiplication by C already in long double.
29542 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29543 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29544 y and infinite z. Do bitwise or of inexact bit into u.d.
29545 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29546 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29547 * sysdeps/i386/fpu/s_fma.S: Removed.
29548 * sysdeps/i386/fpu/s_fmal.S: Removed.
29549
7c08a05c
JJ
295502010-10-16 Jakub Jelinek <jakub@redhat.com>
29551
29552 [BZ #3268]
29553 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29555 computation is not scheduled after fetestexcept. Fix value
29556 of minimum denormal long double.
29557
f3f7372d
JJ
295582010-10-14 Jakub Jelinek <jakub@redhat.com>
29559
29560 [BZ #3268]
29561 * math/libm-test.inc (fma_test): Add some more tests.
29562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29563 correctly.
29564
14d43591
AS
295652010-10-15 Andreas Schwab <schwab@redhat.com>
29566
29567 * scripts/data/localplt-s390-linux-gnu.data: New file.
29568 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29569
5e908464
JJ
295702010-10-13 Jakub Jelinek <jakub@redhat.com>
29571
29572 [BZ #3268]
29573 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29574 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29575 instead of dbl-64.
29576 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29577 inlines.
29578 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29579 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29580 if one of x and y is very large and the other is subnormal.
29581 * sysdeps/s390/fpu/s_fmaf.c: New file.
29582 * sysdeps/s390/fpu/s_fma.c: New file.
29583 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29584 * sysdeps/powerpc/fpu/s_fma.S: New file.
29585 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29586 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29587 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29588
295892010-10-12 Jakub Jelinek <jakub@redhat.com>
29590
29591 [BZ #3268]
29592 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29593 fma tests.
29594 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29595 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29596 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29597 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29598 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29599 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29600 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29601
b833d51f
UD
296022010-10-12 Ulrich Drepper <drepper@redhat.com>
29603
29604 [BZ #12078]
29605 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29606 * posix/bug-regex31.input: Add test case.
29607
1751705d
UD
296082010-10-11 Ulrich Drepper <drepper@gmail.com>
29609
e9b9cbf5
UD
29610 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29611 * posix/bug-regex31.input: New file.
29612
29613 [BZ #12078]
29614 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29615 (parse_sub_exp): Fix last change, use postorder.
29616
ef06edbe
UD
29617 * posix/bug-regex31.c: New file.
29618 * posix/Makefile: Add rules to build and run bug-regex31.
29619
a129c80d
UD
29620 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29621
29622 [BZ #12078]
29623 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29624
b76b818e
UD
29625 [BZ #12108]
29626 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29627 to have entries in sys_siglist.
29628
1751705d
UD
29629 [BZ #12093]
29630 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29631 be NULL.
29632
9ff8d36f
JJ
296332010-10-07 Jakub Jelinek <jakub@redhat.com>
29634
29635 [BZ #3268]
29636 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29637 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29638 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29639 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29640 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29641 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29642 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29643 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29644 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29645 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29646 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29647 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29648 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29649 * math/ftestexcept.c (fetestexcept): Likewise.
29650 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29651 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29652 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29653 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29654 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29655 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29656 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29657
af325969
UD
296582010-10-11 Ulrich Drepper <drepper@gmail.com>
29659
c579b202 29660 [BZ #12107]
af325969
UD
29661 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29662 newline.
29663
67a67b95
UD
296642010-10-06 Ulrich Drepper <drepper@gmail.com>
29665
29666 * string/bug-strstr1.c: New file.
29667 * string/Makefile: Add rules to build and run bug-strstr1.
29668
5fb308bc
EB
296692010-10-05 Eric Blake <eblake@redhat.com>
29670
29671 [BZ #12092]
29672 * string/str-two-way.h (two_way_long_needle): Always clear memory
29673 when skipping input due to the shift table.
29674
45db99c7
UD
296752010-10-03 Ulrich Drepper <drepper@gmail.com>
29676
3b111893
UD
29677 [BZ #12005]
29678 * malloc/mcheck.c: Handle large requests.
29679
45db99c7
UD
29680 [BZ #12077]
29681 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29682 for strncmp and strncasecmp.
29683 * string/stratcliff.c: Add tests for strcmp and strncmp.
29684 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29685
cf7a1eb8
NI
296862010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29687
29688 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29689 __set_fpscr.
29690
6484ba5e
AJ
296912010-09-30 Andreas Jaeger <aj@suse.de>
29692
29693 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29694 (CGROUP_SUPER_MAGIC): Define.
29695 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29696 Handle btrfs and cgroup file systems.
29697 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29698 Likewise.
29699
91c42559
LM
297002010-09-27 Luis Machado <luisgpm@br.ibm.com>
29701
29702 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29703 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29704
87a97932
AK
297052010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29706
29707 [BZ #12067]
29708 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29709 trying to locate the ELF header.
29710
c21cc9bc
AS
297112010-09-27 Andreas Schwab <schwab@redhat.com>
29712
29713 [BZ #11611]
29714 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29715 Mask out sign-bit copies when constructing f_fsid.
29716
315970f6
PB
297172010-09-24 Petr Baudis <pasky@suse.cz>
29718
29719 * debug/stack_chk_fail_local.c: Add missing licence exception.
29720 * debug/warning-nop.c: Likewise.
29721
1ac7a2c7
JM
297222010-09-15 Joseph Myers <joseph@codesourcery.com>
29723
29724 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29725 implementing getdents64 using getdents syscall, set d_type if
29726 __ASSUME_GETDENTS32_D_TYPE.
29727
56801c50
AS
297282010-09-16 Andreas Schwab <schwab@redhat.com>
29729
29730 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29731 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29732
dda51327
UD
297332010-09-21 Ulrich Drepper <drepper@redhat.com>
29734
29735 [BZ #12037]
29736 * posix/unistd.h: Undo change of feature selection for ftruncate from
29737 2010-01-11.
29738
8ffcee4a
UD
297392010-09-20 Ulrich Drepper <drepper@redhat.com>
29740
a545ecd9 29741 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
29742 detection.
29743
e24f0a8b
AS
297442010-09-20 Andreas Schwab <schwab@redhat.com>
29745
29746 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29747 fanotify_mark.
29748 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29749
7291c56f
AS
297502010-09-14 Andreas Schwab <schwab@redhat.com>
29751
29752 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29753 variables after CHECK_SP call.
29754 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29755
bc5fb037
AS
297562010-09-13 Andreas Schwab <schwab@redhat.com>
29757 Ulrich Drepper <drepper@redhat.com>
29758
29759 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29760 re-relocationg ld.so.
29761 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29762 _dl_init_paths call.
29763 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29764 here anymore.
29765
e66e7419
UD
297662010-09-14 Ulrich Drepper <drepper@redhat.com>
29767
29768 * resolv/res_init.c (__res_vinit): Count the default server we added.
29769
c044aa75
CLT
297702010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29771 Ulrich Drepper <drepper@redhat.com>
29772
29773 [BZ #11968]
29774 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29775 (____longjmp_chk): Use %ebx for saving value across system call.
29776 Add unwind info.
29777
32cf4069
AS
297782010-09-06 Andreas Schwab <schwab@redhat.com>
29779
29780 * manual/Makefile: Don't mix pattern rules with normal rules.
29781
817328ee
AS
297822010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29783
29784 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29785 operation.
29786 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29787 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29788 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29789 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29790 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29791 Likewise.
29792
29fddf61
UD
297932010-09-04 Ulrich Drepper <drepper@redhat.com>
29794
29795 [BZ #11979]
29796 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29797 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29798
0959ffc9
UD
297992010-09-02 Ulrich Drepper <drepper@redhat.com>
29800
29801 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29802 * sysdeps/x86_64/addmul_1.S: Likewise.
29803 * sysdeps/x86_64/lshift.S: Likewise.
29804 * sysdeps/x86_64/mul_1.S: Likewise.
29805 * sysdeps/x86_64/rshift.S: Likewise.
29806 * sysdeps/x86_64/sub_n.S: Likewise.
29807 * sysdeps/x86_64/submul_1.S: Likewise.
29808
ece29840
ST
298092010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29810
0959ffc9
UD
29811 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29812 Define __sched_param instead of SCHED_* and sched_param when
ece29840 29813 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 29814 * bits/sched.h [__need_schedparam]
ece29840 29815 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
29816 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29817 (__defined_schedparam): Define to 1.
ece29840
ST
29818 (__sched_param): New structure, identical to sched_param.
29819 (__need_schedparam): Undefine.
29820
e53a31fe
MF
298212010-08-31 Mike Frysinger <vapier@gentoo.org>
29822
fdc0c10d
MF
29823 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29824 (epoll_create1): Declare.
29825
e53a31fe
MF
29826 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29827
a726d796
AS
298282010-08-31 Andreas Schwab <schwab@redhat.com>
29829
29830 [BZ #7066]
29831 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29832 shifting retval into place.
29833
2f3e3dc7
UD
298342010-09-01 Ulrich Drepper <drepper@redhat.com>
29835
f2933da9
UD
29836 * nis/rpcsvc/nis.h: Update copyright notice.
29837 * nis/rpcsvc/nis.x: Likewise.
29838 * nis/rpcsvc/nis_callback.h: Likewise.
29839 * nis/rpcsvc/nis_callback.x: Likewise.
29840 * nis/rpcsvc/nis_object.x: Likewise.
29841 * nis/rpcsvc/nis_tags.h: Likewise.
29842 * nis/rpcsvc/yp.h: Likewise.
29843 * nis/rpcsvc/yp.x: Likewise.
29844 * nis/rpcsvc/ypupd.h: Likewise.
29845 * nis/yp_xdr.c: Likewise.
29846 * nis/ypupdate_xdr.c: Likewise.
29847
2f3e3dc7
UD
29848 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29849 mainly the body of pmap_getport. Add parameters to specify timeouts.
29850 (pmap_getport): Use __libc_rpc_getport.
29851 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29852 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29853 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29854
f3dcc2f9
AS
298552010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29856
29857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29858 fanotify_mark.
29859
6d34eb5b
RM
298602010-08-27 Roland McGrath <roland@redhat.com>
29861
29862 * sysdeps/i386/i686/multiarch/Makefile
29863 (CFLAGS-varshift.c): New variable.
29864
9ea3de11
UD
298652010-08-27 Ulrich Drepper <drepper@redhat.com>
29866
c96d23fc
UD
29867 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29868 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29869
9ea3de11
UD
29870 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29871
29872 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29873
623aac7f
L
298742010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29875
29876 * sysdeps/x86_64/strlen.S: Unroll the loop.
29877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29878 strlen-sse2 strlen-sse2-bsf.
29879 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29880 __strlen_no_bsf if bit_Slow_BSF is set.
29881 (__strlen_sse42): Removed.
29882 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29883 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29884
8b2b7715
RM
298852010-08-25 Roland McGrath <roland@redhat.com>
29886
29887 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29888 * sysdeps/x86_64/multiarch/varshift.c: New file.
29889 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29890 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29891 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29892 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29893
e73015f2
L
298942010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29895
29896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29897 strlen-sse2 strlen-sse2-bsf.
29898 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29899 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29900 (__strlen_sse2): Removed.
29901 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29902 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29904 bit_Slow_BSF for Atom.
29905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29906 (index_Slow_BSF): Define.
29907 (HAS_SLOW_BSF): Define.
29908
df24a73e
UD
299092010-08-25 Ulrich Drepper <drepper@redhat.com>
29910
29911 [BZ #10851]
29912 * resolv/res_init.c (__res_vinit): When no server address at all
29913 is given default to loopback.
29914
f2ac4868
RM
299152010-08-24 Roland McGrath <roland@redhat.com>
29916
09055553
RM
29917 * configure.in: Remove config-name.h generation.
29918 * configure: Regenerated.
29919 * config-name.in: File removed.
29920 * scripts/config-uname.sh: New file.
29921 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29922 ($(objdir)config-name.h): New target.
29923
f2ac4868
RM
29924 * sunrpc/rpc_parse.h: Avoid nested comment.
29925
73f27d5e
RH
299262010-08-24 Richard Henderson <rth@redhat.com>
29927 Ulrich Drepper <drepper@redhat.com>
29928 H.J. Lu <hongjiu.lu@intel.com>
29929
29930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29932 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29933 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29934 _mm_alignr_epi8 with _mm_loadu_si128.
29935 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29936 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29937 (__m128i_shift_right): Removed.
29938 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29939 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29940 * sysdeps/x86_64/multiarch/varshift.h: New file.
29941 * sysdeps/x86_64/multiarch/varshift.S: New file.
29942
84b9230c
MF
299432010-08-21 Mike Frysinger <vapier@gentoo.org>
29944
29945 * configure.in: Move assembler checks to before sysdep dir checking.
29946
9bbd0ddc
PB
299472010-08-20 Petr Baudis <pasky@suse.cz>
29948
29949 * LICENSES: Sync the sunrpc license.
29950
9da4bb31
UD
299512010-08-19 Ulrich Drepper <drepper@redhat.com>
29952
a7ab6ec8
UD
29953 * sunrpc/auth_des.c: Update copyright notice once again.
29954 * sunrpc/auth_none.c: Likewise.
29955 * sunrpc/auth_unix.c: Likewise.
29956 * sunrpc/authdes_prot.c: Likewise.
29957 * sunrpc/authuxprot.c: Likewise.
29958 * sunrpc/bindrsvprt.c: Likewise.
29959 * sunrpc/clnt_gen.c: Likewise.
29960 * sunrpc/clnt_perr.c: Likewise.
29961 * sunrpc/clnt_raw.c: Likewise.
29962 * sunrpc/clnt_simp.c: Likewise.
29963 * sunrpc/clnt_tcp.c: Likewise.
29964 * sunrpc/clnt_udp.c: Likewise.
29965 * sunrpc/clnt_unix.c: Likewise.
29966 * sunrpc/des_crypt.c: Likewise.
29967 * sunrpc/des_soft.c: Likewise.
29968 * sunrpc/get_myaddr.c: Likewise.
29969 * sunrpc/getrpcport.c: Likewise.
29970 * sunrpc/key_call.c: Likewise.
29971 * sunrpc/key_prot.c: Likewise.
29972 * sunrpc/openchild.c: Likewise.
29973 * sunrpc/pm_getmaps.c: Likewise.
29974 * sunrpc/pm_getport.c: Likewise.
29975 * sunrpc/pmap_clnt.c: Likewise.
29976 * sunrpc/pmap_prot.c: Likewise.
29977 * sunrpc/pmap_prot2.c: Likewise.
29978 * sunrpc/pmap_rmt.c: Likewise.
29979 * sunrpc/rpc/auth.h: Likewise.
29980 * sunrpc/rpc/auth_unix.h: Likewise.
29981 * sunrpc/rpc/clnt.h: Likewise.
29982 * sunrpc/rpc/des_crypt.h: Likewise.
29983 * sunrpc/rpc/key_prot.h: Likewise.
29984 * sunrpc/rpc/netdb.h: Likewise.
29985 * sunrpc/rpc/pmap_clnt.h: Likewise.
29986 * sunrpc/rpc/pmap_prot.h: Likewise.
29987 * sunrpc/rpc/pmap_rmt.h: Likewise.
29988 * sunrpc/rpc/rpc.h: Likewise.
29989 * sunrpc/rpc/rpc_des.h: Likewise.
29990 * sunrpc/rpc/rpc_msg.h: Likewise.
29991 * sunrpc/rpc/svc.h: Likewise.
29992 * sunrpc/rpc/svc_auth.h: Likewise.
29993 * sunrpc/rpc/types.h: Likewise.
29994 * sunrpc/rpc/xdr.h: Likewise.
29995 * sunrpc/rpc_clntout.c: Likewise.
29996 * sunrpc/rpc_cmsg.c: Likewise.
29997 * sunrpc/rpc_common.c: Likewise.
29998 * sunrpc/rpc_cout.c: Likewise.
29999 * sunrpc/rpc_dtable.c: Likewise.
30000 * sunrpc/rpc_hout.c: Likewise.
30001 * sunrpc/rpc_main.c: Likewise.
30002 * sunrpc/rpc_parse.c: Likewise.
30003 * sunrpc/rpc_parse.h: Likewise.
30004 * sunrpc/rpc_prot.c: Likewise.
30005 * sunrpc/rpc_sample.c: Likewise.
30006 * sunrpc/rpc_scan.c: Likewise.
30007 * sunrpc/rpc_scan.h: Likewise.
30008 * sunrpc/rpc_svcout.c: Likewise.
30009 * sunrpc/rpc_tblout.c: Likewise.
30010 * sunrpc/rpc_util.c: Likewise.
30011 * sunrpc/rpc_util.h: Likewise.
30012 * sunrpc/rpcinfo.c: Likewise.
30013 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30014 * sunrpc/rpcsvc/key_prot.x: Likewise.
30015 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30016 * sunrpc/rpcsvc/mount.x: Likewise.
30017 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30018 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30019 * sunrpc/rpcsvc/rex.x: Likewise.
30020 * sunrpc/rpcsvc/rstat.x: Likewise.
30021 * sunrpc/rpcsvc/rusers.x: Likewise.
30022 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30023 * sunrpc/rpcsvc/spray.x: Likewise.
30024 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30025 * sunrpc/rtime.c: Likewise.
30026 * sunrpc/svc.c: Likewise.
30027 * sunrpc/svc_auth.c: Likewise.
30028 * sunrpc/svc_authux.c: Likewise.
30029 * sunrpc/svc_raw.c: Likewise.
30030 * sunrpc/svc_run.c: Likewise.
30031 * sunrpc/svc_simple.c: Likewise.
30032 * sunrpc/svc_tcp.c: Likewise.
30033 * sunrpc/svc_udp.c: Likewise.
30034 * sunrpc/svc_unix.c: Likewise.
30035 * sunrpc/svcauth_des.c: Likewise.
30036 * sunrpc/xcrypt.c: Likewise.
30037 * sunrpc/xdr.c: Likewise.
30038 * sunrpc/xdr_array.c: Likewise.
30039 * sunrpc/xdr_float.c: Likewise.
30040 * sunrpc/xdr_mem.c: Likewise.
30041 * sunrpc/xdr_rec.c: Likewise.
30042 * sunrpc/xdr_ref.c: Likewise.
30043 * sunrpc/xdr_sizeof.c: Likewise.
30044 * sunrpc/xdr_stdio.c: Likewise.
30045
9da4bb31
UD
30046 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30047 handling.
30048
bdaa77bc
AS
300492010-08-19 Andreas Schwab <schwab@redhat.com>
30050
30051 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30052
fe2f79db
LM
300532010-08-19 Luis Machado <luisgpm@br.ibm.com>
30054
30055 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30056 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30057 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30058 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30059 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30060 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30061 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30062 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30063 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30064 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30065 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30066 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30067 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30068 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30069
b9b42ee0
AB
300702010-07-26 Anton Blanchard <anton@samba.org>
30071
30072 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30073 * malloc/arena.c (heap_trim): Likewise.
30074
1c06ba31
UD
300752010-08-16 Ulrich Drepper <drepper@redhat.com>
30076
30077 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30078 here. Not...
30079 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30080 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30081
f8392f40
L
300822010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30083
30084 * sysdeps/i386/elf/Makefile: New file.
30085
3162f12e
AS
300862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30087
30088 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30089 from fanotify_init.
30090 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30092
28c90b2c
UD
300932010-08-15 Ulrich Drepper <drepper@redhat.com>
30094
30095 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30096 of strncasecmp_l.
1feccb6c 30097 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 30098
ca6bb004
UD
300992010-08-14 Ulrich Drepper <drepper@redhat.com>
30100
e9f82e0d
UD
30101 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30102 strncase_l-nonascii.
30103 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30104 Add strncase_l-ssse3.
30105 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30106 * sysdeps/x86_64/strcmp.S: Likewise.
30107 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30108 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30109 * sysdeps/x86_64/strncase.S: New file.
30110 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30111 * sysdeps/x86_64/strncase_l.S: New file.
30112 * string/Makefile (strop-tests): Add strncasecmp.
30113 * string/test-strncasecmp.c: New file.
30114
30115 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30116 warning.
30117
ca6bb004
UD
30118 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30119 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30120
052fa7b3
AS
301212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30122
30123 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30124
962dba78
UD
301252010-08-12 Ulrich Drepper <drepper@redhat.com>
30126
30127 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30128 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30129 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30130
bebff237
AM
301312010-05-01 Alan Modra <amodra@gmail.com>
30132
30133 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30134 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30135 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30136 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30137 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30138 tidying. Don't tail-call __sigjmp_save for static lib.
30139 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30140 save location.
30141 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30142 (CALL_MCOUNT): Add eh info, and nop after bl.
30143 (TAIL_CALL_SYSCALL_ERROR): New macro.
30144 (PSEUDO_RET): Use it.
30145 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30146 Correct save location of integer regs and cr.
30147 (_dl_profile_resolve): Correct cr save location. Delete nops
30148 after bl when SHARED. Reduce cfi size a little by better
30149 placement of cfi directives.
30150 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30151 make a stack frame. Instead use parm save area as a temp.
30152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30153 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30155 Don't make a stack frame for parent, use parm save area.
30156 Increase child stack frame to 112 bytes. Don't save unused reg,
30157 and adjust reg usage. Set up cfi on error recovery and
30158 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30160 (__makecontext): Add dummy nop after jump to exit.
30161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30162 Use correct parm save area and cr save, reduce stack frame.
30163 Correct cfi for possible PSEUDO_RET frame setup.
30164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30165 Branch to local label emitted by PSEUDO_RET rather than
30166 __syscall_error.
30167
02637374
AS
301682010-08-12 Andreas Schwab <schwab@redhat.com>
30169
30170 [BZ #11904]
30171 * locale/programs/locale.c (print_assignment): New function.
30172 (show_locale_vars): Use it.
30173
c3e2f19b
UD
301742010-08-11 Ulrich Drepper <drepper@redhat.com>
30175
3cdaa6ad
UD
30176 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30177 field.
30178 (struct statfs64): Likewise.
30179 (_STATFS_F_FLAGS): Define.
30180 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30181 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30182 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30183 (ST_VALID): Define locally.
30184 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30185 __statvfs_getflags, use the provided value.
30186 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30187 __ASSUME_STATFS_F_FLAGS.
30188
754f7da3
UD
30189 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30190
10b3bedc
UD
30191 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30192 Add sys/fanotify.h.
30193 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30194 fanotify_mask for GLIBC_2.13.
30195 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30196 fanotify_init and fanotify_mark.
30197 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30198 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30199
c08fb0d7
UD
30200 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30201 Add prlimit.
30202 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30203 prlimit64 for GLIBC_2.13.
30204 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30205 prlimit64.
30206 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30207 syscall.
30208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30209 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30210 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30211 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30213 add prlimit alias.
30214 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30215
15bac72b
UD
30216 [BZ #11903]
30217 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30218 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30219
c3e2f19b
UD
30220 * nss/Makefile: Add rules to build and run tst-nss-test1.
30221 * shlib-versions: Add entry for libnss_test1.
30222 * nss/nss_test1.c: New file.
30223 * nss/tst-nss-test1.c: New file.
30224
30225 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30226 (__nss_configure_lookup): Set appropriate entry in
30227 __nss_configure_lookup to true.
30228 * nss/nsswitch.h: Define enum with indeces of databases in
30229 databases and __nss_database_custom arrays. Declare
30230 __nss_database_custom.
30231 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30232 to avoid using nscd when custom rules are installed.
30233 * nss/getXXbyYY_r.c: Likewise.
30234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30235
30236 * nss/nss_files/files-parse.c: Whitespace fixes.
30237
f15ce4d8
UD
302382010-08-09 Ulrich Drepper <drepper@redhat.com>
30239
30240 [BZ #11883]
30241 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30242 * posix/fnmatch_loop.c: Likewise.
30243
d22e4cc9
AK
302442010-07-17 Andi Kleen <ak@linux.intel.com>
30245
30246 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30247 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30248 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30249 * Versions.def [GLIBC_2.13]: Add.
30250
805bc17d
UD
302512010-08-06 Ulrich Drepper <drepper@redhat.com>
30252
30253 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30254 Also fail if tpwd after pwuid call is NULL.
30255
5a42321d
ST
302562010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30257
30258 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30259 when converting to ms.
30260
fd3ebeda
ST
302612010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30262
30263 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30264 EOPNOTSUPP errors with ENOTTY.
30265 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30266 EOPNOTSUPP errors with ENOTTY.
30267
73507d3a
UD
302682010-07-31 Ulrich Drepper <drepper@redhat.com>
30269
30270 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30271 Add strcasecmp_l-ssse3.
30272 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30273 strcasecmp.
30274 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30275 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30276 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30277
fe36dd02
UD
302782010-07-30 Ulrich Drepper <drepper@redhat.com>
30279
66f6765a
UD
30280 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30281
42e08a54
UD
30282 * string/Makefile (strop-tests): Add strcasecmp.
30283 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30284 strcasecmp_l-nonascii.
30285 (gen-as-const-headers): Add locale-defines.sym.
30286 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30287 * sysdeps/x86_64/strcasecmp.S: New file.
30288 * sysdeps/x86_64/strcasecmp_l.S: New file.
30289 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30290 * sysdeps/x86_64/locale-defines.sym: New file.
30291 * string/test-strcasecmp.c: New file.
30292
fe36dd02
UD
30293 * string/test-strcasestr.c: Test both ends of the range of characters.
30294 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30295
48cbc0d6
RM
302962010-07-29 Roland McGrath <roland@redhat.com>
30297
76e6d6bc 30298 [BZ #11856]
48cbc0d6
RM
30299 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30300
880113d9
UD
303012010-07-27 Ulrich Drepper <drepper@redhat.com>
30302
30303 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30304 for ld.so.
30305
deb9cabb
AS
303062010-07-27 Andreas Schwab <schwab@redhat.com>
30307
30308 * manual/memory.texi (Malloc Tunable Parameters): Document
30309 M_PERTURB.
30310
1c7570ff
RM
303112010-07-26 Roland McGrath <roland@redhat.com>
30312
30313 [BZ #11840]
30314 * configure.in (-fgnu89-inline check): Set and substitute
30315 gnu89_inline, not libc_cv_gnu89_inline.
30316 * configure: Regenerated.
30317 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30318
24fb0f88
UD
303192010-07-26 Ulrich Drepper <drepper@redhat.com>
30320
30321 * string/test-strnlen.c: New file.
30322 * string/Makefile (strop-tests): Add strnlen.
30323 * string/tester.c (test_strnlen): Add a few more test cases.
30324 * string/tst-strlen.c: Better error reporting.
30325
30326 * sysdeps/x86_64/strnlen.S: New file.
30327
8e96b93a
UD
303282010-07-24 Ulrich Drepper <drepper@redhat.com>
30329
30330 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30331 lower-latency instructions.
30332
dbc676d4
UD
303332010-07-23 Ulrich Drepper <drepper@redhat.com>
30334
30335 * string/test-strcasestr.c: New file.
30336 * string/test-strstr.c: New file.
30337 * string/Makefile (strop-tests): Add strstr and strcasestr.
30338 * string/str-two-way.h: Don't undefine MAX.
30339 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30340
f6a31e0e
AS
303412010-07-21 Andreas Schwab <schwab@redhat.com>
30342
30343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30344 strcasestr-nonascii.
30345 (CFLAGS-strcasestr-nonascii.c): Define.
30346 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30347 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30348 Remove unused attribute.
30349
5dbc3b6c
RM
303502010-07-20 Roland McGrath <roland@redhat.com>
30351
30352 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30353 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30354 ld.so.cache was broken. With it, there is no way to disable dsocaps
30355 like LD_HWCAP_MASK can disable hwcaps.
30356
23d101d8
EPM
303572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30358
30359 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30360
cc9f2e47
UD
303612010-07-16 Ulrich Drepper <drepper@redhat.com>
30362
30363 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30364 call in strcasestr.
30365 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30366 __strcasestr_sse42_nonascii.
30367 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30368 strcasestr-nonascii.c.
30369 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30370
77c1b069
LM
303712010-06-15 Luis Machado <luisgpm@br.ibm.com>
30372
30373 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30374 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30375 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30376 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30377
440566c3
UD
303782010-07-09 Ulrich Drepper <drepper@redhat.com>
30379
30380 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30381 fcntl.
30382
5be9d05d
AS
303832010-07-06 Andreas Schwab <schwab@redhat.com>
30384
c30b7ee2 30385 [BZ #11577]
5be9d05d
AS
30386 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30387 dl_signal_cerror.
30388
8a492a67
UD
303892010-07-06 Ulrich Drepper <drepper@redhat.com>
30390
30391 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30392 _PC_PIPE_BUF using F_GETPIPE_SZ.
30393
713df3d5
RM
303942010-07-05 Roland McGrath <roland@redhat.com>
30395
30396 * manual/arith.texi (Rounding Functions): Fix rint description
30397 implicit in round description.
30398
702e8f14
UD
303992010-07-02 Ulrich Drepper <drepper@redhat.com>
30400
30401 * elf/Makefile: Fix linking for a few tests to make recent linker
30402 happy.
30403
52ed8be9
AS
304042010-06-30 Andreas Schwab <schwab@redhat.com>
30405
30406 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30407 $(common-objpfx)libc_nonshared.a.
30408
f47c9a11
LM
304092010-06-21 Luis Machado <luisgpm@br.ibm.com>
30410
30411 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30412 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30413 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30414 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30415 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30416 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30417 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30418 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30433 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30434 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30435 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30436 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30437 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30438 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30439 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30440 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30441 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30442 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30443 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30444 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30459
6fb8cbcb
L
304602010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30461
30462 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30463 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30464 * string/memmove.c (memmove): Renamed to ...
30465 (MEMMOVE): ...this. Default to memmove.
30466 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30467 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30468 (END_CHK): Define.
30469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30470 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30471 mempcpy-ssse3-back memmove-ssse3-back.
30472 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30473 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30474 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30475 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30476 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30477 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30478 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30479 * sysdeps/x86_64/multiarch/memmove.c: New file.
30480 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30481 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30482 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30483 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30484 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30485 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30486 Define.
30487 (index_Fast_Copy_Backward): Define.
30488 (HAS_ARCH_FEATURE): Define.
30489 (HAS_FAST_REP_STRING): Define.
30490 (HAS_FAST_COPY_BACKWARD): Define.
30491
4e733bac 304922010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
30493
30494 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30495 Restore proper fallback handling.
30496
63c4ed22
UD
304972010-06-19 Ulrich Drepper <drepper@redhat.com>
30498
ac2b484c
UD
30499 [BZ #11701]
30500 * posix/group_member.c (__group_member): Correct checking loop.
30501
63c4ed22
UD
30502 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30503 OOM in getpwuid_r correctly. Return error number when the caller
30504 should return, otherwise -1.
30505 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30506 call returning > 0 value.
30507 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30508
765ade4b
AS
305092010-06-07 Andreas Schwab <schwab@redhat.com>
30510
30511 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30512 libc_nonshared.a from targets in modules-names.
30513
80da2e09
KS
305142010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30515
30516 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30517 requires it.
30518
158db122
LM
305192010-06-10 Luis Machado <luisgpm@br.ibm.com>
30520
30521 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30522 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30523 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30524 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30525
caa78cf8
AS
305262010-06-02 Andreas Schwab <schwab@redhat.com>
30527
30528 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30529
b2ef2c01
UD
305302010-06-14 Ulrich Drepper <drepper@redhat.com>
30531
30532 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30533 and F_GETPIPE_SZ.
30534 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30535 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30536 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30538 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30539 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30540
fbd643b6
RM
305412010-06-14 Roland McGrath <roland@redhat.com>
30542
30543 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30544
f32f2869
JJ
305452010-06-07 Jakub Jelinek <jakub@redhat.com>
30546
30547 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30548 __REDIRECT followed by __THROW.
30549 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30550 * posix/getopt.h (getopt): Likewise.
30551
2a50c078
EPM
305522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30553
30554 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30555 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30556 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30557 in AT_FLAGS.
30558 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30559 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30560
eb5ad2eb
LM
305612010-05-28 Luis Machado <luisgpm@br.ibm.com>
30562
30563 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30564
3c88fe1e
L
305652010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30566
30567 [BZ #11640]
30568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30569 Properly check family and model.
30570
d2f73151
TY
305712010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30572
30573 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30574
ebd2e13d
LM
305752010-05-24 Luis Machado <luisgpm@br.ibm.com>
30576
30577 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30578
b32b8b45
UD
305792010-05-21 Ulrich Drepper <drepper@redhat.com>
30580
30581 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30582 symbol reference.
30583
9acbe24d
AS
305842010-05-19 Andreas Schwab <schwab@redhat.com>
30585
30586 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30587 symbol reference.
30588
f0ccf6ea
AS
305892010-05-21 Andreas Schwab <schwab@redhat.com>
30590
3d04ff3a
AS
30591 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30592 and internal_recvmmsg.
30593 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30594 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30595 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30596 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30597
f0ccf6ea
AS
30598 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30599 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30600 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30601
5b08ac57
AS
306022010-05-20 Andreas Schwab <schwab@redhat.com>
30603
30604 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30605
4828935d
LM
306062010-05-17 Luis Machado <luisgpm@br.ibm.com>
30607
30608 POWER7 optimizations.
30609 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30610 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30611
373d545e
UD
306122010-05-19 Ulrich Drepper <drepper@redhat.com>
30613
30614 * version.h: Update for 2.13 development version.
30615
21a2b1ae
AS
306162010-05-12 Andrew Stubbs <ams@codesourcery.com>
30617
30618 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30619 exceptions. Return 0.
30620
3f7dcb2b
RM
306212010-05-07 Roland McGrath <roland@redhat.com>
30622
30623 * elf/ldconfig.c (main): Add a const.
30624
5f24d53a 306252010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 30626
a160f8d8
UD
30627 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30628 (args_options): Add no-idn option.
30629 (ahosts_keys_int): Add idn_flags to ai_flags.
30630 (parse_option): Handle 'i' option to clear idn_flags.
30631
5f24d53a
UD
30632 * malloc/malloc.c (_int_free): Possible race in the most recently
30633 added check. Only act on the data if no current modification
30634 happened.
265bb1ce
UD
30635
30636See ChangeLog.17 for earlier changes.