1 2013-05-06 Roland McGrath <roland@hack.frob.com>
3 * elf/dl-writev.h: New file.
4 * elf/dl-misc.c: Include it.
5 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10 * math/libm-test.inc (noXFails): Remove variable.
11 (noXPasses): Likewise.
12 (BUILD_COMPLEX_INT): Remove macro.
13 (print_screen): Remove xfail argument.
14 (print_screen_max_error): Likewise.
15 (update_stats): Likewise.
16 (print_max_error): Likewise. Update calls to other affected
18 (print_complex_max_error): Likewise.
19 (test_single_exception): Update calls to print_screen.
20 (test_single_errno): Likewise.
21 (check_float_internal): Remove xfail argument. Update calls to
22 other affected functions.
23 (check_float): Likewise.
24 (check_complex): Likewise.
25 (check_int): Likewise.
26 (check_long): Likewise.
27 (check_bool): Likewise.
28 (check_longlong): Likewise.
29 (main): Don't print noXFails and noXPasses.
30 * math/gen-libm-test.pl (top level): Don't mention expected
31 failure handling in comment.
32 (new_test): Don't handle expected failures.
33 (parse_args): Don't mention expected failure handling in comment.
34 (generate_testfile): Don't handle expected failures.
35 (parse_ulps): Likewise.
36 (print_ulps_file): Likewise.
37 (get_failure): Remove function.
38 (output_test): Don't handle expected failures.
39 * make/README.libm-test: Don't mention expected failure handling.
41 * math/libm-test.inc (plus_zero): Make const. Add initializer.
42 (minus_zero): Likewise.
43 (plus_infty): Likewise.
44 (minus_infty): Likewise.
45 (qnan_value): Likewise.
46 (max_value): Likewise.
47 (min_value): Likewise.
48 (min_subnorm_value): Likewise.
49 (initialize): Do not initialize those variables dynamically.
51 2013-05-03 Roland McGrath <roland@hack.frob.com>
53 * io/open.c (__open_2): Moved to ...
54 * io/open_2.c: ... this new file.
55 * io/open64.c (__open64_2): Moved to ...
56 * io/open64_2.c: ... this new file.
57 * io/openat.c (__openat_2): Moved to ...
58 * io/openat_2.c: ... this new file.
59 * io/openat64.c (__openat64_2): Moved to ...
60 * io/openat64_2.c: ... this new file.
61 * io/Makefile (routines): Add them.
62 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
63 * sysdeps/unix/sysv/linux/open_2.c: File removed.
64 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
65 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
66 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
67 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68 (__openat64): Add hidden_ver.
69 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
70 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
72 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
73 Separately conditionalize setting of GLRO(dl_sysinfo) so
74 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
75 as well, but the actual setting is only under [NEED_DL_SYSINFO].
77 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
80 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
82 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
83 * sysdeps/unix/sysv/linux/powerpc/init-first.c
84 (_libc_vdso_platform_setup): Add __vdso_time initialization.
85 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
86 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
88 2013-05-03 Joseph Myers <joseph@codesourcery.com>
90 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
93 * math/libm-test.inc (hypot_test): Do not use
96 2013-05-03 Andreas Jaeger <aj@suse.de>
98 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
100 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
101 (PF_MAX): Adjust for VSOCK change.
103 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
107 2013-05-02 Carlos O'Donell <carlos@redhat.com>
110 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
111 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
112 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
114 2013-05-02 David S. Miller <davem@davemloft.net>
116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
118 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
120 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
122 2013-05-01 Roland McGrath <roland@hack.frob.com>
124 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
126 2013-05-01 Richard Smith <richard@metafoo.co.uk>
129 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
130 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
131 Use __attribute__ ((__gnu_inline__)).
132 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
133 Don't use __attribute__ ((__gnu_inline__)).
135 2013-05-01 Joseph Myers <joseph@codesourcery.com>
138 * math/s_catan.c (__catan): Handle small real or imaginary part of
139 input specially to avoid spurious underflow.
140 * math/s_catanf.c (__catanf): Likewise.
141 * math/s_catanh.c (__catanh): Likewise.
142 * math/s_catanhf.c (__catanhf): Likewise.
143 * math/s_catanhl.c (__catanhl): Likewise.
144 * math/s_catanl.c (__catanl): Likewise.
145 * math/libm-test.inc (catan_test): Add more tests.
146 (catanh_test): Likewise.
147 * sysdeps/i386/fpu/libm-test-ulps: Update.
148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
150 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
154 2013-04-30 Joseph Myers <joseph@codesourcery.com>
157 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
158 accurately for denominator in atan2.
159 * math/s_catanf.c (__catanf): Likewise.
160 * math/s_catanh.c (__catanh): Likewise.
161 * math/s_catanhf.c (__catanhf): Likewise.
162 * math/s_catanhl.c (__catanhl): Likewise.
163 * math/s_catanl.c (__catanl): Likewise.
164 * math/libm-test.inc (catan_test): Add more tests.
165 (catanh_test): Likewise.
166 * sysdeps/i386/fpu/libm-test-ulps: Update.
167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
169 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
171 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
173 * benchtests/Makefile (bench): Remove slow benchmarks.
174 * benchtests/atan-inputs: Add slow benchmark inputs.
175 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
176 (BENCH_FUNC): Accept variant offset.
178 * benchtests/bench-skeleton.c (main): Run benchmark for each
180 * benchtests/cos-inputs: Add slow benchmark inputs.
181 * benchtests/exp-inputs: Likewise.
182 * benchtests/pow-inputs: Likewise.
183 * benchtests/sin-inputs: Likewise.
184 * benchtests/slowatan-inputs: Remove.
185 * benchtests/slowatan.c: Remove.
186 * benchtests/slowcos-inputs: Remove.
187 * benchtests/slowcos.c: Remove.
188 * benchtests/slowexp-inputs: Remove.
189 * benchtests/slowexp.c: Remove.
190 * benchtests/slowpow-inputs: Remove.
191 * benchtests/slowpow.c: Remove.
192 * benchtests/slowsin-inputs: Remove.
193 * benchtests/slowsin.c: Remove.
194 * benchtests/slowtan-inputs: Remove.
195 * benchtests/slowtan.c: Remove.
196 * benchtests/tan-inputs: Add slow benchmark inputs.
197 * scripts/bench.pl: Parse comments and directives.
199 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
201 ($(objpfx)bench-%.c): Remove *-ITER.
202 * benchtests/bench-modf.c: Remove definition of ITER.
203 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
204 (main): Loop for DURATION seconds instead of fixed number of
206 * scripts/bench.pl: Don't expect iterations in parameters.
208 2013-04-29 Roland McGrath <roland@hack.frob.com>
210 * io/fchdir.c (__fchdir): Renamed from fchdir.
211 (fchdir): Define as weak alias.
213 2013-04-29 Joseph Myers <joseph@codesourcery.com>
215 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
216 (ERRNO_EDOM): Likewise.
217 (ERRNO_ERANGE): Likewise.
218 (noErrnoTests): New variable.
219 (init_max_error): Set errno to 0.
220 (test_single_errno): New function.
221 (test_errno): Likewise.
222 (check_float_internal): Call test_errno. Set errno to 0.
223 (check_complex): Refer to errno tests in comment.
224 (check_int): Call test_errno. Set errno to 0.
225 (check_long): Likewise.
226 (check_bool): Likewise.
227 (check_longlong): Likewise.
228 (cos_test): Use ERRNO_* flags for errno tests instead of
230 (expm1_test): Likewise.
231 (fmod_test): Likewise.
232 (ilogb_test): Likewise.
233 (lgamma_test): Likewise.
234 (pow_test): Likewise.
235 (remainder_test): Likewise.
236 (sin_test): Likewise.
237 (tan_test): Likewise.
239 (initialize): Set errno to 0.
240 (main): Print number of errno tests.
241 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
243 2013-04-29 Andreas Jaeger <aj@suse.de>
246 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
250 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
251 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
255 * stdlib/random.c (__initstate): Return NULL if
259 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
260 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
263 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
267 2013-04-29 Joseph Myers <joseph@codesourcery.com>
269 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
271 (casin_test): Likewise.
272 (casinh_test): Likewise.
274 2013-04-27 Joseph Myers <joseph@codesourcery.com>
277 * math/s_catan.c (__catan): Handle arguments with large real or
278 imaginary part separately without squaring.
279 * math/s_catanf.c (__catanf): Likewise.
280 * math/s_catanh.c (__catanh): Likewise.
281 * math/s_catanhf.c (__catanhf): Likewise.
282 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
284 (__catanhl): Handle arguments with large real or imaginary part
285 separately without squaring.
286 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
288 (__catanl): Handle arguments with large real or imaginary part
289 separately without squaring.
290 * math/libm-test.inc (catan_test): Add more tests.
291 (catanh_test): Likewise.
292 * sysdeps/i386/fpu/libm-test-ulps: Update.
293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
295 2013-04-27 Andreas Jaeger <aj@suse.de>
298 * stdlib/stdlib.h: Update guards for qecvt.
299 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
302 2013-04-27 Allan McRae <allan@archlinux.org>
304 * sysdeps/i386/fpu/libm-test-ulps: Update.
306 2013-04-26 Joseph Myers <joseph@codesourcery.com>
309 * math/s_catan.c: Include <float.h>.
310 (__catan): Ensure underflow exception occurs for underflowed
312 * math/s_catanf.c: Include <float.h>.
313 (__catanf): Ensure underflow exception occurs for underflowed
315 * math/s_catanh.c: Include <float.h>.
316 (__catanh): Ensure underflow exception occurs for underflowed
318 * math/s_catanhf.c: Include <float.h>.
319 (__catanhf): Ensure underflow exception occurs for underflowed
321 * math/s_catanhl.c: Include <float.h>.
322 (__catanhl): Ensure underflow exception occurs for underflowed
324 * math/s_catanl.c: Include <float.h>.
325 (__catanl): Ensure underflow exception occurs for underflowed
327 * math/libm-test.inc (catan_test): Add more tests.
328 (catanh_test): Likewise.
331 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
333 * math/s_ccoshf.c (__ccoshf): Likewise.
334 * math/s_ccoshl.c (__ccoshl): Likewise.
335 * math/s_csin.c (__csin): Likewise.
336 * math/s_csinf.c (__csinf): Likewise.
337 * math/s_csinh.c (__csinh): Likewise.
338 * math/s_csinhf.c (__csinhf): Likewise.
339 * math/s_csinhl.c (__csinhl): Likewise.
340 * math/s_csinl.c (__csinl): Likewise.
341 * math/libm-test.inc (ccos_test): Add more tests.
342 (ccosh_test): Likewise.
343 (csin_test): Likewise.
344 (csinh_test): Likewise.
346 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
348 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
349 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
350 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
351 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
352 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
353 powerpc/power5+/fpu folders.
354 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
357 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
361 2013-04-25 Joseph Myers <joseph@codesourcery.com>
363 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
364 additions to variable.
365 [$(config-machine) = x86_64] (modules-names): Likewise.
366 ($(objpfx)tst-audit3): Remove dependency.
367 ($(objpfx)tst-audit3.out): Likewise.
368 ($(objpfx)tst-audit4): Likewise.
369 ($(objpfx)tst-audit4.out): Likewise.
370 ($(objpfx)tst-audit5): Likewise.
371 ($(objpfx)tst-audit5.out): Likewise.
372 ($(objpfx)tst-audit6): Likewise.
373 ($(objpfx)tst-audit6.out): Likewise.
374 ($(objpfx)tst-audit7): Likewise.
375 ($(objpfx)tst-audit7.out): Likewise.
376 (tst-audit3-ENV): Remove variable.
377 (tst-audit4-ENV): Likewise.
378 (tst-audit5-ENV): Likewise.
379 (tst-audit6-ENV): Likewise.
380 (tst-audit7-ENV): Likewise.
381 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
382 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
383 addition to variable.
384 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
385 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
386 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
387 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
388 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
389 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
390 tst-audit3, tst-audit4 and tst-audit5.
391 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
392 tst-audit6 and tst-audit7.
393 [$(subdir) = elf] (modules-names): Add audit modules for those
395 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
396 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
397 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
398 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
399 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
400 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
401 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
402 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
403 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
404 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
405 [$(subdir) = elf] (tst-audit3-ENV): New variable.
406 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
407 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
408 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
409 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
410 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
412 [$(subdir) = elf && $(config-cflags-avx) = yes]
413 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
414 [$(subdir) = elf && $(config-cflags-avx) = yes]
415 (CFLAGS-tst-auditmod4a.c): Likewise.
416 [$(subdir) = elf && $(config-cflags-avx) = yes]
417 (CFLAGS-tst-auditmod4b.c): Likewise.
418 [$(subdir) = elf && $(config-cflags-avx) = yes]
419 (CFLAGS-tst-auditmod6b.c): Likewise.
420 [$(subdir) = elf && $(config-cflags-avx) = yes]
421 (CFLAGS-tst-auditmod6c.c): Likewise.
422 [$(subdir) = elf && $(config-cflags-avx) = yes]
423 (CFLAGS-tst-auditmod7b.c): Likewise.
424 * elf/tst-audit3.c: Move to ...
425 * sysdeps/x86_64/tst-audit3.c: ... here.
426 * elf/tst-audit4.c: Move to ...
427 * sysdeps/x86_64/tst-audit4.c: ... here.
428 * elf/tst-audit5.c: Move to ...
429 * sysdeps/x86_64/tst-audit5.c: ... here.
430 * elf/tst-audit6.c: Move to ...
431 * sysdeps/x86_64/tst-audit6.c: ... here.
432 * elf/tst-audit7.c: Move to ...
433 * sysdeps/x86_64/tst-audit7.c: ... here.
434 * elf/tst-auditmod3a.c: Move to ...
435 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
436 * elf/tst-auditmod3b.c: Move to ...
437 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
438 * elf/tst-auditmod4a.c: Move to ...
439 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
440 * elf/tst-auditmod4b.c: Move to ...
441 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
442 * elf/tst-auditmod5a.c: Move to ...
443 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
444 * elf/tst-auditmod5b.c: Move to ...
445 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
446 * elf/tst-auditmod6a.c: Move to ...
447 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
448 * elf/tst-auditmod6b.c: Move to ...
449 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
450 * elf/tst-auditmod6c.c: Move to ...
451 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
452 * elf/tst-auditmod7a.c: Move to ...
453 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
454 * elf/tst-auditmod7b.c: Move to ...
455 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
457 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
460 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
461 define unconditionally.
462 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
463 define unconditionally.
464 (INT8_C, INT16_C, etc.): Likewise.
466 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
468 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
469 __ehdr_start with hidden visibility.
471 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
473 2013-04-24 Carlos O'Donell <carlos@redhat.com>
475 * math/libm-test.inc (cos_test): Use accurate hex constants.
476 (sincost_test): Likewise.
478 2013-04-24 Joseph Myers <joseph@codesourcery.com>
480 * math/libm-test.inc (catan_test): Add more tests.
481 (catanh_test): Likewise.
483 * math/s_catanf.c (__catanf): Use suffixed floating-point
485 * math/s_catanhf.c (__catanhf): Likewise.
486 * math/s_catanhl.c (__catanhl): Likewise.
487 * math/s_catanl.c (__catanl): Likewise.
490 * math/s_catan.c (__catan): Calculate imaginary part of result
491 with log1p not log unless computing log of number close to 0.
492 * math/s_catanf.c (__catanf): Likewise.
493 * math/s_catanl.c (__catanl): Likewise.
494 * math/s_catanh.c (__catanh): Calculate real part of result with
495 log1p not log unless computing log of number close to 0.
496 * math/s_catanhf.c (__catanhf): Likewise.
497 * math/s_catanhl.c (__catanhl): Likewise.
498 * math/libm-test.inc (catan_test): Add more tests.
499 (catanh_test): Likewise.
500 * sysdeps/i386/fpu/libm-test-ulps: Update.
501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
503 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
505 * benchtests/Makefile: Mention files in which fast and slow
506 paths of math functions are implemented.
508 2013-04-23 Roland McGrath <roland@hack.frob.com>
510 * sysdeps/posix/timespec_get.c: New file.
512 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
514 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
516 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
518 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
519 powerpc/power5/fpu folders.
520 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
521 * benchtests/Makefile: Add modf testcase.
522 * benchtests/bench-modf.c: New file: Benchmark test for mo
524 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
527 * time/Makefile (tests): Add tst-strptime-whitespace.
528 * time/strptime_l.c (get_number): Use ISSPACE.
529 (__strptime_internal): Likewise.
530 * time/tst-strptime-whitespace.c: New test case.
532 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
534 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
536 (_nss_files_init): Set it here.
538 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
540 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
541 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
544 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
546 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
548 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
550 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
553 2013-04-21 David S. Miller <davem@davemloft.net>
555 * po/ru.po: Update Russion translation from translation project.
557 2013-04-17 Adam Conrad <adconrad@0c3.net>
559 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
562 2013-04-17 Carlos O'Donell <carlos@redhat.com>
564 * configure.in: Remove i386 configure warning. Remove i386 case.
565 * configure: Regenerate.
566 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
567 Add example to error message.
568 * sysdeps/i386/configure: Regenerate.
570 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
572 * benchtests/Makefile (bench): Add cos, tan, slowcos and
574 * benchtests/cos-inputs: New file.
575 * benchtests/slowcos-inputs: New file.
576 * benchtests/slowcos.c: New file.
577 * benchtests/slowtan-inputs: New file.
578 * benchtests/slowtan.c: New file.
579 * benchtests/tan-inputs: New file.
581 2013-04-16 Roland McGrath <roland@hack.frob.com>
583 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
586 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
588 * benchtests/Makefile: Include cppflags-iterator.mk to add
589 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
591 * Makefile.in (bench-clean): New target.
592 * benchtests/Makefile (bench-clean): Likewise.
594 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
596 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
598 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
600 * stdio-common/tstdiomisc.c: Fix coding-style violation.
602 2013-04-15 Andreas Schwab <schwab@suse.de>
604 * nscd/grpcache.c (cache_addgr): Properly check for short write.
605 * nscd/initgrcache.c (addinitgroupsX): Likewise.
606 * nscd/pwdcache.c (cache_addpw): Likewise.
607 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
610 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
612 * benchtests/Makefile (bench): Write all output to
613 bench-out.tmp together.
615 2013-04-15 Andreas Schwab <schwab@suse.de>
617 * nscd/nscd.c (main): Don't fork again after closing files.
619 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
621 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
623 * benchtests/Rules (bench-deps): Collect dependencies into a
624 single variable. Add Makefile to dependencies.
625 ($(objpfx)bench-%.c): Depend on bench-deps.
627 2013-04-12 Roland McGrath <roland@hack.frob.com>
628 Xavier Roche <roche+kml2@exalead.com>
631 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
632 just that it's a file descriptor.
633 * manual/llio.texi (Synchronizing AIO Operations): Update description
634 for EBADF error from aio_fsync.
636 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
638 * Rules (bench): Move target definition...
639 * benchtests/Makefile: ... here.
641 2013-04-11 Carlos O'Donell <carlos@redhat.com>
643 * math/libm-test.inc (cos_test): Fix PI/2 test.
644 (sincos_test): Likewise.
645 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
646 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
648 2013-04-11 Andreas Schwab <schwab@suse.de>
651 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
652 accept exponent character only when digits were seen.
653 * stdio-common/Makefile (tests): Add bug26.
654 * stdio-common/bug26.c: New file.
657 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
660 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
662 * Makeconfig (rtld-prefix): Define built linker prefix.
663 * Rules (run-bench): Use it.
664 * math/Makefile (run-regen-ulps): Likewise.
666 * Rules (bench): Remove eval.
668 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
669 Roland McGrath <roland@hack.frob.com>
670 Ondrej Bilka <neleai@seznam.cz>
673 * time/getdate.c: Include ctype.h and alloca.h.
674 (__getdate_r): Trim leading and trailing spaces of input.
675 * time/tst-getdate.c (tests): Add tests with leading and
678 2013-04-08 Roland McGrath <roland@hack.frob.com>
681 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
682 when computing value.
684 2013-04-06 Carlos O'Donell <carlos@redhat.com>
686 * math/README.libm-test (How can I generate "libm-test-ulps"?):
687 Use testrun.sh to run libm tests.
690 * elf/dl-open.c (dl_open_worker): memset all of seen array.
692 2013-04-06 Marko Myllynen <myllynen@redhat.com>
695 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
697 2013-04-06 Carlos O'Donell <carlos@redhat.com>
699 * Makefile.in (regen-ulps): New target.
700 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
701 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
702 [ifneq (no,$(PERL)] (regen-ulps): New target.
703 [ifeq (no,$(PERL)] (regen-ulps): New target.
704 * math/libm-test.inc (ulps_file_name): Define.
705 (output_dir): New variable.
706 (options): Add "output-dir" option.
707 (parse_opt): Handle 'o' case.
708 (main): If output_dir is non-NULL use it as a prefix
710 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
712 2013-04-06 Carlos O'Donell <carlos@redhat.com>
715 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
716 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
717 fail configure if __sync_val_compare_and_swap is not inlined.
718 * sysdeps/i386/configure: Regenerate.
719 * configure.in: Build for i686 when configured for i386.
720 * configure: Regenerate.
721 * README: Remove i386 reference.
723 2013-04-06 Carlos O'Donell <carlos@redhat.com>
725 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
726 * sysdeps/s390/s390-64/sysdep.h: Likewise.
728 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
730 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
731 (lmsnanval): New variables.
732 (F): Add conversion tests.
733 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
734 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
736 * stdio-common/tstdiomisc.c (F): Properly collect individual
740 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
741 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
742 Instead, use input NaN values or generate a qNaN by arithmetic
743 operation. Also fix bugs to comply with the standard.
744 * math/libm-test.inc (remainder_test): Add more tests.
747 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
748 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
749 input NaN values or generate a qNaN by arithmetic operation.
751 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
754 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
757 2013-04-03 Joseph Myers <joseph@codesourcery.com>
760 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
762 * math/s_cexpf.c (__cexpf): Likewise.
763 * math/s_cexpl.c (__cexpl): Likewise.
764 * math/libm-test.inc (cexp_test): Add more tests.
766 2013-04-03 Andreas Schwab <schwab@suse.de>
769 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
770 order arrays from heap if bigger than alloca cutoff.
772 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
774 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
775 (SNAN_TESTS_double): Refer to GCC PR56831.
776 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
779 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
781 * Rules (bench): Move bench.out after the run is complete.
783 * Rules (bench): Echo currently running benchmark.
785 * benchtests/Makefile (bench): Add atan and slowatan.
786 * benchtests/atan-inputs: New file.
787 * benchtests/slowatan-inputs: New file.
788 * benchtests/slowatan.c: New file.
790 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
791 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
795 * sysdeps/unix/sysv/linux/kernel-features.h
796 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
797 __ASSUME_XFS_RESTRICTED_CHOWN.
798 * sysdeps/unix/sysv/linux/pathconf.c
799 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
800 Save and restore errno.
802 2013-04-02 Joseph Myers <joseph@codesourcery.com>
805 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
806 arguments using __kernel_casinh.
807 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
808 arguments using __kernel_casinhf.
809 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
810 arguments using __kernel_casinhl.
811 * math/libm-test.inc (cacosh_test): Add more tests.
812 * sysdeps/i386/fpu/libm-test-ulps: Update.
813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
815 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
817 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
818 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
820 * bench/Makefile (bench): Add sin and slowsin.
821 * benchtests/sin-inputs: New file.
822 * benchtests/slowsin-inputs: New file.
823 * benchtests/slowsin.c: New file.
825 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
826 (bench): Add slowexp and slowpow.
827 (exp-ITER): Increase iterations.
828 (pow-ITER): Likewise.
829 * benchtests/exp-inputs: Change input.
830 * benchtests/pow-inputs: Likewise.
831 * benchtests/slowexp-inputs: New file.
832 * benchtests/slowexp.c: New file.
833 * benchtests/slowpow-inputs: New file.
834 * benchtests/slowpow.c: New file.
836 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
838 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
840 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
841 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
842 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
843 * benchtests/Makefile: Add rint benchtest.
844 * benchtests/rint-inputs: Input for rint benchtest.
846 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
848 * Versions.def (libm): Add GLIBC_2.18.
849 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
850 hidden libm prototypes.
851 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
852 * math/Makefile (libm-calls): Add s_issignaling.
853 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
854 __issignalingf, __issignalingl. Adjust all libm.abilist files.
855 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
857 * math/math.h [__USE_GNU] (issignaling): New macro.
858 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
859 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
860 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
861 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
862 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
863 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
864 * manual/arith.texi (issignaling): New section.
865 * manual/libm-err-tab.pl (@all_functions): Update comment.
866 * math/gen-libm-test.pl (parse_args): Apply special handling for
868 * math/libm-test.inc (print_float, issignaling_test): New
870 (check_float_internal): Add issignaling checks.
871 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
873 * sysdeps/powerpc/math-tests.h: New file.
874 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
876 * math/test-snan.c (TEST_FUNC): Likewise.
878 2013-03-30 David S. Miller <davem@davemloft.net>
880 * po/de.po: Update from translation team.
882 2013-03-30 Joseph Myers <joseph@codesourcery.com>
885 * math/k_casinh.c (__kernel_casinh): Handle arguments with
886 imaginary part less than 1.0 and real part less than 0.5
888 * math/k_casinhf.c (__kernel_casinhf): Likewise.
889 * math/k_casinhl.c (__kernel_casinhl): Likewise.
890 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
891 (cacos_test): Add more tests.
892 (casin_test): Likewise.
893 (casinh_test): Likewise.
894 * sysdeps/i386/fpu/libm-test-ulps: Update.
895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
897 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
899 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
902 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
903 (__pow_mp): Replace ONE and MONE with their values.
904 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
906 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
907 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
908 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
909 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
911 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
913 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
914 (__pow_mp): Replace ZERO and MZERO with their values.
915 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
916 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
917 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
918 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
919 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
920 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
923 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
925 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
927 2013-03-28 Roland McGrath <roland@hack.frob.com>
929 * include/stdlib.h [!SHARED] (__call_tls_dtors):
930 Declare with __attribute__ ((weak)).
931 * stdlib/exit.c (__libc_atexit) [!SHARED]:
932 Call __call_tls_dtors only if it's not NULL.
934 2013-03-28 Roland McGrath <roland@hack.frob.com>
936 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
937 didn't do it already, then set _dl_phdr and _dl_phnum based on the
938 magic __ehdr_start linker symbol if it's defined.
939 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
940 them up here if it was already done.
942 * elf/dl-support.c (_dl_phdr): Make pointer to const.
943 (_dl_aux_init): Use const in cast when setting it.
944 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
945 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
946 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
948 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
950 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
951 * csu/libc-tls.c: Nor here.
952 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
954 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
955 (__libc_message): Never call vsyslog.
957 2013-03-28 Alan Modra <amodra@gmail.com>
959 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
961 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
964 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
967 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
971 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
974 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
975 Don't add gid passed as argument.
977 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
979 2013-03-27 Joseph Myers <joseph@codesourcery.com>
982 * math/k_casinh.c (__kernel_casinh): Handle arguments with
983 imaginary part between 1.0 and 1.5 and real part less than 0.5
985 * math/k_casinhf.c (__kernel_casinhf): Likewise.
986 * math/k_casinhl.c (__kernel_casinhl): Likewise.
987 * math/libm-test.inc (cacos_test): Add more tests.
988 (casin_test): Likewise.
989 (casinh_test): Likewise.
990 * sysdeps/i386/fpu/libm-test-ulps: Update.
991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
993 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
995 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
999 (__dbl_mp): Likewise.
1000 (add_magnitudes): Likewise.
1001 (sub_magnitudes): Likewise.
1009 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1011 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1012 (__dubcos): Likewise.
1013 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1014 (__ieee754_acos): Likewise.
1015 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1016 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1018 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1019 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1021 (my_log2): Likewise.
1022 (checkint): Likewise.
1023 * sysdeps/ieee754/dbl-64/e_remainder.c
1024 (__ieee754_remainder): Likewise.
1025 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1026 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1028 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1030 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1031 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1032 MANTISSA_STORE_T to store computations on mantissa. Use
1033 macros for rounding and division.
1035 (__dbl_mp): Likewise.
1036 (add_magnitudes): Likewise.
1037 (sub_magnitudes): Likewise.
1040 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1041 powers of two in terms of TWOPOW macro.
1042 (mp_no): Make type of mantissa as MANTISSA_T.
1043 [!RADIXI]: Define RADIXI.
1044 [!TWO52]: Define TWO52.
1045 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1047 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1049 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1050 llroundl symbol when building for PPC32.
1052 2013-03-24 Mark H Weaver <mhw@netris.org>
1054 * manual/arith.texi (Normalization Functions): Fix prototypes for
1055 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1057 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1060 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1061 high value to check if expl overflow.
1062 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1063 to check for underflow and overflow.
1064 * math/libm-test.inc: Add exp test.
1066 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1069 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1072 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1074 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1077 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1079 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1080 wrap blocks consisting of several statements.
1082 * sysdeps/generic/math-tests.h: New file.
1083 * sysdeps/i386/fpu/math-tests.h: Likewise.
1084 * math/test-snan.c: Include it.
1085 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1087 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1090 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1091 (__ieee754_j0l): Do not improve calculations using cos of twice
1092 input for inputs above LDBL_MAX / 2.0L.
1093 (__ieee754_y0l): Likewise.
1094 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1095 (__ieee754_j1l): Do not improve calculations using cos of twice
1096 input for inputs above LDBL_MAX / 2.0L.
1097 (__ieee754_y1l): Likewise.
1098 * math/libm-test.inc (j0_test): Add another test.
1099 (j1_test): Likewise.
1100 (y0_test): Likewise.
1101 (y1_test): Likewise.
1102 * sysdeps/i386/fpu/libm-test-ulps: Update.
1104 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1106 * Rules ($(objpfx)bench-%.c): Include code from a C source
1109 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1112 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1113 imaginary part 1.0 and real part less than 0.5 specially.
1114 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1115 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1116 * math/libm-test.inc (cacos_test): Add more tests.
1117 (casin_test): Likewise.
1118 (casinh_test): Likewise.
1119 * sysdeps/i386/fpu/libm-test-ulps: Update.
1120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1122 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1124 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1125 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1127 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1129 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1130 * config.make.in (config-cflags-sse4): Remove variable.
1131 (config-cflags-avx): Likewise.
1132 (config-cflags-sse2avx): Likewise.
1133 (config-cflags-novzeroupper): Likewise.
1134 (config-asflags-i686): Likewise.
1135 (have-mfma4): Likewise.
1136 (have-as-vis3): Likewise.
1138 * configure.in (MIG): Do not AC_SUBST.
1139 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1140 (libc_cv_cc_sse4): Do not AC_SUBST.
1141 (libc_cv_cc_avx): Likewise.
1142 (libc_cv_cc_sse2avx): Likewise.
1143 (libc_cv_cc_novzeroupper): Likewise.
1144 (libc_cv_cc_fma4): Likewise.
1145 (libc_cv_as_i686): Likewise.
1146 (libc_cv_sparc_as_vis3): Likewise.
1147 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1149 (config-asflags-i686): Likewise.
1150 (config-cflags-avx): Likewise.
1151 (config-cflags-sse2avx): Likewise.
1152 (have-mfma4): Likewise.
1153 (config-cflags-novzeroupper): Likewise.
1154 * sysdeps/mach/configure.in (MIG): Likewise.
1155 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1156 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1158 (config-cflags-avx): Likewise.
1159 (config-cflags-sse2avx): Likewise.
1160 (have-mfma4): Likewise.
1161 (config-cflags-novzeroupper): Likewise.
1162 * configure: Regenerated.
1163 * sysdeps/i386/configure: Likewise.
1164 * sysdeps/mach/configure: Likewise.
1165 * sysdeps/sparc/configure: Likewise.
1166 * sysdeps/x86_64/configure: Likewise.
1168 2013-03-20 Roland McGrath <roland@hack.frob.com>
1171 * locale/programs/localedef.c (options): Put N_ translation marker
1172 on argument names, not just descriptions.
1174 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1176 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1178 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1181 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1183 2013-03-19 Roland McGrath <roland@hack.frob.com>
1185 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1186 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1187 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1188 [!BEFORE_ABORT] (before_abort): New function.
1189 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1190 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1191 (writev_for_fatal): New function.
1192 (WRITEV_FOR_FATAL): New macro; call that.
1193 (backtrace_and_maps): New function.
1194 (BEFORE_ABORT): New macro; call that.
1195 (struct str_list): Type removed.
1196 (__libc_message, __libc_fatal): Functions removed.
1197 Include <sysdeps/posix/libc_fatal.c> instead.
1199 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1201 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1203 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1206 2013-03-19 Andreas Schwab <schwab@suse.de>
1208 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1209 * sysdeps/gnu/configure: Regenerate.
1211 * configure.in: Substitute libc_cv_rtlddir.
1212 * configure: Regenerate.
1213 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1214 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1215 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1216 * elf/Makefile (install-others, CFLAGS-interp.c)
1217 (ldso_install, common-ldd-rewrite): Likewise.
1218 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1219 $(inst_slibdir)/$(rtld-installed-name).
1220 * scripts/rellns-sh: Add -p option.
1221 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1224 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1226 * manual/nptl.texi: Renamed to ...
1227 * manual/threads.texi: ... this.
1228 * manual/Makefile (chapters): Update.
1230 2013-03-18 Roland McGrath <roland@hack.frob.com>
1233 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1234 on argument names, not just descriptions.
1235 * malloc/memusagestat.c (options): Likewise.
1236 * nss/getent.c (options): Likewise.
1238 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1241 * iconv/iconv_prog.c (options): Put N_ translation marker
1242 on argument names, not just descriptions.
1243 * iconv/iconvconfig.c (options): Likewise.
1245 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1247 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1248 implementation which is faster on all x86_64 architectures.
1249 Tested on AMD, Intel Nehalem, SNB, IVB.
1250 * sysdeps/x86_64/strnlen.S: Likewise.
1252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1253 Remove all multiarch strlen and strnlen versions.
1254 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1255 Remove strlen and strnlen related parts.
1257 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1259 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1261 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1262 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1263 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1264 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1265 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1266 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1268 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1270 * manual/memory.texi (Malloc Tunable Parameters):
1271 Sort parameters alphabetically. Add comments for missing entries.
1273 2013-03-17 David S. Miller <davem@davemloft.net>
1275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1277 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1280 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1281 for arguments at most half maximum finite value.
1282 * math/libm-test.inc (j0_test): Add more tests.
1283 (j1_test): Likewise.
1284 (y0_test): Likewise.
1285 (y1_test): Likewise.
1286 * sysdeps/i386/fpu/libm-test-ulps: Update.
1287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1290 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1291 1 / x and functions P and Q for arguments above 0x1p256L.
1292 (__ieee754_y0l): Likewise.
1293 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1294 (__ieee754_y1l): Likewise.
1295 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1296 (j1_test): Likewise.
1297 (y0_test): Likewise.
1298 (y1_test): Likewise.
1300 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1302 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1305 2013-03-15 Roland McGrath <roland@hack.frob.com>
1307 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1308 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1309 zero since it's initialized to EXEC_PAGESIZE.
1311 * sysdeps/unix/sysv/linux/ldsodefs.h
1312 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1313 * sysdeps/generic/ldsodefs.h: ... here.
1315 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1317 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1319 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1321 * math/test-snan.c: Renamed from
1322 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1323 * math/Makefile (tests): Add test-snan.
1324 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1327 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1328 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1330 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1331 __builtin_nan family of functions.
1332 * math/libm-test.inc (initialize): Initialize qnan_value with
1333 __builtin_nan family of functions.
1334 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1336 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1338 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1339 storage class. Initialize qNaN_var and sNaN_var with
1340 __builtin_nan and __builtin_nans families of functions,
1343 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1344 (sqrt_test): Remove duplicate test with qNaN input.
1345 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1346 (round_test, signbit_test, significand_test): Note missing +/-Inf
1347 as well as qNaN tests.
1349 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1350 qNaN_var. Fix a few strings, too.
1351 * math/libm-test.inc (nan_value): Rename to qnan_value.
1352 * math/gen-libm-test.pl (%beautify): Adjust to that.
1353 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1354 * math/test-misc.c (main): Likewise.
1355 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1356 to __qnan_bytes, and __qnan_union, respectively.
1357 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1359 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1360 and lqnanval, respectively.
1361 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1362 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1363 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1364 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1366 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1367 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1370 * math/test-misc.c (main): Fix copy'n'pastos.
1371 * misc/tst-efgcvt.c (special): Likewise.
1373 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1374 Remove declarations.
1376 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1378 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1379 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1380 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1381 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1383 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1385 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1386 macro to return vdso values correctly in IFUNC implementations.
1387 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1388 Optimization by using IFUNC.
1390 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1391 Richard Henderson <rth@redhat.com>
1392 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1394 * Makefile.in (bench): New target.
1395 * NEWS: Mention the benchmark framework.
1396 * Rules (bench): Likewise.
1397 (binaries-bench): Generate binaries for functions to
1399 * benchtests/Makefile: New makefile for benchmark tests.
1400 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1402 * benchtests/exp-inputs: New input file for EXP function.
1403 * benchtests/pow-inputs: New input file for POW function.
1404 * scripts/bench.pl: New script to generate source files for
1407 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1409 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1410 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1411 computations on mantissa. Use macros for rounding and
1414 (__dbl_mp): Likewise.
1415 (add_magnitudes): Likewise.
1416 (sub_magnitudes): Likewise.
1419 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1420 powers of two in terms of TWOPOW macro.
1421 (mp_no): Make type of mantissa as MANTISSA_T.
1422 [!RADIXI]: Define RADIXI.
1423 [!TWO52]: Define TWO52.
1424 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1426 * manual/nptl.texi (cindex): Modify threads to pthreads.
1428 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1430 * sysdeps/x86_64/preconfigure: Regenerated.
1432 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1435 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1437 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1438 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1440 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1441 * math/libm-test.inc (j0_test): Do not allow one spurious
1442 underflow exception.
1443 (y1_test): Likewise.
1445 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1447 * manual/Makefile (chapters): Add nptl.
1448 * manual/debug.texi (Debugging Support): Add link to Threads
1450 * manual/nptl.texi: New file.
1452 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1454 2013-03-14 Petr Baudis <pasky@ucw.cz>
1456 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1457 for non-NULL pointer before the memory validity test. Pointed
1458 out by Holger Brunck <holger.brunck@keymile.com>.
1460 2013-03-13 Andreas Schwab <schwab@suse.de>
1462 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1465 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1467 * timezone/zic.c: Update from tzcode 2013b.
1469 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1471 * manual/install.texi (Configuring and compiling):
1472 Mention i686 and i586.
1473 * INSTALL: Regenerate.
1475 2013-03-12 Roland McGrath <roland@hack.frob.com>
1477 * sysdeps/init_array/elf-init.c: New file.
1479 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1480 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1482 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1483 __gmon_start__ as global, but as static with a .preinit_array pointer.
1484 * sysdeps/init_array/gmon-start.c: New file. Use that.
1485 * sysdeps/init_array/crti.S: New file, empty except for comments.
1486 * sysdeps/init_array/crtn.S: Likewise.
1488 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1490 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1493 Remove Prefer_SSE_for_memop.
1494 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1495 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1496 HAS_PREFER_SSE_FOR_MEMOP.
1497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1499 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1500 Remove bzero, memset ifunc support.
1501 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1502 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1503 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1504 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1506 2013-03-11 Andreas Schwab <schwab@suse.de>
1509 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1512 (GLIBC_2.16): Remove pthread_atfork.
1514 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1516 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1517 (ptestcases.h): Likewise.
1519 2013-03-08 Roland McGrath <roland@hack.frob.com>
1521 * Makeconfig ($(common-objpfx)config.status): Depend on
1522 sysdeps/*/preconfigure{,.in} too.
1524 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1526 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1527 (__free_hook): Use void * instead of __malloc_ptr_t.
1528 (__malloc_hook): Likewise.
1529 (__realloc_hook): Likewise.
1530 (__memalign_hook): Likewise.
1531 (__after_morecore_hook): Likewise.
1532 * malloc/arena.c (save_malloc_hook): Likewise.
1533 (save_free_hook): Likewise.
1534 * malloc/hooks.c (malloc_hook_ini): Likewise.
1535 (realloc_hook_ini): Likewise.
1536 (memalign_hook_ini): Likewise.
1537 * malloc/malloc.c (malloc_hook_ini): Likewise.
1538 (realloc_hook_ini): Likewise.
1539 (memalign_hook_ini): Likewise.
1540 (__free_hook): Likewise.
1541 (__malloc_hook): Likewise.
1542 (__realloc_hook): Likewise.
1543 (__memalign_hook): Likewise.
1544 (__libc_malloc): Likewise.
1545 (__libc_free): Likewise.
1546 (__libc_realloc): Likewise.
1547 (__libc_memalign): Likewise.
1548 (__libc_valloc): Likewise.
1549 (__libc_pvalloc): Likewise.
1550 (__libc_calloc): Likewise.
1551 (__posix_memalign): Likewise.
1552 * malloc/morecore.c (__sbrk): Likewise.
1553 (__default_morecore): Likewise.
1555 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1557 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1558 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1561 * malloc/malloc.h (__malloc_size_t): Remove macro.
1562 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1564 (old_memalign_hook): Likewise.
1565 (old_realloc_hook): Likewise.
1566 (struct hdr): Likewise.
1568 (mallochook): Likewise.
1569 (memalignhook): Likewise.
1570 (reallochook): Likewise.
1571 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1572 (tr_old_realloc_hook): Likewise.
1573 (tr_old_memalign_hook): Likewise.
1574 (tr_mallochook): Likewise.
1575 (tr_reallochook): Likewise.
1576 (tr_memalignhook): Likewise.
1578 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1580 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1581 default_ldbl_pack and using as default implementation.
1582 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1584 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1585 redundant definition.
1586 (ldbl_insert_mantissa): Likewise.
1587 (ldbl_canonicalize): Likewise.
1588 (ldbl_nearbyint): Likewise.
1589 (ldbl_pack): Rename to ldbl_pack_ppc.
1590 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1591 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1592 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1594 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1597 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1598 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1599 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1601 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1602 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1603 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1605 2013-03-07 Andreas Jaeger <aj@suse.de>
1607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1610 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1612 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1613 Include mpa.h and declare __MPEXP.
1614 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1615 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1616 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1617 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1618 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1619 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1620 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1622 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1623 (__slowpow): Use long double EXPL and LOGL functions to
1625 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1626 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1627 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1628 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1629 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1630 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1633 intermediate variable to calculate exponent.
1635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1639 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1640 [!NO__SQR]: Define __sqr.
1641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1642 and NO__SQR. Remove all code except __mul and __sqr. Include
1643 sysdeps/ieee754/dbl-64/mpa.c.
1644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1647 * posix/Makefile (tests): Add tst-pathconf.
1648 * posix/tst-pathconf.c: New test case.
1649 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1651 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1653 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1655 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1657 2013-03-06 Andreas Jaeger <aj@suse.de>
1659 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1660 definition via __MAP_ANONYMOUS.
1662 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1663 it's not part of Linux headers.
1665 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1666 (MAP_HUGE_MASK): Define.
1668 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1670 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1671 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1673 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1674 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1676 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1677 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1679 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1681 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1682 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1683 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1684 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1685 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1686 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1688 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1691 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1692 Handle f2fs and efivarfs.
1694 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1697 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1698 (EFIVARFS_MAGIC): Add.
1699 (F2FS_LINK_MAX): Add.
1701 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1703 * stdio-common/vfprintf.c: Replace __builtin_expect with
1706 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1709 * sysdeps/generic/bp-sym.h: Remove file.
1710 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1711 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1712 <bp-sym.h> and <bp-asm.h>.
1713 (__longjmp): Don't use BP_SYM.
1714 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1716 (memcpy): Don't use BP_SYM.
1717 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1718 <bp-sym.h> and <bp-asm.h>.
1719 (memcpy): Don't use BP_SYM.
1720 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1722 (memcpy): Don't use BP_SYM.
1723 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1725 (memset): Don't use BP_SYM.
1726 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1727 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1728 (__bzero): Don't use BP_SYM.
1729 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1730 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1731 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1732 <bp-sym.h> and <bp-asm.h>.
1733 (memcmp): Don't use BP_SYM. Remove comment about bounded
1735 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1736 <bp-sym.h> and <bp-asm.h>.
1737 (memcpy): Don't use BP_SYM.
1738 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1739 <bp-sym.h> and <bp-asm.h>.
1740 (memset): Don't use BP_SYM.
1741 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1742 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1743 (__bzero): Don't use BP_SYM.
1744 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1745 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1746 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1747 <bp-sym.h> and <bp-asm.h>.
1748 (strncmp): Don't use BP_SYM. Remove comment about bounded
1750 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1751 <bp-sym.h> and <bp-asm.h>.
1752 (memcpy): Don't use BP_SYM.
1753 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1754 <bp-sym.h> and <bp-asm.h>.
1755 (memset): Don't use BP_SYM.
1756 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1757 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1758 (__bzero): Don't use BP_SYM.
1759 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1760 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1761 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1762 <bp-sym.h> and <bp-asm.h>.
1763 (__memchr): Don't use BP_SYM.
1764 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1765 <bp-sym.h> and <bp-asm.h>.
1766 (memcmp): Don't use BP_SYM. Remove comment about bounded
1768 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1769 <bp-sym.h> and <bp-asm.h>.
1770 (memcpy): Don't use BP_SYM.
1771 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1772 <bp-sym.h> and <bp-asm.h>.
1773 (__mempcpy): Don't use BP_SYM.
1774 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1775 <bp-sym.h> and <bp-asm.h>.
1776 (__memrchr): Don't use BP_SYM.
1777 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1778 <bp-sym.h> and <bp-asm.h>.
1779 (memset): Don't use BP_SYM.
1780 (__bzero): Likewise.
1781 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1782 <bp-sym.h> and <bp-asm.h>.
1783 (__rawmemchr): Don't use BP_SYM.
1784 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1785 <bp-sym.h> and <bp-asm.h>.
1786 (__STRCMP): Don't use BP_SYM.
1787 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1788 <bp-sym.h> and <bp-asm.h>.
1789 (strchr): Don't use BP_SYM.
1790 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1791 <bp-sym.h> and <bp-asm.h>.
1792 (__strchrnul): Don't use BP_SYM.
1793 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1794 <bp-sym.h> and <bp-asm.h>.
1795 (strlen): Don't use BP_SYM.
1796 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1797 <bp-sym.h> and <bp-asm.h>.
1798 (strncmp): Don't use BP_SYM. Remove comment about bounded
1800 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1801 <bp-sym.h> and <bp-asm.h>.
1802 (__strnlen): Don't use BP_SYM.
1803 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1804 <bp-sym.h> and <bp-asm.h>.
1805 (__GI__setjmp): Don't use BP_SYM.
1806 (_setjmp): Likewise.
1807 (__sigsetjmp): Likewise.
1808 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1809 (L(start_addresses)): Don't use BP_SYM.
1811 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1813 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1814 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1815 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1816 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1817 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1819 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1820 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1821 about bounded pointers.
1822 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1823 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1824 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1826 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1827 about bounded pointers. Remove GKM FIXME comments.
1828 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1829 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1831 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1832 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1833 Remove GKM FIXME comments.
1834 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1835 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1836 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1838 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1839 about bounded pointers. Remove GKM FIXME comment.
1840 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1842 (strncmp): Don't use BP_SYM. Remove comment about bounded
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1845 <bp-sym.h> and <bp-asm.h>.
1846 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1848 <bp-sym.h> and <bp-asm.h>.
1849 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1852 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1854 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1857 2013-03-05 David S. Miller <davem@davemloft.net>
1859 * po/es.po: Update from translation team.
1861 2013-03-05 Andreas Jaeger <aj@suse.de>
1863 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1864 <bits/mman-linux.h>.
1865 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1867 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1868 <bits/mman-linux.h> to end of file.
1869 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1871 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1872 <bits/mman-linux.h> to end of file.
1873 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1875 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1876 <bits/mman-linux.h> to end of file.
1878 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1879 (MCL_CURRENT, MCL_FUTURE): Define here.
1881 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1884 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1886 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1888 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1890 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1891 fourth parameter needed for rt_sigprocmask syscall.
1892 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1893 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1894 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1895 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1896 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1897 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1899 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1902 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1903 comment about bounded pointers.
1904 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1905 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1907 2013-03-04 Andreas Jaeger <aj@suse.de>
1909 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1912 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1913 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1914 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1915 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1916 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1917 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1919 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1922 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1923 __ieee754_sqrl instead of __sqrl.
1925 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1927 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1928 * sysdeps/powerpc/fpu_control.h: ... here.
1929 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1930 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1931 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1932 * sysdeps/powerpc/bits/mathinline.h: ... here.
1934 2013-03-01 Roland McGrath <roland@hack.frob.com>
1936 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1937 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1938 to just [NEED_DL_SYSINFO_DSO].
1939 * elf/dl-support.c: Likewise.
1940 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1941 * elf/rtld.c (dl_main): Likewise.
1942 * elf/setup-vdso.h (setup_vdso): Likewise.
1943 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1944 * sysdeps/unix/sysv/linux/dl-sysdep.c
1945 (_dl_discover_osversion): Likewise.
1947 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1949 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1950 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1952 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1954 * NEWS: Mention libm performance improvements and non-x86 PI
1957 * csu/libc-start.c (__pthread_initialize_minimal): Change
1959 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1961 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1964 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1965 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1966 <bp-sym.h> and <bp-asm.h>.
1967 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1968 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1970 (memcpy): Don't use BP_SYM.
1971 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1973 (__mpn_add_n): Don't use BP_SYM.
1974 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1975 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1977 (__mpn_addmul_1): Don't use BP_SYM.
1978 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1979 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1981 (_setjmp): Don't use BP_SYM.
1982 (__novmx_setjmp): Likewise.
1983 (__GI__setjmp): Likewise.
1984 (__vmx_setjmp): Likewise.
1985 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1987 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1988 (__bzero): Don't use BP_SYM.
1989 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1990 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1991 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1992 <bp-sym.h> and <bp-asm.h>.
1993 (memcpy): Don't use BP_SYM.
1994 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1995 <bp-sym.h> and <bp-asm.h>.
1996 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1997 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1998 <bp-sym.h> and <bp-asm.h>.
1999 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2000 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2002 (__mpn_lshift): Don't use BP_SYM.
2003 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2004 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2006 (memset): Don't use BP_SYM.
2007 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2008 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2009 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2011 (__mpn_mul_1): Don't use BP_SYM.
2012 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2013 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2014 <bp-sym.h> and <bp-asm.h>.
2015 (memcmp): Don't use BP_SYM.
2016 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2017 <bp-sym.h> and <bp-asm.h>.
2018 (memcpy): Don't use BP_SYM.
2019 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2020 <bp-sym.h> and <bp-asm.h>.
2021 (memset): Don't use BP_SYM.
2022 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2023 <bp-sym.h> and <bp-asm.h>.
2024 (strncmp): Don't use BP_SYM.
2025 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2026 <bp-sym.h> and <bp-asm.h>.
2027 (memcpy): Don't use BP_SYM.
2028 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2029 <bp-sym.h> and <bp-asm.h>.
2030 (memset): Don't use BP_SYM.
2031 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2032 <bp-sym.h> and <bp-asm.h>.
2033 (__memchr): Don't use BP_SYM.
2034 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2035 <bp-sym.h> and <bp-asm.h>.
2036 (memcmp): Don't use BP_SYM.
2037 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2038 <bp-sym.h> and <bp-asm.h>.
2039 (memcpy): Don't use BP_SYM.
2040 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2041 <bp-sym.h> and <bp-asm.h>.
2042 (__mempcpy): Don't use BP_SYM.
2043 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2044 <bp-sym.h> and <bp-asm.h>.
2045 (__memrchr): Don't use BP_SYM.
2046 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2047 <bp-sym.h> and <bp-asm.h>.
2048 (memset): Don't use BP_SYM.
2049 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2050 <bp-sym.h> and <bp-asm.h>.
2051 (__rawmemchr): Don't use BP_SYM.
2052 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2053 <bp-sym.h> and <bp-asm.h>.
2054 (__STRCMP): Don't use BP_SYM.
2055 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2056 <bp-sym.h> and <bp-asm.h>.
2057 (strchr): Don't use BP_SYM.
2058 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2059 <bp-sym.h> and <bp-asm.h>.
2060 (__strchrnul): Don't use BP_SYM.
2061 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2062 <bp-sym.h> and <bp-asm.h>.
2063 (strlen): Don't use BP_SYM.
2064 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2065 <bp-sym.h> and <bp-asm.h>.
2066 (strncmp): Don't use BP_SYM.
2067 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2068 <bp-sym.h> and <bp-asm.h>.
2069 (__strnlen): Don't use BP_SYM.
2070 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2072 (__mpn_rshift): Don't use BP_SYM.
2073 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2074 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2075 <bp-sym.h> and <bp-asm.h>.
2076 (__sigsetjmp): Don't use BP_SYM.
2077 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2078 (L(start_addresses)): Don't use BP_SYM.
2080 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2082 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2083 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2084 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2085 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2087 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2088 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2089 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2090 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2092 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2094 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2095 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2097 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2099 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2100 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2101 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2103 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2105 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2107 (strncmp): Don't use BP_SYM,
2108 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2110 (__mpn_sub_n): Don't use BP_SYM.
2111 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2112 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2114 (__mpn_submul_1): Don't use BP_SYM.
2115 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2117 <bp-sym.h> and <bp-asm.h>.
2118 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2120 <bp-sym.h> and <bp-asm.h>.
2121 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2124 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2127 Use ZK to minimize writes to Z.
2128 (sub_magnitudes): Simplify code a bit.
2129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2130 Use ZK to minimize writes to Z.
2131 (sub_magnitudes): Simplify code a bit.
2133 2013-02-27 Roland McGrath <roland@hack.frob.com>
2135 * csu/gmon-start.c: Add special exception to license text.
2137 2013-02-27 Richard Henderson <rth@redhat.com>
2139 * scripts/config.guess: Update from config.git.
2140 * scripts/config.sub: Likewise.
2142 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2144 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2146 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2148 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2150 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2152 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2154 2013-02-26 Roland McGrath <roland@hack.frob.com>
2156 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2157 [$(build-shared = yes].
2159 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2161 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2162 (__mul): Reduce iterations for calculating mantissa.
2164 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2166 (__mpranred): Likewise.
2169 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2170 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2172 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2174 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2175 Define __attribute__.
2177 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2179 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2181 * posix/regex_internal.h (__attribute): Remove.
2182 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2183 (re_string_context_at): Likewise.
2184 (bitset_not): Use __attribute__ and mark function as possibly
2186 (bitset_merge): Likewise.
2187 (bitset_mask): Likewise.
2188 (re_string_char_size_at): Likewise.
2189 (re_string_wchar_at): Likewise.
2190 (re_string_elem_size_at): Likewise.
2192 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2194 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2198 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2203 (__dbl_mp): Likewise.
2204 (add_magnitudes): Likewise.
2205 (sub_magnitudes): Likewise.
2209 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2212 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2215 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2219 up changes with default code.
2220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2223 2013-02-24 Allan McRae <allan@archlinux.org>
2225 * manual/socket.texi (The Internet Namespace): Order menu items
2226 to match that in the file.
2228 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2229 node listing of the info page menu.
2231 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2234 * sysdeps/i386/bp-asm.h: Remove file.
2235 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2236 (PARMS): Do not use macros from bp-asm.h.
2240 (__mpn_add_n): Do not use BP_SYM
2241 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2243 (PARMS): Do not use macros from bp-asm.h.
2246 (__mpn_addmul_1): Do not use BP_SYM
2247 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2249 (PARMS): Do not use macros from bp-asm.h.
2251 (_setjmp): Likewise. Do not use BP_SYM.
2252 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2254 (PARMS): Do not use macros from bp-asm.h.
2256 (setjmp): Likewise. Do not use BP_SYM.
2257 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2259 (PARMS): Do not use macros from bp-asm.h.
2260 (__frexp): Do not use BP_SYM.
2262 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2264 (PARMS): Do not use macros from bp-asm.h.
2265 (__frexpf): Do not use BP_SYM.
2267 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2269 (PARMS): Do not use macros from bp-asm.h.
2270 (__frexpl): Do not use BP_SYM.
2272 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2274 (PARMS): Do not use macros from bp-asm.h.
2275 (__remquo): Do not use BP_SYM.
2277 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2279 (PARMS): Do not use macros from bp-asm.h.
2280 (__remquof): Do not use BP_SYM.
2281 (remquof): Likewise.
2282 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2284 (PARMS): Do not use macros from bp-asm.h.
2285 (__remquol): Do not use BP_SYM.
2286 (remquol): Likewise.
2287 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2289 (PARMS): Do not use macros from bp-asm.h.
2292 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2293 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2295 (PARMS): Do not use macros from bp-asm.h.
2296 (strlen): Do not use BP_SYM.
2297 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2299 (PARMS): Do not use macros from bp-asm.h.
2303 (__mpn_add_n): Do not use BP_SYM.
2304 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2306 (PARMS): Do not use macros from bp-asm.h.
2309 (__mpn_addmul_1): Do not use BP_SYM.
2310 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2313 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2315 (PARMS): Do not use macros from bp-asm.h.
2318 (__mpn_lshift): Do not use BP_SYM.
2319 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2321 (PARMS): Do not use macros from bp-asm.h.
2325 (memcpy): Likewise. Do not use BP_SYM.
2326 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2327 libc_hidden_def and weak_alias.
2328 (mempcpy): Do not use BP_SYM in weak_alias.
2329 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2331 (PARMS): Do not use macros from bp-asm.h.
2334 [!BZERO_P] (CHR): Likewise.
2335 (memset): Likewise. Do not use BP_SYM.
2336 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2338 (PARMS): Do not use macros from bp-asm.h.
2341 (__mpn_mul_1): Do not use BP_SYM.
2342 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2344 (PARMS): Do not use macros from bp-asm.h.
2347 (__mpn_rshift): Do not use BP_SYM.
2348 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2350 (PARMS): Do not use macros from bp-asm.h.
2353 (strchr): Likewise. Do not use BP_SYM.
2354 (index): Do not use BP_SYM in weak_alias.
2355 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2357 (PARMS): Do not use macros from bp-asm.h.
2360 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2361 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2363 (PARMS): Do not use macros from bp-asm.h.
2364 (strlen): Do not use BP_SYM.
2365 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2367 (PARMS): Do not use macros from bp-asm.h.
2371 (__mpn_sub_n): Do not use BP_SYM.
2372 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2374 (PARMS): Do not use macros from bp-asm.h.
2377 (__mpn_submul_1): Do not use BP_SYM.
2378 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2380 (PARMS): Do not use macros from bp-asm.h.
2384 (__mpn_add_n): Do not use BP_SYM.
2385 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2388 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2390 (PARMS): Do not use macros from bp-asm.h.
2393 (memcmp): Do not use BP_SYM.
2394 (bcmp): Do not use BP_SYM in weak_alias.
2395 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2397 (PARMS): Do not use macros from bp-asm.h.
2401 (memcpy): Likewise. Do not use BP_SYM.
2402 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2404 (PARMS): Do not use macros from bp-asm.h.
2408 (memmove): Likewise. Do not use BP_SYM.
2409 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2411 (PARMS): Do not use macros from bp-asm.h.
2415 (__mempcpy): Likewise. Do not use BP_SYM.
2416 (mempcpy): Do not use BP_SYM in weak_alias.
2417 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2419 (PARMS): Do not use macros from bp-asm.h.
2422 [!BZERO_P] (CHR): Likewise.
2423 (memset): Likewise. Do not use BP_SYM.
2424 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2426 (PARMS): Do not use macros from bp-asm.h.
2428 (strcmp): Do not use BP_SYM.
2429 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2431 (PARMS): Do not use macros from bp-asm.h.
2434 [USE_AS_STRTOK_R] (SAVE): Likewise.
2435 (FUNCTION): Likewise. Do not use BP_SYM.
2436 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2438 (strtok_r): Likewise.
2439 (__GI___strtok_r): Likewise.
2440 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2441 (PARMS): Do not use macros from bp-asm.h.
2444 (__mpn_lshift): Do not use BP_SYM.
2445 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2446 (PARMS): Do not use macros from bp-asm.h.
2449 (__memchr): Do not use BP_SYM.
2450 (memchr): Do not use BP_SYM in weak_alias.
2451 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2452 (PARMS): Do not use macros from bp-asm.h.
2455 (memcmp): Do not use BP_SYM.
2456 (bcmp): Do not use BP_SYM in weak_alias.
2457 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2458 (PARMS): Do not use macros from bp-asm.h.
2461 (__mpn_mul_1): Do not use BP_SYM.
2462 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2464 (PARMS): Do not use macros from bp-asm.h.
2467 (__rawmemchr): Do not use BP_SYM.
2468 (rawmemchr): Do not use BP_SYM in weak_alias.
2469 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2470 (PARMS): Do not use macros from bp-asm.h.
2473 (__mpn_rshift): Do not use BP_SYM.
2474 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2475 (PARMS): Do not use macros from bp-asm.h.
2477 (__sigsetjmp): Likewise. Do not use BP_SYM.
2478 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2479 (_start): Do not use BP_SYM.
2480 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2481 (PARMS): Do not use macros from bp-asm.h.
2484 (__stpcpy): Likewise. Do not use BP_SYM.
2485 (stpcpy): Do not use BP_SYM in weak_alias.
2486 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2488 (PARMS): Do not use macros from bp-asm.h.
2492 (__stpncpy): Likewise. Do not use BP_SYM.
2493 (stpncpy): Do not use BP_SYM in weak_alias.
2494 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2495 (PARMS): Do not use macros from bp-asm.h.
2498 (strchr): Likewise. Do not use BP_SYM.
2499 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2501 (PARMS): Do not use macros from bp-asm.h.
2504 (__strchrnul): Likewise. Do not use BP_SYM.
2505 (strchrnul): Do not use BP_SYM in weak_alias.
2506 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2508 (PARMS): Do not use macros from bp-asm.h.
2510 (strcspn): Do not use BP_SYM.
2511 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2513 (PARMS): Do not use macros from bp-asm.h.
2516 (strpbrk): Likewise. Do not use BP_SYM.
2517 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2519 (PARMS): Do not use macros from bp-asm.h.
2522 (strrchr): Likewise. Do not use BP_SYM.
2523 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2524 (PARMS): Do not use macros from bp-asm.h.
2526 (strspn): Do not use BP_SYM.
2527 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2528 (PARMS): Do not use macros from bp-asm.h.
2532 (FUNCTION): Likewise. Do not use BP_SYM.
2533 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2535 (strtok_r): Likewise.
2536 (__GI___strtok_r): Likewise.
2537 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2538 (PARMS): Do not use macros from bp-asm.h.
2542 (__mpn_sub_n): Do not use BP_SYM.
2543 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2545 (PARMS): Do not use macros from bp-asm.h.
2548 (__mpn_submul_1): Do not use BP_SYM.
2549 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2551 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2553 (PARMS): Do not use macros from bp-asm.h.
2558 (__clone): Do not use BP_SYM.
2559 (clone): Do not use BP_SYM in weak_alias.
2560 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2562 (PARMS): Do not use macros from bp-asm.h.
2564 (__mmap64): Do not use BP_SYM.
2565 (mmap64): Do not use BP_SYM in weak_alias.
2566 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2567 <bp-sym.h> and <bp-asm.h>.
2568 (PARMS): Do not use macros from bp-asm.h.
2569 (__posix_fadvise64_l64): Do not use BP_SYM.
2570 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2571 (PARMS): Do not use macros from bp-asm.h.
2573 (semtimedop): Do not use BP_SYM.
2574 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2577 2013-02-21 Allan McRae <allan@archlinux.org>
2579 * manual/message.texi (Charset conversion in gettext):
2580 Move @end statement to beginning of line.
2582 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2589 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2594 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2596 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2597 tail-call to the resolved function if pltexit isn't needed.
2599 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2602 or Y being zero as being unlikely.
2603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2606 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2608 * manual/nss.texi (System Databases and Name Service Switch):
2609 Remove frobnicate @pxref.
2611 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2613 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2614 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2616 2013-02-20 Petr Machata <pmachata@redhat.com>
2618 * elf/elf.h (R_ARM_TARGET1): New macro.
2619 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2620 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2621 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2622 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2623 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2624 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2625 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2626 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2627 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2628 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2629 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2630 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2631 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2632 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2633 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2634 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2635 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2636 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2637 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2638 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2639 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2640 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2641 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2642 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2643 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2644 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2645 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2646 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2647 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2648 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2649 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2650 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2651 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2652 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2653 (R_ARM_THM_GOT_BREL12): Likewise.
2654 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2655 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2656 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2657 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2658 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2659 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2660 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2661 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2662 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2664 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2666 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2667 __attribute_used__ to __attribute__ ((unused)).
2669 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2671 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2677 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2680 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2682 (ENTER): Remove both macro definitions.
2684 (CHECK_BOUNDS_LOW): Likewise.
2685 (CHECK_BOUNDS_HIGH): Likewise.
2686 (CHECK_BOUNDS_BOTH): Likewise.
2687 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2688 (RETURN_BOUNDED_POINTER): Likewise.
2689 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2690 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2691 (POP_ERRNO_LOCATION_RETURN): Likewise.
2692 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2693 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2694 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2696 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2697 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2698 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2699 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2700 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2701 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2702 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2703 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2704 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2705 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2706 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2707 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2708 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2709 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2711 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2712 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2714 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2715 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2716 * sysdeps/i386/i586/memset.S (memset): Likewise.
2717 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2718 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2719 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2721 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2722 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2723 Change uses of L(2) to L(out).
2724 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2725 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2726 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2727 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2728 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2730 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2731 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2733 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2734 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2735 (RETURN): Do not use macro LEAVE.
2736 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2737 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2738 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2739 * sysdeps/i386/i686/memset.S (memset): Likewise.
2740 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2741 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2742 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2743 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2745 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2746 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2747 L(1_2) and L(1_3) into L(1).
2748 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2749 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2750 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2751 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2752 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2753 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2754 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2755 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2756 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2758 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2759 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2760 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2761 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2762 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2763 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2764 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2765 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2766 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2767 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2768 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2769 * sysdeps/i386/strspn.S (strspn): Likewise.
2770 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2772 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2773 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2774 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2775 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2777 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2778 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2779 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2781 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2783 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2785 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2788 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2790 * math/atest-exp.c (exp_mpn): Remove ROUND.
2791 * math/atest-exp2.c (exp_mpn): Likewise.
2792 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2794 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2795 * stdlib/tst-tls-atexit-lib.c: Likewise.
2796 * stdlib/tst-tls-atexit.c: Likewise.
2798 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2800 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2801 and __attribute_alloc_size__.
2803 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2805 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2806 __attribute_alloc_size__.
2807 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2808 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2810 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2812 * include/programs/xmalloc.h: New file.
2813 * catgets/gencat.c: Include it.
2814 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2815 * elf/pldd.c: Likewise.
2816 * iconv/iconv_charmap.c: Likewise.
2817 * iconv/iconvconfig.c: Likewise.
2818 * iconv/strtab.c: Likewise.
2819 * locale/programs/locale.c: Likewise.
2820 * locale/programs/localedef.h: Likewise.
2821 * locale/programs/simple-hash.c: Likewise.
2822 * nscd/nscd.h: Likewise.
2823 * nss/makedb.c: Likewise.
2824 * sysdeps/generic/ldconfig.h: Likewise.
2826 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2828 * Versions.def: Add GLIBC_2.18.
2829 * include/link.h (struct link_map): New member l_tls_dtor_count.
2830 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2831 (__call_tls_dtors): Likewise.
2832 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2833 __cxa_thread_atexit_impl.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2842 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2850 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2851 (tests): Add test case tst-tls-atexit.
2852 (modules-names): Add shared library for tst-tls-atexit.
2853 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2854 (GLIBC_PRIVATE): Add __call_tls_dtors.
2855 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2857 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2858 * stdlib/tst-tls-atexit.c: New test case.
2859 * stdlib/tst-tls-atexit-lib.c: New test case.
2861 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2863 * elf/Versions (ld): Add _dl_find_dso_for_object.
2864 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2865 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2866 (dl_open_worker): Use _dl_find_dso_for_object.
2867 * elf/dl-sym.c (do_sym): Likewise.
2868 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2870 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2872 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2873 Syntactic changes only.
2874 (_dl_runtime_profile): Do a tail-call to the resolved function.
2876 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2879 * sysdeps/x86_64/bp-asm.h: Remove file.
2880 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2881 <bp-sym.h> and <bp-asm.h>.
2882 (__clone): Do not use BP_SYM.
2883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2884 <bp-sym.h> and <bp-asm.h>.
2885 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2886 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2888 (_setjmp): Do not use BP_SYM.
2889 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2891 (setjmp): Do not use BP_SYM.
2892 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2894 (mempcpy): Do not use BP_SYM in weak_alias.
2895 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2897 (strchr): Do not use BP_SYM.
2898 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2900 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2901 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2902 (_start): Do not use BP_SYM.
2903 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2905 (strcat): Do not use BP_SYM.
2906 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2908 (STRCMP): Do not use BP_SYM.
2909 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2911 (STRCPY): Do not use BP_SYM.
2912 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2914 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2916 (FUNCTION): Do not use BP_SYM.
2917 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2919 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2921 2013-02-17 Andreas Jaeger <aj@suse.de>
2923 * time/Versions: Sort entries.
2924 * string/Versions: Likewise.
2925 * resolv/Versions: Likewise.
2926 * posix/Versions: Likewise.
2927 * iconv/Versions: Likewise.
2928 * elf/Versions: Likewise.
2929 * wcsmbs/Versions: Likewise.
2931 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2933 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2934 loop termination condition.
2936 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2937 variable to calculate EZ.
2940 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2941 the lower precision input.
2943 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2946 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2947 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2948 (run-via-rtld-prefix): Do not handle %-bp tests.
2949 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2950 (all-object-suffixes): Remove .ob.
2951 (bppfx): Remove variable.
2952 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2953 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2954 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2955 [$(build-bounded) = yes] (libtype.ob): Likewise.
2956 * Makerules (elide-routines.ob): Remove variable.
2957 (do-tests-clean): Do not handle *-bp.out.
2958 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2959 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2960 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2961 (tests): Do not include $(tests-bp.out).
2962 (xtests): Do not include $(xtests-bp.out).
2963 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2964 [$(build-bounded) = yes] ($(addprefix
2965 $(objpfx),$(binaries-bounded))): Remove rule.
2966 ($(objpfx)%-bp.out): Remove rule.
2967 * config.make.in (build-bounded): Remove variable.
2968 * crypt/Makefile [$(build-bounded) = yes]
2969 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2970 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2972 [$(build-bounded) = yes] (install-lib): Likewise.
2973 [$(build-bounded) = yes] (generated): Likewise.
2974 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2976 * intl/Makefile [$(build-bounded) = yes]
2977 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2978 * math/Makefile [$(build-bounded) = yes]
2979 ($(tests:%=$(objpfx)%-bp): Likewise.
2980 * misc/Makefile [$(build-bounded) = yes]
2981 ($(objpfx)tst-tsearch-bp): Likewise.
2982 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2983 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2985 * string/Makefile (o-objects.ob): Remove variable.
2986 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2987 (CFLAGS-.ob): Remove variable.
2988 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2989 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2990 both definitions of variable.
2991 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2992 (ASFLAGS-.ob): Remove variable.
2994 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2997 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2998 Remove __BOUNDED_POINTERS__ from condition.
2999 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3000 * string/bits/string2.h [!__NO_STRING_INLINES &&
3001 !__BOUNDED_POINTERS__]: Likewise.
3002 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3004 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3005 Remove conditional code.
3006 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3007 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3008 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3012 * csu/libc-start.c: Do not include <bp-sym.h>.
3013 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3014 * elf/dl-open.c: Do not include <bp-sym.h>.
3015 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3016 * math/fegetenv.c: Do not include <bp-sym.h>.
3017 (fegetenv): Do not use BP_SYM in versioned symbols.
3018 * nptl/sysdeps/pthread/bits/libc-lockP.h
3019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3022 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3024 (__pthread_mutex_destroy): Likewise.
3025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3026 (__pthread_mutex_lock): Likewise.
3027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3028 (__pthread_mutex_trylock): Likewise.
3029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3030 (__pthread_mutex_unlock): Likewise.
3031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3032 (__pthread_mutexattr_init): Likewise.
3033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3034 (__pthread_mutexattr_destroy): Likewise.
3035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3036 (__pthread_mutexattr_settype): Likewise.
3037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3038 (__pthread_rwlock_init): Likewise.
3039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3040 (__pthread_rwlock_destroy): Likewise.
3041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3042 (__pthread_rwlock_rdlock): Likewise.
3043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3044 (__pthread_rwlock_tryrdlock): Likewise.
3045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3046 (__pthread_rwlock_wrlock): Likewise.
3047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3048 (__pthread_rwlock_trywrlock): Likewise.
3049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3050 (__pthread_rwlock_unlock): Likewise.
3051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3052 (__pthread_key_create): Likewise.
3053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3054 (__pthread_setspecific): Likewise.
3055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3056 (__pthread_getspecific): Likewise.
3057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3060 (_pthread_cleanup_push_defer): Likewise.
3061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3062 (_pthread_cleanup_pop_restore): Likewise.
3063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3064 (pthread_setcancelstate): Likewise.
3065 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3067 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3068 (memchr): Do not use BP_SYM in weak_alias.
3069 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3070 (fegetenv): Do not use BP_SYM in versioned symbols.
3071 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3072 (fesetenv): Do not use BP_SYM in versioned symbols.
3073 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3074 (feupdateenv): Do not use BP_SYM in versioned symbols.
3075 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3076 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3077 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3078 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3079 (open64): Do not use BP_SYM in weak_alias.
3080 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3081 (fegetenv): Do not use BP_SYM in versioned symbols.
3082 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3083 (fesetenv): Do not use BP_SYM in versioned symbols.
3084 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3085 (feupdateenv): Do not use BP_SYM in versioned symbols.
3086 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3087 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3088 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3089 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3090 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3091 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3092 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3094 (__libc_start_main): Do not use BP_SYM.
3096 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3099 redundant return line.
3103 (sub_magnitudes): Likewise.
3109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3113 (sub_magnitudes): Likewise.
3120 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3122 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3123 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3126 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3127 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3129 of __mul for squares.
3130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3134 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3135 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3137 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3140 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3142 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3143 prototype or function definition. Rename ubp_* variables and
3144 parameters. Remove argv definitions conditional on
3145 [__BOUNDED_POINTERS__].
3146 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3147 * elf/dl-runtime.c (_dl_fixup): Likewise.
3148 * include/set-hooks.h (RUN_HOOK): Likewise.
3149 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3151 * string/strcpy.c (strcpy): Do not use __unbounded.
3152 * sysdeps/generic/frame.h (struct layout): Likewise.
3153 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3154 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3155 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3156 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3157 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3158 (__backtrace): Likewise.
3159 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3161 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3162 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3163 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3165 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3166 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3167 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3168 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3169 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3170 Do not use __unbounded.
3171 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3172 Rename __unboundedrlimits parameter to rlimits in prototype.
3173 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3174 Do not use __unbounded.
3175 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3177 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3178 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3179 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3180 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3181 __ptrvalue or __unbounded.
3182 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3183 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3185 (__new_msgctl): Do not use __ptrvalue.
3186 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3188 (__libc_msgrcv): Do not use __ptrvalue.
3189 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3190 startup_info): Do not use __unbounded.
3191 (__libc_start_main): Likewise. Rename ubp_* variables and
3192 parameters. Remove argv definitions conditional on
3193 [__BOUNDED_POINTERS__].
3194 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3196 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3198 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3200 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3202 (__new_shmctl): Do not use __ptrvalue.
3203 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3204 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3206 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3207 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3208 (__libc_sigaction): Likewise.
3209 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3210 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3212 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3214 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3216 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3218 * string/mempcpy.c: Implement by calling memcpy.
3220 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3224 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3227 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3228 values in the mantissa.
3230 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3231 minimize writes to Z.
3232 (sub_magnitudes): Simplify code a bit.
3234 2013-02-12 Roland McGrath <roland@hack.frob.com>
3236 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3237 from the message. The linker prefixes all warnings with that already.
3239 2013-02-12 Andreas Schwab <schwab@suse.de>
3242 * posix/regexec.c (extend_buffers): Add parameter min_len.
3243 (check_matching): Pass minimum needed length.
3244 (clean_state_log_if_needed): Likewise.
3245 (get_subexp): Likewise.
3246 * posix/Makefile (tests): Add bug-regex34.
3247 (bug-regex34-ENV): Define.
3248 * posix/bug-regex34.c: New file.
3251 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3252 elements compare against the byte sequence of it, not its name.
3253 * posix/Makefile (tests): Add bug-regex35.
3254 (bug-regex35-ENV): Define.
3255 * posix/bug-regex35.c: New file.
3257 2013-02-11 Tom de Vries <tom@codesourcery.com>
3259 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3261 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3262 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3263 (CHECK_EOL): Add undef.
3265 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3267 * bits/stdlib-bsearch.h: New file.
3268 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3269 * stdlib/stdlib.h: Likewise.
3271 2013-02-11 Roland McGrath <roland@hack.frob.com>
3273 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3274 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3276 * manual/search.texi (Array Search Function): Add missing const in
3278 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3279 declaration to use rlim_t.
3280 (Basic Scheduling Functions): Remove erroneous const from
3281 sched_getparam prototype. Remove erroneous * from
3282 sched_get_priority_max and sched_get_priority_min prototypes.
3283 (Resource Usage): Fix summary @comment on vtimes to refer to
3284 sys/vtimes.h rather than vtimes.h.
3285 Add missing *s in vtimes prototype.
3286 (Limits on Resources): Fix ulimit prototype to return long int.
3287 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3288 prototypes to use long int rather than double.
3289 (BSD Random): Fix initstate and setstate to use char *, not void *.
3290 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3291 prototype to make second argument 'struct aiocb64 *const[]'.
3292 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3293 (Status of AIO Operations): Remove erroneous const in aio_return and
3294 aio_return64 prototypes.
3295 (Synchronizing I/O): Fix sync prototype to return void.
3296 * manual/startup.texi (Suboptions): Remove an erroneous const in
3297 getsubopt prototype.
3298 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3299 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3300 use size_t rather than int.
3301 (Scanning All Users): Likewise for getpwent_r.
3302 (Setting Groups): Add missing const to setgroups prototype.
3303 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3304 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3305 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3306 'const void *' rather than 'const char *'.
3307 (Host Address Functions): Likewise for inet_ntop.
3308 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3309 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3310 ssize_t for return value.
3311 (Sending Data): Likewise for send, sendto, sendmsg.
3312 (Socket Option Functions): Add a missing const in setsockopt prototype.
3313 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3314 use wchar_t for the argument.
3315 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3316 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3318 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3319 double/float/long double for second argument.
3320 Fix return types of significand, significandf, significandl.
3321 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3322 argument in fchmod prototype.
3323 (File Owner): Use uid_t and gid_t in fchown prototype.
3324 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3325 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3326 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3327 use 'const struct dirent **' as argument types to CMP function pointer
3329 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3330 (File Times): Fix summary magic @comment for struct utimbuf and utime
3331 to refer to utime.h, not time.h.
3332 * manual/string.texi (Argz Functions): Add missing const in
3333 argz_extract and argz_next prototypes.
3334 (Finding Tokens in a String): Likewise for basename.
3335 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3336 (Copying and Concatenation): Fix typo in wmemmove prototype.
3337 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3338 (Signal Stack): Remove erroneous const in sigstack prototype.
3339 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3341 (Simple Calendar Time): Likewise for stime.
3342 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3344 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3345 say sys/sysctl.h instead.
3346 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3347 and vsyslog prototypes.
3349 2013-02-11 Tom de Vries <tom@codesourcery.com>
3351 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3354 2013-02-11 Roland McGrath <roland@hack.frob.com>
3356 * misc/sys/mman.h: Fix typo in mremap comment.
3358 2013-02-08 Roland McGrath <roland@hack.frob.com>
3360 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3361 the '\0' terminator.
3363 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3366 * debug/segfault.c: Don't include <bp-checks.h>.
3367 * sysdeps/generic/bp-checks.h: Remove file.
3368 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3369 (__GETDENTS): Don't use CHECK_N.
3370 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3371 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3372 (__getgroups): Don't use CHECK_N.
3373 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3374 (setgroups): Don't use CHECK_N.
3375 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3376 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3377 (__libc_msgrcv): Don't use CHECK_N.
3378 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3379 (__libc_msgsnd): Don't use CHECK_N.
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3382 (__libc_pread): Don't use CHECK_N.
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3384 include <bp-checks.h>.
3385 (__libc_pread64): Don't use CHECK_N.
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3387 include <bp-checks.h>.
3388 (__libc_pwrite): Don't use CHECK_N.
3389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3390 include <bp-checks.h>.
3391 (__libc_pwrite64): Don't use CHECK_N.
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3394 (__libc_pread): Don't use CHECK_N.
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3396 include <bp-checks.h>.
3397 (__libc_pread64): Don't use CHECK_N.
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3399 include <bp-checks.h>.
3400 (__libc_pwrite): Don't use CHECK_N.
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3402 include <bp-checks.h>.
3403 (__libc_pwrite64): Don't use CHECK_N.
3404 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3405 (do_pread): Don't use CHECK_N.
3406 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3407 (do_pread64): Don't use CHECK_N.
3408 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3409 (do_pwrite): Don't use CHECK_N.
3410 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3411 (do_pwrite64): Don't use CHECK_N.
3412 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3413 (__libc_readv): Don't use CHECK_N.
3414 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3415 (semop): Don't use CHECK_N.
3416 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3418 (semtimedop): Don't use CHECK_N.
3419 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3420 (__libc_pread): Don't use CHECK_N.
3421 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3423 (__libc_pread64): Don't use CHECK_N.
3424 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3426 (__libc_pwrite): Don't use CHECK_N.
3427 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3429 (__libc_pwrite64): Don't use CHECK_N.
3430 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3432 (__libc_msgrcv): Don't use CHECK_N.
3433 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3434 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3435 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3436 (__libc_writev): Don't use CHECK_N.
3438 2013-02-08 Roland McGrath <roland@hack.frob.com>
3440 * string/strcpy.c: Removed unused variable.
3442 * Makeconfig (+sysdep-includes): Define with := rather than =.
3443 Use an existing include/ subdir of each sysdeps dir before it.
3445 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3447 * nscd/connection.c (register_traced_file): Comment function.
3448 [HAVE_INOTIFY] (union __inev): Define.
3449 [HAVE_INOTIFY] (inotify_check_files): New function.
3450 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3451 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3453 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3455 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3457 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3458 loaded if not already and that a failure is permanent.
3460 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3463 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3464 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3466 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3469 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3470 (CHECK_1_NULL_OK): Likewise.
3471 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3472 (__fxstat): Do not use CHECK_1.
3473 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3475 (___fxstat64): Do not use CHECK_1.
3476 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3478 (__fxstatat): Do not use CHECK_1.
3479 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3481 (__fxstatat64): Do not use CHECK_1.
3482 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3484 (__fxstat): Do not use CHECK_1.
3485 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3487 (__fxstatat): Do not use CHECK_1.
3488 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3490 (__getresgid): Do not use CHECK_1.
3491 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3493 (__getresuid): Do not use CHECK_1.
3494 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3496 (__lxstat): Do not use CHECK_1.
3497 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3499 (__old_msgctl): Do not use CHECK_1.
3500 (__new_msgctl): Likewise.
3501 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3503 (__new_setrlimit): Do not use CHECK_1.
3504 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3506 (__old_shmctl): Do not use CHECK_1.
3507 (__new_shmctl): Likewise.
3508 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3510 (__xstat): Do not use CHECK_1.
3511 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3512 (__lxstat): Do not use CHECK_1.
3513 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3515 (___lxstat64): Do not use CHECK_1.
3516 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3517 (__old_msgctl): Do not use CHECK_1.
3518 (__new_msgctl): Likewise.
3519 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3521 (__gettimeofday): Do not use CHECK_1.
3522 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3523 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3524 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3526 (__gettimeofday): Do not use CHECK_1.
3527 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3528 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3529 (__new_shmctl): Do not use CHECK_1.
3530 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3532 (do_sigtimedwait): Do not use CHECK_1.
3533 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3535 (do_sigwaitinfo): Do not use CHECK_1.
3536 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3538 (msgctl): Do not use CHECK_1.
3539 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3541 (shmctl): Do not use CHECK_1.
3542 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3543 (ustat): Do not use CHECK_1.
3544 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3546 (__fxstat): Do not use CHECK_1.
3547 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3549 (__fxstatat): Do not use CHECK_1.
3550 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3552 (__lxstat): Do not use CHECK_1.
3553 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3555 (__xstat): Do not use CHECK_1.
3556 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3557 (__xstat): Do not use CHECK_1.
3558 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3559 (___xstat64): Do not use CHECK_1.
3562 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3564 (CHECK_BOUNDS_HIGH): Likewise.
3565 * string/strcpy.c: Do not include <bp-checks.h>.
3566 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3568 2013-02-07 Roland McGrath <roland@hack.frob.com>
3570 * nscd/nscd-client.h (__nscd_drop_map_ref):
3571 Add __attribute__ ((unused)).
3572 * nis/nss-nisplus.h (niserr2nss): Likewise.
3574 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3575 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3577 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3578 Remove inline keyword.
3579 * include/rounding-mode.h (round_away): Likewise.
3580 * libio/wfileops.c (adjust_wide_data): Likewise.
3581 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3582 (__m128i_strloadu_tolower): Likewise.
3583 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3584 (__m128i_strloadu_tolower): Likewise.
3585 * time/mktime.c (ydhms_diff): Likewise.
3586 * locale/elem-hash.h (elem_hash): Likewise.
3587 * locale/setlocale.c (setdata): Likewise.
3588 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3589 (re_string_wchar_at): Likewise.
3590 (bitset_not, bitset_merge, bitset_mask): Likewise.
3591 [!(__GNUC__ > 3)] (inline): Remove macro.
3592 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3593 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3594 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3595 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3596 * string/memcmp.c (memcmp_bytes): Likewise.
3597 * locale/programs/locarchive.c (compute_hashval): Likewise.
3598 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3599 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3600 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3601 * nss/getent.c (print_rpc, print_protocols): Likewise.
3602 (print_passwd, print_group, print_aliases): Likewise.
3603 * nis/nss-nisplus.h (niserr2nss): Likewise.
3604 * nscd/connections.c (restart_p): Likewise.
3605 Change return type to bool.
3607 2013-02-05 Roland McGrath <roland@hack.frob.com>
3609 * Makeconfig (all-Depend-files): Add existing
3610 $(sorted-subdirs:=/Depend) files.
3611 (all-subdirs): Remove nss.
3612 * sysdeps/unix/inet/Subdirs: Add it here instead.
3613 * hesiod/Depend: New file.
3615 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3616 instead of calling alloca.
3618 * io/lseek.c (__lseek): Rename to __libc_lseek.
3619 Define __lseek as an alias.
3621 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3623 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3625 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3626 else clause and remove check for non-standard endianness.
3628 2013-02-04 David S. Miller <davem@davemloft.net>
3630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3632 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3635 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3636 (__ubp_memchr): Remove prototype.
3637 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3638 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3639 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3640 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3641 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3643 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3644 (__ubp_memchr): Likewise.
3645 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3646 (__ubp_memchr): Likewise.
3647 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3648 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3649 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3650 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3652 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3653 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3654 (__getcwd): Do not use CHECK_STRING.
3655 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3657 (__real_chown): Do not use CHECK_STRING.
3658 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3660 (fchownat): Do not use CHECK_STRING.
3661 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3663 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3665 (__lchown): Do not use CHECK_STRING.
3666 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3667 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3668 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3669 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3671 include <bp-checks.h>.
3672 (truncate64): Do not use CHECK_STRING.
3673 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3675 (__real_chown): Do not use CHECK_STRING.
3676 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3678 (__lchown): Do not use CHECK_STRING.
3679 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3681 (__chown): Do not use CHECK_STRING.
3682 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3684 (truncate64): Do not use CHECK_STRING.
3685 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3687 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3688 (__xmknod): Do not use CHECK_STRING.
3689 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3691 (__xmknodat): Do not use CHECK_STRING.
3692 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3693 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3695 2013-02-04 Andreas Schwab <schwab@suse.de>
3698 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3699 * include/netdb.h: Likewise for h_errno.
3700 * elf/tst-stackguard1.c: Include <tls.h>.
3702 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3704 * elf/link.h (struct link_map): Extend the l_addr comment.
3705 * include/link.h (struct link_map): Likewise.
3707 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3710 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3711 (BOUNDED_1): Remove macro.
3712 * debug/backtrace.c: Don't include <bp-checks.h>.
3713 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3714 (__backtrace): Likewise.
3715 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3717 (__backtrace): Don't use BOUNDED_1.
3718 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3720 (__backtrace): Don't use BOUNDED_1.
3721 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3722 (__backtrace): Don't use BOUNDED_1.
3723 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3724 (shmat): Don't use BOUNDED_N.
3726 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3729 * sysdeps/generic/bp-start.h: Remove file.
3730 * csu/libc-start.c: Don't include <bp-start.h>.
3731 (LIBC_START_MAIN): Set up __environ directly instead of using
3732 INIT_ARGV_and_ENVIRON.
3733 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3737 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3739 (CHECK_FCNTL): Likewise.
3740 (CHECK_N_PAGES): Likewise.
3743 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3745 (CHECK_SIGSET_NULL_OK): Likewise.
3746 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3748 (sigpending): Don't use CHECK_SIGSET.
3749 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3751 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3752 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3754 (do_sigsuspend): Don't use CHECK_SIGSET.
3755 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3757 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3758 (do_sigwait): Don't use CHECK_SIGSET.
3759 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3761 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3762 include <bp-checks.h>.
3763 (sigpending): Don't use CHECK_SIGSET.
3764 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3765 include <bp-checks.h>.
3766 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3767 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3769 (sigpending): Don't use CHECK_SIGSET.
3770 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3772 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3775 * sysdeps/generic/bp-semctl.h: Remove file.
3776 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3777 <bp-checks.h> and <bp-semctl.h>.
3778 (__old_semctl): Don't use CHECK_SEMCTL.
3779 (__new_semctl): Likewise.
3780 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3782 (__old_semctl): Don't use CHECK_SEMCTL.
3783 (__new_semctl): Likewise.
3784 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3785 <bp-checks.h> and <bp-semctl.h>.
3786 (__old_semctl): Don't use CHECK_SEMCTL.
3787 (__new_semctl): Likewise.
3788 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3789 <bp-checks.h> and <bp-semctl.h>.
3790 (semctl): Don't use CHECK_SEMCTL.
3793 * Makerules (elide-bp-thunks): Remove variable.
3794 (elide-routines.oS): Don't use $(elide-bp-thunks).
3795 (elide-routines.os): Likewise.
3796 (elide-routines.o): Likewise.
3797 (elide-routines.op): Likewise.
3798 (elide-routines.og): Likewise.
3799 (objects): Don't use $(bp-thunks).
3800 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3802 (common-generated): Do not add s-proto-bp.d.
3803 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3806 Do not generate makefile rules for bounded-pointer thunks.
3807 * sysdeps/generic/bp-thunks.h: Remove file.
3808 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3809 * sysdeps/unix/s-proto-bp.S: Likewise.
3812 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3813 parts of result separately when argument is not close to line from
3814 -i to i and one part of argument is small.
3815 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3816 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3817 * math/libm-test.inc (cacos_test): Add more tests.
3818 (casin_test): Likewise.
3819 (casinh_test): Likewise.
3820 * sysdeps/i386/fpu/libm-test-ulps: Update.
3821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3823 2013-01-31 David S. Miller <davem@davemloft.net>
3825 * po/de.po: Update from translation team.
3827 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3829 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3831 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3833 * configure.in (_AC_PROG_CC_C89): New definition.
3834 * configure: Regenerate.
3836 * configure.in (AC_PROG_CPP): New definition.
3837 * configure: Regenerate.
3839 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3841 * debug/tst-backtrace.h: New file.
3842 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3843 (ret): Remove variable.
3845 (FAIL): Remove macro.
3846 (NO_INLINE): Likewise.
3847 (fn1): Use match function instead of strstr.
3848 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3849 (ret): Remove variable.
3851 (FAIL): Remove macro.
3852 (NO_INLINE): Likewise.
3853 (fn): Use match function instead of strstr.
3854 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3855 (ret): Remove variable.
3857 (FAIL): Remove macro.
3858 (NO_INLINE): Likewise.
3859 (handle_signal): Use match function instead of strstr.
3860 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3861 (ret): Remove variable.
3863 (FAIL): Remove macro.
3864 (NO_INLINE): Likewise.
3865 (handle_signal): Use match function instead of strstr.
3867 2013-01-23 Roland McGrath <roland@hack.frob.com>
3869 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3871 2013-01-23 David S. Miller <davem@davemloft.net>
3873 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3874 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3875 argument of CAS if possible.
3876 * sysdeps/sparc/sparc64/bits/atomic.h
3877 (__arch_compare_and_exchange_val_32_acq): Likewise.
3878 (__arch_compare_and_exchange_val_64_acq): Likewise.
3880 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3882 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3883 * sysdeps/posix/ulimit.c: ... this.
3885 * sysdeps/unix/bsd/ulimit.c: Remove file.
3887 2013-01-23 Adam Conrad <adconrad@0c3.net>
3889 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3890 (LDFLAGS-tst-array5): Likewise.
3892 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3895 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3896 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3897 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3898 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3900 2013-01-21 David S. Miller <davem@davemloft.net>
3902 * sysdeps/sparc/backtrace.c: New file.
3903 * sysdeps/sparc/sparc32/backtrace.h: New file.
3904 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3905 * sysdeps/sparc/sparc64/backtrace.h: New file.
3906 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3907 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3910 2013-01-21 Andreas Schwab <schwab@suse.de>
3913 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3916 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3922 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3923 Mark Mitchell <mark@codesourcery.com>
3924 Tom de Vries <tom@codesourcery.com>
3925 Paul Pluzhnikov <ppluzhnikov@google.com>
3927 * debug/tst-backtrace2.c: New file.
3928 * debug/tst-backtrace3.c: Likewise.
3929 * debug/tst-backtrace4.c: Likewise.
3930 * debug/tst-backtrace5.c: Likewise.
3931 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3932 (CFLAGS-tst-backtrace3.c): Likewise.
3933 (CFLAGS-tst-backtrace4.c): Likewise.
3934 (CFLAGS-tst-backtrace5.c): Likewise.
3935 (LDFLAGS-tst-backtrace2): Likewise.
3936 (LDFLAGS-tst-backtrace3): Likewise.
3937 (LDFLAGS-tst-backtrace4): Likewise.
3938 (LDFLAGS-tst-backtrace5): Likewise.
3939 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3940 tst-backtrace4 and tst-backtrace5.
3942 2013-01-18 Anton Blanchard <anton@samba.org>
3943 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3945 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3946 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3947 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3948 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3950 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3951 "+r" and remove output regs list as redundant. Add explicit inline
3952 asm to specify register of return val to work around compiler codegen
3953 bug. Remove (int) cast on return value. Add return type parameter to
3954 use in macro so that this macro does not truncate return value for
3956 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3957 pass to INTERNAL_VSYSCALL_NCS.
3958 (INLINE_VSYSCALL): Add 'long int' as return type to
3959 INTERNAL_VSYSCALL_NCS macro invocation.
3960 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3961 INTERNAL_VSYSCALL_NCS macro invocation.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3964 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3967 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3968 Fix application of SIMD FP exception mask.
3970 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3971 mp_no from a power of two.
3972 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3973 __mpexp_twomm1. Use __pow_mp.
3975 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3978 2013-01-17 David S. Miller <davem@davemloft.net>
3980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3982 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3985 * include/complex.h: Condition contents on [!_COMPLEX_H].
3986 (__kernel_casinhf): New prototype.
3987 (__kernel_casinh): Likewise.
3988 (__kernel_casinhl): Likewise.
3989 * math/Makefile (libm_calls): Add k_casinh.
3990 * math/k_casinh.c: New file.
3991 * math/k_casinhf.c: Likewise.
3992 * math/k_casinhl.c: Likewise.
3993 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3994 finite nonzero arguments.
3995 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3996 finite nonzero arguments.
3997 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3998 finite nonzero arguments.
3999 * math/s_casinh.c: Do not include <float.h>.
4000 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4001 * math/s_casinhf.c: Do not include <float.h>.
4002 (__casinhf): Move code for finite nonzero arguments to
4004 * math/s_casinhl.c: Do not include <float.h>.
4005 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4007 (__casinhl): Move code for finite nonzero arguments to
4009 * math/libm-test.inc (cacos_test): Add more tests.
4010 * sysdeps/i386/fpu/libm-test-ulps: Update.
4011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4013 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4015 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4016 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4017 [!HAVE_MREMAP]: Remove [defined linux] case.
4018 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4020 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4022 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4024 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4026 * elf/elf.h (R_386_SIZE32): New relocation.
4027 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4029 (elf_machine_rela): Likewise.
4030 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4031 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4033 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4035 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4036 (FP_FAST_FMA): Do not define.
4037 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4038 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4039 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4040 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4041 !_SOFT_FLOAT]: Likewise.
4042 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4043 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4045 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4046 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4047 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4048 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4049 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4050 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4053 2013-01-16 Andreas Schwab <schwab@suse.de>
4056 * include/stdlib.h (__mktemp): Add declaration.
4057 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4058 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4060 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4062 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4064 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4065 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4066 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4068 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4069 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4071 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4073 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4074 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4075 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4077 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4078 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4080 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4082 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4084 2013-01-15 David S. Miller <davem@davemloft.net>
4086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4087 trunc{,f} to libm-sysdep_routes.
4088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4098 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4099 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4100 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4101 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4102 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4103 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4106 nearbyint{,f} to libm-sysdep_routes.
4107 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4118 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4120 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4121 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4123 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4124 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4125 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4127 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4128 libc_feholdexcept and libc_fesetenv.
4130 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4132 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4134 2013-01-14 David S. Miller <davem@davemloft.net>
4136 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4137 (SPARC_ASM_VIS2_IFUNC): Likewise.
4138 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4140 use of 'siam' instruction.
4141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4174 routines to libm-sysdep_routines.
4175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4178 fdim/fdimf to libm-sysdep_routines.
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4187 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4188 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4189 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4190 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4192 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4194 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4197 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4202 local variable MPTWO.
4203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4206 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4208 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4211 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4213 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4215 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4217 * manual/pattern.texi (glob_t): Document gl_flags.
4218 (glob64_t): Likewise.
4220 2013-01-11 David S. Miller <davem@davemloft.net>
4222 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4223 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4224 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4225 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4226 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4227 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4228 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4229 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4230 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4231 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4232 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4233 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4234 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4236 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4237 sparc V9 rather than using V8 code.
4238 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4239 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4243 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4246 2013-01-11 Roland McGrath <roland@hack.frob.com>
4248 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4249 not in the main loop.
4250 * configure: Regenerated.
4252 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4254 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4255 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4257 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4258 [!__GLIBC_HAVE_LONG_LONG] case.
4259 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4260 condition to just #else.
4261 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4262 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4263 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4264 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4266 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4267 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4268 #elif condition to just #else.
4269 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4270 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4271 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4272 #elif condition to just #else.
4274 2013-01-11 Steve Ellcey <sellcey@mips.com>
4276 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4277 (EF_MIPS_ARCH_64): Fix value.
4278 (EF_MIPS_ARCH_32R2): New.
4279 (EF_MIPS_ARCH_64R2): New.
4281 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4283 * Makeconfig (+link-pie-before-libc): New.
4284 (+link-pie-after-libc): Likewise.
4285 (+link-pie-tests): Likewise.
4286 (+link-pie): Rewritten.
4287 (link-before-libc): Remove $(config-LDFLAGS).
4288 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4289 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4290 (config-LDFLAGS): Renamed to ...
4291 (rtld-LDFLAGS): This.
4292 (rtld-tests-LDFLAGS): New macro.
4293 (link-libc-rpath-link): Likewise.
4294 (link-libc-tests-rpath-link): Likewise.
4295 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4296 (link-libc): Prepand $(link-libc-rpath-link).
4297 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4298 (test-program-prefix): New macro.
4299 (test-via-rtld-prefix): Likewise.
4300 (test-program-cmd): Likewise.
4301 (host-test-program-cmd): Likewise.
4302 * Makefile ($(common-objpfx)testrun.sh): Replace
4303 $(run-program-prefix) with $(test-program-prefix).
4304 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4306 ($(common-objpfx)shlib.lds): Likewise.
4307 (build-module-helper): Likewise.
4308 ($(common-objpfx)format.lds): Likewise.
4309 * Rules (binaries-pie-tests): New.
4310 (binaries-pie-notests): Likewise.
4311 (binaries-pie): Rewritten.
4312 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4313 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4314 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4315 (make-test-out): Replace $(host-built-program-cmd) with
4316 $(host-test-program-cmd).
4317 * config.make.in (build-hardcoded-path-in-tests): New variable.
4318 * configure.in (--enable-hardcoded-path-in-tests): New configure
4320 (hardcoded_path_in_tests): New AC_SUBST.
4321 * configure: Regenerated.
4322 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4323 $(built-program-cmd) with $(test-program-cmd).
4324 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4325 (test_program_cmd): This.
4326 * elf/Makefile ($(objpfx)order.out): Run test with
4327 $(test-program-prefix).
4328 ($(objpfx)order2.out): Likewise.
4329 ($(objpfx)tst-initorder.out): Likewise.
4330 ($(objpfx)tst-initorder2.out): Likewise.
4331 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4332 $(test-program-cmd).
4333 ($(objpfx)tst-array1-static.out): Likewise.
4334 ($(objpfx)tst-array2.out): Likewise.
4335 ($(objpfx)tst-array3.out): Likewise.
4336 ($(objpfx)tst-array4.out): Likewise.
4337 ($(objpfx)tst-array5.out): Likewise.
4338 ($(objpfx)tst-array5-static.out): Likewise.
4339 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4340 $(test-program-cmd).
4341 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4342 $(run-program-prefix) with $(test-program-prefix).
4343 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4344 (test_program_prefix): This.
4345 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4346 $(run-program-prefix) with $(test-program-prefix).
4347 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4348 (test_program_prefix): This.
4349 * iconvdata/tst-tables.sh: Likewise.
4350 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4351 $(run-program-prefix) with $(test-program-prefix).
4352 ($(objpfx)tst-translit.out): Likewise.
4353 ($(objpfx)tst-gettext2.out): Likewise.
4354 ($(objpfx)tst-gettext4.out): Likewise.
4355 ($(objpfx)tst-gettext6.out): Likewise.
4356 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4357 (test_program_prefix): This.
4358 * intl/tst-gettext2.sh: Likewise.
4359 * intl/tst-gettext4.sh Likewise.
4360 * intl/tst-gettext6.sh: Likewise.
4361 * intl/tst-translit.sh: Likewise.
4362 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4363 with $(test-program-cmd).
4364 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4365 $(run-program-prefix) with $(test-program-prefix).
4366 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4367 (test_program_prefix): This.
4368 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4369 $(run-program-prefix) with $(test-program-prefix).
4370 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4371 (test_program_prefix): This.
4372 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4373 * posix/Makefile ($(objpfx)globtest.out): Replace
4374 $(run-via-rtld-prefix) and $(test-wrapper) with
4375 $(test-program-prefix) and $(test-via-rtld-prefix).
4376 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4377 $(test-program-prefix).
4378 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4379 $(host-test-program-cmd).
4380 (tst-spawn-ARGS): Likewise.
4381 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4382 $(test-program-prefix).
4383 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4384 (test_via_rtld_prefix): This.
4385 (test_wrapper): Renamed to ...
4386 (test_program_prefix): This.
4387 (run_program_prefix): Replaced by test_program_prefix.
4388 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4389 (test_program_prefix): This.
4390 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4391 with $(host-test-program-cmd).
4392 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4393 $(run-program-prefix) with $(test-program-prefix).
4394 ($(objpfx)tst-printf.out): Likewise.
4395 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4396 $(test-program-cmd).
4397 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4398 (test_program_prefix): This.
4399 * stdio-common/tst-unbputc.sh: Likewise.
4400 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4401 $(run-program-prefix) with $(test-program-prefix).
4402 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4403 (test_program_prefix): This.
4404 * string/Makefile ($(objpfx)tst-svc.out): Replace
4405 $(built-program-cmd) with $(test-program-cmd).
4407 2013-01-11 Andreas Jaeger <aj@suse.de>
4410 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4411 value. Sync with Linux 3.7.
4413 2013-01-10 David S. Miller <davem@davemloft.net>
4415 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4416 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4417 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4419 2013-01-10 Roland McGrath <roland@hack.frob.com>
4421 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4423 * configure: Regenerated.
4425 2013-01-10 David S. Miller <davem@davemloft.net>
4427 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4428 sparc V9 rather than using V8 code.
4429 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4430 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4432 2013-01-10 Roland McGrath <roland@hack.frob.com>
4434 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4435 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4436 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4437 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4438 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4439 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4440 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4441 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4442 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4443 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4444 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4445 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4446 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4447 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4448 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4449 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4450 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4451 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4452 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4453 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4454 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4455 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4456 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4457 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4458 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4459 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4460 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4462 2013-01-10 David S. Miller <davem@davemloft.net>
4464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4466 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4468 * posix/Makefile (tests-static): New variable.
4469 (tests): Add $(tests-static).
4470 (tst-exec-static-ARGS): New variable.
4471 (tst-spawn-static-ARGS): Likewise.
4472 * posix/tst-exec-static.c: New file.
4473 * posix/tst-spawn-static.c: Likewise.
4474 * posix/tst-exec.c: Support run directly.
4475 * posix/tst-spawn.c: Likewise.
4477 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4479 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4481 * math/bits/mathcalls.h (llrint): Likewise.
4482 (llround): Likewise.
4483 * stdlib/stdlib.h (struct drand48_data): Likewise.
4484 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4485 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4486 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4488 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4490 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4491 (elf_greg_t): Likewise.
4492 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4493 (__jmp_buf): Likewise.
4494 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4496 (llrint): Likewise, for all definitions.
4497 (llrintl): Likewise.
4499 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4500 Remove [__GNUC__] condition.
4501 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4502 condition to just [__USE_ISOC99].
4503 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4505 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4508 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4509 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4511 (_POSIX_V6_ILP32_OFF32): Likewise.
4512 (_XBS5_ILP32_OFF32): Likewise.
4513 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4514 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4516 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4518 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4521 doubles __mpexp_twomm1. Adjust usage.
4522 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4525 2013-01-10 Andreas Schwab <schwab@suse.de>
4528 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4529 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4531 2013-01-09 David S. Miller <davem@davemloft.net>
4534 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4535 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4536 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4537 TCP_FASTOPEN): Define.
4538 (tcp_repair_opt): New structure.
4539 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4541 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4542 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4543 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4544 (tcp_cookie_transactions): New structure.
4546 2013-01-09 Anton Blanchard <anton@samba.org>
4548 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4549 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4550 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4551 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4553 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4555 * include/features.h (__USE_ANSI): Remove.
4557 2013-01-09 Roland McGrath <roland@hack.frob.com>
4559 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4561 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4563 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4565 * sysdeps/s390/fpu/libm-test-ulps: Update.
4567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4569 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4574 (__mp_dbl): Likewise.
4575 (__dbl_mp): Likewise.
4576 (add_magnitudes): Likewise.
4577 (sub_magnitudes): Likewise.
4583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4588 (__mp_dbl): Likewise.
4589 (__dbl_mp): Likewise.
4590 (add_magnitudes): Likewise.
4591 (sub_magnitudes): Likewise.
4597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4602 (__mp_dbl): Likewise.
4603 (__dbl_mp): Likewise.
4604 (add_magnitudes): Likewise.
4605 (sub_magnitudes): Likewise.
4612 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4614 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4615 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4616 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4617 2 && __USE_EXTERN_INLINES]: Likewise.
4619 2013-01-08 Andreas Jaeger <aj@suse.de>
4622 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4624 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4625 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4627 2013-01-07 Anton Blanchard <anton@samba.org>
4629 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4630 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4631 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4632 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4633 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4634 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4635 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4636 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4638 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4639 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4640 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4641 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4642 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4643 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4644 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4645 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4646 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4647 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4648 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4649 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4650 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4652 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4653 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4654 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4655 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4656 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4657 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4658 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4659 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4661 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4662 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4663 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4664 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4665 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4666 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4667 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4668 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4669 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4670 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4671 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4673 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4675 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4676 (__MALLOC_PMT): Likewise.
4677 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4678 [__GNUC__], only on [_LIBC].
4679 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4680 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4681 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4682 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4683 forward declaration.
4684 (realloc_hook_ini): Likewise.
4685 (memalign_hook_ini): Likewise.
4686 (__libc_memalign): Do not use __MALLOC_PMT in variable
4688 (__libc_valloc): Likewise.
4689 (__libc_pvalloc): Likewise.
4690 (__libc_calloc): Likewise.
4691 (__posix_memalign): Likewise.
4694 * math/s_casinh.c: Include <float.h>.
4695 (__casinh): Do not do computation with squaring and square root
4696 for large arguments.
4697 * math/s_casinhf.c: Include <float.h>.
4698 (__casinhf): Do not do computation with squaring and square root
4699 for large arguments.
4700 * math/s_casinhl.c: Include <float.h>.
4701 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4702 (__casinhl): Do not do computation with squaring and square root
4703 for large arguments.
4704 * math/libm-test.inc (casin_test): Add more tests.
4705 (casinh_test): Likewise.
4706 * sysdeps/i386/fpu/libm-test-ulps: Update.
4707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4709 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4711 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4712 (__x86_64_raw_data_cache_size): Likewise.
4713 (__x86_64_data_cache_size_half): Likewise.
4714 (__x86_64_raw_data_cache_size_half): Likewise.
4715 (__x86_64_shared_cache_size): Likewise.
4716 (__x86_64_raw_shared_cache_size): Likewise.
4717 (__x86_64_shared_cache_size_half): Likewise.
4718 (__x86_64_raw_shared_cache_size_half): Likewise.
4719 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4721 (__x86_data_cache_size): This.
4722 (__x86_64_raw_data_cache_size): Renamed to ...
4723 (__x86_raw_data_cache_size): This.
4724 (__x86_64_data_cache_size_half): Renamed to ...
4725 (__x86_data_cache_size_half): This.
4726 (__x86_64_raw_data_cache_size_half): Renamed to ...
4727 (__x86_raw_data_cache_size_half): This.
4728 (__x86_64_shared_cache_size): Renamed to ...
4729 (__x86_shared_cache_size): This.
4730 (__x86_64_raw_shared_cache_size): Renamed to ...
4731 (__x86_raw_shared_cache_size): This.
4732 (__x86_64_shared_cache_size_half): Renamed to ...
4733 (__x86_shared_cache_size_half): This.
4734 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4735 (__x86_raw_shared_cache_size_half): This.
4736 * sysdeps/x86_64/memcpy.S: Updated.
4737 * sysdeps/x86_64/memset.S: Likewise.
4738 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4739 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4740 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4742 2013-01-04 David S. Miller <davem@davemloft.net>
4744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4746 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4748 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4749 1 to avoid redefinition warning.
4750 (__USE_GNU): Don't define.
4751 (init_signaling_nan): Protoize.
4753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4755 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4757 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4759 (__cpymn): Likewise.
4760 (norm): Remove commented code.
4762 (__mp_dbl): Likewise.
4764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4765 (__cpymn): Likewise.
4766 (norm): Remove commented code.
4768 (__mp_dbl): Likewise.
4771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4772 mp_no value for 1.0 and 2.0.
4773 (norm): Use RADIXI instead of radixi.d.
4775 (__mul): Use 0.0 instead of zero.d.
4776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4777 mp_no value for 1.0 and 2.0.
4778 (norm): Use RADIXI instead of radixi.d.
4780 (__mul): Use 0.0 instead of zero.d.
4782 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4785 * math/s_casinh.c (__casinh): Reduce finite argument to first
4786 quadrant then set signs of results at the end.
4787 * math/s_casinhf.c (__casinhf): Likewise.
4788 * math/s_casinhl.c (__casinhl): Likewise.
4789 * math/libm-test.inc (casin_test): Add more tests.
4790 (casinh_test): Likewise.
4791 * sysdeps/i386/fpu/libm-test-ulps: Update.
4792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4794 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4796 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4798 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4800 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4803 (__mp_dbl): Likewise.
4806 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4807 and adjust the header comment.
4809 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4810 variable name from declaration.
4812 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4815 Initialize COMMON_CPUID_INDEX_7 element.
4816 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4817 (CPUID_RTM): Likewise.
4818 (HAS_RTM): Likewise.
4819 (COMMON_CPUID_INDEX_7): New enum.
4821 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4824 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4825 size is zero, record memory as freed.
4827 2013-01-03 Andreas Jaeger <aj@suse.de>
4829 * po/ia.po: Add new Interlingua translation.
4831 2012-01-03 Allan McRae <allan@archlinux.org>
4833 * locale/programs/localedef.c: Fix description of '--posix' flag.
4835 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4837 * NEWS: Update dates in second copyright notice.
4838 * README: Update copyright dates in example.
4839 * manual/libc.texinfo: Update copyright dates.
4840 * scripts/test-installation.pl: Update copyright date in --version
4843 * hurd/ctty-input.c: Fix copyright notice formatting.
4844 * hurd/ctty-output.c: Likewise.
4845 * hurd/dtable.c: Likewise.
4846 * hurd/hurd-raise.c: Likewise.
4847 * hurd/hurdprio.c: Likewise.
4848 * hurd/msgportdemux.c: Likewise.
4849 * misc/sys/file.h: Likewise.
4850 * misc/sys/ioctl.h: Likewise.
4851 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4852 * sysdeps/mach/hurd/chdir.c: Likewise.
4853 * sysdeps/mach/hurd/fchdir.c: Likewise.
4854 * sysdeps/mach/hurd/rename.c: Likewise.
4855 * sysdeps/mach/hurd/rmdir.c: Likewise.
4856 * sysdeps/mach/hurd/seekdir.c: Likewise.
4857 * sysdeps/mach/hurd/setsid.c: Likewise.
4858 * sysdeps/posix/wait3.c: Likewise.
4860 * All files with FSF copyright notices: Update copyright dates
4861 using scripts/update-copyrights.
4862 * intl/plural.c: Regenerated.
4863 * locale/programs/charmap-kw.h: Likewise.
4864 * locale/programs/locfile-kw.h: Likewise.
4866 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4868 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4871 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4872 calculation loop and add branch prediction.
4874 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4875 check access beyond bounds of m1np.
4877 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4879 (__inv): Remove local variable MPTWO to use the global
4881 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4882 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4884 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4885 MP3HALFS static const.
4887 2013-01-01 David S. Miller <davem@davemloft.net>
4889 * po/ca.po: Update from translation team.
4891 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4893 * scripts/update-copyrights: New file.
4894 * Makeconfig: Reformat copyright notice.
4895 * ctype/ctype.h: Likewise.
4896 * debug/swprintf_chk.c: Likewise.
4897 * elf/dl-cache.c: Likewise.
4898 * elf/dl-debug.c: Likewise.
4899 * elf/dl-object.c: Likewise.
4900 * grp/initgroups.c: Likewise.
4901 * hurd/Makefile: Likewise.
4902 * hurd/hurd/signal.h: Likewise.
4903 * hurd/hurdfault.c: Likewise.
4904 * hurd/hurdioctl.c: Likewise.
4905 * hurd/hurdlookup.c: Likewise.
4906 * hurd/intr-msg.c: Likewise.
4907 * iconv/gconv_open.c: Likewise.
4908 * libio/swprintf.c: Likewise.
4909 * locale/lc-ctype.c: Likewise.
4910 * locale/nl_langinfo.c: Likewise.
4911 * mach/Machrules: Likewise.
4912 * mach/Makefile: Likewise.
4913 * malloc/obstack.h: Likewise.
4914 * manual/Makefile: Likewise.
4915 * manual/tsort.awk: Likewise.
4916 * misc/bits/stab.def: Likewise.
4917 * nis/nis_print_group_entry.c: Likewise.
4918 * nis/nis_table.c: Likewise.
4919 * nis/nss_compat/compat-pwd.c: Likewise.
4920 * nis/nss_compat/compat-spwd.c: Likewise.
4921 * po/Makefile: Likewise.
4922 * posix/fnmatch.c: Likewise.
4923 * posix/regex.h: Likewise.
4924 * resolv/Makefile: Likewise.
4925 * resolv/nss_dns/dns-network.c: Likewise.
4926 * resolv/res_hconf.c: Likewise.
4927 * scripts/gen-sorted.awk: Likewise.
4928 * soft-fp/soft-fp.h: Likewise.
4929 * stdio-common/printf.h: Likewise.
4930 * stdlib/monetary.h: Likewise.
4931 * stdlib/random.c: Likewise.
4932 * stdlib/random_r.c: Likewise.
4933 * sysdeps/generic/Makefile: Likewise.
4934 * sysdeps/gnu/Makefile: Likewise.
4935 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4937 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4942 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4943 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4945 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4946 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4947 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4948 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4949 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4950 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4963 * sysdeps/mach/hurd/errnos.awk: Likewise.
4964 * sysdeps/mach/hurd/fork.c: Likewise.
4965 * sysdeps/mach/hurd/getcwd.c: Likewise.
4966 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4967 * sysdeps/mach/hurd/mmap.c: Likewise.
4968 * sysdeps/mach/hurd/utimes.c: Likewise.
4969 * sysdeps/mach/hurd/xmknod.c: Likewise.
4970 * sysdeps/posix/profil.c: Likewise.
4971 * sysdeps/posix/readdir_r.c: Likewise.
4972 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4973 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4974 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4975 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4976 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4977 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4978 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4979 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4981 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4982 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4983 * sysdeps/pthread/lio_listio.c: Likewise.
4984 * sysdeps/sparc/dl-procinfo.h: Likewise.
4985 * sysdeps/unix/i386/sysdep.S: Likewise.
4986 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4987 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4988 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4989 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4991 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4992 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4993 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4994 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4995 * sysdeps/wordsize-32/divdi3.c: Likewise.
4996 * time/sys/time.h: Likewise.
4997 * wcsmbs/Makefile: Likewise.
4999 2013-01-01 David S. Miller <davem@davemloft.net>
5001 * po/fr.po: Update from translation team.
5003 * catgets/gencat.c: Update copyright year.
5004 * csu/version.c: Likewise.
5005 * debug/catchsegv.sh: Likewise.
5006 * debug/pcprofiledump.c: Likewise.
5007 * debug/xtrace.sh: Likewise.
5008 * elf/ldconfig.c: Likewise.
5009 * elf/ldd.bash.in: Likewise.
5010 * elf/pldd.c: Likewise.
5011 * elf/sotruss.ksh: Likewise.
5012 * elf/sprof.c: Likewise.
5013 * iconv/iconv_prog.c: Likewise.
5014 * iconv/iconvconfig.c: Likewise.
5015 * locale/programs/locale.c: Likewise.
5016 * locale/programs/localedef.c: Likewise.
5017 * login/programs/pt_chown.c: Likewise.
5018 * malloc/memusage.sh: Likewise.
5019 * malloc/memusagestat.c: Likewise.
5020 * malloc/mtrace.pl: Likewise.
5021 * nscd/nscd.c: Likewise.
5022 * nss/getent.c: Likewise.
5023 * nss/makedb.c: Likewise.
5024 * posix/getconf.c: Likewise.
5026 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5028 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5031 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5033 * math/bits/mathcalls.h (modf): Use __nonnull.
5035 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5037 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5038 (split): Use macro CN instead of the bare value.
5039 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5041 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5042 instead of the bare value.
5045 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5047 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5049 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5051 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5053 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5054 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5055 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5056 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5058 2012-12-28 Andreas Jaeger <aj@suse.de>
5060 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5061 values are from Linux 3.7.
5063 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5064 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5066 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5068 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5071 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5073 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5074 variables with preprocessor constants.
5075 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5076 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5077 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5079 2012-12-27 Bruno Haible <bruno@clisp.org>
5082 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5085 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5088 and use variable directly.
5089 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5091 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5093 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5094 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5096 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5098 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5099 include directive. Remove local variable MPONE.
5100 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5101 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5102 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5104 2012-12-25 David S. Miller <davem@davemloft.net>
5106 * version.h (RELEASE): Set to "development".
5107 (VERSION): Set to "2.17.90".
5108 * NEWS: Add 2.18 section.
5110 2012-12-21 David S. Miller <davem@davemloft.net>
5112 * po/hr.po: Update from translation team.
5114 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5116 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5118 2012-12-19 Steve Ellcey <sellcey@mips.com>
5120 * NEWS: Mention new memcpy for MIPS.
5122 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5124 * manual/contrib.texi (Contributors): Spelling correction.
5126 2012-12-15 David S. Miller <davem@davemloft.net>
5128 * po/ru.po: Update from translation team.
5130 2012-12-13 David S. Miller <davem@davemloft.net>
5132 * NEWS: Mention IFUNC testsuite enhancements.
5134 * po/pl.po: Update from translation team.
5135 * po/bg.po: Likewise.
5137 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5138 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5140 2012-12-11 David S. Miller <davem@davemloft.net>
5142 * po/sv.po: Update from translation team.
5144 * po/vi.po: Update from translation team.
5146 * po/cs.po: Update from translation team.
5148 * po/de.po: Update from translation team.
5149 * po/eo.po: Likewise.
5150 * po/nl.po: Likewise.
5152 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5155 * manual/argp.texi (Argp Helper Functions): Move node to follow
5159 * manual/conf.texi (Limits on File System Capacity): Mention if
5160 terminating null is included in the max size.
5162 2012-12-10 Andreas Jaeger <aj@suse.de>
5164 * po/cs.po: Update from translation team.
5166 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5168 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5169 void pointer and cast to uintptr_t.
5170 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5172 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5173 * sysdeps/s390/s390-64/memset.S: Likewise.
5175 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5178 * menual/message.texi (Message Translation): Fix typos.
5179 (Helper programs for gettext): Likewise.
5181 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5184 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5187 2012-12-07 David S. Miller <davem@davemloft.net>
5189 * po/libc.pot: Update.
5191 2012-12-07 Richard Henderson <rth@redhat.com>
5194 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5195 normal/normal case to before the switch.
5196 (_FP_DIV): Likewise.
5198 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5199 Mike Frysinger <vapier@gentoo.org>
5201 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5202 check for __NR_fadvise64_64.
5204 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5206 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5207 0, not just to plain "0" as a statement.
5208 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5211 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5213 * NEWS: Use sourceware.org in Bugzilla URL.
5215 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5218 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5220 * stdio-common/tst-put-error.c (do_test): Add newline to the
5221 padded test to ensure flush.
5223 2012-12-05 Jeff Law <law@redhat.com>
5225 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5227 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5229 * README: Don't refer to ports add-on as distributed separately.
5230 Mention AArch64 in list of systems supported in the ports add-on.
5232 * LICENSES: Add more non-FSF copyright and license notices.
5234 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5237 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5239 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5240 10000 as width of padded output.
5242 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5244 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5246 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5247 variable LX with __attribute__ ((unused)).
5248 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5250 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5253 with __attribute__ ((unused)).
5255 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5257 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5259 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5261 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5262 (CFLAGS-nldbl-acos.c): New variable.
5263 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5264 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5265 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5266 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5267 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5268 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5269 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5270 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5271 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5272 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5273 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5274 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5275 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5276 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5277 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5278 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5279 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5280 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5281 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5282 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5283 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5284 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5285 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5286 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5287 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5288 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5289 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5290 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5291 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5292 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5293 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5294 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5295 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5296 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5297 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5298 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5299 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5300 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5301 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5302 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5303 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5304 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5305 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5306 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5307 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5308 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5309 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5310 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5311 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5312 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5313 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5314 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5315 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5316 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5317 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5318 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5319 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5320 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5321 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5322 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5323 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5324 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5325 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5326 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5327 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5328 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5329 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5330 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5331 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5332 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5333 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5334 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5335 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5336 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5337 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5338 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5339 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5340 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5341 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5342 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5343 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5344 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5345 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5346 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5347 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5348 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5349 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5350 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5351 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5352 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5353 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5354 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5355 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5356 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5357 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5358 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5359 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5362 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5365 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5366 whole low double instead of just low 47 bits when splitting values
5369 2012-12-03 Allan McRae <allan@archlinux.org>
5371 * manual/stdio.texi (Predefined Printf Handlers): Remove
5372 @hsep and @vsep usage.
5374 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5376 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5377 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5379 2012-12-03 Jeff Law <law@redhat.com>
5381 * time/sys/time.h (settimeofday): Do not mark TV argument
5384 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5386 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5387 when currently writing and seek to current position when not.
5388 * libio/Makefile (tests): Remove bug-fclose1.
5389 * libio/bug-fclose1.c: Delete.
5391 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5393 * manual/arith.texi (feenableexcept): Fix typo.
5394 (fedisableexcept): Likewise.
5396 2012-11-30 Roland McGrath <roland@hack.frob.com>
5398 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5399 second, differently-typed declaration, rather than a cast.
5401 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5403 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5404 * include/rpc/svc.h: ... here.
5406 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5409 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5410 depending n and resplen2 to catch cases where answer
5413 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5415 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5416 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5418 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5420 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5422 2012-11-29 Roland McGrath <roland@hack.frob.com>
5424 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5426 2012-11-28 Jeff Law <law@redhat.com>
5429 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5430 dataset_temporary. Track alloca usage into alloca_used.
5431 If dataset is large allocate and release it via malloc/free.
5433 2012-06-04 Florian Weimer <fweimer@redhat.com>
5436 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5438 2012-11-28 David S. Miller <davem@davemloft.net>
5440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5442 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5445 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5446 of pi/2 rounded to nearest to 64 bits.
5447 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5449 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5452 2012-11-28 Jeff Law <law@redhat.com>
5453 Martin Osvald <mosvald@redhat.com>
5456 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5457 * sunrpc/svc.c: Include time.h.
5458 (__svc_accept_failed): New function.
5459 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5460 any reason other than EINTR, call __svc_accept_failed.
5461 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5462 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5464 2012-11-28 Andreas Schwab <schwab@suse.de>
5466 * scripts/abilist.awk: Also handle indirect functions in .opd
5469 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5472 * sysdeps/x86/fpu/powl_helper.c: New file.
5473 * sysdeps/x86/fpu/Makefile: Likewise.
5474 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5476 (__ieee754_powl): Use __powl_helper for finite arguments except
5477 integer exponents below 8.
5478 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5480 (__ieee754_powl): Use __powl_helper for finite arguments except
5481 integer exponents below 8.
5482 * math/libm-test.inc (pow_test): Add more tests and enable some
5483 previously disabled tests.
5484 * sysdeps/i386/fpu/libm-test-ulps: Update.
5485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5487 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5488 Carlos O'Donell <carlos_odonell@mentor.com>
5490 * nss/makedb.c (is_prime): Assert that input is odd and greater
5491 than 4. Note that fact in a comment too.
5492 (next_prime): Add 4 to input.
5494 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5497 * libio/Makefile (tests): Add test case tst-fwrite-error.
5498 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5499 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5500 * libio/tst-fwrite-error.c: New test case.
5502 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5504 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5505 before casting to void *.
5506 * include/libc-internal.h (__pointer_type): New macro.
5507 (__integer_if_pointer_type_sub): Likewise.
5508 (__integer_if_pointer_type): Likewise.
5509 (cast_to_integer): Likewise.
5510 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5511 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5512 before casting to atomic64_t.
5513 (atomic_exchange_acq): Likewise.
5514 (__arch_exchange_and_add_body): Likewise.
5515 (__arch_add_body): Likewise.
5516 (atomic_add_negative): Likewise.
5517 (atomic_add_zero): Likewise.
5519 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5521 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5522 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5523 (add_fdes): Likewise.
5524 (linear_search_fdes): Likewise.
5525 (binary_search_unencoded_fdes): Likewise.
5527 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5529 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5531 2012-11-24 Adam Conrad <adconrad@0c3.net>
5533 * configure.in: Autodetect C++ header directories.
5534 * configure: Regenerated.
5536 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5538 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5540 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5544 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5546 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5547 LDBL_MANT_DIG == 106]: Disable some tests.
5548 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5550 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5554 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5555 input for small inputs. Return +/- pi/2 for large inputs.
5556 * math/libm-test.inc (atan_test): Add more tests.
5558 * sysdeps/generic/unwind-dw2-fde-glibc.c
5559 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5560 __attribute__ ((unused)).
5563 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5564 x * y if x and y are nonzero and z is zero.
5567 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5568 nonzero exponents with absolute value below 0x1p-117 to +/-
5572 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5573 up arguments below 2**-450, not just those below 2**-500.
5574 * math/libm-test.inc (hypot_test): Add another test.
5577 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5578 Return a+b for ratio over 2**120, not 2**60.
5579 * math/libm-test.inc (hypot_test): Add another test.
5581 * math/libm-test.inc (clog_test): Use
5582 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5583 (clog10_test): Likewise.
5586 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5588 2012-11-22 Andreas Schwab <schwab@suse.de>
5590 * sysdeps/i386/fpu/libm-test-ulps: Update.
5592 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5594 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5595 printf output with newline.
5597 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5600 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5601 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5602 -z nodlopen, -z initfirst and -z execstack support.
5603 * configure: Regenerated.
5605 * elf/elf.h (DF_1_NODIRECT): New macro.
5606 (DF_1_IGNMULDEF): Likewise.
5607 (DF_1_NOKSYMS): Likewise.
5608 (DF_1_NOHDR): Likewise.
5609 (DF_1_EDITED): Likewise.
5610 (DF_1_NORELOC): Likewise.
5611 (DF_1_SYMINTPOSE): Likewise.
5612 (DF_1_GLOBAUDIT): Likewise.
5613 (DF_1_SINGLETON): Likewise.
5614 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5615 DT_1_SUPPORTED_MASK bits.
5616 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5618 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5620 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5622 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5624 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5627 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5628 (sendmmsg): Move declarations...
5629 * socket/sys/socket.h: ... here.
5630 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5631 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5633 * socket/recvmmsg.c: ... this new file.
5634 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5635 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5636 definition of __sendmmsg hidden.
5637 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5638 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5639 Move ENOSYS stub into and include it from...
5640 * socket/sendmmsg.c: ... this new file.
5641 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5642 (sysdep_routines): Move recvmmsg and sendmmsg...
5643 * socket/Makefile (routines): ... here.
5644 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5645 (GLIBC_PRIVATE): Add __sendmmsg.
5646 * include/sys/socket.h (__sendmmsg): Add declarations.
5647 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5650 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5652 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5653 variable I1 with __attribute__ ((unused)).
5654 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5656 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5658 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5659 DUMMY variables with __attribute__ ((unused)).
5661 * bits/byteswap.h: Include <bits/types.h>.
5662 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5664 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5666 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5667 string_t. Do not manually set errno.
5668 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5669 length with __strnlen. Make sure to both set errno and return it on
5672 2012-11-19 David S. Miller <davem@davemloft.net>
5674 With help from Joseph Myers.
5675 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5676 very large arguments properly.
5677 * math/libm-test.inc (atan_test): New tests.
5678 (atan2_test): New tests.
5679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5682 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5685 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5688 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5689 [POSIX] (EADDRNOTAVAIL): Likewise.
5690 [POSIX] (EAFNOSUPPORT): Likewise.
5691 [POSIX] (EALREADY): Likewise.
5692 [POSIX] (ECONNABORTED): Likewise.
5693 [POSIX] (ECONNREFUSED): Likewise.
5694 [POSIX] (ECONNRESET): Likewise.
5695 [POSIX] (EDESTADDRREQ): Likewise.
5696 [POSIX] (EDQUOT): Likewise.
5697 [POSIX] (EHOSTUNREACH): Likewise.
5698 [POSIX] (EIDRM): Likewise.
5699 [POSIX] (EISCONN): Likewise.
5700 [POSIX] (ELOOP): Likewise.
5701 [POSIX] (EMULTIHOP): Likewise.
5702 [POSIX] (ENETDOWN): Likewise.
5703 [POSIX] (ENETUNREACH): Likewise.
5704 [POSIX] (ENOBUFS): Likewise.
5705 [POSIX] (ENODATA): Likewise.
5706 [POSIX] (ENOLINK): Likewise.
5707 [POSIX] (ENOMSG): Likewise.
5708 [POSIX] (ENOPROTOOPT): Likewise.
5709 [POSIX] (ENOSR): Likewise.
5710 [POSIX] (ENOSTR): Likewise.
5711 [POSIX] (ENOTCONN): Likewise.
5712 [POSIX] (ENOTSOCK): Likewise.
5713 [POSIX] (EOPNOTSUPP): Likewise.
5714 [POSIX] (EOVERFLOW): Likewise.
5715 [POSIX] (EPROTO): Likewise.
5716 [POSIX] (EPROTONOSUPPORT): Likewise.
5717 [POSIX] (EPROTOTYPE): Likewise.
5718 [POSIX] (ESTALE): Likewise.
5719 [POSIX] (ETIME): Likewise.
5720 [POSIX] (ETXTBSY): Likewise.
5721 [POSIX] (EWOULDBLOCK): Likewise.
5722 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5723 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5724 [POSIX] (SEEK_CUR): Likewise.
5725 [POSIX] (SEEK_END): Likewise.
5726 [POSIX || UNIX98] (mode_t): Do not require.
5727 [POSIX] (off_t): Likewise.
5728 [POSIX] (pid_t): Likewise.
5729 [POSIX] (sys/stat.h): Do not allow header.
5730 [POSIX] (unistd.h): Likewise.
5731 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5732 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5734 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5736 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5737 sigevent): Specify elements.
5738 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5740 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5741 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5743 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5744 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5745 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5746 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5747 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5748 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5749 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5750 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5751 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5752 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5753 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5754 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5755 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5756 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5758 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5760 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5762 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5764 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5765 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5766 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5767 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5768 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5769 Specify lower bound on value.
5770 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5771 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5772 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5773 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5774 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5775 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5776 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5777 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5779 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5781 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5782 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5783 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5784 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5785 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5786 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5787 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5788 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5789 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5790 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5791 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5792 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5793 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5794 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5795 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5796 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5798 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5800 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5801 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5802 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5803 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5804 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5805 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5807 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5808 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5809 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5810 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5811 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5812 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5813 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5815 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5816 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5817 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5818 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5819 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5820 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5821 specify as optional.
5822 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5823 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5824 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5825 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5826 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5827 [XPG3] (NL_LANGMAX): Likewise.
5828 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5829 [POSIX || XPG3] (NL_NMAX): Likewise.
5830 [POSIX || XPG3] (NL_SETMAX): Likewise.
5831 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5832 [XPG3] (NZERO): Likewise.
5833 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5834 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5835 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5836 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5837 (REG_ERANGE): Expect.
5838 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5840 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5841 Use (void) in prototype.
5842 [POSIX] (*_t): Allow.
5843 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5844 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5845 (WRDE_BADVAL): Expect.
5847 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5849 [XPG3 || XPG4] (O_RSYNC): Likewise.
5850 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5852 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5853 [XPG3 || XPG4] (sigqueue): Likewise.
5854 [XPG3 || XPG4] (sigtimedwait): Likewise.
5855 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5856 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5857 [XPG3 || XPG4] (vsnprintf): Likewise.
5858 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5860 [XPG3 || XPG4] (blksize_t): Likewise.
5861 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5863 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5864 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5865 [XPG3 || XPG4] (struct itimerspec): Likewise.
5866 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5867 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5868 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5869 [XPG3 || XPG4] (clockid_t): Likewise.
5870 [XPG3 || XPG4] (timer_t): Likewise.
5871 [XPG3 || XPG4] (clock_getres): Likewise.
5872 [XPG3 || XPG4] (clock_gettime): Likewise.
5873 [XPG3 || XPG4] (clock_settime): Likewise.
5874 [XPG3 || XPG4] (nanosleep): Likewise.
5875 [XPG3 || XPG4] (timer_create): Likewise.
5876 [XPG3 || XPG4] (timer_delete): Likewise.
5877 [XPG3 || XPG4] (timer_gettime): Likewise.
5878 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5879 [XPG3 || XPG4] (timer_settime): Likewise.
5880 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5881 [XPG3 || XPG4] (getlogin_r): Likewise.
5882 [XPG3 || XPG4] (pread): Likewise.
5883 [XPG3 || XPG4] (pthread_atfork): Likewise.
5884 [XPG3 || XPG4] (pwrite): Likewise.
5887 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5890 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5892 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5893 finalizing MALLSTREAM.
5895 * sysdeps/mach/hurd/syncfs.c: New file.
5897 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5900 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5901 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5902 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5903 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5904 (_nss_dns_gethostbyname4_r): Likewise.
5905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5906 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5908 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5911 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5913 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5915 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5916 * elf/cache.c (print_entry): Print ",AArch64" for
5919 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5920 * elf/cache.c (print_entry): Print ",hard-float" for
5923 2012-11-18 David S. Miller <davem@davemloft.net>
5925 With help from Joseph Myers.
5926 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5928 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5930 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5931 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5933 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5934 * math/libm-test.inc (y0_test): New tests.
5935 (y1_test): New tests.
5936 * sysdeps/i386/fpu/libm-test-ulps: Update.
5937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5940 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5942 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5944 * configure: Regenerated.
5946 2012-11-17 David S. Miller <davem@davemloft.net>
5949 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5950 nonzero exponents with absolute value below 0x1p-128 to +/-
5953 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5955 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5957 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5959 * posix/getconf-speclist.c: New file.
5960 * posix/posix-envs.def: Likewise.
5961 * posix/confstr.c (START_ENV_GROUP): New macro.
5962 (END_ENV_GROUP): Likewise.
5963 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5964 (KNOWN_PRESENT_ENV_STRING): Likewise.
5965 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5966 (UNKNOWN_ENVIRONMENT): Likewise.
5967 (confstr): Include posix-envs.def instead of handling
5968 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5969 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5970 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5971 (END_ENV_GROUP): Likewise.
5972 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5973 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5974 (UNKNOWN_ENVIRONMENT): Likewise.
5975 (__sysconf): Include posix-envs.def instead of handling associated
5976 cases directly here.
5977 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5978 preprocessing getconf-speclist.c rather than running getconf or
5979 generating empty file.
5981 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5983 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5985 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5988 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5990 2012-11-16 David S. Miller <davem@davemloft.net>
5992 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5993 smaller than LDBL_EPSILON/2.0L, just return xm1.
5995 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5997 * elf/tst-array1.c (init): Set constructor priority to 1000.
5998 (fini): Set destructor priority to 1000.
5999 * elf/tst-array2dep.c: Likewise.
6001 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6004 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6005 (_IO_new_file_xsputn): Also return EOF if none of the input
6006 data was written when overflow failed.
6007 * libio/iopadn.c (_IO_padn): Likewise.
6008 * libio/iowpadn.c (_IO_wpadn): Likewise.
6009 * stdio-common/tst-put-error.c: Add copyright notice.
6010 (do_test): Add case for printing padded string.
6011 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6012 _IO_padn returned error.
6013 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6014 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6017 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6019 * libio/libioP.h: Add comment note that the references to C++
6020 bits are now obsolete.
6022 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6024 * math/libm-test.inc (check_complex): Use asprintf.
6026 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6028 * debug/pcprofiledump.c (print_version): Update copyright year.
6029 * malloc/memusagestat.c (print_version): Likewise.
6031 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6034 * elf/Makefile (tests): Add tst-audit8.
6035 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6036 ($(objpfx)tst-audit8.out): New target.
6037 (tst-audit8-ENV): New variable.
6038 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6039 audit if l_reloc_result is NULL.
6040 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6041 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6042 * elf/tst-audit8.c: New file.
6044 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6046 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6047 * misc/Makefile (CFLAGS-select.c): Define.
6048 * posix/Makefile (CFLAGS-pause.c): Define.
6050 2012-11-13 David S. Miller <davem@davemloft.net>
6052 * crypt/Makefile: Move test targets after toplevel Rules
6053 inclusion. Grab any necessary sysdep routines when linking.
6054 * crypt/md5.c (md5_process_block): Remove define, we will always
6055 name it __md5_process_block.
6056 (md5_finish_ctx): Update md5_process_block call.
6057 (md5_stream): Likewise.
6058 (md5_process_bytes): Likewise.
6059 (md5_process_block): Rename to __md5_process_block and move to ...
6060 * crypt/md5-block.c: ... here.
6061 * crypt/sha256.c (sha256_process_block): Move to ...
6062 * crypt/sha256-block.c: ... here.
6063 * crypt/sha512.c (sha512_process_block): Move to ...
6064 * crypt/sha512-block.c: ... here.
6065 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6067 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6068 * sysdeps/sparc/sparc64/multiarch/Makefile
6069 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6071 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6072 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6074 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6075 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6076 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6077 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6078 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6079 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6080 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6081 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6082 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6084 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6085 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6087 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6089 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6091 * timezone/tzselect.ksh: Update from tzcode git revision
6092 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6093 * timezone/zdump.c: Likewise.
6094 * timezone/zic.c: Likewise.
6095 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6096 in TZVERSION setting, not $(PKGVERSION).
6097 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6098 REPORT_BUGS_TO settings.
6101 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6104 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6106 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6107 detection to immediately after _FP_ROUND().
6108 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6111 2012-11-11 David S. Miller <davem@davemloft.net>
6113 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6115 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6116 __close rather than their public counterparts.
6118 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6120 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6122 [UNIX98] (sem_timedwait): Do not expect.
6123 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6124 [XPG4 || UNIX98] (sockatmark): Do not expect.
6125 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6126 (clock_getcpuclockid): Do not expect.
6127 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6128 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6130 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6131 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6132 [UNIX98] (vwscanf): Likewise.
6133 [UNIX98] (vswscanf): Likewise.
6135 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6137 * timezone/version.h: Remove file.
6138 * timezone/README: Do not refer to version.h.
6139 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6141 ($(objpfx)zdump.o): Likewise.
6142 ($(objpfx)version.h): New target.
6144 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6146 * timezone/README: Don't mention modification to tzselect.ksh.
6147 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6148 work on unmodified tzselect.ksh. Substitute version numbers in
6151 * Makefile (format-me): Remove.
6152 (INSTALL): Adjust indentation. Use commands directly instead of
6155 * aclocal.m4 (ACX_PKGVERSION): New macro.
6156 (ACX_BUGURL): Likewise.
6157 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6158 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6159 (REPORT_BUGS_TO): Likewise.
6160 * configure: Regenerated.
6161 * config.h.in (PKGVERSION): New macro.
6162 (REPORT_BUGS_TO): Likewise.
6163 * config.make.in (PKGVERSION): New variable.
6164 (PKGVERSION_TEXI): Likewise.
6165 (REPORT_BUGS_TO): Likewise.
6166 (REPORT_BUGS_TEXI): Likewise.
6167 * Makefile (format-me): Use -I$(common-objpfx)manual.
6168 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6169 ($(common-objpfx)manual/%): New target.
6170 (manual/%): Remove target.
6171 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6172 (print_version): Use PKGVERSION.
6173 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6174 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6176 ($(objpfx)xtrace): Likewise.
6177 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6178 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6179 (print_version): Use PKGVERSION.
6180 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6181 (do_version): Use PKGVERSION.
6182 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6184 (common-ldd-rewrite): Likewise.
6185 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6186 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6187 (print_version): Use PKGVERSION.
6188 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6189 * elf/pldd.c (argp_program_bug_address): Remove variable.
6190 (more_help): New function.
6191 (argp): Use more_help.
6192 (print_version): Use PKGVERSION.
6193 * elf/sln.c (main): Use PKGVERSION.
6194 (usage): Use REPORT_BUGS_TO.
6195 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6196 (top level): Use PKGVERSION.
6197 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6198 (print_version): Use PKGVERSION.
6199 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6200 (print_version): Use PKGVERSION.
6201 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6202 (print_version): Use PKGVERSION.
6203 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6204 (print_version): Use PKGVERSION.
6205 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6206 (print_version): Use PKGVERSION.
6207 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6208 (print_version): Use PKGVERSION.
6209 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6211 ($(objpfx)memusage): Likewise.
6212 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6213 (do_version): Use PKGVERSION.
6214 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6215 (print_version): Use PKGVERSION.
6216 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6217 ($PKGVERSION): New variable.
6218 ($REPORT_BUGS_TO): Likewise.
6219 (usage): Use $REPORT_BUGS_TO.
6220 (top level): Use $PKGVERSION.
6221 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6222 ($(objpfx)pkgvers.texi): New rule.
6223 ($(objpfx)stamp-pkgvers): Likewise.
6224 * manual/install.texi: Include pkgvers.texi.
6225 (--with-pkgversion): Document new configure option.
6226 (--with-bugurl): Likewise.
6227 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6228 than necessarily for this particular distribution. Use
6229 REPORT_BUGS_TO for where to report bugs.
6230 * INSTALL: Regenerated.
6231 * manual/libc.texinfo: Include pkgvers.texi.
6232 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6233 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6234 (print_version): Use PKGVERSION.
6235 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6236 (print_version): Use PKGVERSION.
6237 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6238 (print_version): Use PKGVERSION.
6239 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6240 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6242 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6243 (print_version): Use PKGVERSION.
6244 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6245 (print_version): Use PKGVERSION.
6246 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6249 * timezone/checktab.awk: Update from tzcode 2012i.
6250 * timezone/ialloc.c: Likewise.
6251 * timezone/private.h: Likewise.
6252 * timezone/scheck.c: Likewise.
6253 * timezone/tzfile.h: Likewise.
6254 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6255 (TZVERSION): Hardcode tzcode version number.
6256 * timezone/zdump.c: Update from tzcode 2012i.
6257 * timezone/zic.c: Likewise.
6258 * timezone/version.h: New file.
6259 * timezone/README: Describe version.h. Update upstream location.
6262 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6263 (mktemp): Enable declaration.
6264 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6275 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6277 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6281 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6282 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6283 for copies of such integer values.
6284 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6285 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6287 2012-11-09 Andreas Jaeger <aj@suse.de>
6289 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6290 definitions and declarations that are provided by
6291 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6293 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6295 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6296 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6297 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6300 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6302 * elf/elf.h: Update comment before AArch64 relocations.
6304 2012-11-07 David S. Miller <davem@davemloft.net>
6306 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6307 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6308 (__start_context): Declare.
6309 (__makecontext_ret): Delete.
6310 (__makecontext): Hook up __start_context instead of
6312 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6313 (sysdep_routines): Add __start_context when in stdlib.
6315 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6317 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6318 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6319 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6321 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6322 (READELF): New variable. Use it instead of hardcoded "readelf".
6324 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6326 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6327 * sysdeps/x86/Makefile: Here.
6328 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6329 * sysdeps/x86/tst-xmmymm.sh: This.
6331 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6333 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6335 [UNIX98] (pthread_barrier_t): Do not expect.
6336 [UNIX98] (pthread_barrierattr_t): Likewise.
6337 [UNIX98] (pthread_spinlock_t): Likewise.
6338 [UNIX98] (pthread_barrier_destroy): Likewise.
6339 [UNIX98] (pthread_barrier_init): Likewise.
6340 [UNIX98] (pthread_barrier_wait): Likewise.
6341 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6342 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6343 [UNIX98] (pthread_barrierattr_init): Likewise.
6344 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6345 [UNIX98] (pthread_getcpuclockid): Likewise.
6346 [UNIX98] (pthread_mutex_timedlock): Likewise.
6347 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6348 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6349 [UNIX98] (pthread_sigmask): Likewise.
6350 [UNIX98] (pthread_spin_destroy): Likewise.
6351 [UNIX98] (pthread_spin_init): Likewise.
6352 [UNIX98] (pthread_spin_lock): Likewise.
6353 [UNIX98] (pthread_spin_trylock): Likewise.
6354 [UNIX98] (pthread_spin_unlock): Likewise.
6355 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6357 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6358 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6359 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6360 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6361 [XPG3 || XPG4] (pthread_key_t): Likewise.
6362 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6363 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6364 [XPG3 || XPG4] (pthread_once_t): Likewise.
6365 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6366 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6367 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6368 [XPG3 || XPG4] (pthread_t): Likewise.
6370 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6372 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6374 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6375 Change function return type to int.
6377 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6378 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6379 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6380 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6381 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6382 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6383 [!POSIX] (posix_madvise): Likewise.
6384 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6386 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6387 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6389 (posix_mem_offset): Likewise.
6390 (posix_typed_mem_get_info): Likewise.
6391 (posix_typed_mem_open): Likewise.
6393 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6394 Change condition to [XOPEN2K8].
6396 * conform/conformtest.pl: Preprocess allow-header data with -x c
6397 instead of from stdin.
6398 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6399 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6400 [C99-based standards] (cerfc): Likewise.
6401 [C99-based standards] (cexp2): Likewise.
6402 [C99-based standards] (cexpm1): Likewise.
6403 [C99-based standards] (clog10): Likewise.
6404 [C99-based standards] (clog1p): Likewise.
6405 [C99-based standards] (clog2): Likewise.
6406 [C99-based standards] (clgamma): Likewise.
6407 [C99-based standards] (ctgamma): Likewise.
6408 [C99-based standards] (cerff): Likewise.
6409 [C99-based standards] (cerfcf): Likewise.
6410 [C99-based standards] (cexp2f): Likewise.
6411 [C99-based standards] (cexpm1f): Likewise.
6412 [C99-based standards] (clog10f): Likewise.
6413 [C99-based standards] (clog1pf): Likewise.
6414 [C99-based standards] (clog2f): Likewise.
6415 [C99-based standards] (clgammaf): Likewise.
6416 [C99-based standards] (ctgammaf): Likewise.
6417 [C99-based standards] (cerfl): Likewise.
6418 [C99-based standards] (cerfcl): Likewise.
6419 [C99-based standards] (cexp2l): Likewise.
6420 [C99-based standards] (cexpm1l): Likewise.
6421 [C99-based standards] (clog10l): Likewise.
6422 [C99-based standards] (clog1pl): Likewise.
6423 [C99-based standards] (clog2l): Likewise.
6424 [C99-based standards] (clgammal): Likewise.
6425 [C99-based standards] (ctgammal): Likewise.
6426 * conform/data/inttypes.h-data [C99-based standards]: Include
6427 stdint.h-data. Remove all expectations for stdint.h contents.
6428 [C99-based standards] (PRI*): Do not allow.
6429 [C99-based standards] (SCN*): Likewise.
6430 [C99-based standards] (*_t): Likewise.
6431 [C99-based-standards] (PRId8): Expect macro.
6432 [C99-based-standards] (PRIi8): Likewise.
6433 [C99-based-standards] (PRIo8): Likewise.
6434 [C99-based-standards] (PRIu8): Likewise.
6435 [C99-based-standards] (PRIx8): Likewise.
6436 [C99-based-standards] (PRIX8): Likewise.
6437 [C99-based-standards] (SCNd8): Likewise.
6438 [C99-based-standards] (SCNi8): Likewise.
6439 [C99-based-standards] (SCNo8): Likewise.
6440 [C99-based-standards] (SCNu8): Likewise.
6441 [C99-based-standards] (SCNx8): Likewise.
6442 [C99-based-standards] (PRIdLEAST8): Likewise.
6443 [C99-based-standards] (PRIiLEAST8): Likewise.
6444 [C99-based-standards] (PRIoLEAST8): Likewise.
6445 [C99-based-standards] (PRIuLEAST8): Likewise.
6446 [C99-based-standards] (PRIxLEAST8): Likewise.
6447 [C99-based-standards] (PRIXLEAST8): Likewise.
6448 [C99-based-standards] (SCNdLEAST8): Likewise.
6449 [C99-based-standards] (SCNiLEAST8): Likewise.
6450 [C99-based-standards] (SCNoLEAST8): Likewise.
6451 [C99-based-standards] (SCNuLEAST8): Likewise.
6452 [C99-based-standards] (SCNxLEAST8): Likewise.
6453 [C99-based-standards] (PRIdFAST8): Likewise.
6454 [C99-based-standards] (PRIiFAST8): Likewise.
6455 [C99-based-standards] (PRIoFAST8): Likewise.
6456 [C99-based-standards] (PRIuFAST8): Likewise.
6457 [C99-based-standards] (PRIxFAST8): Likewise.
6458 [C99-based-standards] (PRIXFAST8): Likewise.
6459 [C99-based-standards] (SCNdFAST8): Likewise.
6460 [C99-based-standards] (SCNiFAST8): Likewise.
6461 [C99-based-standards] (SCNoFAST8): Likewise.
6462 [C99-based-standards] (SCNuFAST8): Likewise.
6463 [C99-based-standards] (SCNxFAST8): Likewise.
6464 [C99-based-standards] (PRId16): Likewise.
6465 [C99-based-standards] (PRIi16): Likewise.
6466 [C99-based-standards] (PRIo16): Likewise.
6467 [C99-based-standards] (PRIu16): Likewise.
6468 [C99-based-standards] (PRIx16): Likewise.
6469 [C99-based-standards] (PRIX16): Likewise.
6470 [C99-based-standards] (SCNd16): Likewise.
6471 [C99-based-standards] (SCNi16): Likewise.
6472 [C99-based-standards] (SCNo16): Likewise.
6473 [C99-based-standards] (SCNu16): Likewise.
6474 [C99-based-standards] (SCNx16): Likewise.
6475 [C99-based-standards] (PRIdLEAST16): Likewise.
6476 [C99-based-standards] (PRIiLEAST16): Likewise.
6477 [C99-based-standards] (PRIoLEAST16): Likewise.
6478 [C99-based-standards] (PRIuLEAST16): Likewise.
6479 [C99-based-standards] (PRIxLEAST16): Likewise.
6480 [C99-based-standards] (PRIXLEAST16): Likewise.
6481 [C99-based-standards] (SCNdLEAST16): Likewise.
6482 [C99-based-standards] (SCNiLEAST16): Likewise.
6483 [C99-based-standards] (SCNoLEAST16): Likewise.
6484 [C99-based-standards] (SCNuLEAST16): Likewise.
6485 [C99-based-standards] (SCNxLEAST16): Likewise.
6486 [C99-based-standards] (PRIdFAST16): Likewise.
6487 [C99-based-standards] (PRIiFAST16): Likewise.
6488 [C99-based-standards] (PRIoFAST16): Likewise.
6489 [C99-based-standards] (PRIuFAST16): Likewise.
6490 [C99-based-standards] (PRIxFAST16): Likewise.
6491 [C99-based-standards] (PRIXFAST16): Likewise.
6492 [C99-based-standards] (SCNdFAST16): Likewise.
6493 [C99-based-standards] (SCNiFAST16): Likewise.
6494 [C99-based-standards] (SCNoFAST16): Likewise.
6495 [C99-based-standards] (SCNuFAST16): Likewise.
6496 [C99-based-standards] (SCNxFAST16): Likewise.
6497 [C99-based-standards] (PRId32): Likewise.
6498 [C99-based-standards] (PRIi32): Likewise.
6499 [C99-based-standards] (PRIo32): Likewise.
6500 [C99-based-standards] (PRIu32): Likewise.
6501 [C99-based-standards] (PRIx32): Likewise.
6502 [C99-based-standards] (PRIX32): Likewise.
6503 [C99-based-standards] (SCNd32): Likewise.
6504 [C99-based-standards] (SCNi32): Likewise.
6505 [C99-based-standards] (SCNo32): Likewise.
6506 [C99-based-standards] (SCNu32): Likewise.
6507 [C99-based-standards] (SCNx32): Likewise.
6508 [C99-based-standards] (PRIdLEAST32): Likewise.
6509 [C99-based-standards] (PRIiLEAST32): Likewise.
6510 [C99-based-standards] (PRIoLEAST32): Likewise.
6511 [C99-based-standards] (PRIuLEAST32): Likewise.
6512 [C99-based-standards] (PRIxLEAST32): Likewise.
6513 [C99-based-standards] (PRIXLEAST32): Likewise.
6514 [C99-based-standards] (SCNdLEAST32): Likewise.
6515 [C99-based-standards] (SCNiLEAST32): Likewise.
6516 [C99-based-standards] (SCNoLEAST32): Likewise.
6517 [C99-based-standards] (SCNuLEAST32): Likewise.
6518 [C99-based-standards] (SCNxLEAST32): Likewise.
6519 [C99-based-standards] (PRIdFAST32): Likewise.
6520 [C99-based-standards] (PRIiFAST32): Likewise.
6521 [C99-based-standards] (PRIoFAST32): Likewise.
6522 [C99-based-standards] (PRIuFAST32): Likewise.
6523 [C99-based-standards] (PRIxFAST32): Likewise.
6524 [C99-based-standards] (PRIXFAST32): Likewise.
6525 [C99-based-standards] (SCNdFAST32): Likewise.
6526 [C99-based-standards] (SCNiFAST32): Likewise.
6527 [C99-based-standards] (SCNoFAST32): Likewise.
6528 [C99-based-standards] (SCNuFAST32): Likewise.
6529 [C99-based-standards] (SCNxFAST32): Likewise.
6530 [C99-based-standards] (PRId64): Likewise.
6531 [C99-based-standards] (PRIi64): Likewise.
6532 [C99-based-standards] (PRIo64): Likewise.
6533 [C99-based-standards] (PRIu64): Likewise.
6534 [C99-based-standards] (PRIx64): Likewise.
6535 [C99-based-standards] (PRIX64): Likewise.
6536 [C99-based-standards] (SCNd64): Likewise.
6537 [C99-based-standards] (SCNi64): Likewise.
6538 [C99-based-standards] (SCNo64): Likewise.
6539 [C99-based-standards] (SCNu64): Likewise.
6540 [C99-based-standards] (SCNx64): Likewise.
6541 [C99-based-standards] (PRIdLEAST64): Likewise.
6542 [C99-based-standards] (PRIiLEAST64): Likewise.
6543 [C99-based-standards] (PRIoLEAST64): Likewise.
6544 [C99-based-standards] (PRIuLEAST64): Likewise.
6545 [C99-based-standards] (PRIxLEAST64): Likewise.
6546 [C99-based-standards] (PRIXLEAST64): Likewise.
6547 [C99-based-standards] (SCNdLEAST64): Likewise.
6548 [C99-based-standards] (SCNiLEAST64): Likewise.
6549 [C99-based-standards] (SCNoLEAST64): Likewise.
6550 [C99-based-standards] (SCNuLEAST64): Likewise.
6551 [C99-based-standards] (SCNxLEAST64): Likewise.
6552 [C99-based-standards] (PRIdFAST64): Likewise.
6553 [C99-based-standards] (PRIiFAST64): Likewise.
6554 [C99-based-standards] (PRIoFAST64): Likewise.
6555 [C99-based-standards] (PRIuFAST64): Likewise.
6556 [C99-based-standards] (PRIxFAST64): Likewise.
6557 [C99-based-standards] (PRIXFAST64): Likewise.
6558 [C99-based-standards] (SCNdFAST64): Likewise.
6559 [C99-based-standards] (SCNiFAST64): Likewise.
6560 [C99-based-standards] (SCNoFAST64): Likewise.
6561 [C99-based-standards] (SCNuFAST64): Likewise.
6562 [C99-based-standards] (SCNxFAST64): Likewise.
6563 [C99-based-standards] (PRIdMAX): Likewise.
6564 [C99-based-standards] (PRIiMAX): Likewise.
6565 [C99-based-standards] (PRIoMAX): Likewise.
6566 [C99-based-standards] (PRIuMAX): Likewise.
6567 [C99-based-standards] (PRIxMAX): Likewise.
6568 [C99-based-standards] (PRIXMAX): Likewise.
6569 [C99-based-standards] (SCNdMAX): Likewise.
6570 [C99-based-standards] (SCNiMAX): Likewise.
6571 [C99-based-standards] (SCNoMAX): Likewise.
6572 [C99-based-standards] (SCNuMAX): Likewise.
6573 [C99-based-standards] (SCNxMAX): Likewise.
6574 [C99-based-standards] (PRIdPTR): Likewise.
6575 [C99-based-standards] (PRIiPTR): Likewise.
6576 [C99-based-standards] (PRIoPTR): Likewise.
6577 [C99-based-standards] (PRIuPTR): Likewise.
6578 [C99-based-standards] (PRIxPTR): Likewise.
6579 [C99-based-standards] (PRIXPTR): Likewise.
6580 [C99-based-standards] (SCNdPTR): Likewise.
6581 [C99-based-standards] (SCNiPTR): Likewise.
6582 [C99-based-standards] (SCNoPTR): Likewise.
6583 [C99-based-standards] (SCNuPTR): Likewise.
6584 [C99-based-standards] (SCNxPTR): Likewise.
6585 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6587 * conform/data/stdint.h-data: Update comments to clarify
6589 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6591 [C99-based standards] (INT8_MAX): Likewise.
6592 [C99-based standards] (INT16_MIN): Likewise.
6593 [C99-based standards] (INT16_MAX): Likewise.
6594 [C99-based standards] (INT32_MIN): Likewise.
6595 [C99-based standards] (INT32_MAX): Likewise.
6596 [C99-based standards] (INT64_MIN): Likewise.
6597 [C99-based standards] (INT64_MAX): Likewise.
6598 [C99-based standards] (UINT8_MAX): Likewise.
6599 [C99-based standards] (UINT16_MAX): Likewise.
6600 [C99-based standards] (UINT32_MAX): Likewise.
6601 [C99-based standards] (UINT64_MAX): Likewise.
6602 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6603 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6604 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6605 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6606 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6607 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6608 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6609 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6610 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6611 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6612 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6613 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6614 [C99-based standards] (INT_FAST8_MIN): Likewise.
6615 [C99-based standards] (INT_FAST8_MAX): Likewise.
6616 [C99-based standards] (INT_FAST16_MIN): Likewise.
6617 [C99-based standards] (INT_FAST16_MAX): Likewise.
6618 [C99-based standards] (INT_FAST32_MIN): Likewise.
6619 [C99-based standards] (INT_FAST32_MAX): Likewise.
6620 [C99-based standards] (INT_FAST64_MIN): Likewise.
6621 [C99-based standards] (INT_FAST64_MAX): Likewise.
6622 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6623 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6624 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6625 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6626 [C99-based standards] (INTPTR_MIN): Likewise.
6627 [C99-based standards] (INTPTR_MAX): Likewise.
6628 [C99-based standards] (UINTPTR_MAX): Likewise.
6629 [C99-based standards] (INTMAX_MIN): Likewise.
6630 [C99-based standards] (INTMAX_MAX): Likewise.
6631 [C99-based standards] (UINTMAX_MAX): Likewise.
6632 [C99-based standards] (PTRDIFF_MIN): Likewise.
6633 [C99-based standards] (PTRDIFF_MAX): Likewise.
6634 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6635 [C99-based standards] (SIZE_MAX): Likewise.
6636 [C99-based standards] (WCHAR_MAX): Likewise.
6637 [C99-based standards] (WINT_MAX): Likewise.
6638 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6639 constraint on value.
6640 [C99-based standards] (WCHAR_MIN): Likewise.
6641 [C99-based standards] (WINT_MIN): Likewise.
6642 [C99-based standards] (*_t): Allow.
6643 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6644 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6645 Include math.h-data and complex.h-data. Remove all expectations
6646 of math.h and complex.h contents.
6647 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6649 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6650 (struct tm): Expect tag.
6651 [C99-based-standards] (wcstof): Expect function.
6652 [C99-based-standards] (wcstold): Likewise.
6653 [C99-based-standards] (wcstoll): Likewise.
6654 [C99-based-standards] (wcstoull): Likewise.
6655 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6656 macro-int-constant. Specify type.
6657 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6658 constraint on value.
6659 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6661 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6663 [ISO C standards]: Do not allow headers.
6664 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6665 wcs[abcdefghijklmnopqrstuvwxyz]*.
6666 [ISO C standards] (*_t): Do not allow.
6667 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6669 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6670 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6672 [ISO C standards]: Do not allow headers.
6673 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6674 is[abcdefghijklmnopqrstuvwxyz]*.
6675 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6676 to[abcdefghijklmnopqrstuvwxyz]*.
6677 [ISO C standards] (*_t): Do not allow.
6678 * conform/data/stdalign.h-data: New file.
6679 * conform/data/stdbool.h-data: Likewise.
6680 * conform/data/stdnoreturn.h-data: Likewise.
6682 2012-11-07 Roland McGrath <roland@hack.frob.com>
6685 * manual/filesys.texi (Directory Entries): Typo fix.
6686 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6688 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6690 * elf/elf.h (EM_AARCH64): New macro.
6691 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6692 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6693 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6694 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6695 (R_AARCH64_TLSDESC): Likewise.
6696 (NT_ARM_TLS): Likewise.
6697 (NT_ARM_HW_BREAK): Likewise.
6698 (NT_ARM_HW_WATCH): Likewise.
6700 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6703 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6704 (__ieee754_powl): Saturate nonzero exponents with absolute value
6705 below 0x1p-79 to +/- 0x1p-79.
6706 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6707 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6708 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6709 nonzero exponents with absolute value below 0x1p-32 to +/-
6711 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6712 (__ieee754_powl): Saturate nonzero exponents with absolute value
6713 below 0x1p-79 to +/- 0x1p-79.
6714 * math/libm-test.inc (pow_test): Add more tests.
6716 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6718 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6719 _dl_s390_cap_flags with kernel. Increase string length.
6720 (_dl_s390_platforms): Add z196 and zEC12.
6722 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6724 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6725 Change XOPEN21K to XOPEN2K.
6727 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6729 * string/memmove.c: Use memcpy when possible.
6731 2012-11-06 Andreas Jaeger <aj@suse.de>
6733 * po/eo.po: Update from translation team.
6735 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6739 exponent and small x and y exponents, scale x or y up. Increase
6740 by 2 the exponent used in scaling up.
6741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6743 * math/libm-test.inc (fma_test): Add more tests.
6744 (fma_test_towardzero): Likewise.
6745 (fma_test_downward): Likewise.
6746 (fma_test_upward): Likewise.
6748 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6751 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6755 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6756 namespace for names of struct fields.
6757 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6759 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6760 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6762 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6765 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6767 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6769 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6773 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6776 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6780 definitely overflow as x * y not x * y + z.
6781 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6783 * math/libm-test.inc (fma_test): Add more tests.
6784 (fma_test_towardzero): Likewise.
6785 (fma_test_downward): Likewise.
6786 (fma_test_upward): Likewise.
6788 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6792 * include/stub-tag.h: Remove file.
6793 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6795 * manual/maint.texi (Porting): Don't reference it.
6796 * Makerules ($(objpfx)stubs): Likewise.
6797 * dirent/closedir.c: Don't include <stub-tag.h>.
6798 * dirent/dirfd.c: Likewise.
6799 * dirent/fdopendir.c: Likewise.
6800 * dirent/getdents.c: Likewise.
6801 * dirent/getdents64.c: Likewise.
6802 * dirent/opendir.c: Likewise.
6803 * dirent/readdir.c: Likewise.
6804 * dirent/readdir64.c: Likewise.
6805 * dirent/readdir64_r.c: Likewise.
6806 * dirent/readdir_r.c: Likewise.
6807 * dirent/rewinddir.c: Likewise.
6808 * dirent/seekdir.c: Likewise.
6809 * dirent/telldir.c: Likewise.
6810 * gmon/profil.c: Likewise.
6811 * grp/setgroups.c: Likewise.
6812 * inet/if_index.c: Likewise.
6813 * io/access.c: Likewise.
6814 * io/chdir.c: Likewise.
6815 * io/chmod.c: Likewise.
6816 * io/chown.c: Likewise.
6817 * io/close.c: Likewise.
6818 * io/dup.c: Likewise.
6819 * io/dup2.c: Likewise.
6820 * io/dup3.c: Likewise.
6821 * io/euidaccess.c: Likewise.
6822 * io/faccessat.c: Likewise.
6823 * io/fchdir.c: Likewise.
6824 * io/fchmod.c: Likewise.
6825 * io/fchmodat.c: Likewise.
6826 * io/fchown.c: Likewise.
6827 * io/fchownat.c: Likewise.
6828 * io/fcntl.c: Likewise.
6829 * io/flock.c: Likewise.
6830 * io/fstatfs.c: Likewise.
6831 * io/fstatfs64.c: Likewise.
6832 * io/fstatvfs.c: Likewise.
6833 * io/fstatvfs64.c: Likewise.
6834 * io/futimens.c: Likewise.
6835 * io/fxstat.c: Likewise.
6836 * io/fxstat64.c: Likewise.
6837 * io/fxstatat.c: Likewise.
6838 * io/fxstatat64.c: Likewise.
6839 * io/getcwd.c: Likewise.
6840 * io/isatty.c: Likewise.
6841 * io/lchmod.c: Likewise.
6842 * io/lchown.c: Likewise.
6843 * io/link.c: Likewise.
6844 * io/linkat.c: Likewise.
6845 * io/lseek.c: Likewise.
6846 * io/lseek64.c: Likewise.
6847 * io/lxstat64.c: Likewise.
6848 * io/mkdir.c: Likewise.
6849 * io/mkdirat.c: Likewise.
6850 * io/mkfifo.c: Likewise.
6851 * io/mkfifoat.c: Likewise.
6852 * io/open.c: Likewise.
6853 * io/open64.c: Likewise.
6854 * io/openat.c: Likewise.
6855 * io/openat64.c: Likewise.
6856 * io/pipe.c: Likewise.
6857 * io/pipe2.c: Likewise.
6858 * io/poll.c: Likewise.
6859 * io/posix_fadvise.c: Likewise.
6860 * io/posix_fadvise64.c: Likewise.
6861 * io/posix_fallocate.c: Likewise.
6862 * io/posix_fallocate64.c: Likewise.
6863 * io/read.c: Likewise.
6864 * io/readlink.c: Likewise.
6865 * io/readlinkat.c: Likewise.
6866 * io/rmdir.c: Likewise.
6867 * io/sendfile.c: Likewise.
6868 * io/sendfile64.c: Likewise.
6869 * io/statfs.c: Likewise.
6870 * io/statfs64.c: Likewise.
6871 * io/statvfs.c: Likewise.
6872 * io/statvfs64.c: Likewise.
6873 * io/symlink.c: Likewise.
6874 * io/symlinkat.c: Likewise.
6875 * io/ttyname.c: Likewise.
6876 * io/ttyname_r.c: Likewise.
6877 * io/umask.c: Likewise.
6878 * io/unlink.c: Likewise.
6879 * io/unlinkat.c: Likewise.
6880 * io/utime.c: Likewise.
6881 * io/utimensat.c: Likewise.
6882 * io/write.c: Likewise.
6883 * io/xmknod.c: Likewise.
6884 * io/xmknodat.c: Likewise.
6885 * io/xstat.c: Likewise.
6886 * io/xstat64.c: Likewise.
6887 * login/getpt.c: Likewise.
6888 * login/grantpt.c: Likewise.
6889 * login/unlockpt.c: Likewise.
6890 * math/e_acoshl.c: Likewise.
6891 * math/e_acosl.c: Likewise.
6892 * math/e_asinl.c: Likewise.
6893 * math/e_atan2l.c: Likewise.
6894 * math/e_atanhl.c: Likewise.
6895 * math/e_coshl.c: Likewise.
6896 * math/e_expl.c: Likewise.
6897 * math/e_fmodl.c: Likewise.
6898 * math/e_gammal_r.c: Likewise.
6899 * math/e_hypotl.c: Likewise.
6900 * math/e_j0l.c: Likewise.
6901 * math/e_j1l.c: Likewise.
6902 * math/e_jnl.c: Likewise.
6903 * math/e_lgammal_r.c: Likewise.
6904 * math/e_log10l.c: Likewise.
6905 * math/e_log2l.c: Likewise.
6906 * math/e_logl.c: Likewise.
6907 * math/e_powl.c: Likewise.
6908 * math/e_rem_pio2l.c: Likewise.
6909 * math/e_sinhl.c: Likewise.
6910 * math/e_sqrtl.c: Likewise.
6911 * math/fclrexcpt.c: Likewise.
6912 * math/fedisblxcpt.c: Likewise.
6913 * math/feenablxcpt.c: Likewise.
6914 * math/fegetenv.c: Likewise.
6915 * math/fegetexcept.c: Likewise.
6916 * math/fegetround.c: Likewise.
6917 * math/feholdexcpt.c: Likewise.
6918 * math/fesetenv.c: Likewise.
6919 * math/fesetround.c: Likewise.
6920 * math/feupdateenv.c: Likewise.
6921 * math/fgetexcptflg.c: Likewise.
6922 * math/fraiseexcpt.c: Likewise.
6923 * math/fsetexcptflg.c: Likewise.
6924 * math/ftestexcept.c: Likewise.
6925 * math/k_cosl.c: Likewise.
6926 * math/k_rem_pio2l.c: Likewise.
6927 * math/k_sinl.c: Likewise.
6928 * math/k_tanl.c: Likewise.
6929 * math/s_asinhl.c: Likewise.
6930 * math/s_atanl.c: Likewise.
6931 * math/s_cbrtl.c: Likewise.
6932 * math/s_erfl.c: Likewise.
6933 * math/s_expm1l.c: Likewise.
6934 * math/s_log1pl.c: Likewise.
6935 * math/s_tanhl.c: Likewise.
6936 * misc/acct.c: Likewise.
6937 * misc/brk.c: Likewise.
6938 * misc/chflags.c: Likewise.
6939 * misc/chroot.c: Likewise.
6940 * misc/fchflags.c: Likewise.
6941 * misc/fgetxattr.c: Likewise.
6942 * misc/flistxattr.c: Likewise.
6943 * misc/fremovexattr.c: Likewise.
6944 * misc/fsetxattr.c: Likewise.
6945 * misc/fsync.c: Likewise.
6946 * misc/ftruncate.c: Likewise.
6947 * misc/futimes.c: Likewise.
6948 * misc/futimesat.c: Likewise.
6949 * misc/getdomain.c: Likewise.
6950 * misc/getdtsz.c: Likewise.
6951 * misc/gethostid.c: Likewise.
6952 * misc/gethostname.c: Likewise.
6953 * misc/getloadavg.c: Likewise.
6954 * misc/getpagesize.c: Likewise.
6955 * misc/getsysstats.c: Likewise.
6956 * misc/getxattr.c: Likewise.
6957 * misc/gtty.c: Likewise.
6958 * misc/ioctl.c: Likewise.
6959 * misc/lgetxattr.c: Likewise.
6960 * misc/listxattr.c: Likewise.
6961 * misc/llistxattr.c: Likewise.
6962 * misc/lremovexattr.c: Likewise.
6963 * misc/lsetxattr.c: Likewise.
6964 * misc/lutimes.c: Likewise.
6965 * misc/madvise.c: Likewise.
6966 * misc/mincore.c: Likewise.
6967 * misc/mlock.c: Likewise.
6968 * misc/mlockall.c: Likewise.
6969 * misc/mmap.c: Likewise.
6970 * misc/mprotect.c: Likewise.
6971 * misc/msync.c: Likewise.
6972 * misc/munlock.c: Likewise.
6973 * misc/munlockall.c: Likewise.
6974 * misc/munmap.c: Likewise.
6975 * misc/preadv.c: Likewise.
6976 * misc/preadv64.c: Likewise.
6977 * misc/ptrace.c: Likewise.
6978 * misc/pwritev.c: Likewise.
6979 * misc/pwritev64.c: Likewise.
6980 * misc/readv.c: Likewise.
6981 * misc/reboot.c: Likewise.
6982 * misc/remap_file_pages.c: Likewise.
6983 * misc/removexattr.c: Likewise.
6984 * misc/revoke.c: Likewise.
6985 * misc/select.c: Likewise.
6986 * misc/setdomain.c: Likewise.
6987 * misc/setegid.c: Likewise.
6988 * misc/seteuid.c: Likewise.
6989 * misc/sethostid.c: Likewise.
6990 * misc/sethostname.c: Likewise.
6991 * misc/setregid.c: Likewise.
6992 * misc/setreuid.c: Likewise.
6993 * misc/setxattr.c: Likewise.
6994 * misc/sstk.c: Likewise.
6995 * misc/stty.c: Likewise.
6996 * misc/swapoff.c: Likewise.
6997 * misc/swapon.c: Likewise.
6998 * misc/sync.c: Likewise.
6999 * misc/syncfs.c: Likewise.
7000 * misc/syscall.c: Likewise.
7001 * misc/truncate.c: Likewise.
7002 * misc/ualarm.c: Likewise.
7003 * misc/usleep.c: Likewise.
7004 * misc/ustat.c: Likewise.
7005 * misc/utimes.c: Likewise.
7006 * misc/vhangup.c: Likewise.
7007 * misc/writev.c: Likewise.
7008 * posix/_exit.c: Likewise.
7009 * posix/alarm.c: Likewise.
7010 * posix/execve.c: Likewise.
7011 * posix/fexecve.c: Likewise.
7012 * posix/fork.c: Likewise.
7013 * posix/fpathconf.c: Likewise.
7014 * posix/getaddrinfo.c: Likewise.
7015 * posix/getegid.c: Likewise.
7016 * posix/geteuid.c: Likewise.
7017 * posix/getgid.c: Likewise.
7018 * posix/getgroups.c: Likewise.
7019 * posix/getlogin.c: Likewise.
7020 * posix/getlogin_r.c: Likewise.
7021 * posix/getpgid.c: Likewise.
7022 * posix/getpid.c: Likewise.
7023 * posix/getppid.c: Likewise.
7024 * posix/getresgid.c: Likewise.
7025 * posix/getresuid.c: Likewise.
7026 * posix/getsid.c: Likewise.
7027 * posix/getuid.c: Likewise.
7028 * posix/glob64.c: Likewise.
7029 * posix/nanosleep.c: Likewise.
7030 * posix/pathconf.c: Likewise.
7031 * posix/pause.c: Likewise.
7032 * posix/posix_madvise.c: Likewise.
7033 * posix/pread.c: Likewise.
7034 * posix/pread64.c: Likewise.
7035 * posix/pwrite.c: Likewise.
7036 * posix/pwrite64.c: Likewise.
7037 * posix/sched_getaffinity.c: Likewise.
7038 * posix/sched_getp.c: Likewise.
7039 * posix/sched_gets.c: Likewise.
7040 * posix/sched_primax.c: Likewise.
7041 * posix/sched_primin.c: Likewise.
7042 * posix/sched_rr_gi.c: Likewise.
7043 * posix/sched_setaffinity.c: Likewise.
7044 * posix/sched_setp.c: Likewise.
7045 * posix/sched_sets.c: Likewise.
7046 * posix/sched_yield.c: Likewise.
7047 * posix/setgid.c: Likewise.
7048 * posix/setlogin.c: Likewise.
7049 * posix/setpgid.c: Likewise.
7050 * posix/setresgid.c: Likewise.
7051 * posix/setresuid.c: Likewise.
7052 * posix/setsid.c: Likewise.
7053 * posix/setuid.c: Likewise.
7054 * posix/sleep.c: Likewise.
7055 * posix/spawni.c: Likewise.
7056 * posix/sysconf.c: Likewise.
7057 * posix/times.c: Likewise.
7058 * posix/wait.c: Likewise.
7059 * posix/wait3.c: Likewise.
7060 * posix/wait4.c: Likewise.
7061 * posix/waitpid.c: Likewise.
7062 * resolv/gai_sigqueue.c: Likewise.
7063 * resource/getpriority.c: Likewise.
7064 * resource/getrlimit.c: Likewise.
7065 * resource/getrusage.c: Likewise.
7066 * resource/nice.c: Likewise.
7067 * resource/setpriority.c: Likewise.
7068 * resource/setrlimit.c: Likewise.
7069 * resource/ulimit.c: Likewise.
7070 * rt/aio_cancel.c: Likewise.
7071 * rt/aio_fsync.c: Likewise.
7072 * rt/aio_read.c: Likewise.
7073 * rt/aio_sigqueue.c: Likewise.
7074 * rt/aio_suspend.c: Likewise.
7075 * rt/aio_write.c: Likewise.
7076 * rt/clock_getres.c: Likewise.
7077 * rt/clock_gettime.c: Likewise.
7078 * rt/clock_nanosleep.c: Likewise.
7079 * rt/clock_settime.c: Likewise.
7080 * rt/lio_listio.c: Likewise.
7081 * rt/mq_close.c: Likewise.
7082 * rt/mq_getattr.c: Likewise.
7083 * rt/mq_notify.c: Likewise.
7084 * rt/mq_open.c: Likewise.
7085 * rt/mq_receive.c: Likewise.
7086 * rt/mq_send.c: Likewise.
7087 * rt/mq_setattr.c: Likewise.
7088 * rt/mq_timedreceive.c: Likewise.
7089 * rt/mq_timedsend.c: Likewise.
7090 * rt/mq_unlink.c: Likewise.
7091 * rt/shm_open.c: Likewise.
7092 * rt/shm_unlink.c: Likewise.
7093 * rt/timer_create.c: Likewise.
7094 * rt/timer_delete.c: Likewise.
7095 * rt/timer_getoverr.c: Likewise.
7096 * rt/timer_gettime.c: Likewise.
7097 * rt/timer_settime.c: Likewise.
7098 * setjmp/__longjmp.c: Likewise.
7099 * setjmp/setjmp.c: Likewise.
7100 * signal/kill.c: Likewise.
7101 * signal/killpg.c: Likewise.
7102 * signal/raise.c: Likewise.
7103 * signal/sigaction.c: Likewise.
7104 * signal/sigaltstack.c: Likewise.
7105 * signal/sigblock.c: Likewise.
7106 * signal/sigignore.c: Likewise.
7107 * signal/sigintr.c: Likewise.
7108 * signal/signal.c: Likewise.
7109 * signal/sigpause.c: Likewise.
7110 * signal/sigpending.c: Likewise.
7111 * signal/sigqueue.c: Likewise.
7112 * signal/sigreturn.c: Likewise.
7113 * signal/sigset.c: Likewise.
7114 * signal/sigsetmask.c: Likewise.
7115 * signal/sigstack.c: Likewise.
7116 * signal/sigsuspend.c: Likewise.
7117 * signal/sigtimedwait.c: Likewise.
7118 * signal/sigvec.c: Likewise.
7119 * signal/sigwait.c: Likewise.
7120 * signal/sigwaitinfo.c: Likewise.
7121 * signal/sysv_signal.c: Likewise.
7122 * socket/accept.c: Likewise.
7123 * socket/accept4.c: Likewise.
7124 * socket/bind.c: Likewise.
7125 * socket/connect.c: Likewise.
7126 * socket/getpeername.c: Likewise.
7127 * socket/getsockname.c: Likewise.
7128 * socket/getsockopt.c: Likewise.
7129 * socket/isfdtype.c: Likewise.
7130 * socket/listen.c: Likewise.
7131 * socket/recv.c: Likewise.
7132 * socket/recvfrom.c: Likewise.
7133 * socket/recvmsg.c: Likewise.
7134 * socket/send.c: Likewise.
7135 * socket/sendmsg.c: Likewise.
7136 * socket/sendto.c: Likewise.
7137 * socket/setsockopt.c: Likewise.
7138 * socket/shutdown.c: Likewise.
7139 * socket/sockatmark.c: Likewise.
7140 * socket/socket.c: Likewise.
7141 * socket/socketpair.c: Likewise.
7142 * stdio-common/ctermid.c: Likewise.
7143 * stdio-common/cuserid.c: Likewise.
7144 * stdio-common/remove.c: Likewise.
7145 * stdio-common/rename.c: Likewise.
7146 * stdio-common/renameat.c: Likewise.
7147 * stdio-common/tempname.c: Likewise.
7148 * stdlib/getcontext.c: Likewise.
7149 * stdlib/makecontext.c: Likewise.
7150 * stdlib/setcontext.c: Likewise.
7151 * stdlib/swapcontext.c: Likewise.
7152 * stdlib/system.c: Likewise.
7153 * streams/fattach.c: Likewise.
7154 * streams/fdetach.c: Likewise.
7155 * streams/getmsg.c: Likewise.
7156 * streams/getpmsg.c: Likewise.
7157 * streams/putmsg.c: Likewise.
7158 * streams/putpmsg.c: Likewise.
7159 * sysdeps/unix/bsd/getpt.c: Likewise.
7160 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7161 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7162 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7165 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7166 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7167 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7168 * sysvipc/msgctl.c: Likewise.
7169 * sysvipc/msgget.c: Likewise.
7170 * sysvipc/msgrcv.c: Likewise.
7171 * sysvipc/msgsnd.c: Likewise.
7172 * sysvipc/semctl.c: Likewise.
7173 * sysvipc/semget.c: Likewise.
7174 * sysvipc/semop.c: Likewise.
7175 * sysvipc/semtimedop.c: Likewise.
7176 * sysvipc/shmat.c: Likewise.
7177 * sysvipc/shmctl.c: Likewise.
7178 * sysvipc/shmdt.c: Likewise.
7179 * sysvipc/shmget.c: Likewise.
7180 * termios/tcdrain.c: Likewise.
7181 * termios/tcflow.c: Likewise.
7182 * termios/tcflush.c: Likewise.
7183 * termios/tcgetattr.c: Likewise.
7184 * termios/tcgetpgrp.c: Likewise.
7185 * termios/tcsendbrk.c: Likewise.
7186 * termios/tcsetattr.c: Likewise.
7187 * termios/tcsetpgrp.c: Likewise.
7188 * time/adjtime.c: Likewise.
7189 * time/clock.c: Likewise.
7190 * time/getitimer.c: Likewise.
7191 * time/gettimeofday.c: Likewise.
7192 * time/setitimer.c: Likewise.
7193 * time/settimeofday.c: Likewise.
7194 * time/stime.c: Likewise.
7195 * time/time.c: Likewise.
7197 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7199 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7202 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7204 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7206 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7210 FE_TONEAREST before applying Dekker multiplication and Knuth
7211 addition. Clear inexact exceptions and check for exact zero
7213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7214 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7216 * math/libm-test.inc (fma_test): Add more tests.
7217 (fma_test_towardzero): Likewise.
7218 (fma_test_downward): Likewise.
7219 (fma_test_upward): Likewise.
7220 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7222 (libc_fesetround): New macro.
7223 (libc_fesetroundf): Likewise.
7224 (libc_fesetroundl): Likewise.
7225 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7227 (libc_fesetround_387): Likewise.
7228 (libc_fesetroundf): New macro.
7229 (libc_fesetround): Likewise.
7230 (libc_fesetroundl): Likewise.
7231 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7233 (libc_fesetroundf): New macro.
7234 (libc_fesetround): Likewise.
7235 (libc_fesetroundl): Likewise.
7236 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7237 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7238 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7240 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7241 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7243 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7244 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7246 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7250 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7251 integer constant usable in #if and use that to give value to enum
7253 (FE_DIVBYZERO): Likewise.
7254 (FE_UNDERFLOW): Likewise.
7255 (FE_OVERFLOW): Likewise.
7256 (FE_INVALID): Likewise.
7257 (FE_INVALID_SNAN): Likewise.
7258 (FE_INVALID_ISI): Likewise.
7259 (FE_INVALID_IDI): Likewise.
7260 (FE_INVALID_ZDZ): Likewise.
7261 (FE_INVALID_IMZ): Likewise.
7262 (FE_INVALID_COMPARE): Likewise.
7263 (FE_INVALID_SOFTWARE): Likewise.
7264 (FE_INVALID_SQRT): Likewise.
7265 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7266 (FE_TONEAREST): Likewise.
7267 (FE_TOWARDZERO): Likewise.
7268 (FE_UPWARD): Likewise.
7269 (FE_DOWNWARD): Likewise.
7270 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7271 (FE_DIVBYZERO): Likewise.
7272 (FE_OVERFLOW): Likewise.
7273 (FE_UNDERFLOW): Likewise.
7274 (FE_INEXACT): Likewise.
7275 (FE_TONEAREST): Likewise.
7276 (FE_DOWNWARD): Likewise.
7277 (FE_UPWARD): Likewise.
7278 (FE_TOWARDZERO): Likewise.
7279 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7280 (FE_UNDERFLOW): Likewise.
7281 (FE_OVERFLOW): Likewise.
7282 (FE_DIVBYZERO): Likewise.
7283 (FE_INVALID): Likewise.
7284 (FE_TONEAREST): Likewise.
7285 (FE_TOWARDZERO): Likewise.
7286 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7287 (FE_OVERFLOW): Likewise.
7288 (FE_UNDERFLOW): Likewise.
7289 (FE_DIVBYZERO): Likewise.
7290 (FE_INEXACT): Likewise.
7291 (FE_TONEAREST): Likewise.
7292 (FE_TOWARDZERO): Likewise.
7293 (FE_UPWARD): Likewise.
7294 (FE_DOWNWARD): Likewise.
7295 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7296 (FE_DIVBYZERO): Likewise.
7297 (FE_OVERFLOW): Likewise.
7298 (FE_UNDERFLOW): Likewise.
7299 (FE_INEXACT): Likewise.
7300 (FE_TONEAREST): Likewise.
7301 (FE_DOWNWARD): Likewise.
7302 (FE_UPWARD): Likewise.
7303 (FE_TOWARDZERO): Likewise.
7305 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7307 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7309 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7311 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7312 commands. Quote $PWD.
7313 (blacklist_exports): Don't use remove_newlines. Replace "declare
7315 (remove_newlines): Remove.
7317 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7319 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7320 * stdlib/stdlib.h (atof): Moved to ...
7321 * include/bits/stdlib-float.h: Here. New file.
7322 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7323 * stdlib/bits/stdlib-float.h: New file.
7324 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7326 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7329 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7331 * conform/conformtest.pl (@headers): Add fenv.h.
7332 * conform/data/fenv.h-data: New file.
7333 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7334 include of <math/fenv.h>.
7336 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7337 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7338 && !UNIX98]. Enables tests for XOPEN2K8.
7339 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7340 POSIX2008]: Likewise.
7342 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7343 (struct rusage): Do not expect type or its members.
7346 * math/math.h (FP_NAN): Define macro to integer constant usable in
7347 #if and use that to give value to enum constant.
7348 (FP_INFINITE): Likewise.
7349 (FP_ZERO): Likewise.
7350 (FP_SUBNORMAL): Likewise.
7351 (FP_NORMAL): Likewise.
7353 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7355 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7356 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7359 2012-11-02 Roland McGrath <roland@hack.frob.com>
7361 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7362 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7363 autoconf-time if not.
7364 * configure.in: Remove AC_PREREQ.
7366 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7368 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7369 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7370 of the internal implementation.
7372 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7374 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7375 except include of <misc/sys/syslog.h>.
7377 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7380 function returns with a NULL context exit with zero.
7382 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7384 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7386 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7388 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7389 (run_program_cmd): This.
7390 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7391 (tst_langinfo): New variable. Use it.
7393 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7395 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7396 floating point opcodes.
7398 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7400 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7403 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7405 * sysdeps/mach/hurd/powerpc: Remove directory.
7406 * sysdeps/mach/powerpc: Likewise.
7408 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7410 * scripts/check-local-headers.sh: Ignore c++ headers.
7412 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7414 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7415 __libc_cleanup_region_start argument.
7417 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7422 x * y using scaling, not as x * y + z.
7423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7424 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7425 * math/libm-test.inc (fma_test): Add more tests.
7426 (fma_test_towardzero): Likewise.
7427 (fma_test_downward): Likewise.
7428 (fma_test_upward): Likewise.
7430 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7432 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7434 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7436 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7439 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7441 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7443 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7450 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7453 Fix the order of the list for glibc 2.17.
7454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7457 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7461 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7464 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7465 for low part of x being zero before using __atanl (y).
7466 * math/libm-test.inc (atan2_test): Add another test.
7468 * manual/install.texi (Configuring and compiling): Document
7469 general use of test-wrapper and test-wrapper-env.
7470 * INSTALL: Regenerated.
7472 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7473 (__fma): Do not extract and scale down low bits on after-rounding
7474 systems when result rounded to normal precision would have normal
7476 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7477 (__fmal): Do not extract and scale down low bits on after-rounding
7478 systems when result rounded to normal precision would have normal
7480 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7481 (__fmal): Do not extract and scale down low bits on after-rounding
7482 systems when result rounded to normal precision would have normal
7484 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7486 (fma_test): Add more tests.
7487 (fma_test_towardzero): Likewise.
7488 (fma_test_downward): Likewise.
7489 (fma_test_upward): Likewise.
7491 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7493 * sysdeps/i386/tininess.h: Renamed to ...
7494 * sysdeps/x86/tininess.h: This.
7495 * sysdeps/x86_64/tininess.h: Removed.
7497 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7499 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7500 input. Use $(build-program-cmd).
7501 ($(objpfx)tst-array1-static.out): Likewise.
7502 ($(objpfx)tst-array2.out): Likewise.
7503 ($(objpfx)tst-array3.out): Likewise.
7504 ($(objpfx)tst-array4.out): Likewise.
7505 ($(objpfx)tst-array5.out): Likewise.
7506 ($(objpfx)tst-array5-static.out): Likewise.
7508 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7510 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7513 * nss/nsswitch.h (nss_interface_function): Provide new
7514 macro for use with NSS functions.
7515 * grp/initgroups.c: Use new macro.
7516 * nss/getXXbyYY.c: Likewise.
7517 * nss/getXXbyYY_r.c: Likewise.
7518 * nss/getXXent.c: Likewise.
7519 * nss/getXXent_r.c: Likewise.
7520 * sysdeps/posix/getaddrinfo.c: Likewise.
7522 2012-10-30 Andreas Jaeger <aj@suse.de>
7524 * po/ru.po: Update Russion translation from translation project.
7526 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7531 result and shift together with sticky bit instead of replicating
7532 round-to-nearest rounding.
7533 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7534 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7535 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7536 missing underflow exceptions.
7537 (fma_test_towardzero): Add more tests.
7538 (fma_test_downward): Likewise.
7539 (fma_test_upward): Likewise.
7542 * sysdeps/generic/tininess.h: New file.
7543 * sysdeps/i386/tininess.h: Likewise.
7544 * sysdeps/sh/tininess.h: Likewise.
7545 * sysdeps/x86_64/tininess.h: Likewise.
7546 * stdlib/tst-strtod-underflow.c: Likewise.
7547 * stdlib/tst-tininess.c: Likewise.
7548 * stdlib/strtod_l.c: Include <tininess.h>.
7549 (round_and_return): Do not set errno for exact underflow cases.
7550 Force an underflow exception when setting errno for underflow.
7551 Determine underflow based on rounding to normal precision if
7552 TININESS_AFTER_ROUNDING.
7553 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7554 ERANGE for exact underflow cases.
7555 * stdlib/Makefile (tests): Add tst-tininess and
7556 tst-strtod-underflow.
7557 ($(objpfx)tst-tininess): Use $(link-libm).
7558 ($(objpfx)tst-strtod-underflow): Likewise.
7560 2012-10-30 Andreas Jaeger <aj@suse.de>
7563 * elf/Makefile (tests): Remove conditional for have-initfini-array
7564 since this is now always required and the variable does not exist
7566 (tests-static): Likewise.
7567 (modules-names): Likewise.
7569 * po/eo.po: Add Esperanto translation from translation project.
7571 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7572 merged with constructor/destructor.
7573 (init_array): Likewise.
7574 * elf/tst-array2dep.c (fini_array): Likewise.
7575 (init_array): Likewise.
7577 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7579 * manual/message.texi: Delete @cartouche tags.
7581 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7583 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7585 * sysdeps/mach/hurd/fsync.c: Likewise.
7587 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7588 [_POSIX_REALTIME_SIGNALS]: Change condition to
7589 [_POSIX_REALTIME_SIGNALS > 0].
7591 2012-10-27 Andreas Jaeger <aj@suse.de>
7593 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7594 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7595 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7596 [__WORDSIZE != 64]: Likewise.
7598 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7600 * iconvdata/tst-table.sh: Remove ${SHELL}.
7601 * iconvdata/tst-tables.sh: Likewise.
7603 2012-10-25 David S. Miller <davem@davemloft.net>
7605 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7606 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7611 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7612 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7613 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7616 2012-10-25 Roland McGrath <roland@hack.frob.com>
7618 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7619 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7622 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7623 Jim Blandy <jimb@codesourcery.com>
7625 * scripts/cross-test-ssh.sh: New file.
7626 * manual/install.texi (Configuring and compiling): Document use of
7628 * INSTALL: Regenerated.
7630 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7632 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7635 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7637 * Makeconfig (run-program-prefix): Fix comment.
7639 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7640 Jim Blandy <jimb@codesourcery.com>
7642 * Makeconfig (test-wrapper): New variable,
7643 (test-wrapper-env): Likewise.
7644 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7645 (run-built-tests): Define to yes.
7646 (run-program-prefix): Use $(test-wrapper).
7647 (built-program-cmd): Likewise.
7648 * Rules (make-test-out): Use $(test-wrapper-env) and
7649 $(host-built-program-cmd).
7650 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7651 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7653 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7654 $(test-wrapper-env) to tst-rtld-load-self.sh.
7655 ($(objpfx)order2.out): Use $(test-wrapper).
7656 ($(objpfx)tst-initorder.out): Likewise.
7657 ($(objpfx)tst-initorder2.out): Likewise.
7658 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7659 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7660 (test_wrapper_env): New variable. Use it to run ld.so.
7661 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7662 Use it to run ld.so.
7663 (test_wrapper_env): Likewise.
7664 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7665 $(test-wrapper) to run-iconv-test.sh.
7666 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7667 (ICONV): Use $test_wrapper.
7668 * posix/Makefile ($(objpfx)globtest.out): Pass
7669 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7670 globtest.sh, not $(run-program-prefix).
7671 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7672 (test_wrapper): Likewise.
7673 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7674 set together with run_via_rtld_prefix.
7675 (run_program_prefix): Define in terms of test_wrapper and
7676 run_via_rtld_prefix.
7678 2012-10-24 Roland McGrath <roland@hack.frob.com>
7680 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7681 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7685 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7686 Declare __clock_getres, __clock_gettime, __clock_settime,
7687 __clock_nanosleep, and __clock_getcpuclockid.
7688 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7689 Remove librt_hidden_def (clock_gettime).
7690 * sysdeps/unix/clock_gettime.c: Likewise.
7691 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7692 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7693 * rt/clock_getres.c: Define __clock_getres as an alias.
7694 * sysdeps/posix/clock_getres.c: Likewise.
7695 * rt/clock_settime.c: Define __clock_settime as an alias.
7696 * sysdeps/unix/clock_settime.c: Likewise.
7697 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7698 * sysdeps/unix/clock_nanosleep.c: Likewise.
7699 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7700 * rt/clock-compat.c: New file.
7701 * rt/Makefile (librt-routines): Add clock-compat and move
7702 $(clock-routines) to ...
7703 (routines): ... here, new variable.
7704 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7705 Don't add get_clockfreq here.
7706 * rt/Versions (libc: GLIBC_2.17): New version set.
7707 Add clock_* symbols here.
7708 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7709 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7710 (GLIBC_2.17): Add clock_* symbols.
7711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7722 * NEWS: Mention the move.
7724 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7725 Use __open, __read, __close rather than their public counterparts.
7726 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7727 (__get_clockfreq_via_cpuinfo): Likewise.
7728 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7729 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7731 * config.h.in (HAVE_IFUNC): New #undef.
7732 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7734 * configure: Regenerated.
7736 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7738 * configure.in: Move READELF check to start of file.
7739 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7740 libc_cv_asm_gnu_indirect_function in the process.
7741 * configure: Regenerated.
7743 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7745 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7746 send the output to /dev/null.
7747 (libc_cv_cc_with_libunwind): Likewise.
7748 (libc_cv_as_noexecstack): Likewise.
7749 * configure: Regenerate.
7751 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7753 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7755 * posix/globtest.sh (TMPDIR): Do not set.
7756 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7757 (testout): Likewise.
7759 2012-10-24 Andreas Jaeger <aj@suse.de>
7761 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7762 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7763 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7764 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7765 posix_fadvise64, posix_fallocate64.
7767 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7768 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7769 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7771 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7773 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7776 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7777 <bits/fcntl-linux.h>.
7778 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7781 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7782 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7783 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7784 [__WORDSIZE != 64]: Likewise.
7786 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7788 * Makeconfig (run-built-tests): New variable.
7789 * Rules [$(cross-compiling) = yes]: Change condition to
7790 [$(run-built-tests) = no].
7791 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7792 to [$(run-built-tests) = yes].
7793 * elf/Makefile [$(cross-compiling) = no]: Likewise
7794 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7795 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7796 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7797 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7798 * io/Makefile [$(cross-compiling) = no]: Likewise.
7799 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7800 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7801 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7802 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7803 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7804 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7805 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7806 * string/Makefile [$(cross-compiling) = no]: Likewise.
7808 * posix/Makefile ($(objpfx)globtest.out): Pass
7809 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7810 $(rtld-installed-name).
7811 * posix/globtest.sh (elf_objpfx): Remove variable.
7812 (rtld_installed_name): Likewise.
7813 (library_path): Likewise.
7814 (run_program_prefix): New variable. Use for running globtest
7817 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7818 Joseph Myers <joseph@codesourcery.com>
7820 * Makeconfig (host-built-program-cmd): New variable.
7821 * elf/Makefile (tst-stackguard1-ARGS): Use
7822 $(host-built-program-cmd).
7823 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7824 (tst-spawn-ARGS): Likewise.
7825 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7827 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7828 Jim Blandy <jimb@codesourcery.com>
7830 * Makeconfig (run-via-rtld-prefix): New variable.
7831 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7832 (built-program-cmd): Likewise.
7834 2012-10-22 Andreas Jaeger <aj@suse.de>
7836 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7837 __O_RSYNC if it exists, otherwise to O_SYNC.
7839 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7840 Joseph Myers <joseph@codesourcery.com>
7842 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7844 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7846 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7849 2012-10-22 Andreas Jaeger <aj@suse.de>
7851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7858 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7859 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7866 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7867 Joseph Myers <joseph@codesourcery.com>
7869 * config.make.in (NM): New variable.
7871 2012-10-21 Andreas Jaeger <aj@suse.de>
7873 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7874 definitions and declarations that are provided by
7875 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7877 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7880 * elf/Makefile (tests-static): Add tst-leaks1-static.
7881 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7882 ($(objpfx)tst-leaks1-static): New rule.
7883 ($(objpfx)tst-leaks1-static-mem): Likewise.
7884 (tst-leaks1-static-ENV): New macro.
7885 * elf/dl-open.c (dl_open_worker): Check the main application
7886 only if SHARED is defined.
7887 * elf/tst-leaks1-static.c: New file.
7889 2012-10-20 Andreas Jaeger <aj@suse.de>
7891 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7892 generic values for Linux.
7893 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7894 and declarations that are provided by <bits/fcntl-linux.h> and
7895 include <bits/fcntl-linux.h>.
7896 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7897 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7899 2012-10-20 Roland McGrath <roland@hack.frob.com>
7901 * io/fcntl.h: Move include of <bits/types.h> to the top and
7902 include it unconditionally.
7904 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7906 * wcsmbs/Makefile (tests-ifunc): New variable.
7907 (tests): Add $(tests-ifunc).
7908 * wcsmbs/test-wcschr-ifunc.c: New file.
7909 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7910 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7911 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7912 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7913 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7915 * string/Makefile (tests-ifunc): New variable.
7916 (tests): Add $(tests-ifunc).
7917 * string/test-memccpy.c (TEST_NAME): New macro.
7918 * string/test-memchr.c (TEST_NAME): Likewise.
7919 * string/test-memcmp.c (TEST_NAME): Likewise.
7920 * string/test-memcpy.c (TEST_NAME): Likewise.
7921 * string/test-memmem.c (TEST_NAME): Likewise.
7922 * string/test-memmove.c (TEST_NAME): Likewise.
7923 * string/test-memset.c (TEST_NAME): Likewise.
7924 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7925 * string/test-stpcpy.c (TEST_NAME): Likewise.
7926 * string/test-stpncpy.c (TEST_NAME): Likewise.
7927 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7928 * string/test-strcasestr.c (TEST_NAME): Likewise.
7929 * string/test-strcat.c (TEST_NAME): Likewise.
7930 * string/test-strchr.c (TEST_NAME): Likewise.
7931 * string/test-strcmp.c(TEST_NAME): Likewise.
7932 * string/test-strcpy.c (TEST_NAME): Likewise.
7933 * string/test-strcspn.c (TEST_NAME): Likewise.
7934 * string/test-strlen.c (TEST_NAME): Likewise.
7935 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7936 * string/test-strncmp.c (TEST_NAME): Likewise.
7937 * string/test-strncpy.c (TEST_NAME): Likewise.
7938 * string/test-strnlen.c (TEST_NAME): Likewise.
7939 * string/test-strpbrk.c (TEST_NAME): Likewise.
7940 * string/test-strrchr.c (TEST_NAME): Likewise.
7941 * string/test-strspn.c (TEST_NAME): Likewise.
7942 * string/test-strstr.c (TEST_NAME): Likewise.
7943 * string/test-bcopy-ifunc.c: New file.
7944 * string/test-bzero-ifunc.c: Likewise.
7945 * string/test-memccpy-ifunc.c: Likewise.
7946 * string/test-memchr-ifunc.c: Likewise.
7947 * string/test-memcmp-ifunc.c: Likewise.
7948 * string/test-memcpy-ifunc.c: Likewise.
7949 * string/test-memmem-ifunc.c: Likewise.
7950 * string/test-memmove-ifunc.c: Likewise.
7951 * string/test-mempcpy-ifunc.c: Likewise.
7952 * string/test-memset-ifunc.c: Likewise.
7953 * string/test-rawmemchr-ifunc.c: Likewise.
7954 * string/test-stpcpy-ifunc.c: Likewise.
7955 * string/test-stpncpy-ifunc.c: Likewise.
7956 * string/test-strcasecmp-ifunc.c: Likewise.
7957 * string/test-strcasestr-ifunc.c: Likewise.
7958 * string/test-strcat-ifunc.c: Likewise.
7959 * string/test-strchr-ifunc.c: Likewise.
7960 * string/test-strchrnul-ifunc.c: Likewise.
7961 * string/test-strcmp-ifunc.c: Likewise.
7962 * string/test-strcpy-ifunc.c: Likewise.
7963 * string/test-strcspn-ifunc.c: Likewise.
7964 * string/test-strlen-ifunc.c: Likewise.
7965 * string/test-strncasecmp-ifunc.c: Likewise.
7966 * string/test-strncat-ifunc.c: Likewise.
7967 * string/test-strncmp-ifunc.c: Likewise.
7968 * string/test-strncpy-ifunc.c: Likewise.
7969 * string/test-strnlen-ifunc.c: Likewise.
7970 * string/test-strpbrk-ifunc.c: Likewise.
7971 * string/test-strrchr-ifunc.c: Likewise.
7972 * string/test-strspn-ifunc.c: Likewise.
7973 * string/test-strstr-ifunc.c: Likewise.
7975 * debug/Makefile (tests-ifunc): New variable.
7976 (tests): Add $(tests-ifunc).
7977 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7978 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7979 * debug/test-stpcpy_chk-ifunc.c: New file.
7980 * debug/test-strcpy_chk-ifunc.c: Likewise.
7982 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7985 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7986 header is not read in.
7988 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7990 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7991 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7992 directly. Pass built executable to script as
7993 $(built-program-cmd).
7994 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7995 $testprogram without using LD_LIBRARY_PATH and $ldso.
7997 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7998 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7999 $(rtld-installed-name).
8000 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8001 (rtld_installed_name): Likewise.
8002 (library_path): Likewise.
8003 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8004 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8005 $(run-program-prefix) to tst-tables.sh.
8006 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8007 it to run tst-table-from and tst-table-to.
8008 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8009 Pass it to tst-table.sh.
8010 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8011 $(run-program-prefix) to tst-gettext.sh.
8012 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8014 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8016 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8018 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8019 to run tst-gettext2.
8020 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8021 to run tst-translit.
8022 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8023 $(run-program-prefix) to tst-mtrace.sh.
8024 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8026 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8027 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8028 $(rtld-installed-name).
8029 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8030 (rtld_installed_name): Likewise.
8031 (run_program_prefix): New variable. Use it to run wordexp-test.
8033 * Makeconfig (ARCH): Remove all definitions.
8034 (machine): Likewise.
8035 [ARCH]: Remove conditional code.
8036 [!objdir]: Give error.
8037 [!objdir] (objpfx): Remove.
8038 [!objdir] (common-objpfx): Likewise.
8039 [!objdir] (common-objdir): Likewise.
8040 * configure.in (config_makefile): Remove. Hardcode Makefile in
8041 AC_CONFIG_FILES call.
8042 * configure: Regenerated.
8045 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8047 (testout): Likewise.
8049 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8050 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8051 $(rtld-installed-name).
8052 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8053 (rtld_installed_name): Likwise.
8054 (runit): Remove function.
8055 (run_getconf): New variable, Use it for running getconf binary.
8057 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8060 * string/test-memmem.c (check_result): New function.
8061 (do_one_test): Use it.
8062 (check1): New function.
8063 (test_main): Use it.
8065 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8067 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8069 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8071 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8072 (_G_LSEEK64): Likewise.
8073 (_G_MMAP64): Likewise.
8074 (_G_FSTAT64): Likewise.
8075 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8076 (_G_LSEEK64): Likewise.
8077 (_G_MMAP64): Likewise.
8078 (_G_FSTAT64): Likewise.
8079 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8080 unconditional. Call __mmap64 directly.
8081 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8082 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8084 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8085 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8087 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8088 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8090 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8091 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8093 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8094 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8096 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8097 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8098 __fxstat64 directly.
8099 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8100 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8102 (freopen64) [!_G_OPEN64]: Remove conditional code.
8103 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8105 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8106 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8108 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8109 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8111 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8112 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8114 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8115 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8117 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8118 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8120 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8121 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8123 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8125 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8128 * manual/memory.texi (Malloc Tunable Parameters): Add note
8129 about free list pointers overwriting some perturb bytes.
8130 Wording suggested by Roland McGrath.
8132 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8134 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8135 (lgamma_test): Likewise.
8136 (tgamma_test): Likewise.
8138 2012-10-16 Florian Weimer <fweimer@redhat.com>
8141 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8142 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8144 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8146 * NEWS: Mention BZ #14716.
8147 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8148 when removing AVAILABLE1_USES_J macro.
8150 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8152 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8153 (__bswap_64): __uint64_t for unsigned 64-bit int.
8155 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8157 * include/string.h (memmem): Declare libc hidden alias.
8158 * string/memmem.c (memmem): Define libc hidden alias.
8159 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8160 __read, __close instead of open, read, close.
8162 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8165 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8167 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8168 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8169 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8171 (__rawmemchr_sse2): Likewise.
8172 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8173 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8174 (__strchr_sse2): Likewise.
8175 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8176 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8177 (__strcasecmp_sse2): Likewise.
8178 (__strncasecmp_sse2): Likewise.
8179 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8180 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8181 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8182 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8183 (__strrchr_sse2): Likewise.
8184 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8186 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8187 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8188 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8189 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8190 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8191 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8192 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8193 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8194 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8195 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8196 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8197 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8198 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8199 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8200 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8201 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8202 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8203 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8204 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8205 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8206 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8207 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8208 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8209 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8210 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8211 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8212 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8213 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8214 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8215 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8217 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8219 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8220 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8221 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8222 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8224 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8226 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8227 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8228 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8229 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8231 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8232 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8233 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8234 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8235 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8236 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8237 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8238 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8239 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8240 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8241 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8242 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8243 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8244 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8245 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8246 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8247 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8248 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8249 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8250 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8251 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8252 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8253 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8254 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8255 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8256 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8257 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8258 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8259 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8260 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8261 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8262 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8263 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8264 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8265 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8266 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8267 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8268 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8269 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8270 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8271 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8273 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8274 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8275 * include/ifunc-impl-list.h: New file.
8276 * misc/ifunc-impl-list.c: Likewise.
8277 * misc/Makefile (routines): Add ifunc-impl-list.
8278 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8279 * string/test-string.h: Include <ifunc-impl-list.h>.
8280 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8281 impl_array): New variables.
8282 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8284 (test_init): Call __libc_ifunc_impl_list to initialize
8285 func_list if TEST_IFUNC and TEST_NAME are defined.
8287 * string/Makefile (strop-tests): Add bcopy and bzero.
8288 * string/test-bcopy.c: New file.
8289 * string/test-bzero.c: Likewise.
8290 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8292 * string/test-memset.c: Support bzero test if TEST_BZERO is
8294 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8296 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8298 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8301 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8303 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8304 * configure: Regenerated.
8306 * Makeconfig (+link-static-before-libc): Don't include
8307 $(link-static-libc).
8309 * libio/libio.h (_IO_pos_t): Remove.
8311 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8313 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8316 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8318 * crypt/crypt-entry.c: Include fips-private.h.
8319 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8320 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8321 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8322 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8324 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8326 * crypt/crypt-private.h: Include stdbool.h.
8327 (_ufc_setup_salt_r): Return bool.
8328 * crypt/crypt-entry.c: Include errno.h.
8329 (__crypt_r): Return NULL with EINVAL for bad salt.
8330 * crypt/crypt_util.c (bad_for_salt): New.
8331 (_ufc_setup_salt_r): Check that salt is long enough and within
8332 the specified alphabet.
8333 * crypt/badsalttest.c: New file.
8334 * crypt/Makefile (tests): Add it.
8335 ($(objpfx)badsalttest): New.
8337 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8339 * NEWS: Add entry for BZ #14602.
8341 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8343 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8345 * math/libm-test.inc: Update comment listing what functions and
8347 (isgreater_test): New function.
8348 (isgreaterequal_test): Likewise.
8349 (isless_test): Likewise.
8350 (islessequal_test): Likewise.
8351 (islessgreater_test): Likewise.
8352 (isunordered_test): Likewise.
8353 (main): Call the new functions.
8355 2012-10-09 Roland McGrath <roland@hack.frob.com>
8357 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8358 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8359 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8360 * sysdeps/i386/configure: Regenerated.
8361 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8362 * sysdeps/mach/configure: Regenerated.
8363 * sysdeps/mach/hurd/configure: Regenerated.
8364 * sysdeps/powerpc/configure: Regenerated.
8365 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8366 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8367 * sysdeps/s390/s390-32/configure: Regenerated.
8368 * sysdeps/s390/s390-64/configure: Regenerated.
8369 * sysdeps/sh/configure: Regenerated.
8370 * sysdeps/sparc/configure: Regenerated.
8371 * sysdeps/unix/sysv/linux/configure: Regenerated.
8372 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8373 * sysdeps/x86_64/configure: Regenerated.
8375 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8376 defined. Don't check if MAP is NULL.
8378 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8380 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8381 (_G_stat64): Likewise.
8382 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8383 (_G_stat64): Likewise.
8384 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8385 instead of struct _G_stat64.
8386 * libio/fileops.c (mmap_remap_check): Likewise.
8387 (decide_maybe_mmap): Likewise.
8388 (_IO_new_file_seekoff): Likewise.
8389 (_IO_file_stat): Likewise.
8390 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8392 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8393 instead of struct _G_stat64.
8394 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8396 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8399 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8401 (CHECK_EOL): New macro.
8402 (two_way_short_needle): Check beginning of haystack for EOL. Use
8404 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8405 Replace with CHECK_EOL.
8406 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8407 Replace with CHECK_EOL.
8409 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8411 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8413 * math/libm-test.inc: Update comment listing what functions and
8415 (finite_test): New function.
8416 (isinf_test): Likewise.
8417 (isnan_test): Likewise.
8418 (fpclassify_test): Test subnormal input.
8419 (isfinite_test): Likewise.
8420 (isnormal_test): Likewise.
8421 (main): Call the new functions.
8423 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8426 * Makerules (%.dynsym): Force C locale when running
8427 $(OBJDUMP) --dynamic-syms.
8429 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8431 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8434 2012-10-06 David S. Miller <davem@davemloft.net>
8436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8437 upper 32-bits of the length value in %o2 since we use branch-on-register
8438 tests which consider the entire 64-bit register.
8440 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8442 * string/test-strstr.c (check2): Add a test for page boundary.
8444 2012-10-05 David S. Miller <davem@davemloft.net>
8446 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8447 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8449 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8451 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8452 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8453 and bzero when HWCAP_SPARC_CRYPTO is present.
8455 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8458 * string/test-strstr.c (check2): New function.
8459 (test_main): Call check2.
8461 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8463 * string/bug-strcasestr1.c (do_test): Moved to ...
8464 * string/test-strcasestr.c (check1): Here. New function.
8465 (do_one_test): Break out result checking code into ...
8466 (check_result): This. New function.
8467 (do_one_test): Call check_result.
8468 (test_main): Call check1.
8469 * string/bug-strchr1.c (do_test): Moved to ...
8470 * string/test-strchr.c (check1): Here. New function.
8471 (do_one_test): Break out result checking code into ...
8472 (check_result): This. New function.
8473 (do_one_test): Call check_result.
8474 (test_main): Call check1.
8475 * string/bug-strstr1.c (main): Moved to ...
8476 * string/test-strstr.c (check1): Here. New function.
8477 (do_one_test): Break out result checking code into ...
8478 (check_result): This. New function.
8479 (do_one_test): Call check_result.
8480 (test_main): Call check1.
8481 * string/bug-strcasestr1.c: Removed.
8482 * string/bug-strchr1.c: Likewise.
8483 * string/bug-strstr1.c: Likewise.
8485 * elf/Makefile (dl-routines): Add hwcaps.
8486 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8487 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8488 (_dl_important_hwcaps): Moved to ...
8489 * elf/dl-hwcaps.c: Here. New file.
8490 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8493 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8494 if IS_IN_rtld isn't defined.
8496 * elf/dl-support.c (_dl_sysinfo_map): New.
8497 Include "get-dynamic-info.h" and "setup-vdso.h".
8498 (_dl_non_dynamic_init): Call setup_vdso.
8499 * elf/dynamic-link.h: Don't include <assert.h>.
8500 (elf_get_dynamic_info): Moved to ...
8501 * elf/get-dynamic-info.h: Here. New file.
8502 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8503 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8504 * elf/setup-vdso.h: Here. New file.
8505 * elf/rtld.c: Include "setup-vdso.h".
8506 (dl_main): Call setup_vdso.
8508 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8510 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8511 creal in comment listing functions tested. List finite, isinf,
8512 isnan, isless, islessequal, isgreater, isgreaterequal,
8513 islessgreater, isunordered, lgamma_r and pow10 as functions and
8514 macros not tested. Mention which functions not tested are aliases
8515 for other functions. Fix typo. Note that signs of NaNs are not
8518 * scripts/config.guess: Update from config.git.
8519 * scripts/config.sub: Likewise.
8521 2012-10-04 Roland McGrath <roland@hack.frob.com>
8523 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8524 * misc/madvise.c (madvise): Renamed to __madvise.
8525 Make madvise a weak alias.
8526 * include/sys/mman.h: Declare __madvise.
8527 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8528 * sysdeps/unix/syscalls.list
8529 (madvise): Make __madvise the strong name, and madvise a weak alias.
8530 * sysdeps/unix/sysv/linux/syscalls.list
8531 (madvise, mmap): Remove redundant entries.
8532 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8533 * malloc/malloc.c (mtrim): Likewise.
8534 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8536 2012-10-03 Roland McGrath <roland@hack.frob.com>
8538 * sysdeps/mach/hurd/dl-cache.c: File removed.
8539 * config.h.in (USE_LDCONFIG): New #undef.
8540 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8541 * configure: Regenerated.
8542 * elf/Makefile (dl-routines): Add dl-cache only under
8543 [$(use-ldconfig) = yes].
8544 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8545 cache on [USE_LDCONFIG].
8546 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8548 * elf/rtld.c (dl_main): Likewise.
8550 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8552 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8553 _SC_LEVEL4_CACHE_LINESIZE.
8555 2012-10-03 Roland McGrath <roland@hack.frob.com>
8557 * sysdeps/unix/bsd/confstr.h: File removed.
8559 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8561 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8564 2012-10-02 Roland McGrath <roland@hack.frob.com>
8566 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8567 Make 'mapoff' field ElfW(Off) rather than off_t.
8569 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8571 * nscd/Makefile: Remove nscd-cflags and all its users.
8572 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8573 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8576 * malloc.c (malloc_printerr): Clarify error message.
8578 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8582 Set bit_FMA_Usable if FMA is supported.
8583 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8585 (bit_FMA4_Usable): Updated.
8586 (index_FMA_Usable): New macro.
8587 (CPUID_FMA): Likewise
8588 (HAS_FMA): Defined with bit_FMA_Usable.
8590 2012-10-01 Roland McGrath <roland@hack.frob.com>
8592 * bits/types.h (__swblk_t): Type removed.
8593 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8594 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8595 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8596 (__SWBLK_T_TYPE): Likewise.
8597 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8598 (__SWBLK_T_TYPE): Likewise.
8599 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8600 (__SWBLK_T_TYPE): Likewise.
8601 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8602 (__SWBLK_T_TYPE): Likewise.
8604 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8605 Honza Horak <hhorak@redhat.com>
8607 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8608 (xdr_mapname): Use YPMAXMAP as maxsize.
8609 (xdr_peername): Use YPMAXPEER as maxsize.
8610 (xdr_keydat): Use YPAXRECORD as maxsize.
8611 (xdr_valdat): Use YPMAXRECORD as maxsize.
8613 2012-10-01 Roland McGrath <roland@hack.frob.com>
8615 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8617 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8618 * csu/init-first.c: ... here.
8619 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8620 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8621 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8622 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8623 * sysdeps/i386/init-first.c: File removed.
8624 * sysdeps/sh/init-first.c: File removed.
8626 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8630 if x * y might underflow to zero and z is zero.
8631 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8632 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8633 * math/libm-test.inc (min_subnorm_value): New variable.
8634 (fma_test): Add more tests.
8635 (fma_test_towardzero): Likewise.
8636 (fma_test_downward): Likewise
8637 (fma_test_upward): Likewise.
8638 (initialize): Set min_subnorm_value.
8640 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8645 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8646 mode for addition resulting in exact zero.
8647 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8648 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8650 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8651 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8652 * math/libm-test.inc (fma_test): Add more tests.
8653 (fma_test_towardzero): New function.
8654 (fma_test_downward): Likewise.
8655 (fma_test_upward): Likewise.
8656 (main): Call the new functions.
8658 2012-09-28 David S. Miller <davem@davemloft.net>
8660 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8662 2012-09-28 Roland McGrath <roland@hack.frob.com>
8664 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8667 * sysdeps/gnu/_G_config.h: Moved to ...
8668 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8669 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8670 * sysdeps/generic/_G_config.h: ... here.
8672 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8674 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8676 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8677 Conditionalize target on [libnss_test1.so-version].
8679 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8681 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8682 (elfobjdir): Move out of conditionals.
8684 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8685 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8686 (__nss_lookup_function): Conditionalize label remove_from_tree on
8687 [!DO_STATIC_NSS || SHARED], matching its only use.
8689 2012-09-28 David S. Miller <davem@davemloft.net>
8691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8692 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8694 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8696 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8697 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8698 when HWCAP_SPARC_CRYPTO is present.
8700 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8702 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8704 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8707 * stdio-common/vfprintf.c (process_string_arg): Revert
8710 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8712 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8714 * stdio-common/tst-sprintf.c: Include <locale.h>
8715 (main): Test sprintf's handling of incomplete multibyte
8718 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8720 * elf/dl-runtime.c (VERSYMIDX): Removed.
8721 * elf/dl-version.c (VERSYMIDX): Likewise.
8722 * elf/do-rel.h (VERSYMIDX): Likewise.
8724 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8725 * elf/rtld.c (VALIDX): Likewise.
8726 (ADDRIDX): Likewise.
8727 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8728 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8729 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8730 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8732 (ADDRIDX): Likewise.
8734 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8736 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8738 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8741 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8743 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8744 addresses are in the same scope as 192.0.2/24.
8745 * posix/gai.conf: Document new scope table defaults.
8747 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8750 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8751 for ftell. Compute offsets from write pointers instead.
8752 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8754 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8757 * libio/Makefile (tests): New test case tst-fseek.
8758 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8759 combination works in wide mode.
8760 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8761 state when the external buffer state changes.
8763 2012-09-27 David S. Miller <davem@davemloft.net>
8766 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8767 pass reloc->r_addend in as the 'high' argument to
8768 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8772 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8774 * rt/tst-aio2.c: Include <pthread.h>.
8775 * rt/tst-aio3.c: Likewise.
8777 2012-09-27 Steve Ellcey <sellcey@mips.com>
8779 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8781 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8783 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8784 contents on [SHARED].
8786 2012-09-26 Marek Polacek <polacek@redhat.com>
8790 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8791 for C++ and GCC <4.3 as well as for non GCC compilers.
8793 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8797 2012-09-25 Roland McGrath <roland@hack.frob.com>
8799 * Makefile.in (all, install): Declare with .PHONY.
8800 Reported by Michael Hope <michael.hope@linaro.org>.
8802 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8804 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8805 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8807 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8809 (sydep_routines): Add the new and the internal functions.
8810 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8811 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8813 (GLIBC_2.17): Add the new function.
8814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8815 (GLIBC_2.17): Likewise.
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8817 (GLIBC_2.17): Likewise.
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8819 (GLIBC_2.17): Likewise.
8820 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8822 2012-09-25 Alan Modra <amodra@gmail.com>
8824 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8825 Add release barrier before setting once_control to say
8826 initialisation is done. Add hints on lwarx. Use macro in
8828 (clear_once_control): Add release barrier.
8830 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8833 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8835 * math/s_clog10.c (__clog10): Likewise.
8836 * math/s_clog10f.c (__clog10f): Likewise.
8837 * math/s_clog10l.c (__clog10l): Likewise.
8838 * math/s_clogf.c (__clogf): Likewise.
8839 * math/s_clogl.c (__clogl): Likewise.
8840 * math/Makefile (libm-calls): Add x2y2m1.
8841 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8842 (__x2y2m1): Likewise.
8843 (__x2y2m1l): Likewise.
8844 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8845 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8848 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8849 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8850 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8851 * sysdeps/i386/fpu/libm-test-ulps: Update.
8852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8855 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8856 int as type of variable DEPTH.
8857 (glob): Use size_t instead of int as type of variables NEWCOUNT
8860 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8862 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8864 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8865 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8866 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8867 macros for using routine as __sincosf_ia32.
8868 Use macro for function declaration and weak_alias.
8869 * sysdeps/i386/fpu/libm-test-ulps: Update.
8871 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8874 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8876 * math/s_cexpf.c (__cexpf): Likewise.
8877 * math/s_csinf.c (__csinf): Likewise.
8878 * math/s_csinhf.c (__csinhf): Likewise.
8879 * math/s_ctanf.c (__ctanf): Likewise.
8880 * math/s_ctanhf.c (__ctanhf): Likewise.
8881 * math/s_ccosh.c (__ccoshf): Likewise.
8882 * math/s_cexp.c (__cexpl): Likewise.
8883 * math/s_csin.c (__csin): Likewise.
8884 * math/s_csinh.c (__csinh): Likewise.
8885 * math/s_ctan.c (__ctan): Likewise.
8886 * math/s_ctanh.c (ctanh): Likewise.
8887 * math/s_ccoshl.c (__ccoshl): Likewise.
8888 * math/s_cexpl.c (__cexpl): Likewise.
8889 * math/s_csinl.c (__csinl): Likewise.
8890 * math/s_csinhl.c (__csinhl): Likewise.
8891 * math/s_ctanl.c (__ctanl): Likewise.
8892 * math/s_ctanhl.c (__ctanhl): Likewise.
8894 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8896 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8897 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8898 (_IO_off_t): Define to __off_t, not _G_off_t.
8899 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8900 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8901 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8902 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8903 type of __dummy and __dummy2 fields.
8904 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8905 (_G_ssize_t): Likewise.
8906 (_G_off_t): Likewise.
8907 (_G_pid_t): Likewise.
8908 (_G_uid_t): Likewise.
8909 (_G_wchar_t): Likewise.
8910 (_G_wint_t): Likewise.
8911 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8912 (_G_ssize_t): Likewise.
8913 (_G_off_t): Likewise.
8914 (_G_pid_t): Likewise.
8915 (_G_uid_t): Likewise.
8916 (_G_wchar_t): Likewise.
8917 (_G_wint_t): Likewise.
8918 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8919 (_G_ssize_t): Likewise.
8920 (_G_off_t): Likewise.
8921 (_G_pid_t): Likewise.
8922 (_G_uid_t): Likewise.
8923 (_G_wchar_t): Likewise.
8924 (_G_wint_t): Likewise.
8926 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8928 * malloc/arena.c: Include malloc-sysdep.h.
8929 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8930 is sufficient to shrink the heap or an unmap is needed.
8931 * sysdeps/generic/malloc-sysdep.h: New file. Define
8932 new function check_may_shrink_heap.
8933 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8934 new function check_may_shrink_heap.
8936 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8938 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8941 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8943 * catgets/test-gencat.sh: Add "set -e".
8944 * elf/tst-pathopt.sh: Likewise.
8945 * grp/tst_fgetgrent.sh: Likewise.
8946 * iconvdata/run-iconv-test.sh: Likewise.
8947 * intl/tst-gettext.sh: Likewise.
8948 * intl/tst-gettext2.sh: Likewise.
8949 * intl/tst-gettext4.sh: Likewise.
8950 * intl/tst-gettext6.sh: Likewise.
8951 * intl/tst-translit.sh: Likewise.
8952 * io/ftwtest-sh: Likewise.
8953 * libio/test-freopen.sh: Likewise.
8954 * malloc/tst-mtrace.sh: Likewise.
8955 * posix/globtest.sh: Likewise.
8956 * posix/tst-getconf.sh: Likewise.
8957 * posix/wordexp-tst.sh: Likewise.
8958 * stdio-common/tst-printf.sh: Likewise.
8959 * stdio-common/tst-unbputc.sh: Likewise.
8960 * stdlib/tst-fmtmsg.sh: Likewise.
8961 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8962 * catgets/Makefile: Do not specify -e option when running
8963 testsuite shell scripts.
8964 * elf/Makefile: Likewise.
8965 * grp/Makefile: Likewise.
8966 * iconvdata/Makefile: Likewise.
8967 * intl/Makefile: Likewise.
8968 * io/Makefile: Likewise.
8969 * libio/Makefile: Likewise.
8970 * malloc/Makefile: Likewise.
8971 * posix/Makefile: Likewise.
8972 * stdio-common/Makefile: Likewise.
8973 * stdlib/Makefile: Likewise.
8974 * sysdeps/x86_64/Makefile: Likewise.
8976 * io/ftwtest-sh: Add copyright header.
8977 * posix/globtest.sh: Likewise.
8978 * posix/tst-getconf.sh: Likewise.
8979 * posix/wordexp-tst.sh: Likewise.
8980 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8982 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8985 * Makeconfig (+link): Defined as $(+link-static) if
8986 $(build-shared) isn't yes.
8987 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8989 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8991 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8994 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8995 new chunk size with MALLOC_ALIGN_MASK.
8997 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9000 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9002 (__printf_fphex): Determine rounding using get_rounding_mode and
9004 * stdio-common/tst-printf-round.c (struct hex_test): New
9006 (hex_tests): New variable.
9007 (test_hex_in_one_mode): New function.
9008 (do_test): Also run tests for hex float output.
9010 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9012 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9013 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9014 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9015 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9016 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9017 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9018 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9019 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9021 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9023 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9024 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9025 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9026 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9028 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9031 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9033 * elf/tst-rtld-load-self.sh: New test.
9034 * elf/Makefile: Run it.
9036 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9038 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9039 (tst-writev-ENV): Remove.
9040 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9042 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9044 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9046 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9048 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9050 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9052 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9053 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9054 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9057 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9060 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9061 * config.make.in (have-cpp-asm-debuginfo): Removed.
9062 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9063 * configure: Regenerated.
9065 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9068 * stdio-common/printf_fp.c: Include <stdbool.h> and
9070 (___printf_fp): Determine rounding using get_rounding_mode and
9072 * stdio-common/tst-printf-round.c: New file.
9073 * stdio-common/Makefile (tests): Add tst-printf-round.
9074 (link-libm): New variable.
9075 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9077 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9080 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9081 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9083 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9086 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9088 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9089 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9090 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9091 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9093 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9096 * include/rounding-mode.h: New file.
9097 * sysdeps/generic/get-rounding-mode.h: Likewise.
9098 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9099 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9100 (MAX_VALUE): New macro.
9101 (MIN_VALUE): Likewise.
9102 (overflow_value): New function.
9103 (underflow_value): Likewise.
9104 (round_and_return): Use overflow_value and underflow_value to
9105 determine return values in overflow and underflow cases. Use
9106 round_away to determine rounding depending on rounding mode.
9107 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9108 determine return values in overflow and underflow cases.
9109 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9110 (struct test_results): New structure.
9111 (struct test): Use struct test_results to store expected results
9112 for all rounding modes.
9113 (TEST): Include expected results for all rounding modes.
9114 (test_in_one_mode): New function.
9115 (do_test): Use test_in_one_mode to compute and check results.
9116 Check results for all rounding modes.
9117 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9120 2012-12-09 Allan McRae <allan@archlinux.org>
9122 * sysdeps/i386/fpu/libm-test-ulps: Update
9124 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9126 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9127 (_G_int32_t): Likewise.
9128 (_G_uint16_t): Likewise.
9129 (_G_uint32_t): Likewise.
9130 (_G_HAVE_BOOL): Likewise.
9131 (_G_HAVE_ATEXIT): Likewise.
9132 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9133 (_G_HAVE_IO_FILE_OPEN): Likewise.
9134 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9135 (_G_int32_t): Likewise.
9136 (_G_uint16_t): Likewise.
9137 (_G_uint32_t): Likewise.
9138 (_G_HAVE_BOOL): Likewise.
9139 (_G_HAVE_ATEXIT): Likewise.
9140 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9141 (_G_HAVE_IO_FILE_OPEN): Likewise.
9142 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9143 (_G_int32_t): Likewise.
9144 (_G_uint16_t): Likewise.
9145 (_G_uint32_t): Likewise.
9146 (_G_HAVE_BOOL): Likewise.
9147 (_G_HAVE_ATEXIT): Likewise.
9148 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9149 (_G_HAVE_IO_FILE_OPEN): Likewise.
9151 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9153 * csu/libc-tls.c: Update copyright years.
9155 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9157 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9158 [!_G_USING_THUNKS]: Remove conditional code.
9159 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9160 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9162 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9163 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9164 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9165 (_G_VTABLE_LABEL_PREFIX): Likewise.
9166 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9167 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9168 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9169 (_G_VTABLE_LABEL_PREFIX): Likewise.
9170 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9171 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9172 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9173 (_G_VTABLE_LABEL_PREFIX): Likewise.
9174 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9176 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9178 * libio/Makefile: Include ../Makeconfig before tests.
9179 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9180 only if $(build-shared) is yes.
9182 * iconv/gconv_db.c: Update copyright years.
9184 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9186 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9187 unwind info if defined PIC. Fix special cases description.
9188 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9190 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9192 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9194 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9196 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9198 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9201 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9202 (LDLIBS-tst-chk4): This.
9203 (LDFLAGS-tst-chk5): Renamed to ...
9204 (LDLIBS-tst-chk5): This.
9205 (LDFLAGS-tst-chk6): Renamed to ...
9206 (LDLIBS-tst-chk6): This.
9207 (LDFLAGS-tst-lfschk4): Renamed to ...
9208 (LDLIBS-tst-lfschk4): This.
9209 (LDFLAGS-tst-lfschk5): Renamed to ...
9210 (LDLIBS-tst-lfschk5): This.
9211 (LDFLAGS-tst-lfschk6): Renamed to ...
9212 (LDLIBS-tst-lfschk6): This.
9214 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9215 on $(common-objpfx)soversions.mk.
9217 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9220 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9223 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9225 * malloc/arena.c (arena_get_retry): New function that gets
9226 another arena for the caller to try its request on.
9227 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9228 current arena cannot fulfill the request.
9229 (__libc_memalign): Likewise.
9230 (__libc_memalign): Likewise.
9231 (__libc_pvalloc): Likewise.
9232 (__libc_calloc): Likewise.
9234 2012-09-05 John Tobey <john.tobey@gmail.com>
9237 * manual/arith.texi (Operations on Complex): Fix description
9240 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9243 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9247 * manual/memory.texi (Memory): Make order of menu items match
9250 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9252 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9253 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9254 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9256 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9258 * csu/libc-tls.c (static_dtv): Renamed to ...
9259 (_dl_static_dtv): This. Make it global.
9260 (_dl_initial_dtv): Removed.
9261 (__libc_setup_tls): Updated.
9262 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9263 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9266 2012-09-06 Petr Machata <pmachata@redhat.com>
9268 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9269 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9270 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9271 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9273 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9276 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9277 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9280 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9283 * Makeconfig (link-static-before-libc): Replace $(+prector)
9285 (link-static-after-libc): Replace $(+postctor) with
9287 (link-bounded): Replace $(+prector)/$(+postctor) with
9288 $(+prectorT)/$(+postctorT).
9289 (+prectorT): New macro.
9290 (+postctorT): Likewise.
9292 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9294 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9295 (round_str): Handle values above the maximum for IBM long double
9297 * stdlib/tst-strtod-round.c (tests): Regenerated.
9299 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9301 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9303 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9304 zarch_nohighgprs around the zarch optimized routines.
9305 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9306 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9307 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9310 2012-09-05 David S. Miller <davem@davemloft.net>
9312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9314 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9315 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9316 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9317 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9320 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9322 * malloc/arena.c: Fold copyright years.
9323 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9325 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9327 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9329 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9331 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9333 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9335 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9336 change internal state upon failure.
9338 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9340 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9341 * malloc/memusage.c (mmap): Likewise.
9342 (mmap64, mremap): Likewise. Adjust name in comment.
9344 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9346 * libio/fileops.c: Fix typos in comments.
9347 * libio/oldfileops.c: Likewise.
9348 * libio/wfileops.c: Likewise.
9350 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9353 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9354 (tst-malloc-usable-ENV): Set environment for test case.
9355 * malloc/hooks.c (malloc_check_get_size): New function to get
9357 * malloc/malloc.c (musable): Use malloc_check_get_size.
9358 * malloc/tst-malloc-usable.c: New test case.
9360 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9362 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9364 2012-09-05 Allan McRae <allan@archlinux.org>
9367 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9368 determine header location.
9369 * configure: Regenerated.
9371 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9373 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9375 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9376 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9380 2012-09-04 David S. Miller <davem@davemloft.net>
9382 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9383 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9384 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9386 2012-09-04 Florian Weimer <fweimer@redhat.com>
9388 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9391 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9393 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9396 * libio/iogetdelim.c: Include <limits.h>.
9397 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9398 + len + 1 would overflow.
9400 2012-09-03 Andreas Jaeger <aj@suse.de>
9402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9403 * sysdeps/i386/fpu/libm-test-ulps: Update.
9405 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9407 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9408 Add s_sinf-sse2, s_conf-sse2.
9410 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9411 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9412 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9413 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9415 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9416 for using routine as __sinf_ia32.
9417 Use macro for function declaration and weak_alias.
9418 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9419 for using routine as __cosf_ia32.
9420 Use macro for function declaration and weak_alias.
9422 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9423 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9425 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9426 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9429 * math/libm-test.inc (cos_test): Add more test cases.
9430 (sin_test): Likewise.
9431 (sincos_test): Likewise.
9433 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9435 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9436 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9438 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9440 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9443 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9444 first element of the GOT.
9445 (elf_machine_load_address): Return the difference between
9446 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9448 2012-09-01 Allan McRae <allan@archlinux.org>
9451 * configure.in (AWK): Require gawk version 3.0 or later.
9452 * configure: Regenerated.
9454 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9456 * sysdeps/unix/sysv/linux/kernel-features.h
9457 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9458 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9459 [__NR_clock_getres]: Make code unconditional.
9460 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9461 (clock_getcpuclockid): Remove code left unreachable by removal of
9463 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9465 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9466 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9467 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9468 Make code unconditional.
9469 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9470 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9471 * sysdeps/unix/sysv/linux/clock_settime.c
9472 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9474 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9475 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9477 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9480 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9481 scripts/test-installation.pl.
9483 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9484 and $ld_so_version if it is set.
9486 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9489 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9490 failure if reading from procfs failed.
9491 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9493 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9495 * sysdeps/unix/sysv/linux/kernel-features.h
9496 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9497 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9498 Remove conditional code.
9499 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9500 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9501 Remove conditional code.
9502 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9503 * sysdeps/unix/sysv/linux/i386/fxstat.c
9504 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9505 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9506 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9507 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9508 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9509 * sysdeps/unix/sysv/linux/i386/lxstat.c
9510 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9511 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9512 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9513 Remove conditional code.
9514 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9515 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9516 Remove conditional code.
9517 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9518 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9519 <kernel-features.h>.
9520 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9522 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9523 Remove conditional code.
9524 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9525 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9528 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9531 * NEWS: Add fixed bug number.
9533 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9536 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9537 underflowing exponent in case of negative sign.
9538 * stdlib/tst-strtod-round-data: Add more tests.
9539 * stdlib/tst-strtod-round.c (tests): Regenerated.
9542 * stdlib/strtod_l.c (NDIG): Remove.
9543 (HEXNDIG): Likewise.
9544 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9545 smallest representable value.
9546 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9547 lie within an exact representation of 1/2 ulp of the result.
9548 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9550 (TENS_P9_IDX): Define unconditionally.
9551 (TENS_P9_SIZE): Likewise.
9552 (TENS_P10_IDX): Likewise.
9553 (TENS_P10_SIZE): Likewise.
9554 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9555 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9556 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9557 entries for 10^2^13 and 10^2^14.
9558 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9559 (TENS_P13_IDX): Define.
9560 (TENS_P13_SIZE): Likewise.
9561 (TENS_P14_IDX): Likewise.
9562 (TENS_P14_SIZE): Likewise.
9563 (_fpioconst_pow10): Change array size to
9564 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9566 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9567 1024]: Add entries for 10^2^13 and 10^2^14.
9568 [LAST_POW10 > _LAST_POW10]: Remove #error.
9569 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9570 (_fpioconst_pow10): Change array size to
9571 FPIOCONST_POW10_ARRAY_SIZE.
9572 * stdlib/gen-fpioconst.c: New file.
9573 * stdlib/gen-tst-strtod-round.c: Likewise.
9574 * stdlib/tst-strtod-round-data: Likewise.
9575 * stdlib/tst-strtod-round.c: Likewise.
9576 * stdlib/Makefile (tests): Add tst-strtod-round.
9579 * stdlib/strtod_l.c: Include <stdint.h>.
9580 (NDEBUG): Do not define.
9581 (round_and_return): Change EXPONENT parameter to type intmax_t.
9582 Rearrange calculations to avoid internal overflow possibilities.
9583 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9584 Rearrange calculations to avoid internal overflow possibilities.
9585 Assert that number fits inside MPNSIZE limbs.
9586 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9587 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9588 calculations and add assertions to avoid internal overflow
9589 possibilities. Add casts to avoid signed/unsigned operations.
9590 * stdlib/tst-strtod-overflow.c: New file.
9591 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9593 2012-08-25 Marek Polacek <polacek@redhat.com>
9595 * time/time.h: Fix some typos in comments.
9597 2012-08-23 Roland McGrath <roland@hack.frob.com>
9599 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9600 * posix/tst-rfc3484-2.c: Likewise.
9601 * posix/tst-rfc3484-3.c: Likewise.
9603 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9605 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9606 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9608 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9610 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9611 #include of fxstatat64.c.
9613 2012-08-22 Roland McGrath <roland@hack.frob.com>
9615 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9616 * shadow/getspent_r.c: Likewise.
9617 * shadow/getspnam.c: Likewise.
9618 * shadow/getspnam_r.c: Likewise.
9619 * gshadow/getsgent.c: Likewise.
9620 * gshadow/getsgent_r.c: Likewise.
9621 * gshadow/getsgnam.c: Likewise.
9622 * gshadow/getsgnam_r.c: Likewise.
9623 * inet/getnetbyad.c: Likewise.
9624 * inet/getnetbyad_r.c: Likewise.
9625 * inet/getnetbynm.c: Likewise.
9626 * inet/getnetbynm_r.c: Likewise.
9627 * inet/getnetent.c: Likewise.
9628 * inet/getnetent_r.c: Likewise.
9629 * inet/getproto.c: Likewise.
9630 * inet/getproto_r.c: Likewise.
9631 * inet/getprtent.c: Likewise.
9632 * inet/getprtent_r.c: Likewise.
9633 * inet/getprtname.c: Likewise.
9634 * inet/getprtname_r.c: Likewise.
9635 * inet/getrpcbyname.c: Likewise.
9636 * inet/getrpcbyname_r.c: Likewise.
9637 * inet/getrpcbynumber.c: Likewise.
9638 * inet/getrpcbynumber_r.c: Likewise.
9639 * inet/getrpcent.c: Likewise.
9640 * inet/getrpcent_r.c: Likewise.
9641 * inet/getaliasent.c: Likewise.
9642 * inet/getaliasent_r.c: Likewise.
9643 * inet/getaliasname.c: Likewise.
9644 * inet/getaliasname_r.c: Likewise.
9645 * nscd/getgrgid_r.c: Likewise.
9646 * nscd/getgrnam_r.c: Likewise.
9647 * nscd/gethstbyad_r.c: Likewise.
9648 * nscd/gethstbynm3_r.c: Likewise.
9649 * nscd/getpwnam_r.c: Likewise.
9650 * nscd/getpwuid_r.c: Likewise.
9651 * nscd/getsrvbynm_r.c: Likewise.
9652 * nscd/getsrvbypt_r.c: Likewise.
9653 * nscd/gai.c: Likewise.
9655 * configure.in (build_nscd): New substituted variable, set
9656 by --disable-build-nscd and defaults to $use_nscd.
9657 * configure: Regenerated.
9658 * config.make.in (build-nscd): New substituted variable.
9659 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9660 Change conditional to require [$(build-nscd) = yes] as well.
9661 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9664 * configure.in (use_nscd): New substituted variable, set by
9665 --disable-nscd. If enabled, define USE_NSCD.
9666 * configure: Regenerated.
9667 * config.h.in: Add USE_NSCD.
9668 * config.make.in (use-nscd): New substituted variable.
9669 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9670 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9671 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9672 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9673 (CFLAGS-getgrnam_r.c): Likewise.
9674 (CFLAGS-initgroups.c): Likewise.
9675 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9676 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9678 * inet/getnetgrent_r.c
9679 (nscd_setnetgrent): New function, broken out of ...
9680 (setnetgrent): ... here. Call it.
9681 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9682 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9683 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9684 * nscd/Makefile (routines, aux): Move definitions after include of
9685 Makeconfig. Conditionalize on [$(use-nscd) != no].
9686 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9687 Conditionalize on [USE_NSCD].
9688 (is_nscd, nscd_init_cb): Likewise.
9689 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9690 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9691 * nss/nss_db/db-init.c: Likewise.
9692 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9694 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9695 (make_request): Use it.
9696 (cache_valid_p): New function.
9697 (__check_pf): Use it.
9698 * NEWS: Add item for --disable-nscd.
9700 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9702 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9703 to support sed >= 4.2.1-20-ga9bf076.
9704 * configure: Regenerated.
9706 2012-08-22 Roland McGrath <roland@hack.frob.com>
9708 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9709 Conditionalize whole body on [IREL].
9711 2012-08-22 Jeff Law <law@redhat.com>
9714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9715 if the family is PF_UNSPEC.
9717 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9719 * Makerules (lib-version): Rename from V.
9720 (install-lib-nosubdir): Change V to lib-version.
9722 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9725 * powerpc32/power6/wcschr.c: New file.
9726 * powerpc32/power6/wcscpy.c: New file.
9727 * powerpc32/power6/wcsrchr.c: New file.
9728 * powerpc64/power6/wcschr.c: New file.
9729 * powerpc64/power6/wcscpy.c: New file.
9730 * powerpc64/power6/wcsrchr.c: New file.
9732 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9734 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9735 (two_way_short_needle): Use it.
9736 * string/strstr.c (AVAILABLE1_USES_J): Define.
9737 * string/strcasestr.c: Likewise.
9739 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9741 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9744 * NEWS: Add an entry.
9745 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9746 define their defaults.
9747 (two_way_short_needle): Detect end-of-string on-the-fly.
9748 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9749 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9750 * string/bug-strcasestr1.c: New test.
9751 * string/Makefile: Run it.
9753 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9756 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9757 the first character.
9759 2012-08-21 Roland McGrath <roland@hack.frob.com>
9761 * csu/elf-init.c (__libc_csu_irel): Function removed.
9762 * csu/libc-start.c (apply_irel): New function.
9763 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9765 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9767 * sysdeps/unix/sysv/linux/kernel-features.h
9768 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9769 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9770 <kernel-features.h>.
9771 [__NR_fadvise64_64]: Make code unconditional.
9772 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9773 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9774 !__NR_fadvise64_64)]: Likewise.
9775 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9776 !__NR_fadvise64_64))]: Likewise.
9777 [__NR_fadvise64]: Make code unconditional.
9778 [!__NR_fadvise64]: Remove conditional code.
9779 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9780 <kernel-features.h>.
9781 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9783 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9786 not include <kernel-features.h>.
9787 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9789 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9791 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9792 include <kernel-features.h>.
9793 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9795 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9798 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9800 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9801 slight instruction rearrangements per scrollpipe analysis.
9802 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9804 2012-08-20 Roland McGrath <roland@hack.frob.com>
9806 * manual/syslog.texi (syslog; vsyslog, closelog):
9807 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9808 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9810 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9811 DSOCAPS to match condition on defining it.
9813 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9815 * sysdeps/unix/sysv/linux/kernel-features.h
9816 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9818 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9819 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9821 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9822 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9824 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9825 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9827 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9828 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9830 * sysdeps/unix/sysv/linux/kernel-features.h
9831 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9832 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9834 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9835 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9836 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9837 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9838 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9839 Make code unconditional.
9840 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9841 (__mmap64) [!__NR_mmap2]: Likewise.
9842 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9843 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9844 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9845 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9846 [__NR_mmap2]: Make code unconditional.
9847 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9848 (__mmap64) [!__NR_mmap2]: Likewise.
9850 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9852 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9854 2012-08-18 Andreas Jaeger <aj@suse.de>
9856 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9858 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9860 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9861 * include/unistd.h (__have_sock_cloexec): Likewise.
9862 (__have_pipe2): Likewise.
9863 (__have_dup3): Likewise.
9865 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9868 * include/unistd.h (__have_pipe2): Change define into an extern int.
9869 (__have_dup3): Likewise.
9870 * socket/have_sock_cloexec.c: Include fcntl.h.
9871 (__have_pipe2): New variable.
9872 (__have_dup3): Likewise.
9874 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9876 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9878 2012-08-17 Marek Polacek <polacek@redhat.com>
9880 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9881 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9883 2012-08-17 Roland McGrath <roland@hack.frob.com>
9885 * configure.in: Add AC_SUBST for sysheaders.
9886 * configure: Regenerated.
9887 * config.make.in (sysheaders): New substituted variable.
9889 * sysdeps/unix/mkfifo.c: Moved ...
9890 * sysdeps/posix/mkfifo.c: ... here.
9891 * sysdeps/unix/mkfifoat.c: Moved ...
9892 * sysdeps/posix/mkfifoat.c: ... here.
9894 * sysdeps/unix/utime.c: Moved ...
9895 * sysdeps/posix/utime.c: ... here.
9897 * sysdeps/unix/time.c: Moved ...
9898 * sysdeps/posix/time.c: ... here.
9899 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9900 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9902 * sysdeps/unix/nice.c: Moved ...
9903 * sysdeps/posix/nice.c: ... here.
9905 * sysdeps/unix/alarm.c: Moved ...
9906 * sysdeps/posix/alarm.c: ... here.
9908 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9910 2012-08-17 Jeff Law <law@redhat.com>
9912 * intl/Makefile (codeset_mo): New variable.
9913 ($(codeset_mo)): New target.
9914 (tst-codeset.out): Depend on that. Remove explicit rule.
9915 (tst-gettext3.out, tst-gettext5.out): Likewise.
9916 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9917 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9918 * intl/tst-codeset.sh: Remove.
9919 * intl/tst-gettext3.sh: Likewise.
9920 * intl/tst-gettext5.sh: Likewise.
9922 2012-08-17 Roland McGrath <roland@hack.frob.com>
9924 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9925 * sysdeps/unix/syscalls.list: ... here.
9927 * sysdeps/posix/getaddrinfo.c
9928 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9929 (gaiconf_init, gaiconf_reload): Use them.
9931 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9932 Define using time_t rather than struct timespec.
9934 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9935 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9937 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9939 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9940 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9943 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9944 __libc_cleanup_push argument.
9946 * bits/param.h: New file.
9947 * misc/sys/param.h: New file.
9948 * include/sys/param.h: New file.
9949 * misc/Makefile (headers): Add bits/param.h.
9950 * sysdeps/generic/sys/param.h: File removed.
9951 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9952 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9953 * sysdeps/mach/hurd/bits/param.h: New file.
9954 * sysdeps/mach/hurd/sys/param.h: File removed.
9956 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9959 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9961 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9962 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9965 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9966 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9967 rather than -D_IO_MTSAFE_IO conditionally.
9968 * stdio-common/Makefile (CPPFLAGS): Likewise.
9969 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9970 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9971 Use $(libio-mtsafe).
9972 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9974 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9975 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9976 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9977 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9978 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9979 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9980 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9981 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9982 (CFLAGS-fread_u_chk.c): Likewise.
9983 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9984 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9985 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9986 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9987 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9988 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9989 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9990 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9991 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9993 * libio/Makefile: Test [$(libc-reentrant) = yes]
9994 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9997 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9998 * sysdeps/pthread/configure: File removed.
9999 * sysdeps/pthread/Makeconfig: New file.
10000 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10001 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10003 2012-08-16 Gary Benson <gbenson@redhat.com>
10005 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10006 unmapping the first object in a namespace.
10008 2012-08-16 Roland McGrath <roland@hack.frob.com>
10010 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10011 (__internal_setnetgrent): ... this. Add internal_function to
10012 definition. Add libc_hidden_def.
10013 (setnetgrent): Update caller.
10014 (internal_endnetgrent): Renamed to ...
10015 (__internal_endnetgrent): ... this. Add internal_function to
10016 definition. Add libc_hidden_def.
10017 (endnetgrent): Update caller.
10018 (internal_getnetgrent_r): Renamed to ...
10019 (__internal_getnetgrent_r): ... this. Add internal_function to
10020 definition. Add libc_hidden_def.
10021 (__getnetgrent_r): Update caller.
10022 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10024 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10026 * stdlib/longlong.h: Update from GCC.
10028 2012-08-16 Roland McGrath <roland@hack.frob.com>
10030 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10031 on _QL, which is set by umul_ppmm but never used.
10032 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10033 variables, which are set by GMP macros but never used.
10034 * stdio-common/_itowa.c (_itowa): Likewise.
10035 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10036 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10038 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10040 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10041 struct La_sh_regs is not constant.
10042 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10043 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10044 and struct La_sparc64_regs are not constant.
10046 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10048 * sysdeps/unix/sysv/linux/kernel-features.h
10049 (__ASSUME_POSIX_TIMERS): Remove.
10050 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10051 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10052 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10053 Make code unconditional.
10054 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10055 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10056 Make code unconditional.
10057 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10058 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10059 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10060 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10061 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10062 Make code unconditional.
10063 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10064 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10065 (__libc_missing_posix_timers): Remove.
10067 2012-08-15 Roland McGrath <roland@hack.frob.com>
10069 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10070 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10072 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10074 * elf/dl-sym.c: Include <stdlib.h>.
10076 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10077 constants, which avoids warnings in 32-bit builds.
10079 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10080 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10082 * misc/lseek.c: File moved to ...
10083 * io/lseek.c: ... here.
10085 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10087 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10088 shifting LEN more than 31 bits at once.
10090 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10093 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10094 segmentation fault for a case of two empty input strings.
10095 * string/test-strncasecmp.c (check1): Renamed to...
10096 (bz12205): ...this.
10097 (bz14195): Add new testcase for two empty input strings and N > 0.
10098 (test_main): Call new testcase, adapt for renamed function.
10100 2012-08-15 Andreas Jaeger <aj@suse.de>
10103 * crypt/md5test2.c: New test, based on test supplied by Serge
10104 Belyshev <belyshev@depni.sinp.msu.ru>.
10105 * crypt/Makefile (xtests): Add md5test-giant..
10106 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10108 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10111 * crypt/md5.c (md5_process_block): Don't assume the buffer
10112 length is less than 2**32.
10113 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10114 length is less than 2**64.
10116 2012-08-15 Roland McGrath <roland@hack.frob.com>
10118 * string/str-two-way.h: Include <sys/param.h>.
10119 (MAX): Macro removed.
10121 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10122 Move #define and #undef of memmove to just before and after
10123 including <string.h>.
10125 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10126 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10127 and after including <string.h>. Move declarations of
10128 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10129 to before #include "string/memmove.c".
10131 * include/dirent.h: Declare __getdirentries.
10133 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10134 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10136 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10138 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10139 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10140 * sysdeps/i386/configure: Regenerated.
10141 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10142 STABS_CURRENT_FILE, and STABS_FUN.
10143 (END): Remove call to STABS_FUN_END.
10144 (STABS_CURRENT_FILE1): Delete.
10145 (STABS_CURRENT_FILE): Likewise.
10146 (STABS_FUN): Likewise.
10147 (STABS_FUN_END): Likewise.
10148 (STABS_FUN2): Likewise.
10149 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10150 * sysdeps/x86_64/configure: Regenerated.
10152 2012-08-14 Roland McGrath <roland@hack.frob.com>
10154 * elf/dl-open.c: Include <atomic.h>.
10155 * elf/dl-lookup.c: Likewise.
10157 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10159 * sysdeps/unix/sysv/linux/kernel-features.h
10160 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10161 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10163 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10165 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10166 condition on __ASSUME_CLONE_THREAD_FLAGS.
10168 2012-08-14 Andreas Jaeger <aj@suse.de>
10170 * sysdeps/i386/fpu/libm-test-ulps: Update.
10172 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10174 * include/atomic.h (atomic_exchange_and_add): Split into ...
10175 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10178 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10182 2012-08-13 Jeff Law <law@redhat.com>
10184 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10185 null byte in the output string.
10187 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10189 * sysdeps/unix/sysv/linux/kernel-features.h
10190 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10191 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10192 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10193 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10194 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10195 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10196 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10198 2012-08-09 Jeff Law <law@redhat.com>
10201 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10202 When avoid_arena is set, don't retry in the that arena. Pick the
10203 next one, whatever it might be.
10204 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10205 (arena_lock): Pass in new parameter to arena_get2.
10206 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10208 (__libc_malloc): Unify retrying after main arena failure with
10209 __libc_memalign version.
10210 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10212 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10215 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10216 to __redirect_strstr.
10217 (__strstr_sse42): Use typeof __redirect_strstr.
10218 (__strstr_ia32): Likewise.
10219 (__libc_strstr): New prototype.
10220 (strstr): Renamed to ...
10221 (__libc_strstr): This.
10222 (strstr): New strong alias of __libc_strstr.
10223 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10224 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10227 (__libc_time): New prototype.
10228 (time_ifunc): Replace time with __libc_time.
10229 (time): New strong alias and hidden definition of __libc_time.
10230 (__GI_time): Remove strong alias.
10231 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10232 Include <stddef.h>.
10233 (memmove): Redefined to __redirect_memmove.
10234 (__memmove_sse2): Use typeof __redirect_memmove.
10235 (__memmove_ssse3): Likewise.
10236 (__memmove_ssse3_back): Likewise.
10237 (__libc_memmove): New prototype.
10238 (memmove): Renamed to ...
10239 (__libc_memmove): This.
10240 (memmove): New strong alias of __libc_memmove.
10242 2012-08-08 Mark Salter <msalter@redhat.com>
10245 (R_MN10300_TLS_GD): Define.
10246 (R_MN10300_TLS_LD): Likewise.
10247 (R_MN10300_TLS_LDO): Likewise.
10248 (R_MN10300_TLS_GOTIE): Likewise.
10249 (R_MN10300_TLS_IE): Likewise.
10250 (R_MN10300_TLS_LE): Likewise.
10251 (R_MN10300_TLS_DTPMOD): Likewise.
10252 (R_MN10300_TLS_DTPOFF): Likewise.
10253 (R_MN10300_TLS_TPOFF): Likewise.
10254 (R_MN10300_SYM_DIFF): Likewise.
10255 (R_MN10300_ALIGN): Likewise.
10256 (R_MN10300_NUM): Update.
10258 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10260 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10263 2012-08-08 Roland McGrath <roland@hack.frob.com>
10265 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10267 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10268 sysdeps/unix -> sysdeps/posix move.
10269 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10271 2012-08-07 Allan McRae <allan@archlinux.org>
10274 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10275 (SUNOS_CPP): Likewise.
10276 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10278 (open_input): Call CPP using execvp.
10280 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10282 * sysdeps/unix/sysv/linux/kernel-features.h
10283 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10284 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10285 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10286 (__ASSUME_WAITID_SYSCALL): Likewise.
10287 * sysdeps/unix/sysv/linux/dl-execstack.c
10288 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10289 code unconditional.
10290 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10292 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10293 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10294 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10296 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10298 [__ASSUME_WAITID_SYSCALL]: Likewise.
10299 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10301 2012-08-07 Roland McGrath <roland@hack.frob.com>
10303 * sysdeps/unix/closedir.c: Renamed to ...
10304 * sysdeps/posix/closedir.c: ... here.
10305 * sysdeps/unix/dirfd.c: Renamed to ...
10306 * sysdeps/posix/dirfd.c: ... here.
10307 * sysdeps/unix/dirstream.h: Renamed to ...
10308 * sysdeps/posix/dirstream.h: ... here.
10309 * sysdeps/unix/fdopendir.c: Renamed to ...
10310 * sysdeps/posix/fdopendir.c: ... here.
10311 * sysdeps/unix/opendir.c: Renamed to ...
10312 * sysdeps/posix/opendir.c: ... here.
10313 * sysdeps/unix/readdir.c: Renamed to ...
10314 * sysdeps/posix/readdir.c: ... here.
10315 * sysdeps/unix/readdir_r.c: Renamed to ...
10316 * sysdeps/posix/readdir_r.c: ... here.
10317 * sysdeps/unix/rewinddir.c: Renamed to ...
10318 * sysdeps/posix/rewinddir.c: ... here.
10319 * sysdeps/unix/seekdir.c: Renamed to ...
10320 * sysdeps/posix/seekdir.c: ... here.
10321 * sysdeps/unix/telldir.c: Renamed to ...
10322 * sysdeps/posix/telldir.c: ... here.
10323 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10324 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10325 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10326 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10328 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10329 * bits/fcntl.h: ... here.
10331 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10333 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10334 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10335 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10336 (struct flock): Move l_start, l_len to the beginning.
10337 Use __pid_t for l_pid.
10338 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10339 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10340 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10341 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10342 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10343 [__USE_LARGEFILE64] (struct flock64): New type.
10344 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10346 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10347 * bits/dirent.h: ... here.
10349 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10350 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10352 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10354 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10355 Change from 2.6.0 to 2.6.16.
10356 * sysdeps/unix/sysv/linux/configure: Regenerated.
10357 * sysdeps/unix/sysv/linux/kernel-features.h
10358 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10359 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10361 (__ASSUME_UTIMES): Likewise.
10362 (__ASSUME_CLONE_STOPPED): Remove.
10363 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10364 architectures, not kernel version.
10365 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10366 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10367 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10368 (__ASSUME_WAITID_SYSCALL): Likewise.
10369 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10370 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10371 * README: State 2.6.16 as minimum Linux kernel version. Do not
10372 refer to older versions.
10374 2012-08-06 Roland McGrath <roland@hack.frob.com>
10376 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10377 Define alphasort64 as an alias.
10378 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10379 Define versionsort64 as an alias.
10380 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10381 Define scandir64 as an alias.
10382 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10383 Define scandirat64 as an alias.
10384 * dirent/alphasort64.c (alphasort64):
10385 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10386 * dirent/versionsort64.c: Likewise.
10387 * dirent/scandir64.c: Likewise.
10388 * dirent/scandirat64.c: Likewise.
10389 * sysdeps/wordsize-64/alphasort.c: File removed.
10390 * sysdeps/wordsize-64/alphasort64.c: File removed.
10391 * sysdeps/wordsize-64/scandir.c: File removed.
10392 * sysdeps/wordsize-64/scandir64.c: File removed.
10393 * sysdeps/wordsize-64/scandirat.c: File removed.
10394 * sysdeps/wordsize-64/scandirat64.c: File removed.
10395 * sysdeps/wordsize-64/versionsort.c: File removed.
10396 * sysdeps/wordsize-64/versionsort64.c: File removed.
10397 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10398 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10399 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10400 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10401 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10402 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10403 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10404 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10406 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10408 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10409 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10410 [defined __arch64__ || defined __sparcv9]
10411 (__INO_T_MATCHES_INO64_T): New macro.
10412 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10413 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10414 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10415 * sysdeps/unix/sysv/linux/bits/dirent.h
10416 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10417 (_DIRENT_MATCHES_DIRENT64): New macro.
10419 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10420 Define lockf64 as an alias.
10421 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10422 Define fseeko64 as an alias.
10423 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10424 Define ftello64 as an alias.
10425 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10426 Define _IO_fgetpos64 and fgetpos64 as aliases.
10427 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10428 Define _IO_fsetpos64 and fsetpos64 as aliases.
10429 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10430 Conditionalize body on this.
10431 * libio/fseeko64.c: Likewise.
10432 * libio/ftello64.c: Likewise.
10433 * libio/iofgetpos64.c: Likewise.
10434 * libio/iofsetpos64.c: Likewise.
10435 * sysdeps/wordsize-64/lockf.c: File removed.
10436 * sysdeps/wordsize-64/lockf64.c: File removed.
10437 * sysdeps/wordsize-64/fseeko.c: File removed.
10438 * sysdeps/wordsize-64/fseeko64.c: File removed.
10439 * sysdeps/wordsize-64/ftello.c: File removed.
10440 * sysdeps/wordsize-64/ftello64.c: File removed.
10441 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10442 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10443 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10444 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10445 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10446 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10447 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10448 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10449 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10450 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10451 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10452 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10453 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10454 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10456 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10458 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10459 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10460 [defined __arch64__ || defined __sparcv9]
10461 (__OFF_T_MATCHES_OFF64_T): New macro.
10462 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10463 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10465 (__OFF_T_MATCHES_OFF64_T): New macro.
10467 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10469 * stdlib/secure-getenv.c (__secure_getenv): Replace
10470 GLIBC_2_16 with GLIBC_2_17.
10472 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10474 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10475 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10477 2012-08-03 David S. Miller <davem@davemloft.net>
10479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10481 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10483 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10485 (__ASSUME_CORRECT_SI_PID): Likewise.
10486 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10487 (__ASSUME_TMPFS_NAME): Likewise.
10488 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10489 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10490 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10491 (HAVE_AUX_SECURE): Make definition unconditional.
10492 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10493 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10495 2012-08-03 Roland McGrath <roland@hack.frob.com>
10497 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10498 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10499 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10500 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10501 __eloop_threshold instead of SYMLOOP_MAX.
10503 * sysdeps/generic/eloop-threshold.h: New file.
10504 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10506 * elf/chroot_canon.c (chroot_canon): Likewise.
10508 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10511 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10512 Change to 2.6.0 everywhere.
10513 * sysdeps/unix/sysv/linux/configure: Regenerated.
10514 * sysdeps/unix/sysv/linux/kernel-features.h
10515 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10516 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10518 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10519 (__ASSUME_FUTEX_REQUEUE): Remove.
10520 (__ASSUME_STATFS64): Define unconditionally.
10521 (__ASSUME_AT_SECURE): Likewise.
10522 (__ASSUME_CORRECT_SI_PID): Likewise.
10523 (__ASSUME_TGKILL): Define without depending on kernel version for
10525 (__ASSUME_UTIMES): Likewise.
10526 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10528 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10529 (__ASSUME_TMPFS_NAME): Likewise.
10530 * README: Update reference to Linux kernel versions.
10532 2012-08-02 Marek Polacek <polacek@redhat.com>
10535 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10536 libc_cv_asm_type_prefix with %.
10537 * configure: Regenerated.
10538 * include/libc-symbols.h: Remove comment about
10539 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10540 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10541 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10542 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10543 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10544 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10545 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10546 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10547 * elf/tst-unique2mod1.c: Likewise.
10548 * elf/tst-unique1mod2.c: Likewise.
10549 * elf/tst-unique1mod1.c: Likewise.
10550 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10551 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10552 Replace ASM_TYPE_DIRECTIVE with .type.
10553 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10554 * sysdeps/i386/sysdep.h: Likewise.
10555 * sysdeps/x86_64/sysdep.h: Likewise.
10556 * sysdeps/sh/sysdep.h: Likewise.
10557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10558 Do not define ASM_TYPE_DIRECTIVE.
10559 * sysdeps/powerpc/sysdep.h: Likewise.
10560 * sysdeps/powerpc/powerpc32/sysdep.h:
10561 Replace ASM_TYPE_DIRECTIVE with .type.
10562 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10563 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10564 * sysdeps/i386/fpu/e_powf.S: Likewise.
10565 * sysdeps/i386/fpu/e_expl.S: Likewise.
10566 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10567 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10568 * sysdeps/i386/fpu/e_pow.S: Likewise.
10569 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10570 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10571 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10572 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10573 * sysdeps/i386/fpu/e_log2.S: Likewise.
10574 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10575 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10576 * sysdeps/i386/fpu/e_powl.S: Likewise.
10577 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10578 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10579 * sysdeps/i386/fpu/e_logl.S: Likewise.
10580 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10581 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10582 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10583 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10584 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10585 * sysdeps/i386/fpu/e_log.S: Likewise.
10586 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10587 * sysdeps/i386/fpu/e_logf.S: Likewise.
10588 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10589 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10590 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10591 * sysdeps/i386/fpu/e_log10.S: Likewise.
10592 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10593 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10594 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10595 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10596 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10597 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10598 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10599 * sysdeps/i386/i686/strtok.S: Likewise.
10600 * sysdeps/i386/i386-mcount.S: Likewise.
10601 * sysdeps/i386/strtok.S: Likewise.
10602 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10603 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10604 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10605 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10606 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10607 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10608 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10609 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10610 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10611 * sysdeps/x86_64/_mcount.S: Likewise.
10612 * sysdeps/x86_64/strtok.S: Likewise.
10613 * sysdeps/sh/_mcount.S: Likewise.
10615 2012-08-01 Roland McGrath <roland@hack.frob.com>
10617 * libio/iofopen.c: Include <fcntl.h>.
10618 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10619 (_IO_fopen64, fopen64): Define as aliases.
10620 * libio/iofopen64.c: Include <fcntl.h>.
10621 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10622 Conditionalize body on this.
10623 * sysdeps/wordsize-64/iofopen.c: File removed.
10624 * sysdeps/wordsize-64/iofopen64.c: File removed.
10626 2012-08-01 Marek Polacek <polacek@redhat.com>
10628 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10629 Use dlfcn directly instead of a variable.
10630 (binfmt-subdir): Do not define.
10633 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10635 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10636 Remove all definitions.
10637 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10638 <kernel-features.h>.
10639 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10640 (miss_F_GETOWN_EX): Remove all definitions.
10641 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10643 [!__ASSUME_FCNTL64]: Remove conditional code.
10644 [__ASSUME_FCNTL64]: Make code unconditional.
10645 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10646 <kernel-features.h>.
10647 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10648 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10649 (lockf64) [__NR_fcntl64]: Make code unconditional.
10650 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10652 * sysdeps/unix/sysv/linux/kernel-features.h
10653 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10654 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10655 Make code unconditional.
10656 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10657 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10659 [__NR_vfork]: Make code unconditional.
10660 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10661 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10663 [__NR_vfork]: Make code unconditional.
10664 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10665 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10667 2012-08-01 Roland McGrath <roland@hack.frob.com>
10669 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10670 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10672 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10673 Define mkstemp64 as an alias.
10674 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10675 Define mkstemps64 as an alias.
10676 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10677 Define mkostemp64 as an alias.
10678 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10679 Define mkostemps64 as an alias.
10680 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10681 Conditionalize body on this.
10682 * misc/mkostemp64.c: Likewise.
10683 * misc/mkostemps64.c: Likewise.
10684 * misc/mkstemps64.c: Likewise.
10685 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10686 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10687 * sysdeps/wordsize-64/mkostemp.c: File removed.
10688 * sysdeps/wordsize-64/mkstemp.c: File removed.
10689 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10690 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10691 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10692 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10695 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10696 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10697 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10698 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10700 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10701 compat_symbol macros from <shlib-compat.h> rather than the underlying
10702 default_symbol_version and symbol_version macros, so that DEFAULT
10703 lines in shlib-versions are respected.
10704 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10706 2012-08-01 Florian Weimer <fweimer@redhat.com>
10708 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10709 Declare with warn_unused_result.
10710 (setgid, setregid, setegid, setresgid): Likewise.
10711 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10713 * WUR-REPORT: Remove set*id functions.
10715 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10717 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10719 2012-07-31 Roland McGrath <roland@hack.frob.com>
10721 * include/sys/socket.h (__libc_accept, __libc_accept4):
10722 Add attribute_hidden.
10723 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10725 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10727 * inet/getnetgrent_r.c (setup): Likewise.
10729 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10731 2012-07-31 David S. Miller <davem@davemloft.net>
10733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10735 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10738 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10739 value between 1.0 and 2.0 and smaller part has absolute value less
10741 * math/s_clog10.c (__clog10): Likewise.
10742 * math/s_clog10f.c (__clog10f): Likewise.
10743 * math/s_clog10l.c (__clog10l): Likewise.
10744 * math/s_clogf.c (__clogf): Likewise.
10745 * math/s_clogl.c (__clogl): Likewise.
10746 * math/libm-test.inc (clog_test): Add more tests.
10747 (clog10_test): Likewise.
10748 * sysdeps/i386/fpu/libm-test-ulps: Update.
10749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10751 2012-07-31 Florian Weimer <fweimer@redhat.com>
10753 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10754 Exit with zero in case no suitable GID is found, and write a
10755 message to standard error.
10757 2012-07-30 Roland McGrath <roland@hack.frob.com>
10759 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10761 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10762 (MAXPATHLEN): Removed.
10763 (NOGROUP, NODEV): New macros.
10764 (setbit, clrbit, isset, isclr): New macros.
10765 (howmany, roundup, powerof2): New macros.
10766 (DEV_BSIZE): New macro.
10768 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10769 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10771 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10772 definition on [!__NO_LONG_DOUBLE_MATH].
10774 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10775 PTR_MANGLE and PTR_DEMANGLE.
10777 * socket/accept4.c (accept4): Rename to __libc_accept4.
10778 Define accept4 as a weak alias.
10780 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10781 on [_DIRENT_HAVE_D_TYPE].
10782 * io/ftw.c (ftw_dir): Likewise.
10784 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10786 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10788 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10789 Use the BSD numbers rather than the arbitrary ones we had.
10790 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10791 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10792 (SIGXCPU, SIGXFSZ): New macros.
10795 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10796 initializer on [_LIBC_REENTRANT].
10798 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10799 definitions inside [_POSIX_MAPPED_FILES].
10801 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10803 * dirent/opendir.c: Include <fcntl.h>.
10805 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10806 (__libc_getspecific): Likewise.
10807 (__libc_key_create): Likewise.
10809 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10810 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10811 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10812 (tmpfile64): Define as alias.
10813 * sysdeps/wordsize-64/tmpfile.c: File removed.
10814 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10815 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10816 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10818 * stdio-common/vfscanf.c: Include <stdbool.h>.
10819 * nss/makedb.c: Likewise.
10820 * stdio-common/_i18n_number.h: Likewise.
10821 * argp/argp-help.c: Likewise.
10822 * posix/wordexp.c: Likewise.
10823 * sysdeps/posix/spawni.c: Likewise.
10824 * nss/nss_files/files-initgroups.c: Likewise.
10825 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10826 * nss/nss_files/files-initgroups.c: Likewise.
10827 * nss/nss_db/db-netgrp.c: Likewise.
10828 * nss/nss_db/db-initgroups.c: Likewise.
10829 * io/fchmodat.c: Include <sys/stat.h>.
10831 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10832 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10834 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10837 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10838 Add multiple inclusion protection.
10840 2012-07-27 David S. Miller <davem@davemloft.net>
10842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10844 2012-07-27 Gary Benson <gbenson@redhat.com>
10847 * elf/rtld.c: Include <stap-probe.h>.
10848 (dl_main): Added static probes "init_start" and "init_complete".
10849 * elf/dl-load.c: Include <stap-probe.h>.
10850 (lose): Take new parameter "nsid".
10851 Added static probe "map_failed".
10852 (_dl_map_object_from_fd): Pass namespace id to lose.
10853 Added static probe "map_start".
10854 (open_verify): Pass namespace id to lose.
10855 * elf/dl-open.c: Include <stap-probe.h>.
10856 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10857 and "reloc_complete".
10858 * elf/dl-close.c: Include <stap-probe.h>.
10859 (_dl_close_worker): Added static probes "unmap_start" and
10861 * elf/rtld-debugger-interface.txt: New file documenting the above.
10863 2012-07-26 Roland McGrath <roland@hack.frob.com>
10865 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10866 rather than a string variable.
10867 * sunrpc/rpc_main.c (h_output): Likewise.
10868 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10870 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10872 * inet/check_native.c: New file.
10874 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10877 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10878 if larger part has absolute value 1.0.
10879 * math/s_clog10.c (__clog10): Likewise.
10880 * math/s_clog10f.c (__clog10f): Likewise.
10881 * math/s_clog10l.c (__clog10l): Likewise.
10882 * math/s_clogf.c (__clogf): Likewise.
10883 * math/s_clogl.c (__clogl): Likewise.
10884 * math/libm-test.inc (clog_test): Add more tests.
10885 (clog10_test): Likewise.
10886 * sysdeps/i386/fpu/libm-test-ulps: Update.
10887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10889 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10890 (pltexit): Likewise.
10891 (La_regs): Likewise.
10892 (La_retval): Likewise.
10893 (int_retval): Likewise.
10894 Update #error for removed macros to refer only to definitions in
10896 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10898 (pltexit): Likewise.
10899 (La_regs): Likewise.
10900 (La_retval): Likewise.
10901 (int_retval): Likewise.
10902 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10904 (pltexit): Likewise.
10905 (La_regs): Likewise.
10906 (La_retval): Likewise.
10907 (int_retval): Likewise.
10908 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10910 (pltexit): Likewise.
10911 (La_regs): Likewise.
10912 (La_retval): Likewise.
10913 (int_retval): Likewise.
10914 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10916 (pltexit): Likewise.
10917 (La_regs): Likewise.
10918 (La_retval): Likewise.
10919 (int_retval): Likewise.
10920 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10922 (pltexit): Likewise.
10923 (La_regs): Likewise.
10924 (La_retval): Likewise.
10925 (int_retval): Likewise.
10926 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10928 (pltexit): Likewise.
10929 (La_regs): Likewise.
10930 (La_retval): Likewise.
10931 (int_retval): Likewise.
10932 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10933 macro definitions in tst-audit.h.
10934 * sysdeps/i386/tst-audit.h: New file.
10935 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10936 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10937 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10938 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10939 * sysdeps/sh/tst-audit.h: Likewise.
10940 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10941 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10942 * sysdeps/x86_64/tst-audit.h: Likewise.
10944 2012-07-26 Andreas Jaeger <aj@suse.de>
10946 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10949 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10950 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10951 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10953 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10954 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10955 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10957 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10960 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10962 (si_call_addr, si_syscall, si_arch): Define new macro.
10963 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10965 (si_call_addr, si_syscall, si_arch): Define new marcro.
10966 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10968 (si_call_addr, si_syscall, si_arch): Define new macro.
10969 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10971 (si_call_addr, si_syscall, si_arch): Define new macro.
10973 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10976 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10977 Change to 2.4.21 where previously 2.4.1.
10978 * sysdeps/unix/sysv/linux/configure: Regenerated.
10979 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10980 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10981 Linux kernel version.
10982 (__ASSUME_STD_AUXV): Remove.
10983 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10985 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10986 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10987 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10988 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10989 (__ASSUME_NETLINK_SUPPORT): Likewise.
10990 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10991 (__no_netlink_support): Remove conditional definition.
10992 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10994 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10995 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10996 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10997 (if_nameindex_ioctl): Remove.
10998 (if_nameindex_netlink): Do not handle __no_netlink_support.
10999 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11001 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11002 Remove conditional code.
11003 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11005 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11007 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11008 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11009 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11011 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11012 [!__ASSUME_STD_AUXV]: Remove conditional code.
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11014 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11015 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11017 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11018 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11020 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11022 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11023 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11025 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11027 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11030 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11033 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11034 code unconditional.
11035 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11037 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11039 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11042 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11044 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11047 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11048 code unconditional.
11049 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11051 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11053 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11056 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11057 code unconditional.
11058 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11060 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11062 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11065 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11067 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11068 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11069 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11070 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11071 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11072 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11073 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11074 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11075 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11076 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11077 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11078 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11079 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11080 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11081 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11082 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11083 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11084 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11085 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11087 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11088 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11089 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11091 2012-07-25 Florian Weimer <fweimer@redhat.com>
11093 * Versions.def: Add GLIBC_2.17.
11094 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11095 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11096 Introduce __libc_secure_getenv.
11097 * stdlib/Versions (2.17): Add secure_getenv
11098 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11099 * stdlib/secure-getenv.c: Rename __secure_getenv to
11100 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11101 symbol __secure_getenv for GLIBC_2.0.
11102 * stdlib/tst-secure-getenv.c: New.
11103 * stdlib/Makefile (tests): Add testcase.
11104 * manual/startup.texi (Environment Access): Document
11106 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11107 __libc_secure_getenv.
11108 * inet/ruserpass.c (ruserpass): Likewise.
11109 * malloc/mtrace.c (mtrace): Likewise.
11110 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11111 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11112 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11113 * sysdeps/posix/tempname.c: Likewise. Evaluate
11114 HAVE_SECURE_GETENV.
11115 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11116 __secure_getenv to __libc_secure_getenv.
11117 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11124 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11130 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11132 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11133 (struct La_i86_retval): Likewise.
11134 (struct La_x86_64_regs): Likewise.
11135 (struct La_x86_64_retval): Likewise.
11136 (struct La_x32_regs): Likewise.
11137 (struct La_x32_retval): Likewise.
11138 (struct La_ppc32_regs): Likewise.
11139 (struct La_ppc32_retval): Likewise.
11140 (struct La_ppc64_regs): Likewise.
11141 (struct La_ppc64_retval): Likewise.
11142 (struct La_sh_regs): Likewise.
11143 (struct La_sh_retval): Likewise.
11144 (struct La_s390_32_regs): Likewise.
11145 (struct La_s390_32_retval): Likewise.
11146 (struct La_s390_64_regs): Likewise.
11147 (struct La_s390_64_retval): Likewise.
11148 (struct La_sparc32_regs): Likewise.
11149 (struct La_sparc32_retval): Likewise.
11150 (struct La_sparc64_regs): Likewise.
11151 (struct La_sparc64_retval): Likewise.
11152 (struct audit_ifaces): Remove architecture-specific pltenter and
11154 * sysdeps/i386/ldsodefs.h: New file.
11155 * sysdeps/powerpc/ldsodefs.h: Likewise.
11156 * sysdeps/s390/ldsodefs.h: Likewise.
11157 * sysdeps/sh/ldsodefs.h: Likewise.
11158 * sysdeps/sparc/ldsodefs.h: Likewise.
11159 * sysdeps/x86_64/ldsodefs.h: Likewise.
11161 2012-07-25 Marek Polacek <polacek@redhat.com>
11164 * math/libm-test.inc (yn_test): Add another test.
11165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11166 to ERANGE when the result is +-Inf.
11167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11168 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11169 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11170 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11172 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11174 * conform/data/time.h-data (NULL): Use macro-constant. Require
11176 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11178 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11180 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11182 * configure.in <sysdeps resolving>: Correct printing
11184 * configure: Regenerate.
11186 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11188 * math/w_ilogb.c: Include <limits.h>.
11189 * math/w_ilogbl.c: Likewise.
11191 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11193 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11194 va_copy. Document allowing for unavailable va_copy only as
11195 pre-C99 compatibility.
11196 * manual/string.texi (Copying and Concatenation): Use va_copy
11197 instead of __va_copy in concat example.
11199 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11201 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11202 (__sendto): Use create_address_port. Initialize APORT and deallocate
11205 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11206 with O_NOLINK passed to __file_name_lookup.
11208 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11209 with O_NOLINK passed to __file_name_lookup.
11211 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11212 negative N or less than NGIDS.
11214 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11215 type to string_t. Set ERANGE as errno and return it if NAME is not big
11216 enough. Use memcpy instead of strncpy.
11218 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11220 * elf/Makefile (check-data): Remove.
11221 (localplt.data): New vpath directive.
11222 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11223 instead of $(check-data).
11224 * scripts/data/localplt-generic.data: Move to ...
11225 * sysdeps/generic/localplt.data: ... here.
11226 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11227 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11228 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11231 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11234 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11237 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11240 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11243 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11247 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11249 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11250 PPC32 and PPC64 files.
11251 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11252 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11254 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11256 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11257 __makecontext_ret to ...
11258 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11259 ... here and call exit if uc_link is NULL. New file.
11260 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11261 __makecontext_ret.S.
11262 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11263 __makecontext_ret to ...
11264 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11265 ... here and call exit if uc_link is NULL. New file.
11266 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11267 __makecontext_ret.S.
11269 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11271 * elf/elf.h (R_390_IRELATIVE): New definition.
11272 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11273 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11274 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11275 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11276 (elf_machine_lazy_rel): Likewise.
11277 * sysdeps/s390/dl-irel.h: New file.
11278 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11279 * sysdeps/s390/s390-64/memset.S: New asm code.
11280 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11281 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11282 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11283 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11284 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11285 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11286 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11287 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11288 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11289 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11290 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11291 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11292 * sysdeps/s390/s390-32/memset.S: New asm code.
11293 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11295 2012-07-17 Marek Polacek <polacek@redhat.com>
11298 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11299 * sysdeps/s390/s390-64/configure.in: Likewise.
11300 * sysdeps/sparc/configure.in: Likewise.
11301 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11302 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11303 * sysdeps/i386/configure.in: Likewise.
11304 * sysdeps/x86_64/configure.in: Likewise.
11305 * sysdeps/sh/configure.in: Likewise.
11306 * sysdeps/s390/s390-32/configure: Regenerated.
11307 * sysdeps/s390/s390-64/configure: Likewise.
11308 * sysdeps/x86_64/configure: Likewise.
11309 * sysdeps/sh/configure: Likewise.
11310 * sysdeps/powerpc/powerpc64/configure: Likewise.
11311 * sysdeps/powerpc/powerpc32/configure: Likewise.
11312 * sysdeps/sparc/configure: Likwise.
11313 * sysdeps/i386/configure: Likewise.
11315 * elf/dl-open.c: Comment fixes.
11317 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11319 * Makefile [CXX] (check-data): Remove.
11320 [CXX] (c++-types.data): New vpath directive.
11321 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11322 vpath. Do not allow for C++ type data being missing.
11323 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11324 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11325 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11326 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11327 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11328 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11329 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11332 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11335 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11338 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11341 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11344 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11347 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11350 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11353 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11354 definitions to architecture-specific files.
11355 (TLS_IE): Likewise.
11356 (TLS_LD): Likewise.
11357 (TLS_GD): Likewise.
11358 * sysdeps/i386/tls-macros.h: New file.
11359 * sysdeps/powerpc/tls-macros.h: Likewise.
11360 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11361 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11362 * sysdeps/sh/tls-macros.h: Likewise.
11363 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11364 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11365 * sysdeps/x86_64/tls-macros.h: Likewise.
11367 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11369 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11370 zero value for regular exit case.
11372 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11373 (__start_context): Preserve zero value for regular exit case.
11375 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11376 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11378 * manual/setjmp.texi (setcontext): Clarify normal process
11379 termination when uc_link is the null pointer.
11380 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11383 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11385 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11386 preprocessor. Test for each exception mask separately.
11388 2012-07-16 Andreas Jaeger <aj@suse.de>
11390 * po/ru.po: Update from translation team.
11392 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11394 * conform/data/string.h-data (NULL): Use macro-constant. Require
11396 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11397 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11398 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11399 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11400 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11402 2012-07-13 Andreas Jaeger <aj@suse.de>
11404 * po/fr.po: Update from translation team.
11406 2012-07-12 Marek Polacek <polacek@redhat.com>
11409 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11410 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11413 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11417 Change to 2.4.1 where previously 2.4.0.
11418 * sysdeps/unix/sysv/linux/configure: Regenerated.
11419 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11420 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11422 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11423 (__ASSUME_AT_CLKTCK): Remove.
11424 (__ASSUME_AT_PAGESIZE): Likewise.
11425 (__ASSUME_AT_XID): Likewise.
11426 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11427 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11428 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11430 (HAVE_AUX_PAGESIZE): Likewise.
11431 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11432 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11433 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11435 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11439 the temporary buffer used to invoke __gethostbyname2_r,
11440 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11441 host_data / struct gaih_addrtuple.
11442 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11443 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11444 header file nss/nsswitch.h.
11445 * nss/nsswitch.h (global scope): Add definition of implementation
11446 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11447 resolv/nss_dns/dns-host.c).
11449 2012-07-11 Andreas Jaeger <aj@suse.de>
11451 * po/fr.po: Update from translation team.
11453 * po/sv.po: Update from translation team
11454 * po/fr.po: Another update from translation team.
11456 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11458 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11459 for subnormals or multiply small sinh result by itself.
11460 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11463 2012-07-11 David S. Miller <davem@davemloft.net>
11465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11467 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11470 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11471 (INTERNAL_MARK): Shift it here.
11473 2012-07-10 Marek Polacek <polacek@redhat.com>
11476 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11477 libc_cv_asm_global_directive with .globl.
11478 * configure: Regenerated.
11479 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11481 * sysdeps/i386/configure: Regenerated.
11482 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11484 * sysdeps/x86_64/configure: Regenerated.
11485 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11486 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11487 * elf/tst-unique2mod2.c: Likewise.
11488 * elf/tst-unique2mod1.c: Likewise.
11489 * elf/tst-unique1mod2.c: Likewise.
11490 * elf/tst-unique1mod1.c: Likewise.
11491 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11492 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11493 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11494 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11495 * sysdeps/mach/sysdep.h: Likewise.
11496 * sysdeps/i386/sysdep.h: Likewise.
11497 * sysdeps/i386/i386-mcount.S: Likewise.
11498 * sysdeps/x86_64/_mcount.S: Likewise.
11499 * sysdeps/x86_64/sysdep.h: Likewise.
11500 * sysdeps/sh/_mcount.S: Likewise.
11501 * sysdeps/sh/sysdep.h: Likewise.
11502 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11503 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11504 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11505 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11506 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11507 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11508 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11509 * locale/localeinfo.h: Likewise.
11510 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11511 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11513 2012-07-09 Roland McGrath <roland@hack.frob.com>
11516 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11518 * manual/message.texi (The Uniforum approach): Likewise.
11519 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11520 (glibc iconv Implementation): Likewise.
11522 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11525 * math/s_clog.c (__clog): Avoid scaling a value down where that
11526 could result in underflow.
11527 * math/s_clog10.c (__clog10): Likewise.
11528 * math/s_clog10f.c (__clog10f): Likewise.
11529 * math/s_clog10l.c (__clog10l): Likewise.
11530 * math/s_clogf.c (__clogf): Likewise.
11531 * math/s_clogl.c (__clogl): Likewise.
11532 * math/libm-test.inc (clog_test): Add more tests.
11533 (clog10_test): Likewise.
11534 * sysdeps/i386/fpu/libm-test-ulps: Update.
11535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11537 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11540 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11541 by 7 not 8 to examine high bit of fractional part.
11544 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11545 for call to __mcount_internal.
11546 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11547 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11548 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11550 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11553 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11554 approximation for values within 0x1p-13f of an odd multiple of
11556 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11557 exception. Add more tests.
11558 * sysdeps/i386/fpu/libm-test-ulps: Update.
11561 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11562 inputs and return -1 for them. Do not check for +Inf in case not
11563 reachable for +Inf.
11564 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11565 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11566 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11567 and return -1 for them. Do not check for +Inf in case not
11568 reachable for +Inf.
11569 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11571 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11572 and return -1 for them. Do not check for +Inf in case not
11573 reachable for +Inf.
11574 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11575 spurious underflow.
11576 * sysdeps/i386/fpu/libm-test-ulps: Update.
11577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11579 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11581 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11583 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11587 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11588 could result in spurious underflow. Scale down values above
11589 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11590 * math/s_csqrtf.c (__csqrtf): Likewise.
11591 * math/s_csqrtl.c (__csqrtl): Likewise.
11592 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11593 spurious underflow.
11594 * sysdeps/i386/fpu/libm-test-ulps: Update.
11595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11597 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11599 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11601 * catgets/xopen-msg.awk: New file.
11602 * catgets/xopen-msg.sed: Removed.
11604 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11606 * intl/po2test.awk: New file.
11607 * intl/po2test.sed: Removed.
11609 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11612 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11613 or multiply small sinh result by itself.
11614 * math/s_ctanf.c (__ctanf): Likewise.
11615 * math/s_ctanh.c (__ctanh): Likewise.
11616 * math/s_ctanhf.c (__ctanhf): Likewise.
11617 * math/s_ctanhl.c (__ctanhl): Likewise.
11618 * math/s_ctanl.c (__ctanl): Likewise.
11619 * math/libm-test.inc (ctan_test_tonearest): New function.
11620 (ctan_test_towardzero): Likewise.
11621 (ctan_test_downward): Likewise.
11622 (ctan_test_upward): Likewise.
11623 (ctanh_test_tonearest): Likewise.
11624 (ctanh_test_towardzero): Likewise.
11625 (ctanh_test_downward): Likewise.
11626 (ctanh_test_upward): Likewise.
11627 (main): Call these new functions.
11628 * sysdeps/i386/fpu/libm-test-ulps: Update.
11629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11631 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11633 * .gitignore: Delete /ports entry.
11635 2012-07-03 Andreas Jaeger <aj@suse.de>
11637 * po/bg.po: Update from translation team.
11638 * po/cs.po: Likewise.
11639 * po/de.po: Likewise.
11640 * po/hr.po: Likewise.
11641 * po/nl.pl: Likewise.
11642 * po/pl.po: Likewise.
11643 * po/vi.po: Likewise.
11645 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11647 * Makeconfig [!+link] (+link-before-libc): New variable.
11648 [!+link] (+link-after-libc): Likewise.
11649 [!+link] (+link-tests): Likewise.
11650 [!+link] (+link): Define in terms of $(+link-before-libc) and
11651 $(+link-after-libc).
11652 [!+link-static] (+link-static-before-libc): New variable.
11653 [!+link-static] (+link-static-after-libc): Likewise.
11654 [!+link-static] (+link-static-tests): Likewise.
11655 [!+link-static] (+link-static): Define in terms of
11656 $(+link-static-before-libc) and $(+link-static-after-libc).
11657 [build-shared] (link-libc-before-gnulib): New variable.
11658 [build-shared] (link-libc-tests): Likewise.
11659 [build-shared] (link-libc): Define in terms of
11660 $(link-libc-before-gnulib).
11661 [!build-shared] (link-libc-tests): New variable.
11662 (link-libc-static-tests): New variable.
11663 [!gnulib] (gnulib-arch): New variable.
11664 [!gnulib] (gnulib-tests): Likewise.
11665 [!gnulib] (static-gnulib-arch): Likewise.
11666 [!gnulib] (static-gnulib-tests): Likewise.
11667 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11668 Define with "=" instead of ":=".
11669 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11670 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11671 * Rules (binaries-all-notests): New variable.
11672 (binaries-all-tests): Likewise.
11673 (binaries-static-notests): Likewise.
11674 (binaries-static-tests): Likewise.
11675 (binaries-all): Define using $(binaries-all-notests) and
11676 $(binaries-all-tests).
11677 (binaries-static): Define using $(binaries-static-notests) and
11678 $(binaries-static-tests).
11679 (binaries-shared-tests): New variable.
11680 (binaries-shared-notests): Likewise.
11681 (binaries-shared): Remove variable.
11682 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11683 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11684 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11685 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11686 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11687 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11688 * elf/Makefile (sln-modules): New variable.
11689 (extra-objs): Add $(sln-modules:=.o).
11690 (ldconfig-modules): Add static-stubs.
11691 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11692 * elf/static-stubs.c: New file.
11695 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11696 by 7 not 8 to examine high bit of fractional part. Use volatile
11697 variables when splitting into final array of floats if
11698 __FLT_EVAL_METHOD__ != 0.
11699 * math/libm-test.inc (cos_test): Add another test.
11700 (sin_test): Likewise.
11701 * sysdeps/i386/fpu/libm-test-ulps: Update.
11704 * math/libm-test.inc (cosh_test): Add more tests.
11706 * version.h (RELEASE): Set to "development".
11707 (VERSION): Set to "2.16.90".
11709 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11711 * NEWS: Update copyright. Remove last-updated date.
11712 Mention math library bug fixes and timezone data changes.
11713 * README: Mention GNU/Hurd, x32, and HPPA support status.
11715 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11717 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11719 2012-06-27 Andreas Jaeger <aj@suse.de>
11721 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11723 2012-06-25 Andreas Jaeger <aj@suse.de>
11725 * sysdeps/s390/fpu/libm-test-ulps: Update.
11727 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11728 Thomas Schwinge <thomas@codesourcery.com>
11730 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11731 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11735 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11737 * sysdeps/mach/start.c: Remove file.
11738 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11739 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11740 * sysdeps/sh/init-first.c: Likewise.
11742 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11743 registers for frame unwinding purposes, add CFI directives.
11744 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11745 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11746 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11749 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11750 __fortify_fail returning.
11751 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11753 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11754 sysdeps/sh/____longjmp_chk.S.
11755 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11756 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11757 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11758 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11760 * sysdeps/sh/abort-instr.h: New file.
11761 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11762 process in case exit returns.
11764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11765 initialize the GOT register before use.
11767 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11768 calculation of ARGC > 4.
11770 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11771 meaningful names to some local labels.
11773 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11774 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11776 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11777 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11778 (__arch_compare_and_exchange_val_16_acq): Likewise.
11779 (__arch_compare_and_exchange_val_32_acq): Likewise.
11780 (atomic_exchange_and_add): Fix gUSA sequence.
11781 (atomic_add): Likewise.
11782 (atomic_add_negative): Likewise.
11783 (atomic_add_zero): Likewise.
11784 (atomic_bit_test_set): Likewise.
11786 2012-06-22 Andreas Schwab <schwab@redhat.com>
11789 * include/link.h (struct link_map): Add l_free_initfini.
11790 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11792 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11793 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11794 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11797 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11799 * configure.in: Use AC_LANG_SOURCE.
11800 * configure: Regenerate.
11802 2012-06-22 Roland McGrath <roland@hack.frob.com>
11804 * configure.in (libc_cv_localstatedir): New substituted variable.
11805 * configure: Regenerated.
11806 * config.make.in (localstatedir): New variable, substituted from
11807 libc_cv_localstatedir.
11808 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11809 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11810 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11811 * sysdeps/gnu/configure: Regenerated.
11813 2012-06-21 Jeff Law <law@redhat.com>
11816 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11817 free. Simplify list management for _LIBC case.
11819 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11822 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11823 Clear sign bit of 64-bit integer value before comparing against
11826 * sysdeps/mach/configure: Regenerated.
11828 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11831 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11833 2012-06-21 Jeff Law <law@redhat.com>
11836 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11837 uint16_t for elements in the "seen" array to avoid char overflows.
11838 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11839 * elf/dl-open.c (dl_open_worker): Likewise.
11841 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11843 * scripts/list-sources.sh: Scan PORTS for translations.
11844 * po/libc.pot: Regenerated.
11846 2012-06-21 Andreas Jaeger <aj@suse.de>
11849 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11851 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11852 * bits/byteswap-16.h (__bswap_16): Likewise.
11853 * bits/byteswap.h (__bswap_constant_16): Likewise.
11855 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11858 * sysdeps/i386/fpu_control.h: Removed.
11859 * sysdeps/x86_64/fpu_control.h: Moved to ...
11860 * sysdeps/x86/fpu_control.h: Here.
11862 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11863 (_FPU_SETCW): Likewise.
11865 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11868 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11869 * sysdeps/x86/fpu/bits/mathinline.h: This.
11870 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11874 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11875 functions if __x86_64__ is defined.
11877 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11879 * string/endian.h: Add !__ASSEMBLER__ condition for including
11880 conversion interfaces.
11882 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11885 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11886 of ABS(x) in calculating zero to negative powers other than odd
11888 * math/libm-test.inc (pow_test): Add more tests.
11890 2012-06-15 Andreas Jaeger <aj@suse.de>
11892 * manual/contrib.texi (Contributors): Update entry of Liubov
11893 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11896 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11898 * string/string.h: Add __wur to GNU version of strerror_r.
11900 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11903 * string/Makefile (tests): Add tst-strtok_r.
11904 * string/tst-strtok_r.c: New file.
11905 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11906 RAX_LP/RDX_LP on SAVE_PTR.
11908 2012-06-14 Roland McGrath <roland@hack.frob.com>
11910 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11912 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11914 * libm_test.inc (csqrt_test): Allow more spurious underflow
11916 (j0_test): Likewise.
11917 (j1_test): Likewise.
11918 (y0_test): Likewise.
11919 (y1_test): Likewise.
11921 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11923 * po/Makefile (libc.pot): Use UTF-8 charset.
11925 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11928 Suppress sign-conversion warning from FD_SET.
11929 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11930 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11931 not unsigned long int.
11932 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11934 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11938 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11939 __extern_always_inline instead of __extern_inline.
11940 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11941 (__signbit): Likewise.
11942 (__signbitl): Support C++ namespace.
11943 (lrintf): New inline function.
11945 (llrintf): Likewise.
11946 (llrint): Likewise.
11956 (floorf): Likewise.
11957 (nearbyint): Likewise.
11958 (nearbyintf): Likewise.
11960 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11962 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11963 non-default versions.
11965 2012-06-11 Roland McGrath <roland@hack.frob.com>
11968 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11970 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11972 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11973 (FE_UPWARD, FE_DOWNWARD): Don't define.
11974 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11975 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11977 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11979 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11980 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11982 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11984 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11985 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11986 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11987 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11989 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11992 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11993 * sysdeps/i386/fpu/Implies: New file.
11994 * sysdeps/x86_64/fpu/Implies: Likewise.
11995 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11996 * sysdeps/x86/fpu/bits/fenv.h: This.
11998 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12001 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12004 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12005 character 0xffff that matches the last element of the
12008 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12010 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12013 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12016 values higher than 25.6283.
12018 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12020 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12021 subnormal exponent extraction and add some __builtin_expect.
12022 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12023 Fix for subnormal mantissa calculation.
12025 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12027 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12028 cpu2 is -1 and errno is not ENOSYS.
12030 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12033 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12034 * sysdeps/x86/bits/string.h: This.
12035 * sysdeps/x86_64/bits/string.h: Removed.
12037 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12038 if not compiling for x86-64, but compiling for >= i486.
12040 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12041 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12043 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12044 New macro from Linux kernel 3.4.0.
12045 (FP_XSTATE_MAGIC2): Likewise.
12046 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12047 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12048 (struct _fpx_sw_bytes): New struct.
12049 (struct _xsave_hdr): Likewise.
12050 (struct _ymmh_state): Likewise.
12051 (struct _xstate): Likewise.
12053 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12054 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12055 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12056 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12057 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12058 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12060 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12061 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12062 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12063 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12064 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12065 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12067 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12070 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12071 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12072 (sysdep_headers): Include sys/platform/ppc.h.
12073 * sysdeps/powerpc/test-gettimebase.c: Test for
12074 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12075 * manual/Makefile (appendices): Include platform.texi.
12076 * manual/contrib.texi (Contributors): Update @node pointers.
12077 * manual/maint.texi (Maintenance): Likewise.
12078 (Platform): New node.
12079 * manual/platform.texi: New file. Document the new features.
12081 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12082 Jakub Jelinek <jakub@redhat.com>
12085 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12086 where __builtin_expect is unavailable.
12088 2012-06-03 David S. Miller <davem@davemloft.net>
12090 * stdlib/longlong.h: Updated from GCC.
12092 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12095 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12096 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12099 (GLIBC_2.16): Likewise.
12101 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12103 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12105 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12108 (default-abi): New variable.
12109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12110 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12112 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12114 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12116 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12119 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12120 definition. Document in comment.
12122 2012-06-01 David S. Miller <davem@davemloft.net>
12124 * stdlib/longlong.h: Updated from GCC.
12126 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12129 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12130 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12131 sys/debugreg.h sys/io.h here.
12132 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12133 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12135 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12136 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12137 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12138 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12139 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12140 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12142 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12143 Define only if __x86_64__ is defined.
12145 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12148 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12149 Use int64_t for variable i.
12150 * math/libm-test.inc (fmod_test): Add more tests.
12152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12153 z computation is not scheduled after fetestexcept.
12154 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12155 Use math_force_eval instead of asm to ensure calculation scheduled
12156 before exception test.
12157 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12158 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12160 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12163 computation is not scheduled after fetestexcept.
12165 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12168 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12169 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12171 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12173 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12174 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12176 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12179 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12181 (__WCHAR_MIN): Support __WORDSIZE == 64.
12182 (__WCHAR_MAX): Likewise.
12184 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12185 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12188 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12189 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12192 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12193 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12195 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12196 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12198 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12199 Defined to 1 if __x86_64__ isn't defined.
12200 (_STAT_VER_LINUX_OLD): New.
12201 (st_atime): Remove duplicate.
12202 (st_mtime): Likewise.
12203 (st_ctime): Likewise.
12205 2012-05-31 David S. Miller <davem@davemloft.net>
12207 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12210 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12212 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12216 * elf/dl-reloc.c: Include <_itoa.h>.
12217 (_dl_reloc_bad_type): Remove use of INTUSE.
12218 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12219 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12220 * stdio-common/psiginfo.c (psiginfo): Likewise.
12221 * stdio-common/psignal.c (psignal): Likewise.
12222 * string/strsignal.c (strsignal): Likewise.
12223 * include/signal.h (_sys_siglist): Declare hidden proto.
12224 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12225 INTVARDEF with libc_hidden_data_def.
12226 * stdio-common/itoa-udigits.c: Likewise.
12227 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12228 (_itoa_lower_digits_internal): Remove declaration.
12229 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12230 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12231 (_sys_sigabbrev_internal): Remove aliases.
12232 (_sys_siglist): Define hidden alias.
12234 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12239 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12242 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12243 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12245 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12246 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12247 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12248 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12249 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12250 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12252 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12253 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12254 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12256 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12264 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12265 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12266 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12268 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12269 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12270 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12271 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12272 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12273 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12275 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12276 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12278 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12279 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12281 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12282 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12283 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12285 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12286 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12288 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12290 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12291 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12292 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12294 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12296 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12298 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12300 * math/math.h (M_El): Use two more decimal places.
12301 (M_LOG2El): Likewise.
12302 (M_LOG10El): Likewise.
12303 (M_LN2l): Likewise.
12304 (M_LN10l): Likewise.
12306 (M_PI_2l): Likewise.
12307 (M_PI_4l): Likewise.
12308 (M_1_PIl): Likewise.
12309 (M_2_PIl): Likewise.
12310 (M_2_SQRTPIl): Likewise.
12311 (M_SQRT2l): Likewise.
12312 (M_SQRT1_2l): Likewise.
12314 2012-05-31 David S. Miller <davem@davemloft.net>
12316 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12317 values between float registers.
12318 * sysdeps/sparc/sparc64/memset.S: Likewise.
12319 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12321 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12323 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12324 -D_FORTIFY_SOURCE=1.
12325 (CPPFLAGS-tst-longjmp_chk.c): Define.
12326 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12327 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12328 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12329 CFLAGS-tst-wchar-h.c.
12331 2012-05-31 Marek Polacek <polacek@redhat.com>
12334 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12335 __endmntent_internal): Remove declaration.
12336 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12337 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12338 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12340 2012-05-30 David S. Miller <davem@davemloft.net>
12342 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12343 (___Q_simulate_exceptions): Use real FP ops rather than writing
12345 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12348 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12351 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12352 * sysdeps/x86/bits/xtitypes.h: This.
12354 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12355 * sysdeps/x86/bits/wordsize.h: This.
12357 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12358 * sysdeps/x86/bits/huge_vall.h: This.
12360 * sysdeps/i386/bits/select.h: Removed.
12361 * sysdeps/x86_64/bits/select.h: Renamed to ...
12362 * sysdeps/x86/bits/select.h: This.
12364 * sysdeps/i386/bits/setjmp.h: Removed.
12365 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12366 * sysdeps/x86/bits/setjmp.h: This.
12368 * sysdeps/i386/bits/mathdef.h: Removed.
12369 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12370 * sysdeps/x86/bits/mathdef.h: This.
12372 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12375 * include/sys/socket.h (__connect_internal)
12376 (__libc_sa_len_internal): Remove declaration.
12377 (__connect, __libc_sa_len): Declare hidden_proto.
12378 (SA_LEN): Remove use of INTUSE.
12379 * socket/connect.c: Add libc_hidden_def.
12380 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12381 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12382 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12384 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12385 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12386 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12387 of adding _internal alias.
12389 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12392 * sysdeps/i386/bits/link.h: Removed.
12393 * sysdeps/i386/bits/linkmap.h: Likewise.
12394 * sysdeps/x86_64/bits/link.h: Renamed to ...
12395 * sysdeps/x86/bits/link.h: This.
12396 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12397 * sysdeps/x86/bits/linkmap.h: This.
12399 * sysdeps/i386/bits/endian.h: Removed.
12400 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12401 * sysdeps/x86/bits/endian.h: This.
12403 * sysdeps/i386/bits/byteswap.h: Removed.
12404 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12405 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12406 * sysdeps/x86/bits/byteswap.h: This.
12407 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12408 * sysdeps/x86/bits/byteswap-16.h: This.
12409 * sysdeps/i386/Implies: Add x86.
12410 * sysdeps/x86_64/Implies: Likewise.
12412 2012-05-30 David S. Miller <davem@davemloft.net>
12414 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12415 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12416 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12417 (FP_TRAPPING_EXCEPTIONS): Define.
12418 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12419 (FP_TRAPPING_EXCEPTIONS): Define.
12420 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12421 subnormals only when inexact has been signalled or underflow
12422 exceptions are enabled.
12423 (_FP_PACK_CANONICAL): Likewise.
12425 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12428 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12429 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12431 2012-05-30 Richard Henderson <rth@twiddle.net>
12433 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12434 with #ifndef NOT_IN_libc.
12436 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12437 marked to avoid plt entry.
12439 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12442 * Makeconfig (default-abi): New macro.
12443 (abi-includes): Likewise.
12444 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12445 $(abi-$(default-abi)-lib-soname) for soname if defined.
12446 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12448 * Makefile (installed-stubs): Likewise.
12449 * include/stubs-biarch.h: Removed.
12450 * scripts/lib-names.awk: Only handle one library at a time.
12451 * scripts/soversions.awk: Remove WORDSIZE support.
12452 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12454 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12456 (syscall-list-default-condition): Likewise.
12457 (syscall-list-default-condition): Likewise.
12458 (syscall-list-includes): Likewise.
12459 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12460 syscall-list-* with abi-*. Handle undefined abi-variants.
12461 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12462 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12463 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12464 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12465 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12466 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12468 (syscall-list-32-options): Likewise.
12469 (syscall-list-32-condition): Likewise.
12470 (syscall-list-64-options): Likewise.
12471 (syscall-list-64-condition): Likewise.
12472 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12474 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12477 (abi-64-ld-soname): New macro.
12478 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12479 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12482 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12483 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12485 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12487 * sysdeps/unix/sysv/linux/kernel-features.h
12488 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12489 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12490 include <kernel-features.h>.
12491 [!__NR_ftruncate64]: Remove conditional code.
12492 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12493 [__NR_ftruncate64]: Make code unconditional.
12494 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12495 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12496 include <kernel-features.h>.
12497 [!__NR_ftruncate64]: Remove conditional code.
12498 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12499 [__NR_ftruncate64]: Make code unconditional.
12500 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12502 include <kernel-features.h>.
12503 [!__NR_ftruncate64]: Remove conditional code.
12504 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12505 [__NR_ftruncate64]: Make code unconditional.
12506 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12508 include <kernel-features.h>.
12509 [!__NR_ftruncate64]: Remove conditional code.
12510 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12511 [__NR_ftruncate64]: Make code unconditional.
12512 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12514 * configure.in (libc_cv_fpie): Weaken to a compile test using
12515 LIBC_TRY_CC_OPTION.
12516 * configure: Regenerated.
12518 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12533 2012-05-27 David S. Miller <davem@davemloft.net>
12535 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12537 (__Q_simulate_exceptions): Return void. Change to simulate
12538 exceptions by writing into the %fsr.
12539 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12540 (__Qp_handle_exceptions): Likewise.
12542 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12543 __Qp_handle_exceptions.
12544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12545 __Qp_handle_exceptions.
12546 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12547 as unused and give dummy FP_RND_NEAREST initializer.
12548 (FP_INHIBIT_RESULTS): Define.
12549 (___Q_simulate_exceptions): Update declaration.
12550 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12552 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12553 as unused and give dummy FP_RND_NEAREST initializer.
12554 (__Qp_handle_exceptions): Update declaration.
12555 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12558 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12560 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12561 the temporary FPU control word.
12562 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12563 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12564 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12565 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12566 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12567 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12568 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12569 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12570 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12571 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12572 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12574 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12576 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12579 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12581 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12582 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12583 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12584 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12586 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12587 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12590 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12592 * po/h.po: Update from translation team.
12594 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12596 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12598 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12599 handling of denormals.
12600 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12601 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12602 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12603 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12605 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12609 2012-05-26 Marek Polacek <polacek@redhat.com>
12612 * math/libm-test.inc (fma_test): Don't always expect underflow
12615 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12618 * elf/tst-execstack.c: Include stackinfo.h.
12619 (do_test): Adjust test case to ensure that pthread_getattr_np
12620 behaviour remains the same after marking stack executable.
12622 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12624 * sysdeps/unix/sysv/linux/kernel-features.h
12625 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12626 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12628 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12629 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12630 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12632 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12633 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12635 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12637 * configure.in: Define the default includes to being none.
12638 * configure: Regenerated.
12640 2012-05-25 Roland McGrath <roland@hack.frob.com>
12642 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12643 * sysdeps/x86_64/setjmp.S: Likewise.
12644 * sysdeps/i386/bsd-setjmp.S: Likewise.
12645 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12646 * sysdeps/i386/setjmp.S: Likewise.
12647 * sysdeps/i386/__longjmp.S: Likewise.
12648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12649 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12651 * include/stap-probe.h: New file.
12652 * configure.in: Handle --enable-systemtap.
12653 * configure: Regenerated.
12654 * config.h.in (USE_STAP_PROBE): New #undef.
12655 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12656 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12657 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12659 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12662 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12663 to 2.4.0 where earlier.
12664 * sysdeps/unix/sysv/linux/configure: Regenerated.
12665 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12666 <kernel-features.h>.
12667 [__ASSUME_32BITUIDS]: Make code unconditional.
12668 [!__ASSUME_32BITUIDS]: Remove conditional code.
12669 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12670 <kernel-features.h>.
12671 [__ASSUME_32BITUIDS]: Make code unconditional.
12672 [!__ASSUME_32BITUIDS]: Remove conditional code.
12673 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12674 [__ASSUME_32BITUIDS]: Make code unconditional.
12675 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12676 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12677 <kernel-features.h>.
12678 [__ASSUME_32BITUIDS]: Make code unconditional.
12679 [!__ASSUME_32BITUIDS]: Remove conditional code.
12680 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12681 <kernel-features.h>.
12682 [__ASSUME_32BITUIDS]: Make code unconditional.
12683 [!__ASSUME_32BITUIDS]: Remove conditional code.
12684 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12685 <kernel-features.h>.
12686 [__ASSUME_32BITUIDS]: Make code unconditional.
12687 [!__ASSUME_32BITUIDS]: Remove conditional code.
12688 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12689 <kernel-features.h>.
12690 [__ASSUME_32BITUIDS]: Make code unconditional.
12691 [!__ASSUME_32BITUIDS]: Remove conditional code.
12692 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12693 <kernel-features.h>.
12694 [__ASSUME_32BITUIDS]: Make code unconditional.
12695 [!__ASSUME_32BITUIDS]: Remove conditional code.
12696 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12697 <kernel-features.h>.
12698 [__ASSUME_32BITUIDS]: Make code unconditional.
12699 [!__ASSUME_32BITUIDS]: Remove conditional code.
12700 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12701 <kernel-features.h>.
12702 [__ASSUME_32BITUIDS]: Make code unconditional.
12703 [!__ASSUME_32BITUIDS]: Remove conditional code.
12704 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12705 <kernel-features.h>.
12706 [__ASSUME_32BITUIDS]: Make code unconditional.
12707 [!__ASSUME_32BITUIDS]: Remove conditional code.
12708 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12709 <kernel-features.h>.
12710 [__ASSUME_32BITUIDS]: Make code unconditional.
12711 [!__ASSUME_32BITUIDS]: Remove conditional code.
12712 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12713 <kernel-features.h>.
12714 [__ASSUME_32BITUIDS]: Make code unconditional.
12715 [!__ASSUME_32BITUIDS]: Remove conditional code.
12716 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12717 <kernel-features.h>.
12718 [__NR_setresgid] (__setresgid): Do not declare.
12719 [__ASSUME_32BITUIDS]: Make code unconditional.
12720 [!__ASSUME_32BITUIDS]: Remove conditional code.
12721 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12722 <kernel-features.h>.
12723 [__NR_setresuid] (__setresuid): Do not declare.
12724 [__ASSUME_32BITUIDS]: Make code unconditional.
12725 [!__ASSUME_32BITUIDS]: Remove conditional code.
12726 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12727 <kernel-features.h>.
12728 [__ASSUME_32BITUIDS]: Make code unconditional.
12729 [!__ASSUME_32BITUIDS]: Remove conditional code.
12730 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12731 <kernel-features.h>.
12732 [__ASSUME_32BITUIDS]: Make code unconditional.
12733 [!__ASSUME_32BITUIDS]: Remove conditional code.
12734 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12735 <kernel-features.h>.
12736 [__ASSUME_32BITUIDS]: Make code unconditional.
12737 [!__ASSUME_32BITUIDS]: Remove conditional code.
12738 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12739 <kernel-features.h>.
12740 [__ASSUME_32BITUIDS]: Make code unconditional.
12741 [!__ASSUME_32BITUIDS]: Remove conditional code.
12742 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12743 <kernel-features.h>.
12744 [__ASSUME_32BITUIDS]: Make code unconditional.
12745 [!__ASSUME_32BITUIDS]: Remove conditional code.
12746 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12747 <kernel-features.h>.
12748 [__ASSUME_32BITUIDS]: Make code unconditional.
12749 [!__ASSUME_32BITUIDS]: Remove conditional code.
12750 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12751 <kernel-features.h>.
12752 [__ASSUME_32BITUIDS]: Make code unconditional.
12753 [!__ASSUME_32BITUIDS]: Remove conditional code.
12754 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12755 <kernel-features.h>.
12756 [__ASSUME_32BITUIDS]: Make code unconditional.
12757 [!__ASSUME_32BITUIDS]: Remove conditional code.
12758 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12759 <kernel-features.h>.
12760 [__ASSUME_32BITUIDS]: Make code unconditional.
12761 [!__ASSUME_32BITUIDS]: Remove conditional code.
12762 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12763 <kernel-features.h>.
12764 [__ASSUME_32BITUIDS]: Make code unconditional.
12765 [!__ASSUME_32BITUIDS]: Remove conditional code.
12766 * sysdeps/unix/sysv/linux/kernel-features.h
12767 (__ASSUME_SETRESUID_SYSCALL): Remove.
12768 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12769 (__ASSUME_32BITUIDS): Likewise.
12770 (__ASSUME_LDT_WORKS): Likewise.
12771 (__ASSUME_O_DIRECTORY): Likewise.
12772 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12773 architecture but not kernel version.
12774 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12775 (__ASSUME_MMAP2_SYSCALL): Likewise.
12776 (__ASSUME_STAT64_SYSCALL): Likewise.
12777 (__ASSUME_IPC64): Likewise.
12778 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12779 <kernel-features.h>.
12780 [__ASSUME_32BITUIDS]: Make code unconditional.
12781 [!__ASSUME_32BITUIDS]: Remove conditional code.
12782 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12783 <kernel-features.h>.
12784 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12785 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12786 132096]: Remove conditional code.
12787 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12788 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12789 <kernel-features.h>.
12790 [__ASSUME_32BITUIDS]: Make code unconditional.
12791 [!__ASSUME_32BITUIDS]: Remove conditional code.
12792 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12793 <kernel-features.h>.
12794 [__ASSUME_32BITUIDS]: Make code unconditional.
12795 [!__ASSUME_32BITUIDS]: Remove conditional code.
12796 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12797 <kernel-features.h>.
12798 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12800 (__setresgid): Do not declare.
12801 [__ASSUME_32BITUIDS]: Make code unconditional.
12802 [!__ASSUME_32BITUIDS]: Remove conditional code.
12803 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12804 <kernel-features.h>.
12805 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12807 (__setresuid): Do not declare.
12808 [__ASSUME_32BITUIDS]: Make code unconditional.
12809 [!__ASSUME_32BITUIDS]: Remove conditional code.
12810 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12811 <kernel-features.h>.
12812 [__ASSUME_32BITUIDS]: Make code unconditional.
12813 [!__ASSUME_32BITUIDS]: Remove conditional code.
12814 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12815 <kernel-features.h>.
12816 [__ASSUME_32BITUIDS]: Make code unconditional.
12817 [!__ASSUME_32BITUIDS]: Remove conditional code.
12819 2012-05-25 Richard Henderson <rth@twiddle.net>
12821 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12822 dl_hwcap to ifunc resolver.
12823 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12825 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12826 dl_hwcap to ifunc resolver.
12827 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12829 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12832 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12833 for |x| <= 2**-26, not 2**-57.
12834 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12837 2012-05-24 Jeff Law <law@redhat.com>
12839 * stdio-common/Makefile (tests): Add bug25.
12840 * stdio-common/bug25.c: New test.
12842 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12845 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12846 multiple of MALLOC_ALIGNMENT in size.
12847 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12849 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12851 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12853 (FILENAME_MAX): Use macro-int-constant.
12854 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12855 (_IOFBF): Use macro-int-constant.
12856 (_IOLBF): Likewise.
12857 (_IONBF): Likewise.
12858 (SEEK_CUR): Likewise.
12859 (SEEK_END): Likewise.
12860 (SEEK_SET): Likewise.
12861 (TMP_MAX): Likewise.
12862 (EOF): Use macro-int-constant. Require < 0.
12863 (NULL): Use macro-constant. Require == 0.
12864 (stdin): Require type to be FILE *.
12865 (stdout): Likewise.
12866 (stderr): Likewise.
12867 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12868 macro-int-constant.
12869 (EXIT_SUCCESS): Likewise.
12870 (NULL): Use macro-constant. Require == 0.
12871 (RAND_MAX): Use macro-int-constant.
12872 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12873 [C99-based standards] (strtof): Require function.
12874 [C99-based standards] (strtold): Likewise.
12875 [C99-based standards] (strtoll): Likewise.
12876 [C99-based standards] (strtoull): Likewise.
12877 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12878 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12879 [ISO || ISO99 || ISO11] (math.h): Likewise.
12880 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12881 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12884 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12887 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12888 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12889 * intl/dgettext.c (DCGETTEXT): Likewise.
12890 * intl/gettext.c (DCGETTEXT): Likewise.
12891 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12892 * posix/regex_internal.h (gettext): Likewise.
12893 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12894 Remove declaration.
12895 * include/argz.h (__argz_count_internal)
12896 (__argz_stringify_internal): Remove declaration.
12897 (__argz_count, __argz_stringify): Declare hidden proto.
12898 * intl/dcgettext.c: Remove use of INTDEF.
12899 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12900 * string/argz-stringify.c: Likewise.
12901 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12902 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12903 Declare hidden proto.
12904 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12905 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12906 Declare hidden proto.
12907 * include/stdio.h (__asprintf_internal): Don't declare.
12908 (__asprintf): Don't define as macro. Declare hidden proto.
12909 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12910 (__fsetlocking): Declare hidden proto.
12911 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12912 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12914 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12915 (_IO_setlinebuf): Remove use of INTUSE.
12916 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12917 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12918 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12919 Remove declaration.
12920 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12921 (_IO_do_flush): Remove use of INTUSE.
12922 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12923 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12924 (_IO_adjust_column, _IO_least_wmarker)
12925 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12926 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12927 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12928 (_IO_default_doallocate, _IO_wdefault_doallocate)
12929 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12930 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12931 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12932 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12933 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12934 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12935 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12936 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12937 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12938 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12939 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12940 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12941 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12943 (_IO_flush_all_internal, _IO_adjust_column_internal)
12944 (_IO_default_uflow_internal, _IO_default_finish_internal)
12945 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12946 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12947 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12948 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12949 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12950 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12951 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12952 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12953 (_IO_file_close_internal, _IO_file_close_it_internal)
12954 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12955 (_IO_file_init_internal, _IO_file_attach_internal)
12956 (_IO_file_fopen_internal, _IO_file_read_internal)
12957 (_IO_file_sync_internal, _IO_file_seek_internal)
12958 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12959 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12960 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12961 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12962 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12963 (_IO_list_all_internal, _IO_link_in_internal)
12964 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12965 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12966 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12967 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12968 (_IO_do_write_internal, _IO_padn_internal)
12969 (_IO_getline_info_internal, _IO_getline_internal)
12970 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12971 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12972 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12973 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12974 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12975 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12976 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12977 with libc_hidden_ver, remove use of INTUSE.
12978 * libio/genops.c: Likewise.
12979 * libio/freopen.c: Likewise.
12980 * libio/freopen64.c: Likewise.
12981 * libio/iofclose.c: Likewise.
12982 * libio/iofdopen.c: Likewise.
12983 * libio/iofflush.c: Likewise.
12984 * libio/iofflush_u.c: Likewise.
12985 * libio/iofgets.c: Likewise.
12986 * libio/iofgets_u.c: Likewise.
12987 * libio/iofopen.c: Likewise.
12988 * libio/iofopncook.c: Likewise.
12989 * libio/iofread.c: Likewise.
12990 * libio/iofread_u.c: Likewise.
12991 * libio/ioftell.c: Likewise.
12992 * libio/iofwrite.c: Likewise.
12993 * libio/iogetline.c: Likewise.
12994 * libio/iogets.c: Likewise.
12995 * libio/iogetwline.c: Likewise.
12996 * libio/iopadn.c: Likewise.
12997 * libio/iopopen.c: Likewise.
12998 * libio/ioseekoff.c: Likewise.
12999 * libio/ioseekpos.c: Likewise.
13000 * libio/iosetbuffer.c: Likewise.
13001 * libio/iosetvbuf.c: Likewise.
13002 * libio/ioungetc.c: Likewise.
13003 * libio/ioungetwc.c: Likewise.
13004 * libio/iovdprintf.c: Likewise.
13005 * libio/iovsprintf.c: Likewise.
13006 * libio/iovsscanf.c: Likewise.
13007 * libio/memstream.c: Likewise.
13008 * libio/obprintf.c: Likewise.
13009 * libio/oldfileops.c: Likewise.
13010 * libio/oldiofclose.c: Likewise.
13011 * libio/oldiofdopen.c: Likewise.
13012 * libio/oldiofopen.c: Likewise.
13013 * libio/oldiopopen.c: Likewise.
13014 * libio/oldstdfiles.c: Likewise.
13015 * libio/putc.c: Likewise.
13016 * libio/setbuf.c: Likewise.
13017 * libio/setlinebuf.c: Likewise.
13018 * libio/stdfiles.c: Likewise.
13019 * libio/strops.c: Likewise.
13020 * libio/vasprintf.c: Likewise.
13021 * libio/vscanf.c: Likewise.
13022 * libio/vsnprintf.c: Likewise.
13023 * libio/vswprintf.c: Likewise.
13024 * libio/wfiledoalloc.c: Likewise.
13025 * libio/wfileops.c: Likewise.
13026 * libio/wgenops.c: Likewise.
13027 * libio/wmemstream.c: Likewise.
13028 * libio/wstrops.c: Likewise.
13029 * libio/__fpurge.c: Likewise.
13030 * libio/__fsetlocking.c: Likewise.
13031 * assert/assert.c: Likewise.
13032 * debug/fgets_chk.c: Likewise.
13033 * debug/fgets_u_chk.c: Likewise.
13034 * debug/fread_chk.c: Likewise.
13035 * debug/fread_u_chk.c: Likewise.
13036 * debug/gets_chk.c: Likewise.
13037 * debug/obprintf_chk.c: Likewise.
13038 * debug/vasprintf_chk.c: Likewise.
13039 * debug/vdprintf_chk.c: Likewise.
13040 * debug/vsnprintf_chk.c: Likewise.
13041 * debug/vsprintf_chk.c: Likewise.
13042 * malloc/mtrace.c: Likewise.
13043 * misc/error.c: Likewise.
13044 * misc/syslog.c: Likewise.
13045 * stdio-common/asprintf.c: Likewise.
13046 * stdio-common/fxprintf.c: Likewise.
13047 * stdio-common/getw.c: Likewise.
13048 * stdio-common/isoc99_fscanf.c: Likewise.
13049 * stdio-common/isoc99_scanf.c: Likewise.
13050 * stdio-common/isoc99_vfscanf.c: Likewise.
13051 * stdio-common/isoc99_vscanf.c: Likewise.
13052 * stdio-common/isoc99_vsscanf.c: Likewise.
13053 * stdio-common/printf-prs.c: Likewise.
13054 * stdio-common/printf_fp.c: Likewise.
13055 * stdio-common/printf_fphex.c: Likewise.
13056 * stdio-common/printf_size.c: Likewise.
13057 * stdio-common/putw.c: Likewise.
13058 * stdio-common/scanf.c: Likewise.
13059 * stdio-common/sprintf.c: Likewise.
13060 * stdio-common/tmpfile.c: Likewise.
13061 * stdio-common/vfprintf.c: Likewise.
13062 * stdio-common/vfscanf.c: Likewise.
13063 * stdlib/strfmon_l.c: Likewise.
13064 * sunrpc/openchild.c: Likewise.
13065 * sunrpc/xdr_stdio.c: Likewise.
13066 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13067 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13069 2012-05-24 Roland McGrath <roland@hack.frob.com>
13071 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13073 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13074 in the third column, to generate for the shared library an IFUNC
13075 that uses _dl_vdso_vsym.
13076 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13077 * Makeconfig (object-suffixes-noshared): New variable.
13079 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13080 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13081 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13082 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13085 * include/sys/time.h (__gettimeofday): Remove macro.
13086 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13087 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13089 (__gettimeofday): Add libc_hidden_def.
13090 (gettimeofday): Add libc_hidden_weak.
13091 * sysdeps/mach/gettimeofday.c: Likewise.
13092 * sysdeps/posix/gettimeofday.c: Likewise.
13093 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13094 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13096 (__gettimeofday_internal): Remove strong_alias.
13097 (__gettimeofday): Add libc_hidden_def.
13098 (gettimeofday): Add libc_hidden_weak.
13099 * sysdeps/unix/syscalls.list (gettimeofday):
13100 Remove __gettimeofday_internal alias.
13102 2012-05-24 Daniel Jacobowitz <drow@false.org>
13103 H.J. Lu <hongjiu.lu@intel.com>
13106 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13107 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13108 (largebin_index_32_big): New.
13109 (largebin_index): Use it for 16-byte alignment.
13110 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13111 correction with front_misalign.
13113 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13141 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13142 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13144 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13148 * math/libm-test.inc (exp_test): Add test from bug 14036.
13149 (pow_test): Add test from bug 10846.
13151 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13153 (special_function): Do not include flags in test name.
13154 (parse_args): Likewise.
13155 * sysdeps/i386/fpu/libm-test-ulps: Update.
13156 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13157 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13158 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13161 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13163 * math/libm-test.inc ("Philosophy"): Update comment about
13165 (UNDERFLOW_EXCEPTION): New macro.
13166 (UNDERFLOW_EXCEPTION_OK): Likewise.
13167 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13168 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13169 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13170 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13171 (INVALID_EXCEPTION_OK): Update value.
13172 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13173 (OVERFLOW_EXCEPTION_OK): Likewise.
13174 (IGNORE_ZERO_INF_SIGN): Likewise.
13175 (test_exceptions): Handle underflow exceptions.
13176 (acos_test): Update for underflow exception expectations.
13177 (cexp_test): Likewise.
13178 (clog_test): Likewise.
13179 (clog10_test): Likewise.
13180 (csqrt_test): Likewise.
13181 (ctan_test): Likewise.
13182 (ctanh_test): Likewise.
13183 (exp_test): Likewise.
13184 (exp10_test): Likewise.
13185 (exp2_test): Likewise.
13186 (expm1_test): Likewise.
13187 (fma_test): Likewise.
13188 (j0_test): Likewise.
13189 (jn_test): Likewise.
13190 (nexttoward_test): Likewise.
13191 (pow_test): Likewise.
13192 (scalbn_test): Likewise.
13193 (scalbln_test): Likewise.
13194 (tan_test): Likewise.
13195 (y1_test): Likewise.
13196 * sysdeps/i386/fpu/libm-test-ulps: Update.
13197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13199 2012-05-23 David S. Miller <davem@davemloft.net>
13201 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13202 (__libc_sigaction): Remove unused local variables.
13204 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13206 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13208 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13210 mktime: avoid signed integer overflow
13211 * time/mktime.c (__mktime_internal): Do not mishandle the case
13212 where diff == INT_MIN.
13214 mktime: simplify computation of average
13215 * time/mktime.c (ranged_convert): Use new time_t_avg function
13216 instead of rolling our own (probably-slower) code.
13218 mktime: do not assume signed right shift propagates sign bit
13219 * time/mktime.c (isdst_differ): New static function.
13220 (__mktime_internal): No need to normalize tm_isdst now.
13221 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13224 mktime: merge another wrapv change from gnulib
13225 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13226 from some compilers.
13228 mktime: remove incorrect attempt at unusual arithmetics
13229 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13230 The code didn't really work on such machines anyway.
13231 (TYPE_MINIMUM): Assume two's complement.
13232 (twos_complement_arithmetic): Verify that long_int and time_t
13233 are two's complement (or unsigned, in the latter case).
13235 mktime: check signed shifts on long_int and time_t, too
13236 * time/mktime.c (SHR): Check that shifts work as desired
13237 on the types long_int and time_t too, as SHR is used on
13240 mktime: do not assume 'long' is wide enough
13241 * time/mktime.c (verify): Move decl up.
13242 (long_int): New type.
13243 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13244 to remove assumption in the code that 'long' is wide enough to
13245 store year values. This assumption is not true on x32 and on
13246 some non-glibc platforms.
13248 mktime: merge wrapv change from gnulib
13249 * time/mktime.c (WRAPV): New macro.
13250 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13251 (guess_time_tm, __mktime_internal): Do not assume that signed
13252 integer overflow wraps around; modern compilers generate code
13253 where this assumption is no longer valid.
13255 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13257 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13258 Replace "jmp L(pseudo_end)" with "ret".
13259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13262 2012-05-23 Andreas Jaeger <aj@suse.de>
13264 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13265 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13267 2012-05-23 Andreas Jaeger <aj@suse.de>
13268 Maximilian Attems <max@stro.at>
13270 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13273 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13276 code so that pseudo_end is just ret and the stack pointer is
13277 correct also for static library in error case.
13279 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13281 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13282 move to syscalls.list.
13283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13288 * manual/install.texi (Running make install): Do not mention Linux
13289 kernel version for which pt_chown is not needed.
13290 (Linux): Do not mention problems with nscd with 2.0 kernels.
13291 * INSTALL: Regenerated.
13293 2012-05-23 Andreas Jaeger <aj@suse.de>
13295 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13296 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13298 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13299 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13300 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13302 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13303 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13304 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13305 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13306 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13307 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13308 * sysdeps/unix/sysv/linux/bits/in.h
13309 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13311 2012-05-22 Roland McGrath <roland@hack.frob.com>
13313 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13314 (PREPARE_VERSION): Just use assert instead, it will be elided
13315 under [NDEBUG] anyway.
13317 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13319 * sysdeps/unix/sysv/linux/Makefile: Include
13320 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13321 (sysdep_routines): Remove sysctl.
13322 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13323 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13324 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13326 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13328 2012-05-22 Andreas Jaeger <aj@suse.de>
13330 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13331 that pseudo_end is just ret and the stack pointer is correct also
13332 for static library in error case.
13334 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13337 * nss/nsswitch.c (defconfig_entries): New variable.
13338 (__nss_database_lookup): Don't leak defconfig entries.
13339 (nss_parse_service_list): Don't leak on error paths.
13340 (free_database_entries): New function.
13341 (free_defconfig): New function.
13342 (free_mem): Move common code to free_database_entries.
13344 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13346 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13348 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13350 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13351 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13354 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13355 (INTERNAL_SYSCALL_TYPES): Likewise.
13356 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13357 (LOAD_REGS_TYPES_[1-6]): Likewise.
13358 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13359 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13361 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13363 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13364 copysignl for GLIBC_2_0.
13365 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13366 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13368 logbl for GLIBC_2_0.
13369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13370 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13372 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13374 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13375 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13377 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13380 * time/mktime.c: Update copyright years.
13382 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13384 mktime: merge comment-quoting-style change from gnulib
13385 * time/mktime.c: Quote 'like this' in comments.
13386 The GNU coding standards suggest that we no longer quote `like this',
13387 as "`" and "'" are typically rendered asymmetrically nowadays.
13388 The typical gnulib style is to quote 'like this' when quoting
13389 code, and "like this" when quoting English.
13391 * time/mktime.c (compile-command): Add "-I.".
13393 mktime: merge mktime-internal.h change from gnulib
13394 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13396 mktime: merge time_r change from gnulib
13397 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13399 mktime: merge DEBUG change from gnulib
13400 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13401 case system <time.h> has a #define.
13403 mktime: merge <sys/types.h> change from gnulib
13404 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13405 since <time.t> is now guaranteed to define time_t.
13407 mktime: merge HAVE_CONFIG_H change from gnulib
13408 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13410 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13415 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13417 (struct rusage): Use anonymous union to pad each field to
13420 2012-05-21 David S. Miller <davem@davemloft.net>
13422 * Makefules (o-iterator): Remove .s cases.
13423 (compile-command.s): Delete.
13424 (COMPILE.s): Delete.
13425 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13427 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13429 * configure.in (libc_cv_predef_stack_protector): Only consider
13430 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13431 * configure: Regenerated.
13433 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13436 New macro. Use R*LP on int and pointer.
13437 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13438 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13439 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13440 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13442 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13443 [__WORDSIZE_TIME64_COMPAT32] instead of
13444 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13445 (struct utmp): Likewise.
13446 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13447 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13449 (__WORDSIZE_TIME64_COMPAT32): This.
13450 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13451 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13452 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13453 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13454 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13455 (__WORDSIZE_TIME64_COMPAT32): New macro.
13457 2012-05-21 Andreas Jaeger <aj@suse.de>
13459 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13460 only if [SHARED]. Add prototype for __wcschr_ia32.
13462 2012-05-21 Roland McGrath <roland@hack.frob.com>
13464 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13465 of %rbp unmolested in the jmp_buf while mangling the low bits.
13466 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13467 unmolested high bits of %rbp while demangling the low bits.
13468 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13470 2012-05-21 Andreas Jaeger <aj@suse.de>
13472 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13473 * sunrpc/svc_simple.c: Use it for registerrpc.
13474 * sunrpc/xcrypt.c: Use it for passwd2des.
13476 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13478 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13480 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13481 Don't define if [__SYSCALL_WORDSIZE != 32].
13482 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13485 2012-05-21 Bruno Haible <bruno@clisp.org>
13486 Andreas Jaeger <aj@suse.de>
13488 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13489 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13490 inptr and inend for must_buffer_ch.
13491 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13492 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13493 * stdio-common/Makefile (tests): Remove bug15.
13494 (bug15-ENV): Remove macro.
13495 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13498 2012-05-19 Andreas Jaeger <aj@suse.de>
13499 Roland McGrath <roland@hack.frob.com>
13501 * manual/contrib.texi: Completely rewritten. It contains now an
13502 alphabetical list of contributors and their contributions.
13504 2012-05-21 Richard Henderson <rth@twiddle.net>
13506 * misc/getauxval.c (__getauxval): Use unsigned long int.
13507 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13508 (getauxval): Use unsigned long int.
13510 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13512 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13514 2012-05-21 Roland McGrath <roland@hack.frob.com>
13516 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13517 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13518 __alignof__ (long double).
13520 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13524 2012-05-20 Richard Henderson <rth@twiddle.net>
13526 * misc/getauxval.c: New file.
13527 * misc/sys/auxv.h: New file.
13528 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13529 (routines): Add getauxval.
13530 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13531 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13532 * elf/dl-sysdep.c (_dl_auxv): Remove.
13533 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13534 * elf/dl-support.c (_dl_auxv): New variable.
13535 (_dl_aux_init): Initialize it.
13536 * manual/startup.texi (Auxiliary Vector): New node.
13537 * sysdeps/generic/bits/hwcap.h: New file.
13538 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13539 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13540 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13541 * sysdeps/sparc/sysdep.h: ... here. Include it.
13542 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13543 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13549 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13555 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13559 2012-05-19 David S. Miller <davem@davemloft.net>
13561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13563 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13566 * math/s_ccosh.c: Include <float.h>
13567 (__ccosh): Avoid internal overflow calculating sinh and cosh
13568 values before multiplying by sin and cos values.
13569 * math/s_ccoshf.c: Likewise.
13570 * math/s_ccoshl.c: Likewise.
13571 * math/s_csin.c: Likewise.
13572 * math/s_csinf.c: Likewise.
13573 * math/s_csinl.c: Likewise.
13574 * math/s_csinh.c: Likewise.
13575 * math/s_csinhf.c: Likewise.
13576 * math/s_csinhl.c: Likewise.
13577 * math/libm-test.inc (ccos_test): Add more tests.
13578 (ccosh_test): Likewise.
13579 (csin_test): Likewise.
13580 (csinh_test): Likewise.
13581 * sysdeps/i386/fpu/libm-test-ulps: Update.
13582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13584 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13586 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13587 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13589 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13591 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13593 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13594 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13595 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13596 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13597 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13598 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13599 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13600 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13601 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13602 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13603 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13604 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13605 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13606 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13607 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13608 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13609 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13610 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13611 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13612 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13613 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13614 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13615 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13616 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13617 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13618 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13619 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13620 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13621 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13622 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13623 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13625 2012-05-18 Andreas Jaeger <aj@suse.de>
13627 * csu/.gitignore: Delete.
13629 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13631 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13632 (timex): Use __syscall_slong_t.
13634 2012-05-18 Andreas Jaeger <aj@suse.de>
13635 Carlos O'Donell <carlos_odonell@mentor.com>
13637 * manual/install.texi (Configuring and compiling): Update
13638 description about files modified in the source directory.
13639 * INSTALL: Regenerated.
13641 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13643 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13644 value. Use "or" to set return value to -1.
13645 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13646 negate return value.
13648 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13650 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13651 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13652 failure if the compiler has Graphite support disabled.
13653 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13655 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13656 CFLAGS-memmove.c): Likewise.
13657 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13660 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13662 * sysdeps/x86_64/x32/_itoa.h: New file.
13664 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13665 getdents system call only if kernel and user dirents have the
13666 same d_ino and d_off.
13668 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13669 LLONG_MAX != LONG_MAX.
13670 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13671 (_fitoa_word): Likewise.
13673 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13675 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13676 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13677 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13679 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13680 include <bits/wordsize.h>. Check __x86_64__ instead of
13682 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13683 if __x86_64__ is defined. Use anonymous union on fpstate.
13685 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13688 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13690 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13691 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13692 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13693 Refer to _rtld_local_ro instead of _rtld_global_ro.
13694 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13696 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13698 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13700 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13701 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13702 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13704 * sysdeps/powerpc/powerpc32/dl-machine.c
13705 (__elf_machine_runtime_setup) [PROF]: Don't reference
13708 2012-05-18 Andreas Jaeger <aj@suse.de>
13710 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13711 function only available for GCCs before 3.4 since GCC 3.4
13712 introduced a builtin.
13714 (llrintf): Likewise.
13715 (llrint): Likewise.
13722 (nearbyint): Likewise.
13723 (nearbyintf): Likewise.
13727 (floorf): Likewise.
13729 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13731 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13732 on both fields and cast pointer to __syscall_ulong_t.
13734 * bits/types.h (__fsword_t): New type.
13735 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13736 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13738 (__FSWORD_T_TYPE): Likewise.
13739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13740 (__FSWORD_T_TYPE): Likewise.
13741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13742 (__FSWORD_T_TYPE): Likewise.
13743 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13744 (__FSWORD_T_TYPE): Likewise.
13745 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13746 __SWORD_TYPE with __fsword_t.
13747 (statfs64): Likewise.
13749 2012-05-17 David S. Miller <davem@davemloft.net>
13751 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13753 2012-05-17 Andreas Jaeger <aj@suse.de>
13755 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13758 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13760 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13762 2012-05-17 Andreas Jaeger <aj@suse.de>
13764 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13767 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13769 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13771 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13773 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13774 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13776 2012-05-17 Andreas Jaeger <aj@suse.de>
13777 Carlos O'Donell <carlos_odonell@mentor.com>
13780 * sysdeps/x86_64/multiarch/init-arch.h
13781 (bit_YMM_Usable): Rename to...
13782 (bit_AVX_Usable): ... this.
13783 (bit_FMA4_Usable): New macro.
13784 (bit_XMM_state): New macro.
13785 (bit_YMM_state): New macro.
13786 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13787 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13788 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13789 (CPUID_OSXSAVE): New macro.
13790 (CPUID_AVX): New macro.
13791 (CPUID_FMA4): New macro.
13792 (index_YMM_Usable): Rename to...
13793 (index_AVX_Usable): ... this.
13794 (HAS_AVX): Use HAS_ARCH_FEATURE.
13795 (HAS_FMA4): Likewise.
13796 (HAS_YMM_USABLE): Remove.
13797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13798 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13800 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13801 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13802 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13803 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13804 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13806 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13808 * math/libm-test.c: Support platforms without multiple rounding modes.
13809 * math/bug-nextafter.c: Support platforms without FP exceptions.
13810 * math/bug-nexttoward.c: Likewise.
13811 * math/test-fenv.c: Likewise.
13812 * math/test-misc.c: Likewise.
13813 * stdlib/bug-getcontext.c: Likewise.
13815 2012-05-17 Andreas Jaeger <aj@suse.de>
13817 * manual/examples/search.c (critter_cmp): Change signature to
13819 * manual/string.texi (Collation Functions): Likewise.
13821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13823 * bits/types.h: Fold copyright years.
13824 * bits/typesizes.h: Likewise.
13825 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13828 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13829 * time/time.h: Likewise.
13831 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13834 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13835 in instead of returning them. Return void.
13836 (__libc_mallinfo): Accumulate over all arenas.
13837 (__malloc_stats): Adjust for change in int_mallinfo interface.
13839 2012-05-16 Roland McGrath <roland@hack.frob.com>
13842 * configure.in (NM): Add AC_CHECK_TOOL for it.
13843 (libc_extra_cflags): New substituted variable.
13844 Check for -fstack-protector being used implicitly.
13845 * configure: Regenerated.
13846 * config.make.in (config-extra-cflags): New variable,
13847 gets @libc_extra_cflags@.
13848 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13851 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13852 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13853 * configure: Regenerated.
13854 * config.make.in (CPPUNDEFS): New substituted variable.
13855 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13856 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13857 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13859 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13861 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13862 (mq_attr): Use __syscall_slong_t.
13864 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13866 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13867 Check __x86_64__ instead of __WORDSIZE.
13868 (_STAT_VER_LINUX): Likewise.
13869 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13870 __syscall_ulong_t and __syscall_slong_t.
13871 (stat64): Likewise.
13873 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13875 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13877 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13879 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13881 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13883 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13886 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13887 include <bits/wordsize.h>. Check __x86_64__ instead of
13889 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13891 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13893 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13894 include <bits/wordsize.h>. Check __x86_64__ instead of
13896 (user_regs_struct): Use "__extension__ unsigned long long"
13897 instead of "unsigned long" if __x86_64__ is defined.
13898 (user): Likewise. Pad after pointer field if __ILP32__ is
13901 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13903 * configure.in (makeinfo): Require version 4.5 or later. Allow
13905 * configure: Regenerated.
13906 * manual/install.texi (texinfo): Increase version requirement to
13908 * INSTALL: Regenerated.
13910 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13912 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13914 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13916 * sysdeps/x86_64/x32/ffs.c: New file.
13918 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13920 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13921 defined. Use __syscall_ulong_t.
13922 (shminfo): Use __syscall_ulong_t.
13923 (shm_info): Likewise.
13925 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13928 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13930 (msgqnum_t): Use __syscall_ulong_t.
13931 (msglen_t): Likewise.
13932 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13935 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13936 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13938 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13940 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13941 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13943 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13946 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13947 include <bits/wordsize.h>. Check __x86_64__ instead of
13950 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13951 "unsigned long long int" if __x86_64__ is defined.
13952 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13954 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13955 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13956 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13958 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13960 (GET_PC): Cast to uintptr_t first.
13961 (GET_FRAME): Likewise.
13962 (GET_STACK): Likewise.
13964 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13965 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13966 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13967 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13968 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13969 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13970 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13971 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13972 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13973 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13974 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13975 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13976 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13977 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13978 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13979 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13980 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13981 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13982 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13983 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13984 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13985 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13986 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13987 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13988 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13989 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13990 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13991 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13992 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13994 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13996 * Makerules (+depfiles): Also collect depfiles from .oS in
13998 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13999 .oS, $(libnldbl-routines)).
14001 * Makerules (native-compile-mkdep-flags): Define.
14002 * sunrpc/Makefile (extra-objs): Add $(addprefix
14003 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14004 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14005 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14006 calling $(make-target-directory).
14008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14010 * bits/types.h (__snseconds_t): Removed.
14011 * time/time.h (struct timespec): Replace __snseconds_t with
14013 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14014 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14016 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14017 (__SNSECONDS_T_TYPE): Likewise.
14018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14019 (__SNSECONDS_T_TYPE): Likewise.
14020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14021 (__SNSECONDS_T_TYPE): Likewise.
14023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14025 * sysdeps/mach/hurd/bits/typesizes.h
14026 (__SYSCALL_SLONG_TYPE): New macro.
14027 (__SYSCALL_ULONG_TYPE): Likewise.
14029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14031 * bits/types.h (__syscall_slong_t): New type.
14032 (__syscall_ulong_t): Likewise.
14034 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14035 (__SYSCALL_ULONG_TYPE): Likewise.
14036 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14037 (__SYSCALL_SLONG_TYPE): Likewise.
14038 (__SYSCALL_ULONG_TYPE): Likewise.
14039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14040 (__SYSCALL_SLONG_TYPE): Likewise.
14041 (__SYSCALL_ULONG_TYPE): Likewise.
14042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14043 (__SYSCALL_SLONG_TYPE): Likewise.
14044 (__SYSCALL_ULONG_TYPE): Likewise.
14046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14048 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14049 Add sigaltstack-offsets.sym.
14050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14051 <sigaltstack-offsets.h>.
14052 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14053 longjmp_msg pointer.
14054 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14055 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14057 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14059 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14061 * elf/stackguard-macros.h: Remove file.
14062 * sysdeps/generic/stackguard-macros.h: New file.
14063 * sysdeps/i386/stackguard-macros.h: Likewise.
14064 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14065 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14066 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14067 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14068 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14069 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14070 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14071 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14072 <elf/stackguard-macros.h>.
14075 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14076 __aligned__ in attribute.
14077 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14078 (gregset_t): Likewise.
14080 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14082 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14083 * sysdeps/x86_64/64/Implies-after: Here. New file.
14084 * sysdeps/x86_64/x32/Implies-after: New file.
14086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14088 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14089 and access return value for _dl_profile_fixup. Use R10_LP to
14092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14094 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14098 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14099 * sysdeps/x86_64/x32/sysdep.h: New file.
14101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14103 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14104 * sysdeps/x86_64/setjmp.S: Likewise.
14106 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14108 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14109 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14110 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14111 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14112 remove unused global constant.
14114 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14116 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14117 include of <not-cancel.h>.
14119 2012-05-15 Roland McGrath <roland@hack.frob.com>
14121 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14123 2012-05-15 Jeff Law <law@redhat.com>
14124 Andreas Jaeger <aj@suse.de>
14127 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14129 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14130 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14131 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14132 code changing __hst_map_handle.map.
14134 2012-05-15 Roland McGrath <roland@hack.frob.com>
14136 * configure.in (sysnames): Look for Implies-before and Implies-after
14138 * configure: Regenerated.
14140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14142 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14143 8-byte data alignment with LP_SIZE alignment.
14145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14147 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14152 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14156 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14157 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14158 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14160 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14164 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14165 (stackinfo_sub_sp): Likewise.
14167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14169 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14174 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14179 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14182 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14184 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14188 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14189 into R11_LP and load __x86_64_shared_cache_size_half into
14192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14197 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14199 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14201 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14205 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14206 powerpc32/power7/fpu/s_logb.c via #include.
14207 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14208 powerpc32/power7/fpu/s_logbf.c via #include.
14209 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14210 powerpc32/power7/fpu/s_logbl.c via #include.
14212 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14214 * README.libm: Remove file.
14216 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14218 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14219 count for x32. Use R*_LP and omit operand-size suffix.
14221 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14223 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14224 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14225 * sysdeps/x86_64/x32/shlib-versions: New file.
14227 2012-05-14 Roland McGrath <roland@hack.frob.com>
14229 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14230 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14231 Use _dl_fatal_printf instead.
14233 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14235 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14236 set if not set by the user. Do not allow for being unset.
14237 * sysdeps/unix/sysv/linux/configure: Regenerated.
14239 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14241 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14242 the `q' suffix from lea and replace .quad with ASM_ADDR.
14244 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14246 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14247 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14249 (PTR_DEMANGLE): Likewise.
14251 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14253 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14255 (ASM_ADDR): Likewise.
14256 (RAX_LP): Likewise.
14257 (RBP_LP): Likewise.
14258 (RBX_LP): Likewise.
14259 (RCX_LP): Likewise.
14260 (RDI_LP): Likewise.
14261 (RSI_LP): Likewise.
14262 (RSP_LP): Likewise.
14265 (R10_LP): Likewise.
14266 (R10_LP): Likewise.
14267 (R11_LP): Likewise.
14268 (R12_LP): Likewise.
14269 (R13_LP): Likewise.
14270 (R14_LP): Likewise.
14271 (R15_LP): Likewise.
14273 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14275 * sysdeps/x86_64/x32/dl-machine.h: New file.
14277 2012-05-14 Andreas Jaeger <aj@suse.de>
14279 * manual/Makefile (subdir): Remove export of subdir.
14280 (all): Remove target.
14281 (.PHONY): Remove all from list.
14282 (mkinstalldirs): Remove.
14283 (.PHONY): Remove installdirs from list.
14284 ($(inst_infodir)/libc.info): Use make-target-directory.
14285 (installdirs): Remove.
14286 (subdir_%): Remove.
14287 (glibc-targets): Remove.
14290 ($(objpfx)stubs ../po/manual.pot): Remove.
14291 ($(objpfx)stamp%): Remove.
14292 (make-target-directory): Remove.
14293 (subdir_install): Remove.
14294 (routines): Remove.
14301 * manual/.gitignore: Remove, it's not needed anymore.
14302 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14304 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14306 (texis): Renamed to $(objpfx)texis.
14307 (texis-path): New, contains path to generated files.
14308 (chapters.%): Use texis-path for complete path, add extra argument
14310 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14311 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14312 (summary,texi, stamp-summary): Use complete path of
14313 files. Generate files in build dir.
14314 (dir-add.texi): Build in build dir.
14315 (libm-err.texi,stamp-libm-err): Likewise.
14316 (version.texi, stamp-version): Likewise.
14317 (.%c.texi): Likewise.
14318 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14319 (mostlyclean): Remove target.
14320 (realclean): Remove target.
14321 (generated): Add new variable with contents from mostlyclean and
14322 realclean, remove entries duplicated in common-mostlyclean, add
14323 stamp-libm-err and stamp-version.
14324 (generated-dirs): Add libc directory.
14325 ($(inst_infodir)/libc.info): Install files from build dir.
14327 * manual/install.texi (Configuring and compiling): Adjust since
14328 the info files are not part of the tar ball anymore.
14330 2012-05-14 Andreas Jaeger <aj@suse.de>
14332 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14335 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14338 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14339 to 2.2.0 where earlier.
14340 * sysdeps/unix/sysv/linux/configure: Regenerated.
14341 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14342 Remove conditional code.
14343 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14344 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14345 Remove conditional code.
14346 [!__NR_lchown]: Likewise.
14347 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14348 [__NR_lchown]: Likewise.
14349 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14350 comment referencing __ASSUME_LCHOWN_SYSCALL.
14351 * sysdeps/unix/sysv/linux/i386/sigaction.c
14352 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14353 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14354 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14355 Remove conditional code.
14356 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14357 (__protocol_available): Remove #if 0 code.
14358 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14360 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14361 * sysdeps/unix/sysv/linux/kernel-features.h
14362 (__ASSUME_GETCWD_SYSCALL): Don't define.
14363 (__ASSUME_REALTIME_SIGNALS): Likewise.
14364 (__ASSUME_PREAD_SYSCALL): Likewise.
14365 (__ASSUME_PWRITE_SYSCALL): Likewise.
14366 (__ASSUME_POLL_SYSCALL): Likewise.
14367 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14368 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14370 (__ASSUME_SIOCGIFNAME): Don't define.
14371 (__ASSUME_MSG_NOSIGNAL): Likewise.
14372 (__ASSUME_SENDFILE): Define unconditionally.
14373 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14374 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14376 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14377 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14378 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14379 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14380 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14381 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14382 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14384 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14387 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14390 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14391 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14393 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14396 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14397 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14399 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14400 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14402 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14403 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14405 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14406 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14407 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14408 Remove conditional code.
14409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14410 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14411 Remove conditional code.
14412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14413 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14414 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14415 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14416 Remove conditional code.
14417 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14418 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14419 Remove conditional code.
14420 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14421 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14422 Remove conditional code.
14423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14424 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14425 Remove conditional code.
14426 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14427 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14428 Remove conditional code.
14429 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14430 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14431 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14432 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14433 * sysdeps/unix/sysv/linux/sigaction.c
14434 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14435 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14436 * sysdeps/unix/sysv/linux/sigpending.c
14437 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14438 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14439 * sysdeps/unix/sysv/linux/sigprocmask.c
14440 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14441 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14442 * sysdeps/unix/sysv/linux/sigsuspend.c
14443 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14444 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14445 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14446 (__libc_missing_rt_sigs): Remove.
14447 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14448 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14449 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14450 Remove conditional code.
14451 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14452 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14454 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14455 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14456 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14457 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14459 2012-05-14 Andreas Jaeger <aj@suse.de>
14461 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14462 it's not used in glibc.
14463 (__coshm1): Likewise.
14464 (__acosh1p): Likewise.
14467 * manual/string.texi (Copying and Concatenation): Add missing
14468 variable in concat example.
14469 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14471 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14474 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14475 __builtin_clzl with __builtin_clzll.
14477 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14480 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14483 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14485 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14486 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14487 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14488 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14490 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14492 * NEWS: Update ia64 info.
14494 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14496 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14499 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14501 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14502 * sysdeps/unix/syscalls.list (dup3): Likewise.
14503 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14504 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14506 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14508 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14509 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14511 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14513 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14515 (TLS_IE): Use mov/add instead of movq/addq to load thread
14517 (TLS_GD_PREFIX): New.
14520 2012-05-11 David S. Miller <davem@davemloft.net>
14522 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14523 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14524 (_FPU_SETCW): Likewise.
14526 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14528 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14529 is 32-byte aligned.
14531 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14534 * iconvdata/gb18030.c: Update tables.
14535 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14536 characters specially.
14537 (BODY for TO_LOOP): Add encoding of missing ranges.
14539 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14542 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14543 * sysdeps/mach/hurd/dup3.c: Likewise.
14544 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14545 * sysdeps/powerpc/memmove.c:: Likewise.
14547 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14550 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14552 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14554 * elf/elf.h (R_X86_64_RELATIVE64): New.
14555 (R_X86_64_NUM): Updated.
14556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14557 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14558 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14559 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14560 tst-quad1pie tst-quad2pie
14561 (modules-names): Add tst-quadmod1 tst-quadmod2.
14562 ($(objpfx)tst-quad1): New dependency.
14563 ($(objpfx)tst-quad2): Likewise.
14564 ($(objpfx)tst-quad1pie): Likewise.
14565 ($(objpfx)tst-quad2pie): Likewise.
14566 * sysdeps/x86_64/tst-quad1.c: New file.
14567 * sysdeps/x86_64/tst-quad1pie.c: New file.
14568 * sysdeps/x86_64/tst-quad2.c: Likewise.
14569 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14570 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14571 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14572 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14573 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14575 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14577 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14578 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14579 * streams/stropts.h (t_scalar_t): Define type.
14581 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14582 (_PATH_PRESERVE): Set to "/var/lib".
14583 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14585 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14588 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14589 if __dir_mkfile succeeded.
14591 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14592 checking for _hurd_dtablesize. Unlock it right after having
14593 finished _hurd_dtable allocation.
14595 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14597 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14598 * sysdeps/mach/hurd/configure: Regenerated.
14599 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14600 special-casing to...
14601 * sysdeps/gnu/configure.in: ... this new file.
14602 * sysdeps/unix/sysv/linux/configure: Regenerated.
14603 * sysdeps/gnu/configure: New generated file.
14605 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14606 for Linux: use nsec instead of usec, as well as:
14607 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14608 members of type struct timespec.
14609 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14611 (struct stat64): Likewise.
14612 (_STATBUF_ST_NSEC): New macro.
14613 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14615 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14616 __strtoul_internal rather than strtoul.
14618 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14620 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14625 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14626 which preserves existing values.
14627 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14629 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14631 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14632 TIMEOUT values. Return EINVAL for NFDS values either negative or
14633 greater than FD_SETSIZE.
14635 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14637 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14638 allocated, call __vm_protect to finish enabling the existing space, and
14639 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14640 allocate the remainder.
14642 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14644 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14645 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14647 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14649 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14650 sysdeps/mach/hurd/readlink.c.
14652 * posix/tst-sysconf.c (posix_options): Only use
14653 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14654 _POSIX_SYNCHRONIZED_IO when they are defined
14655 * sysdeps/mach/hurd/bits/posix_opt.h:
14656 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14657 (_XOPEN_REALTIME): Undefine macro.
14658 (_XOPEN_REALTIME_THREADS): Undefine macro.
14659 (_XOPEN_SHM): Undefine macro.
14660 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14662 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14664 (_POSIX_ASYNC_IO): Undefine macro.
14665 (_POSIX_PRIORITIZED_IO): Undefine macro.
14666 (_POSIX_SPIN_LOCKS): Define macro to -1.
14668 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14669 SA_NODEFER, SA_RESETHAND.
14670 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14671 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14674 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14676 * elf/Makefile (pldd-modules): Define unconditionally.
14678 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14680 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14682 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14684 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14685 Return ENOENT when name is empty.
14686 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14688 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14690 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14692 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14694 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14696 Fix mlock in all cases except non-readable pages.
14697 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14698 instead of VM_PROT_ALL as parameter to __vm_wire function.
14700 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14701 (__mkdir): When path is `/', just fail with EEXIST.
14702 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14704 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14706 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14707 <sys/uio.h> (for writev).
14708 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14709 and <sys/param.h> (for MIN).
14711 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14713 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14714 REQUESTED_TIME. Properly set the remaining time and return EINTR
14717 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14719 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14720 Depend on against $(link-rpcuserlibs).
14722 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14724 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14725 (__libc_stack_end): Do not use attribute_relro.
14726 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14727 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14728 to libthread-provided value.
14729 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14735 * bits/libc-lock.h (__libc_once_get): New macro.
14736 * sysdeps/mach/bits/libc-lock.h: Likewise.
14737 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14739 instead of using implementation details.
14741 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14742 * libio/freopen.c: Likewise.
14743 * libio/freopen64.c: Likewise.
14744 * misc/syslog.c: Likewise.
14745 * nscd/connections.c: Likewise.
14746 * nscd/netgroupcache.c: Likewise.
14747 * sysdeps/posix/getcwd.c: Likewise.
14749 2012-05-10 Roland McGrath <roland@hack.frob.com>
14751 * math/w_ilogbf.c: Add #include <limits.h>.
14753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14755 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14756 path instead of returning without unlocking.
14758 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14759 immediate-write ioctls.
14760 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14764 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14765 __builtin_frame_address instead of making assumptions about the
14766 location of the return address relative to DATA. Force early load of
14767 the return address.
14768 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14769 __builtin_frame_address.
14772 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14773 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14774 implement dup3 and do some further code clean-ups.
14775 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14776 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14778 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14780 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14782 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14783 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14784 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14785 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14786 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14789 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14790 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14791 when handler == SIG_ERR, not when handler != SIG_ERR.
14793 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14795 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14796 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14799 accept4 for GNU Hurd.
14800 * include/sys/socket.h (__libc_accept4): New prototype.
14801 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14802 to implement __libc_accept4.
14803 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14805 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14807 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14808 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14809 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14810 signal-defines.sym.
14812 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14814 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14816 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14818 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14819 assertion on O_CLOEXEC flag.
14820 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14821 * hurd/intern-fd.c: Likewise.
14822 * hurd/port2fd.c: Likewise.
14824 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14827 * bits/in.h (IPV6_PKTINFO): Define new macro.
14828 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14830 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14835 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14837 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14838 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14840 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14841 * math/libm-test.inc (logb_test) : Additional logb tests.
14843 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14844 Andreas Jaeger <aj@suse.de>
14846 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14847 * configure: Regenerated.
14848 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14849 * config.make.in (link-obsolete-rpc): New substituted variable.
14850 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14851 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14852 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14853 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14854 so that libc.a contains the symbols.
14855 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14856 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14857 * sunrpc/auth_none.c: Likewise.
14858 * sunrpc/auth_unix.c: Likewise.
14859 * sunrpc/authdes_prot.c: Likewise.
14860 * sunrpc/authuxprot.c: Likewise.
14861 * sunrpc/clnt_gen.c: Likewise.
14862 * sunrpc/clnt_perr.c: Likewise.
14863 * sunrpc/clnt_raw.c: Likewise.
14864 * sunrpc/clnt_simp.c: Likewise.
14865 * sunrpc/clnt_tcp.c: Likewise.
14866 * sunrpc/clnt_udp.c: Likewise.
14867 * sunrpc/clnt_unix.c: Likewise.
14868 * sunrpc/des_crypt.c: Likewise.
14869 * sunrpc/des_soft.c: Likewise.
14870 * sunrpc/get_myaddr.c: Likewise.
14871 * sunrpc/key_call.c: Likewise.
14872 * sunrpc/key_prot.c: Likewise.
14873 * sunrpc/netname.c: Likewise.
14874 * sunrpc/pm_getmaps.c: Likewise.
14875 * sunrpc/pm_getport.c: Likewise.
14876 * sunrpc/pmap_clnt.c: Likewise.
14877 * sunrpc/pmap_prot.c: Likewise.
14878 * sunrpc/pmap_prot2.c: Likewise.
14879 * sunrpc/pmap_rmt.c: Likewise.
14880 * sunrpc/publickey.c: Likewise.
14881 * sunrpc/rpc_cmsg.c: Likewise.
14882 * sunrpc/rpc_common.c: Likewise.
14883 * sunrpc/rpc_dtable.c: Likewise.
14884 * sunrpc/rpc_prot.c: Likewise.
14885 * sunrpc/rpc_thread.c: Likewise.
14886 * sunrpc/rtime.c: Likewise.
14887 * sunrpc/svc.c: Likewise.
14888 * sunrpc/svc_auth.c: Likewise.
14889 * sunrpc/svc_raw.c: Likewise.
14890 * sunrpc/svc_run.c: Likewise.
14891 * sunrpc/svc_tcp.c: Likewise.
14892 * sunrpc/svc_udp.c: Likewise.
14893 * sunrpc/svc_unix.c: Likewise.
14894 * sunrpc/svcauth_des.c: Likewise.
14895 * sunrpc/xcrypt.c: Likewise.
14896 * sunrpc/xdr.c: Likewise.
14897 * sunrpc/xdr_array.c: Likewise.
14898 * sunrpc/xdr_float.c: Likewise.
14899 * sunrpc/xdr_intXX_t.c: Likewise.
14900 * sunrpc/xdr_mem.c: Likewise.
14901 * sunrpc/xdr_rec.c: Likewise.
14902 * sunrpc/xdr_ref.c: Likewise.
14903 * sunrpc/xdr_sizeof.c: Likewise.
14904 * sunrpc/xdr_stdio.c: Likewise.
14906 2012-05-10 Roland McGrath <roland@hack.frob.com>
14908 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14909 change. Update copyright years.
14911 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14913 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14915 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14916 Joseph Myers <joseph@codesourcery.com>
14917 Paul Pluzhnikov <ppluzhnikov@google.com>
14920 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14922 [cross-compiling] (extra-libs): Likewise.
14923 [cross-compiling] (extra-libs-others): Likewise.
14924 [cross-compiling] (librpcsvc-routines): Likewise.
14925 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14926 [cross-compiling] (omit-deps): Likewise.
14927 (sunrpc-CPPFLAGS): New variable.
14928 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14929 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14930 (cross-rpcgen-objs): New variable.
14931 (extra-objs): Append $(cross-rpcgen-objs).
14932 ($(cross-rpcgen-objs)): New rule.
14933 ($(objpfx)cross-rpcgen): Likewise.
14934 (rpcgen-cmd): Define to use $(built-program-file). Expand
14936 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14937 ($(objpfx)x%.stmp): Likewise.
14938 * sunrpc/proto.h [IS_IN_build] (_): Define.
14939 [IS_IN_build] (_libc_intl_domainname): Likewise.
14941 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14943 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14944 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14945 and R_X86_64_TPOFF64.
14947 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14949 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14950 sysdeps/unix/sysv/syscalls.list.
14953 * sysdeps/unix/sysv/syscalls.list: Remove file.
14955 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14958 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14959 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14960 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14961 (__LC_IDENTIFICATION): Make these macros useful in #if
14962 expressions, as required by C99.
14964 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14966 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14967 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14970 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14972 * stdlib/longlong.h: Updated from GCC.
14974 2012-05-09 Andreas Jaeger <aj@suse.de>
14976 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14977 default is first entry.
14978 (run_mode): Set type.
14979 (main): Remove informal message about syslog.
14980 (options): Fix typo.
14983 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14986 (llrintf): Likewise.
14987 (llrint): Likewise.
14990 (nearbyint): Likewise.
14991 (nearbyintf): Likewise.
14993 2012-05-09 Andreas Jaeger <aj@suse.de>
14994 Pedro Alves <palves@redhat.com>
14996 * nscd/nscd.c (run_mode): Use enum.
14997 (main): Cleanup coding style issue.
14999 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15000 Andreas Jaeger <aj@suse.de>
15002 * nscd/nscd.c (go_background): Replaced with...
15003 (run_mode): ... this.
15004 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15005 (options): Add -F --foreground.
15006 (main): Implement it.
15007 (parse_opt): Parse it.
15009 2012-05-09 Andreas Jaeger <aj@suse.de>
15012 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15013 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15014 -Wconversion warning.
15015 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15018 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15020 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15022 (LC_ALL): Use macro-int-constant.
15023 (LC_COLLATE): Likewise.
15024 (LC_CTYPE): Likewise.
15025 (LC_MESSAGES): Likewise.
15026 (LC_MONETARY): Likewise.
15027 (LC_NUMERIC): Likewise.
15028 (LC_TIME): Likewise.
15029 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15030 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15032 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15034 [C99-based standards] (float_t): Expect type.
15035 [C99-based standards] (double_t): Expect type.
15036 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15038 [C99-based standards] (HUGE_VALL): Likewise.
15039 [C99-based standards] (INFINITY): Likewise.
15040 [C99-based standards] (NAN): Likewise.
15041 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15042 [C99-based standards] (FP_NAN): Likewise.
15043 [C99-based standards] (FP_NORMAL): Likewise.
15044 [C99-based standards] (FP_SUBNORMAL): Likewise.
15045 [C99-based standards] (FP_ZERO): Likewise.
15046 [C99-based standards] (FP_FAST_FMA): Use
15047 optional-macro-int-constant. Specify type. Require == 1.
15048 [C99-based standards] (FP_FAST_FMAF): Likewise.
15049 [C99-based standards] (FP_FAST_FMAL): Likewise.
15050 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15051 [C99-based standards] (FP_ILOGBNAN): Likewise.
15052 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15054 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15055 [C99-based standards] (math_errhandling): Specify type.
15056 [ISO99 || ISO11] (signgam): Do not allow.
15057 [non-C99-based standards] (copysignf): Do not allow.
15058 [non-C99-based standards] (exp2f): Likewise.
15059 [non-C99-based standards] (log2f): Likewise.
15060 [non-C99-based standards] (modff): Allow.
15061 [non-C99-based standards] (erff): Do not allow.
15062 [non-C99-based standards] (erfcf): Likewise.
15063 [non-C99-based standards] (gammaf): Likewise.
15064 [non-C99-based standards] (hypotf): Likewise.
15065 [non-C99-based standards] (j0f): Likewise.
15066 [non-C99-based standards] (j1f): Likewise.
15067 [non-C99-based standards] (jnf): Likewise.
15068 [non-C99-based standards] (lgammaf): Likewise.
15069 [non-C99-based standards] (tgammaf): Likewise.
15070 [non-C99-based standards] (y0f): Likewise.
15071 [non-C99-based standards] (y1f): Likewise.
15072 [non-C99-based standards] (ynf): Likewise.
15073 [non-C99-based standards] (isnanf): Likewise.
15074 [non-C99-based standards] (acoshf): Likewise.
15075 [non-C99-based standards] (asinhf): Likewise.
15076 [non-C99-based standards] (atanhf): Likewise.
15077 [non-C99-based standards] (cbrtf): Likewise.
15078 [non-C99-based standards] (expm1f): Likewise.
15079 [non-C99-based standards] (ilogbf): Likewise.
15080 [non-C99-based standards] (log1pf): Likewise.
15081 [non-C99-based standards] (logbf): Likewise.
15082 [non-C99-based standards] (nextafterf): Likewise.
15083 [non-C99-based standards] (remainderf): Likewise.
15084 [non-C99-based standards] (rintf): Likewise.
15085 [non-C99-based standards] (scalbf): Likewise.
15086 [non-C99-based standards] (copysignl): Likewise.
15087 [non-C99-based standards] (exp2l): Likewise.
15088 [non-C99-based standards] (log2l): Likewise.
15089 [non-C99-based standards] (modfl): Allow.
15090 [non-C99-based standards] (erfl): Do not allow.
15091 [non-C99-based standards] (erfcl): Likewise.
15092 [non-C99-based standards] (gammal): Likewise.
15093 [non-C99-based standards] (hypotl): Likewise.
15094 [non-C99-based standards] (j0l): Likewise.
15095 [non-C99-based standards] (j1l): Likewise.
15096 [non-C99-based standards] (jnl): Likewise.
15097 [non-C99-based standards] (lgammal): Likewise.
15098 [non-C99-based standards] (tgammal): Likewise.
15099 [non-C99-based standards] (y0l): Likewise.
15100 [non-C99-based standards] (y1l): Likewise.
15101 [non-C99-based standards] (ynl): Likewise.
15102 [non-C99-based standards] (isnanl): Likewise.
15103 [non-C99-based standards] (acoshl): Likewise.
15104 [non-C99-based standards] (asinhl): Likewise.
15105 [non-C99-based standards] (atanhl): Likewise.
15106 [non-C99-based standards] (cbrtl): Likewise.
15107 [non-C99-based standards] (expm1l): Likewise.
15108 [non-C99-based standards] (ilogbl): Likewise.
15109 [non-C99-based standards] (log1pl): Likewise.
15110 [non-C99-based standards] (logbl): Likewise.
15111 [non-C99-based standards] (nextafterl): Likewise.
15112 [non-C99-based standards] (remainderl): Likewise.
15113 [non-C99-based standards] (rintl): Likewise.
15114 [non-C99-based standards] (scalbl): Likewise.
15115 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15116 [non-C99-based standards] (FP_*): Do not allow.
15117 [C99-based standards] (FP_*): Change to
15118 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15119 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15121 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15122 (SIG_ERR): Likewise.
15123 [X/Open-based standards] (SIG_HOLD): Likewise.
15124 (SIG_IGN): Likewise.
15125 (SIGABRT): Use macro-int-constant. Specify type. Require
15127 (SIGFPE): Likewise.
15128 (SIGILL): Likewise.
15129 (SIGINT): Likewise.
15130 (SIGSEGV): Likewise.
15131 (SIGTER): Likewise.
15132 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15133 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15134 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15135 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15136 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15137 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15138 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15139 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15140 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15141 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15142 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15143 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15144 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15145 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15146 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15147 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15148 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15149 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15150 [X/Open-based standards] (SIGTRAP): Likewise.
15151 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15152 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15153 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15154 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15155 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15158 2012-05-08 Ian Wienand <ianw@vmware.com>
15161 * time/tzset.c (__tzset_parse_tz): Update default rules for
15162 daylight time changes in the Energy Policy Act of 2005.
15164 2012-05-09 Andreas Jaeger <aj@suse.de>
15167 * elf/ldconfig.c (parse_conf): Change string to make clear that
15168 ldconfig only issued a warning if ld.so.conf does not exist.
15170 2012-05-08 David S. Miller <davem@davemloft.net>
15172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15173 movxtod instead of popping the value on the stack.
15175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15177 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15179 * config.h.in: Add HAVE_ARM_PCS_VFP.
15181 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15184 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15185 checking but the checks are disabled for any reason.
15187 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15189 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15190 and ELF64_R_TYPE with ELFW(R_TYPE).
15192 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15194 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15195 (ulimit): Likewise.
15197 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15198 (settimeofday): Likewise.
15200 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15202 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15203 a struct th_u2 inside the union, and move tu_block/tu_code into
15204 a new th_u3 union of tu_block/tu_code inside of that. Move
15205 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15206 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15207 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15208 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15209 (th_stuff): Change to th_u1.tu_stuff.
15211 (th_msg): Change to th_u1.th_u2.tu_data.
15213 2012-05-07 David S. Miller <davem@davemloft.net>
15215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15218 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15219 (SETUP_PIC_REG): Use it.
15220 (SETUP_PIC_REG_LEAF): Use it.
15222 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15226 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15228 (EXPL_FINITE): Likewise.
15229 (FLDLOG): Likewise.
15230 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15231 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15233 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15235 (EXPL_FINITE): Likewise.
15236 (FLDLOG): Likewise.
15237 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15238 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15240 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15241 test of -max_value argument for long double.
15242 * sysdeps/i386/fpu/libm-test-ulps: Update.
15243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15245 2012-05-06 David S. Miller <davem@davemloft.net>
15247 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15248 quad soft-float symbols whose references which are compiler
15250 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15252 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15256 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15258 (EXPL_FINITE): Likewise.
15259 (FLDLOG): Likewise.
15262 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15263 Adjust comments for base varying.
15264 (__expl_finite): Change alias to EXPL_FINITE.
15265 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15267 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15268 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15269 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15270 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15271 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15273 (EXPL_FINITE): Likewise.
15274 (FLDLOG): Likewise.
15277 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15278 Adjust comments for base varying.
15279 (__expl_finite): Change alias to EXPL_FINITE.
15280 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15285 * math/libm-test.inc (check_float_internal): Correct ulp
15286 calculation for subnormal expected results.
15288 2012-05-06 Andreas Jaeger <aj@suse.de>
15290 * Makeconfig (+math-flags): New, set to -frounding-math.
15291 (+cflags): Add +math-flags so that all of glibc gets compiled with
15294 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15296 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15298 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15304 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15305 (__ieee754_expl): Allow for and saturate large arguments.
15306 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15307 (u_threshold): Likewise.
15308 (__exp): Call __ieee754_exp before checking for overflow and
15310 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15311 (u_threshold): Likewise.
15312 (__expf): Call __ieee754_expf before checking for overflow and
15314 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15315 (u_threshold): Likewise.
15316 (__expl): Call __ieee754_expl before checking for overflow and
15318 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15319 (__ieee754_expl): Allow for and saturate large arguments.
15320 * math/libm-test.inc (exp_test): Add another test. Do not allow
15321 missing overflow exception on overflow.
15322 (expm1_test): Do not allow missing overflow exception on overflow.
15324 * sysdeps/i386/fpu/e_expl.c: Move to ...
15325 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15326 rather than using inline asm.
15327 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15328 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15329 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15331 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15334 (signal): Likewise.
15338 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15340 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15341 sysdeps/unix/common/syscalls.list.
15342 (fchmod): Likewise.
15343 (fchown): Likewise.
15344 (ftruncate): Likewise.
15345 (getrusage): Likewise.
15346 (gettimeofday): Likewise.
15347 (setpgid): Likewise.
15348 (setregid): Likewise.
15349 (setreuid): Likewise.
15350 (sigaction): Likewise.
15351 (truncate): Likewise.
15352 (vhangup): Likewise.
15353 * sysdeps/unix/common/syscalls.list: Remove file.
15354 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15355 * sysdeps/unix/sysv/linux/Implies: Likewise.
15357 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15359 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15361 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15365 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15368 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15371 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15374 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15377 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15380 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15383 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15387 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15391 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15394 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15398 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15402 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15404 * sysdeps/unix/common/bits/dirent.h: Remove file.
15405 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15407 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15408 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15409 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15410 * sysdeps/unix/bsd/isatty.c: Likewise.
15411 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15412 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15413 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15415 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15418 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15419 long double comparison inaccuracies.
15420 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15423 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15425 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15426 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15428 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15431 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15432 nonzero digits before rounding a hex value.
15433 * stdlib/tst-strtod.c (tests): Add another test.
15435 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15437 * sysdeps/s390/fpu/libm-test-ulps: Update.
15439 2012-05-03 Andreas Jaeger <aj@suse.de>
15441 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15442 does not get optimized out.
15443 (malloc_opt_barrier): New.
15445 2012-05-03 Andreas Jaeger <aj@suse.de>
15446 Roland McGrath <roland@hack.frob.com>
15448 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15449 intermediate file deletion.
15450 (generated): Add .symlist files.
15452 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15455 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15456 Redirect under this condition.
15457 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15458 [__USE_GNU] (__dprintf_chk): Not under this condition.
15459 [__USE_GNU] (__vdprintf_chk): Likewise.
15460 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15461 under this condition.
15462 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15463 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15464 [__USE_XOPEN2K8] (vdprintf): Likewise.
15465 [__USE_GNU] (__dprintf_chk): Not under this condition.
15466 [__USE_GNU] (__vdprintf_chk): Likewise.
15467 [__USE_GNU] (dprintf): Likewise.
15468 [__USE_GNU] (vdprintf): Likewise.
15470 2012-05-03 Roland McGrath <roland@hack.frob.com>
15472 * elf/Makefile (common-generated): Set this instead of generated for
15473 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15474 $(all-built-dso)-derived lists.
15476 2012-05-03 Andreas Jaeger <aj@suse.de>
15478 * sysdeps/i386/fpu/libm-test-ulps: Update.
15481 * FAQ.in: Likewise.
15482 * scripts/gen-FAQ.pl: Likewise.
15483 * manual/install.texi (Installation): Point to online location of
15485 * Makefile (files-for-dist): Remove FAQ.
15488 2012-05-02 Allan McRae <allan@archlinux.org>
15490 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15491 (LDFLAGS-reldepmod5.so): Likewise.
15492 (LDFLAGS-reldep6mod1.so): Likewise.
15493 (LDFLAGS-reldep6mod4.so): Likewise.
15494 (LDFLAGS-reldep8mod3.so): Likewise.
15495 (LDFLAGS-unload4mod1.so): Likewise.
15496 (LDFLAGS-unload4mod2.so): Likewise.
15497 (LDFLAGS-tst-initorder): Likewise.
15498 (LDFLAGS-tst-initordera2.so): Likewise.
15499 (LDFLAGS-tst-initordera3.so): Likewise.
15500 (LDFLAGS-tst-initordera4.so): Likewise.
15501 (LDFLAGS-tst-initorderb2.so): Likewise.
15502 (LDFLAGS-noload): Likewise.
15503 (LDFLAGS-next): Likewise.
15504 (LDFLAGS-order2mod1.so): Likewise.
15505 (LDFLAGS-order2mod2.so): Likewise.
15506 (LDFLAGS-tst-initorder2): Likewise.
15507 (LDFLAGS-tst-initorder2a.so): Likewise.
15508 (LDFLAGS-tst-initorder2b.so): Likewise.
15509 (LDFLAGS-tst-initorder2c.so): Likewise.
15510 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15512 2012-05-02 David S. Miller <davem@davemloft.net>
15514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15516 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15519 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15521 2012-05-02 Andreas Jaeger <aj@suse.de>
15523 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15524 since we manipulate rounding mode.
15525 (CPPFLAGS-test-idouble.c): Likewise.
15526 (CPPFLAGS-test-ifloat.c): Likewise.
15527 (CFLAGS-test-ldouble.c): Likewise.
15528 (CFLAGS-test-double.c): Likewise.
15529 (CFLAGS-test-float.c): Likewise.
15530 (CFLAGS-test-misc.c): Likewise.
15531 (CFLAGS-test-test-fenv.c): Likewise.
15533 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15537 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15538 comparisons to determine direction to adjust input.
15540 2012-05-01 Roland McGrath <roland@hack.frob.com>
15542 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15543 output to the target.
15545 * scripts/localplt.awk: New file.
15546 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15547 (check-localplt-CFLAGS): Variable removed.
15548 ($(all-built-dso:=.jmprel)): New static pattern rule.
15549 (generated): Add those targets.
15550 (localplt-built-dso): New variable.
15551 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15553 * elf/check-localplt.c: File removed.
15555 * scripts/check-execstack.awk: New file.
15556 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15557 (check-execstack-CFLAGS): Variable removed.
15558 ($(objpfx)check-execstack.h): Target removed.
15559 ($(objpfx)execstack-default): New target.
15560 (generated): Add that instead of check-execstack.h.
15561 ($(all-built-dso:=.phdr)): New static pattern rule.
15562 (generated): Add those targets.
15563 * elf/check-execstack.c: File removed.
15565 * scripts/check-textrel.awk: New file.
15566 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15567 (check-textrel-CFLAGS): Variable removed.
15568 (all-built-dso): Use := to define.o
15569 ($(all-built-dso:=.dyn)): New static pattern rule.
15570 (generated): Add those targets.
15571 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15572 * config.make.in (READELF): New substituted variable.
15573 * elf/check-textrel.c: File removed.
15575 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15577 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15579 * conform/data/ctype.h-data [C99-based standards] (isblank):
15581 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15582 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15583 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15584 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15585 Specify type. Require positive value.
15586 (EILSEQ): Likewise.
15587 (ERANGE): Likewise.
15588 [ISO || POSIX] (EILSEQ): Do not expect.
15589 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15590 Specify type. Require positive value.
15591 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15592 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15593 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15594 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15595 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15596 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15597 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15598 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15599 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15600 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15601 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15602 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15603 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15604 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15605 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15606 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15607 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15608 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15609 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15610 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15611 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15612 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15613 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15614 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15615 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15616 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15617 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15618 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15619 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15620 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15621 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15622 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15623 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15624 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15625 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15626 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15627 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15628 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15629 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15630 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15631 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15632 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15633 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15634 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15635 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15636 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15637 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15638 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15639 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15640 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15641 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15642 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15643 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15644 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15645 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15646 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15647 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15648 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15649 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15650 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15651 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15652 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15653 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15658 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15659 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15660 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15661 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15665 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15666 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15667 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15669 (FLT_ROUNDS): Expect as macro, not constant.
15670 (FLT_MANT_DIG): Use macro-int-constant.
15671 (DBL_MANT_DIG): Likewise.
15672 (LDBL_MANT_DIG): Likewise.
15673 (FLT_DIG): Likewise.
15674 (DBL_DIG): Likewise.
15675 (LDBL_DIG): Likewise.
15676 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15677 (DBL_MIN_EXP): Likewise.
15678 (LDBL_MIN_EXP): Likewise.
15679 (FLT_MAX_EXP): Use macro-int-constant.
15680 (DBL_MAX_EXP): Likewise.
15681 (LDBL_MAX_EXP): Likewise.
15682 (FLT_MAX_10_EXP): Likewise.
15683 (DBL_MAX_10_EXP): Likewise.
15684 (LDBL_MAX_10_EXP): Likewise.
15685 (FLT_MAX): Use macro-constant.
15686 (DBL_MAX): Likewise.
15687 (LDBL_MAX): Likewise.
15688 (FLT_EPSILON): Use macro-constant. Give upper bound.
15689 (DBL_EPSILON): Likewise.
15690 (LDBL_EPSILON): Likewise.
15691 (FLT_MIN): Likewise.
15692 (DBL_MIN): Likewise.
15693 (LDBL_MIN): Likewise.
15694 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15695 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15696 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15697 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15698 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15699 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15700 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15701 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15702 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15703 [ISO11] (FLT_TRUE_MIN): Likewise.
15704 [ISO11] (LDBL_TRUE_MIN): Likewise.
15705 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15706 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15707 (SCHAR_MIN): Use macro-int-constant. Specify type.
15708 (SCHAR_MAX): Likewise.
15709 (UCHAR_MAX): Likewise.
15710 (CHAR_MIN): Likewise.
15711 (CHAR_MAX): Likewise.
15712 (MB_LEN_MAX): Use macro-int-constant.
15713 (SHRT_MIN): Use macro-int-constant. Specify type.
15714 (SHRT_MAX): Likewise.
15715 (USHRT_MAX): Likewise.
15716 (INT_MAX): Likewise.
15717 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15719 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15721 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15723 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15724 bound negative. Suffix upper bound with "L".
15725 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15727 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15729 [C99-based standards] (LLONG_MAX): Likewise.
15730 [C99-based standards] (ULLONG_MAX): Likewise.
15731 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15733 [ISO11] (max_align_t): Require type.
15734 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15736 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15737 from $CFLAGS, without defining away __attribute__ calls.
15738 (checknamespace): Use $CFLAGS_namespace.
15740 * conform/conformtest.pl (@keywords): Only include C99 keywords
15741 for standards based on C99 or C11.
15743 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15745 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15748 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15749 usability of symbols in #if.
15751 * conform/conformtest.pl: If macro or constant types start
15752 "promoted:", expect the symbol to be of the following type
15753 promoted by the integer promotions.
15755 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15756 in one place. Also handle "macro-constant".
15758 * conform/conformtest.pl: Only accept expected macro values with
15759 "==". Parse all "macro" lines in one place.
15760 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15762 * conform/conformtest.pl: Handle braced types on "constant" lines
15763 instead of handling "typed-constant".
15764 * conform/data/signal.h-data: Use "constant" instead of
15767 * conform/conformtest.pl: Handle "optional-" at start of lines in
15768 one place rather than duplicating several cases. Handle each
15769 format of "macro" line with initial "optional-".
15771 * conform/conformtest.pl: Only accept expected constant or
15772 optional-constant values with "==". Parse all "constant" lines in
15773 one place. Parse all "optional-constant" lines in one place.
15774 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15775 * conform/data/fmtmsg.h-data: Likewise.
15776 * conform/data/netinet/in.h-data: Likewise.
15777 * conform/data/tar.h-data: Likewise.
15778 * conform/data/limits.h-data: Use "==" form on "constant" and
15779 "optional-constant" lines.
15781 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15782 Use -std=c99 for XOPEN2K.
15783 (@knownproblems): Remove.
15784 (newtoken): Don't check %isknown.
15786 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15787 Do not expect macro.
15788 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15789 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15790 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15791 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15792 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15793 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15794 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15795 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15796 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15797 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15798 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15799 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15800 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15801 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15802 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15803 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15804 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15805 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15806 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15807 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15808 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15809 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15810 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15811 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15812 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15813 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15814 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15815 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15816 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15817 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15818 [XPG3] (acosh): Likewise.
15819 [XPG3] (asinh): Likewise.
15820 [XPG3] (atanh): Likewise.
15821 [XPG3] (cbrt): Likewise.
15822 [XPG3] (expm1): Likewise.
15823 [XPG3] (ilogb): Likewise.
15824 [XPG3] (log1p): Likewise.
15825 [XPG3] (logb): Likewise.
15826 [XPG3] (nextafter): Likewise.
15827 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15828 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15829 [XPG3] (remainder): Likewise.
15830 [XPG3] (rint): Likewise.
15831 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15832 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15833 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15834 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15835 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15836 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15837 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15838 [UNIX98 || XOPEN2K] (scalb): Expect.
15839 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15840 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15841 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15842 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15843 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15844 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15845 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15846 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15847 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15848 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15849 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15850 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15852 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15855 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15856 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15862 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15863 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15864 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15865 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15866 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15867 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15868 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15869 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15870 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15871 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15872 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15873 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15874 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15875 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15876 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15877 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15878 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15879 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15880 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15881 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15882 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15883 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15884 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15885 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15886 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15887 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15888 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15889 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15890 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15891 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15892 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15893 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15894 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15895 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15896 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15897 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15898 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15899 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15900 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15901 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15902 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15903 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15904 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15905 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15906 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15907 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15908 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15909 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15910 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15911 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15912 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15913 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15914 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15915 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15916 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15917 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15918 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15919 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15920 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15921 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15922 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15923 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15924 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15925 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15926 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15927 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15928 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15929 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15930 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15931 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15932 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15933 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15934 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15935 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15936 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15937 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15938 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15939 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15940 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15941 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15942 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15943 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15944 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15945 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15946 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15947 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15948 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15949 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15950 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15951 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15952 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15953 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15954 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15955 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15956 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15957 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15958 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15959 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15960 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15961 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15962 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15963 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15964 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15965 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15966 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15967 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15968 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15969 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15970 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15971 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15972 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15973 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15974 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15975 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15977 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15978 _XOPEN_SOURCE_EXTENDED for XPG4.
15980 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15982 * Makeconfig (localtime): Remove variable.
15983 (inst_localtime-file): Likewise.
15985 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16006 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16010 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16011 comparisons to determine direction to adjust input.
16012 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16013 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16014 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16016 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16018 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16020 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16021 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16023 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16025 * math/libm-test.inc (nexttoward_test): Add more tests.
16027 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16031 in version GLIBC_2.1, not GLIBC_2.0.
16032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16035 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16038 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16040 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16041 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16042 * math/libm-test.inc (acos_test): Add more tests.
16043 (asin_test): Likewise.
16044 * sysdeps/i386/fpu/libm-test-ulps: Update.
16045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16048 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16050 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16051 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16052 * math/libm-test.inc (acos_test_tonearest): New function.
16053 (acos_test_towardzero): Likewise.
16054 (acos_test_downward): Likewise.
16055 (acos_test_upward): Likewise.
16056 (asin_test_tonearest): Likewise.
16057 (asin_test_towardzero): Likewise.
16058 (asin_test_downward): Likewise.
16059 (asin_test_upward): Likewise.
16060 (main): Call the new functions.
16061 * sysdeps/i386/fpu/libm-test-ulps: Update.
16062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16066 * math/e_exp10.c: Include <float.h>.
16067 (__ieee754_exp10): Handle underflow here rather than multiplying
16068 large negative argument by M_LN10.
16069 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16071 * math/e_exp10l.c: Include <float.h>.
16072 (__ieee754_exp10l): Handle underflow here rather than multiplying
16073 large negative argument by M_LN10l.
16074 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16075 spurious overflow exception on underflow.
16077 2012-04-29 Marek Polacek <polacek@redhat.com>
16079 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16080 (__fortify_function): New macro.
16081 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16082 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16083 __extern_always_inline.
16084 * libio/bits/stdio2.h: Likewise.
16085 * libio/bits/stdio.h: Likewise.
16086 * string/string.h: Likewise.
16087 * string/bits/string3.h: Likewise.
16088 * include/stdio.h: Likewise.
16089 * stdlib/bits/stdlib.h: Likewise.
16090 * stdlib/stdlib.h: Likewise.
16091 * rt/bits/mqueue2.h: Likewise.
16092 * rt/mqueue.h: Likewise.
16093 * posix/bits/unistd.h: Likewise.
16094 * posix/unistd.h: Likewise.
16095 * io/bits/poll2.h: Likewise.
16096 * io/bits/fcntl2.h: Likewise.
16097 * io/fcntl.h: Likewise.
16098 * io/sys/poll.h: Likewise.
16099 * misc/bits/syslog.h: Likewise.
16100 * misc/bits/syslog-ldbl.h: Likewise.
16101 * misc/sys/syslog.h: Likewise.
16102 * socket/bits/socket2.h: Likewise.
16103 * socket/sys/socket.h: Likewise.
16104 * debug/tst-chk1.c: Likewise.
16105 * wcsmbs/bits/wchar2.h: Likewise.
16106 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16107 * wcsmbs/wchar.h: Likewise.
16109 2012-04-29 Andreas Jaeger <aj@suse.de>
16111 * Makerules (tests): Remove enable-check-abi protection.
16112 (check-abi-warn): Remove.
16113 (check-abi-%): Remove check-abi-warn usage.
16115 * configure.in: Remove check-abi configure option.
16116 * configure: Regenerated.
16117 * config.make.in (enable-check-abi): Remove.
16119 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16122 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16123 double functions to double *_finite functions.
16126 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16127 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16129 * stdio-common/Makefile (tests): Add tst-sprintf3.
16130 * stdio-common/tst-sprintf3.c: New file.
16132 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16133 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16135 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16137 * conform/conformtest.pl: Remove duplicate typed-constant
16140 2012-04-28 David S. Miller <davem@davemloft.net>
16142 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16143 (check-abi-%): Remove AWK script prerequisite and explicit
16145 (check-abi): Rewrite to just diff the symlist with the abilist.
16146 (config-tls, config-abi-config): Delete, no longer used.
16147 (update-abi-%): Remove AWK script and explicit abilist directory.
16148 (update-abi): Rewrite to simply compare and conditionally copy the
16149 symlist and the sysdep abilist file. Remove update-abi-config
16151 * abilist/ld.abilist: Remove.
16152 * abilist/libBrokenLocale.abilist: Remove.
16153 * abilist/libanl.abilist: Remove.
16154 * abilist/libcrypt.abilist: Remove.
16155 * abilist/libdl.abilist: Remove.
16156 * abilist/librt.abilist: Remove.
16157 * abilist/libthread_db.abilist: Remove.
16158 * abilist/libutil.abilist: Remove.
16159 * scripts/extract-abilist.awk: Remove.
16160 * scripts/merge-abilist.awk: Remove.
16161 * sysdeps/generic/libcidn.abilist: New file.
16162 * sysdeps/generic/libnss_compat.abilist: New file.
16163 * sysdeps/generic/libnss_db.abilist: New file.
16164 * sysdeps/generic/libnss_dns.abilist: New file.
16165 * sysdeps/generic/libnss_files.abilist: New file.
16166 * sysdeps/generic/libnss_hesiod.abilist: New file.
16167 * sysdeps/generic/libnss_nis.abilist: New file.
16168 * sysdeps/generic/libnss_nisplus.abilist: New file.
16169 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16170 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16171 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16173 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16174 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16175 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16176 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16177 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16178 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16179 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16180 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16181 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16183 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16184 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16185 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16186 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16188 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16189 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16190 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16191 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16192 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16193 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16195 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16196 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16197 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16199 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16302 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16303 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16304 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16307 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16308 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16309 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16310 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16311 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16312 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16313 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16314 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16315 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16367 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16369 * conform/conformtest.pl: Fix typo in handling typed-constant from
16372 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16374 * README: Cut down references to pre-2.6 Linux kernels and
16375 Linuxthreads. Update lists of configurations in libc and ports
16376 and sort alphabetically. Say "or newer" with Linux kernel version
16379 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16381 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16384 * math/libm-test.inc (logb_test_downward): New test to expose
16385 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16388 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16391 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16393 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16394 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16396 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16398 * sysdeps/unix/i386/brk.S: Remove file.
16399 * sysdeps/unix/i386/dl-brk.S: Likewise.
16400 * sysdeps/unix/i386/pipe.S: Likewise.
16401 * sysdeps/unix/i386/sigreturn.S: Likewise.
16402 * sysdeps/unix/i386/syscall.S: Likewise.
16403 * sysdeps/unix/i386/vfork.S: Likewise.
16404 * sysdeps/unix/i386/wait.S: Likewise.
16406 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16407 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16409 * configure.in (arm*-none*): Do not allow without
16410 --enable-hacker-mode.
16411 (netbsd*): Remove case setting base_os.
16412 (386bsd*): Likewise.
16413 (freebsd*): Likewise.
16416 (sunos*): Likewise.
16417 (ultrix*): Likewise.
16418 (newsos*): Likewise.
16419 (dynix*): Likewise.
16425 (minix*): Likewise.
16426 (irix4*): Likewise.
16427 (irix6*): Likewise.
16428 (solaris[2-9]*): Likewise.
16430 * configure: Regenerated.
16432 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16435 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16436 overflow or cancellation in calculating denominator.
16437 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16438 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16439 down expression to avoid unexpected rounding in newer GCCs.
16440 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16442 2012-04-26 David S. Miller <davem@davemloft.net>
16444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16445 long-double compat symbols.
16446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16460 2012-04-25 David S. Miller <davem@davemloft.net>
16462 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16463 HWCAP_* values only after the memory barriers have been defined.
16464 (atomic_full_barrier): Define.
16465 (atomic_read_barrier): Define.
16466 (atomic_write_barrier): Define.
16468 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16470 * shlib-versions: Add libgcc_s version information.
16471 * sysdeps/generic/libgcc_s.h: Remove.
16472 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16474 * sysdeps/gnu/unwind-resume.c: Likewise.
16475 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16477 2012-04-25 David S. Miller <davem@davemloft.net>
16479 * sysdeps/unix/sparc/brk.S: Delete.
16480 * sysdeps/unix/sparc/dl-brk.S: Delete.
16481 * sysdeps/unix/sparc/pipe.S: Delete.
16482 * sysdeps/unix/sparc/sysdep.S: Delete.
16483 * sysdeps/unix/sparc/sysdep.h: Delete.
16484 * sysdeps/unix/sparc/vfork.S: Delete.
16485 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16486 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16487 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16488 ret_ERRVAL, r0, r1, MOVE): Define.
16489 (JUMPTARGET): Remove.
16490 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16491 sysdeps/unix/sparc/sysdep.h
16492 (ENTRY, END): Remove.
16493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16495 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16497 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16498 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16501 * timezone/README: Update upstream location and email address for
16503 * timezone/zdump.c: Update from tzcode 2012b.
16504 * timezone/zic.c: Likewise.
16506 * configure.in (libc_cv_as_needed): Remove test.
16507 * configure: Regenerated.
16508 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16509 conditional definition.
16510 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16511 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16512 * config.make.in (have-as-needed): Remove variable.
16514 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16515 Paul Pluzhnikov <ppluzhnikov@google.com>
16517 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16520 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16522 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16523 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16524 * sysdeps/sh/strlen.S: Likewise.
16526 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16528 * sysdeps/unix/fork.S: Remove file.
16529 * sysdeps/unix/i386/fork.S: Likewise.
16530 * sysdeps/unix/sparc/fork.S: Likewise.
16532 * sysdeps/unix/system.c: Remove file.
16533 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16535 * sysdeps/unix/getegid.S: Remove file.
16536 * sysdeps/unix/geteuid.S: Likewise.
16538 2012-04-24 Roland McGrath <roland@hack.frob.com>
16540 * scripts/check-localplt.awk: New file.
16541 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16543 * scripts/data/localplt-generic.data: Add a comment.
16545 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16546 NODE when __dir_mkfile failed.
16547 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16548 Reported by Ludovic Courtès <ludo@gnu.org>.
16550 2012-04-24 Andreas Jaeger <aj@suse.de>
16552 * Makerules (common-clean): Also remove gen-as-const-headers
16555 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16557 * Makerules (native-compile): Do not change working directory for
16558 build. Use $(OUTPUT_OPTION) in command.
16559 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16561 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16564 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16565 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16566 * math/libm-test.inc (floor_test): Add more tests.
16567 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16569 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16571 * sysdeps/unix/getdents.c: Remove file.
16572 * sysdeps/unix/sysv/getdents.c: Likewise.
16573 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16575 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16576 sysdeps/unix/mman/syscalls.list.
16578 (mprotect): Likewise.
16580 (munmap): Likewise.
16581 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16582 * sysdeps/unix/mman/syscalls.list: Remove.
16583 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16585 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16586 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16587 * configure: Regenerated.
16588 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16589 $(libgcc_s_suffix).
16590 * config.make.in (libgcc_s_suffix): Remove variable.
16592 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16594 * sysdeps/unix/sysv/gethostname.c: Move to ...
16595 * sysdeps/posix/gethostname.c: ... here.
16597 * sysdeps/unix/execve.S: Remove file.
16599 * sysdeps/unix/_exit.S: Remove file.
16601 2012-04-23 Andreas Jaeger <aj@suse.de>
16604 * manual/Makefile: Remove make dist support, there's no
16605 need for a stand-alone documentation tar ball.
16606 (TEXI2DVI): Define always, it's not in Makeconfig.
16609 (edition): Removed.
16610 (glibc-doc-$(edition).tar): Removed
16614 (ETAGS): Remove, it's in Makeconfig.
16615 (move-if-change): Remove, it's in Makeconfig.
16617 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16620 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16621 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16622 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16623 (strtod_l, strtof_l, strtold_l): Remove __wur.
16624 It is not necessarily an error to ignore strtol's return value.
16625 One can reliably look at the stored endptr to decide whether
16626 the number had valid syntax.
16628 2012-04-21 Andreas Jaeger <aj@suse.de>
16631 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16633 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16635 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16636 * sysdeps/unix/sysv/Versions: Remove file.
16638 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16643 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16646 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16647 version from __vm86.
16649 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16651 * sysdeps/unix/common/lxstat.c: Remove file.
16652 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16654 * sysdeps/unix/sysv/Makefile: Remove file.
16656 * sysdeps/unix/sysv/direct.h: Remove file.
16658 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16659 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16660 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16661 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16662 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16663 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16664 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16666 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16668 * sysdeps/unix/xmknod.c: Remove file.
16669 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16671 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16673 * sysdeps/unix/sysv/i386/time.S: Remove file.
16675 * sysdeps/unix/fxstat.c: Remove file.
16676 * sysdeps/unix/xstat.c: Likewise.
16677 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16679 * sysdeps/unix/sysv/sigaction.c: Remove file.
16681 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16682 (sysdep_headers): Remove variable.
16683 [termio.h not in sysdep_headers] (generated): Likewise.
16684 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16685 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16686 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16687 * sysdeps/unix/sysv/tcflow.c: Likewise.
16688 * sysdeps/unix/sysv/tcflush.c: Likewise.
16689 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16690 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16691 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16692 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16693 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16695 * sysdeps/unix/siglist.c: Remove file.
16697 * sysdeps/unix/getppid.S: Remove file.
16699 * sysdeps/unix/mkdir.c: Remove file.
16700 * sysdeps/unix/rmdir.c: Likewise.
16702 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16704 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16706 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16707 errlist-compat value.
16709 2012-04-18 David S. Miller <davem@davemloft.net>
16711 * sysdeps/generic/memcopy.h (reg_char): Delete.
16712 * debug/strcat_chk.c: Use char, not reg_char.
16713 * debug/strcpy_chk.c: Likewise.
16714 * debug/strncat_chk.c: Likewise.
16715 * debug/strncpy_chk.c: Likewise.
16716 * string/memchr.c: Likewise.
16717 * string/memrchr.c: Likewise.
16718 * string/rawmemchr.c: Likewise.
16719 * string/strcat.c: Likewise.
16720 * string/strchr.c: Likewise.
16721 * string/strchrnul.c: Likewise.
16722 * string/strcmp.c: Likewise.
16723 * string/strcpy.c: Likewise.
16724 * string/strncat.c: Likewise.
16725 * string/strncmp.c: Likewise.
16726 * string/strncpy.c: Likewise.
16728 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16730 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16731 __builtin_memcopy is called when src and dest ranges are known to not
16734 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16736 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16737 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16738 fwd_align_merge macro call.
16739 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16740 bwd_align_merge macro call.
16741 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16743 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16745 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16746 bwd_align_merge macros.
16747 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16748 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16749 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16751 2012-04-18 David S. Miller <davem@davemloft.net>
16753 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16755 2012-04-18 Andreas Jaeger <aj@suse.de>
16758 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16759 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16760 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16762 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16763 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16764 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16766 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16767 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16768 Adjust for changed ldbl-128 files.
16770 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16771 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16772 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16774 2012-04-17 David S. Miller <davem@davemloft.net>
16776 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16778 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16780 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16781 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16782 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16783 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16784 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16785 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16787 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16790 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16791 * math/libm-test.inc: Add ilogb errno and exception tests.
16792 * math/w_ilogb.c: New file: ilogb wrapper.
16793 * math/w_ilogbf.c: New file: ilogbf wrapper.
16794 * math/w_ilogbl.c: New file: ilogbl wrapper.
16795 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16796 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16797 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16798 exception being thrown with 0.0 as argument.
16799 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16800 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16801 exception being thrown with 0.0 as argument.
16802 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16803 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16804 exception being thrown with 0.0 as argument.
16805 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16806 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16807 exception being thrown with 0.0 as argument.
16808 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16809 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16810 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16811 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16812 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16813 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16814 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16815 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16816 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16818 2012-04-17 Petr Baudis <pasky@ucw.cz>
16820 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16823 2012-04-16 Marek Polacek <polacek@redhat.com>
16825 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16827 2012-04-16 Marek Polacek <polacek@redhat.com>
16829 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16830 operands of fdivp instruction.
16832 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16834 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16835 * elf/tst-auditmod3b.c: Likewise.
16836 * elf/tst-auditmod4b.c: Likewise.
16837 * elf/tst-auditmod5b.c: Likewise.
16838 * elf/tst-auditmod6b.c: Likewise.
16839 * elf/tst-auditmod6c.c: Likewise.
16840 * elf/tst-auditmod7b.c: Likewise.
16841 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16842 * sysdeps/x86_64/preconfigure.in: Likewise.
16843 * sysdeps/x86_64/preconfigure: Regenerated.
16845 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16847 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16850 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16853 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16855 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16858 * locale/iso-639.def: Fix gl language name. Spotted by
16861 2012-04-12 Roland McGrath <roland@hack.frob.com>
16864 * libio/libio.h (__io_write_fn): Update comment.
16866 2012-04-12 Petr Baudis <pasky@ucw.cz>
16869 * stdio.texi (Hook Functions): The user provided writer function
16870 is not allowed to return -1.
16872 2012-04-11 David S. Miller <davem@davemloft.net>
16874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16876 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16878 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16879 Add a leading slash to rtkaio.
16881 2012-04-11 Jim Meyering <meyering@redhat.com>
16884 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16885 It is not necessarily an error to ignore fwrite's return
16886 value. One can reliably use ferror to test for errors after
16889 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16891 * bits/types.h (__snseconds_t): New type.
16892 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16894 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16896 (__SNSECONDS_T_TYPE): Likewise.
16897 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16898 (__SNSECONDS_T_TYPE): Likewise.
16899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16900 (__SNSECONDS_T_TYPE): Likewise.
16902 2012-04-10 Andreas Jaeger <aj@suse.de>
16905 * manual/time.texi (Processor Time): Return type of times is
16906 elapsed real time since an arbitrary point in the past.
16907 (CPU Time): Move CLK_TCK from here...
16908 (Processor Time): ...to here. Correct description.
16909 * manual/conf.texi (Constants for Sysconf): Correct description of
16912 2012-04-10 David S. Miller <davem@davemloft.net>
16915 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16916 where the is a gap between DT_REL(A) and DT_JMPREL.
16918 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16920 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16921 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16922 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16924 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16926 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16927 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16928 (dl_main): Handle --inhibit-cache.
16929 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16931 * elf/dl-load.c (_dl_map_object): Use it.
16932 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16934 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16937 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16938 (__ieee754_powl): Saturate large exponents rather than testing for
16939 overflow of y*log2(x).
16940 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16941 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16945 * math/s_ctan.c: Include <float.h>.
16946 (__ctan): Avoid internal overflow or cancellation in calculating
16948 * math/s_ctanf.c: Likewise.
16949 * math/s_ctanl.c: Likewise.
16950 * math/s_ctanh.c: Likewise.
16951 * math/s_ctanhf.c: Likewise.
16952 * math/s_ctanhl.c: Likewise.
16953 * math/libm-test.inc (ctan_test): Add more tests.
16954 (ctanh_test): Likewise.
16955 * sysdeps/i386/fpu/libm-test-ulps: Update.
16956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16958 2012-04-09 Andreas Jaeger <aj@suse.de>
16961 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16962 is an optional BSD extension.
16965 * manual/stdio.texi (Opening Streams): Document additional fopen
16968 2012-04-09 Roland McGrath <roland@hack.frob.com>
16970 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16971 %eax without telling the compiler.
16973 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16976 * manual/install.texi: Use sourceware.org.
16978 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16981 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16982 (__ieee754_pow): Generate overflow and underflow using huge*huge
16983 and tiny*tiny rather than just returning constant infinity or zero
16984 for large exponents.
16985 * math/libm-test.inc (pow_test): Require overflow exceptions for
16986 applicable cases of large exponents.
16989 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16990 (__ieee754_pow): Use iterative multiplication algorithm only for
16991 integer exponents with absolute value below 1024. Check for odd
16992 integer exponents when using algorithm for real exponents.
16993 * math/libm-test.inc (pow_test): Add more tests.
16994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16996 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16999 * math/libm-test.inc (exp_test): Do not allow overflow exception
17002 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17005 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17006 instead of __kernel_standard_f.
17008 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17010 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17011 * sysdeps/x86_64/memset_chk.S: Likewise.
17013 2012-04-08 Andreas Jaeger <aj@suse.de>
17016 * manual/startup.texi (Environment Access): Describe return value
17017 for putenv and setenv.
17020 * manual/filesys.texi (Directory Entries): Add description for
17024 * manual/filesys.texi (Directory Entries): Clarify that it's file
17025 system not operating system in the description of DT_UNKNOWN.
17028 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17030 2012-04-08 Stephen Compall <s11@member.fsf.org>
17033 * manual/llio.texi (Opening and Closing Files): Add cross
17034 reference to explain mode argument.
17036 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17038 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17039 * sysdeps/x86_64/memset_chk.S: Likewise.
17041 2012-04-07 David S. Miller <davem@davemloft.net>
17043 * elf/elf.h (R_SPARC_WDISP10): Define.
17044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17046 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17047 R_SPARC_SIZE64 and R_SPARC_H34.
17049 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17051 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17052 conditions and remove no longer applicable assertion.
17054 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17056 * bits/byteswap.h: Include <features.h>.
17057 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17058 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17060 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17062 * bits/byteswap.h (__bswap_16): Removed.
17063 Include <bits/byteswap-16.h> to get __bswap_16.
17064 * sysdeps/i386/bits/byteswap.h: Likewise.
17065 * sysdeps/s390/bits/byteswap.h: Likewise.
17066 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17067 * bits/byteswap-16.h: New file.
17068 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17069 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17070 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17071 * string/Makefile (headers): Add bits/byteswap-16.h.
17073 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17076 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17078 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17079 * nss/tst-nss-static.c: New.
17081 2012-04-06 Robert Millan <rmh@gnu.org>
17084 * manual/llio.texi (File Position Primitive): lseek
17085 refers to WHENCE when it really means OFFSET.
17087 2012-04-06 Andreas Jaeger <aj@suse.de>
17089 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17090 strncmp declarations.
17092 * abilist/libc.abilist: Add __poll and __ppoll.
17094 2012-04-05 David S. Miller <davem@davemloft.net>
17096 * scripts/check-local-headers.sh: Accept a host triplet in the
17097 path matched by the exclude regexp.
17099 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17101 * sysdeps/powerpc/powerpc32/dl-machine.h
17102 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17103 * sysdeps/s390/s390-32/dl-machine.h
17104 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17105 * sysdeps/sparc/sparc32/dl-machine.h
17106 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17107 * sysdeps/sparc/sparc64/dl-machine.h
17108 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17110 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17112 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17113 undefined symbol errors.
17115 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17118 2012-04-05 Michael Matz <matz@suse.de>
17121 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17123 2012-04-05 Andreas Jaeger <aj@suse.de>
17126 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17129 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17131 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17132 which ROUND is no valid rounding mode.
17134 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17136 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17138 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17140 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17142 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17143 an exception using FPU order intentionally.
17145 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17147 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17148 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17149 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17150 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17152 2012-04-05 Simon Josefsson <simon@josefsson.org>
17155 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17156 EINVAL when BUFLEN is too smal.
17158 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17161 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17162 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17164 2012-04-03 Andreas Jaeger <aj@suse.de>
17167 * manual/setjmp.texi (System V contexts): Fix sentence.
17170 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17171 New macro for this case.
17172 [!__GNUC__] (__bswap_64): New inline function for this case.
17173 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17174 * bits/byteswap.h: Likewise.
17175 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17176 ull, guard with __GLIBC_HAVE_LONG_LONG.
17178 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17179 __GLIBC_HAVE_LONG_LONG.
17181 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17182 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17184 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17187 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17188 inptr and inend, rather than using last_ch.
17190 2012-04-02 David S. Miller <davem@davemloft.net>
17192 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17193 * stdio-common/printf-parse.h (read_int): Change return type to
17194 'int', return -1 on INT_MAX overflow.
17195 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17196 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17197 overflows INT_MAX. Check for overflow of in-format-string precision
17198 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17199 SIZE_MAX not INT_MAX for integer overflow test.
17200 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17201 skip the construct in the format string but do not record anything.
17202 * stdio-common/bug22.c: Adjust to test both width/prevision
17203 INT_MAX overflow as well as total length INT_MAX overflow. Check
17204 explicitly for proper errno values.
17206 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17208 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17210 * string/test-strcmp.c [! WIDE]: Likewise.
17211 * time/tst-mktime2.c: Likewise for INT_MAX.
17212 * string/test-string.h: #include <sys/param.h> for MIN.
17214 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17215 * sysdeps/i386/init-first.c (init): Likewise.
17216 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17217 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17218 * sysdeps/sh/init-first.c (init): Likewise.
17220 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17222 * po/ru.po: Update from translation team.
17223 * po/vi.po: Likewise.
17225 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17227 * resolv/nss_dns/dns-host.c: Merge copyright years.
17229 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17232 Optimize memcpy with prefetch if
17233 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17234 src, dst pointers have unequal 16 byte alignments.
17236 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17239 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17240 from a CNAME entry and return the minimum ttl for the query.
17241 (gaih_getanswer_slice): Likewise.
17243 2012-03-30 Jeff Law <law@redhat.com>
17245 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17247 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17248 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17250 * resolv/nss_dns/dns-host.c: Update copyright year.
17252 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17254 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17255 requests to save a system call. Fix check that all bytes are sent.
17257 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17258 comments for sendmmsg.
17260 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17263 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17264 with only 1 character between 0x0041 and 0x01b0.
17265 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17266 * wcsmbs/tst-mbsnrtowcs.c: New file.
17268 2012-03-29 David S. Miller <davem@davemloft.net>
17270 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17271 small copies by hand.
17273 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17276 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17277 _nss_compat_initgroups_dyn): Fall back to malloc/free
17278 for large group memberships.
17280 2012-03-28 David S. Miller <davem@davemloft.net>
17282 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17283 that branches into memcpy.
17284 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17285 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17286 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17287 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17290 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17291 implementation too.
17292 * sysdeps/sparc/mempcpy.S: New file.
17294 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17295 the IFUNC routine in the libc case.
17296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17298 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17299 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17300 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17301 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17302 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17303 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17304 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17305 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17307 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17308 loop to 256 bytes instead of 64 bytes and fix test signedness.
17310 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17311 * sysdeps/sparc/sparc32/Makefile: rather than here...
17312 * sysdeps/sparc/sparc64/Makefile: and here.
17314 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17316 * malloc/mallocbug.c: Avoid warnings about unused variables.
17318 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17321 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17322 in the right place. Discard and retry query if response is
17323 larger than input buffer size.
17325 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17330 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17331 x for large integer exponent.
17332 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17333 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17334 sign of result as needed afterwards.
17335 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17336 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17337 result for underflowing pow the same as for overflow.
17338 (__kernel_standard_l): Handle powl overflow and underflow here
17339 rather than calling __kernel_standard.
17340 * math/libm-test.inc (pow_test): Add more tests.
17355 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17356 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17357 (__kernel_standard_l): New function.
17358 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17360 * math/w_acosl.c (__acosl): Likewise.
17361 * math/w_asinl.c (__asinl): Likewise.
17362 * math/w_atan2l.c (__atan2l): Likewise.
17363 * math/w_atanhl.c (__atanhl): Likewise.
17364 * math/w_coshl.c (__coshl): Likewise.
17365 * math/w_exp10l.c (__exp10l): Likewise.
17366 * math/w_exp2l.c (__exp2l): Likewise.
17367 * math/w_fmodl.c (__fmodl): Likewise.
17368 * math/w_hypotl.c (__hypotl): Likewise.
17369 * math/w_j0l.c (__j0l, __y0l): Likewise.
17370 * math/w_j1l.c (__j1l, __y1l): Likewise.
17371 * math/w_jnl.c (__jnl, __ynl): Likewise.
17372 * math/w_lgammal.c (__lgammal): Likewise.
17373 * math/w_log10l.c (__log10l): Likewise.
17374 * math/w_log2l.c (__log2l): Likewise.
17375 * math/w_logl.c (__logl): Likewise.
17376 * math/w_powl.c (__powl): Likewise.
17377 * math/w_remainderl.c (__remainderl): Likewise.
17378 * math/w_scalbl.c (sysv_scalbl): Likewise.
17379 * math/w_sinhl.c (__sinhl): Likewise.
17380 * math/w_sqrtl.c (__sqrtl): Likewise.
17381 * math/w_tgammal.c (__tgammal): Likewise.
17382 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17383 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17384 * math/libm-test.inc (acos_test): Add more tests.
17385 (acosh_test): Likewise.
17386 (asin_test): Likewise.
17387 (atanh_test): Likewise.
17388 (exp_test): Likewise.
17389 (exp10_test): Likewise.
17390 (exp2_test): Likewise.
17391 (expm1_test): Likewise.
17392 (lgamma_test): Likewise.
17393 (log_test): Likewise.
17394 (log10_test): Likewise.
17395 (log1p_test): Likewise.
17396 (log2_test): Likewise.
17397 (pow_test): Do not allow some spurious overflow exceptions.
17398 (sqrt_test): Add more tests.
17399 (tgamma_test): Likewise.
17400 (y0_test): Likewise.
17401 (y1_test): Likewise.
17402 (yn_test): Likewise.
17404 2012-03-27 Anton Blanchard <anton@samba.org>
17406 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17408 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17409 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17410 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17412 2012-03-27 David S. Miller <davem@davemloft.net>
17414 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17416 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17417 have-as-vis3 check.
17419 2012-03-27 Andreas Jaeger <aj@suse.de>
17421 * sysdeps/x86_64/elf/configure.in: Moved to ...
17422 * sysdeps/x86_64/configure.in: ... here.
17423 * sysdeps/x86_64/elf/start.S: Moved to ...
17424 * sysdeps/x86_64/start.S: ... here.
17425 * sysdeps/x86_64/elf/configure: Delete.
17427 * sysdeps/x86_64/configure.in: Merge contents from
17428 sysdeps/i386/configure.in (without i686 check).
17430 * sysdeps/i386/elf/Versions: Merge into ...
17431 * sysdeps/i386/Versions: ... this.
17432 * sysdeps/i386/elf/Versions: Delete file.
17433 * sysdeps/i386/elf/start.S: Moved to ...
17434 * sysdeps/i386/start.S: ...here.
17435 * sysdeps/i386/elf/configure.in: Merge into...
17436 * sysdeps/i386/configure.in: ...here.
17437 * sysdeps/i386/elf/configure.in: Delete file.
17438 * sysdeps/i386/elf/configure: Delete file.
17440 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17441 * debug/backtracesyms.c: ... here.
17442 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17443 * debug/backtracesymsfd.c: ... here.
17444 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17445 * sysdeps/generic/ifunc-sel.h: ... here.
17447 * sysdeps/unix/i386/start.c: Delete file.
17448 * sysdeps/unix/sparc/start.c: Delete file.
17449 * sysdeps/unix/start.c: Delete file.
17451 * sysdeps/sh/elf/configure.in: Moved to ...
17452 * sysdeps/sh/configure.in: ... here.
17453 * sysdeps/sh/elf/start.S: Moved to ...
17454 * sysdeps/sh/start.S: ... here.
17455 * sysdeps/sh/elf/configure: Delete file.
17457 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17458 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17459 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17460 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17461 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17462 * sysdeps/powerpc/powerpc64/start.S: here.
17463 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17464 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17465 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17466 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17467 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17469 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17470 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17471 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17472 * sysdeps/powerpc/powerpc32/start.S: ... here.
17473 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17474 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17475 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17477 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17478 * sysdeps/powerpc/ifunc-sel.h: ... here.
17479 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17480 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17482 * sysdeps/sparc/elf/configure.in: Moved to ...
17483 * sysdeps/sparc/configure.in: ... here.
17484 * sysdeps/sparc/elf/configure: Delete file.
17485 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17486 * sysdeps/sparc/sparc32/start.S: ... here.
17487 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17488 * sysdeps/sparc/sparc64/start.S: ... here.
17489 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17490 * sysdeps/sparc/sparc32/Makefile: ... this.
17491 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17492 * sysdeps/sparc/sparc64/Makefile: ... this.
17494 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17495 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17496 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17497 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17498 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17499 * sysdeps/s390/s390-32/setjmp.S: ... here.
17500 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17501 * sysdeps/s390/s390-32/configure.in: ... here.
17502 * sysdeps/s390/s390-32/elf/configure: Delete file.
17503 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17504 * sysdeps/s390/s390-32/start.S: ... here.
17506 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17507 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17508 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17509 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17510 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17511 * sysdeps/s390/s390-64/setjmp.S: ... here.
17512 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17513 * sysdeps/s390/s390-64/configure.in: ... here
17514 * sysdeps/s390/s390-64/elf/configure: Delete file.
17515 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17516 * sysdeps/s390/s390-64/start.S: ... here.
17517 * sysdeps/s390/s390-64/elf/configure: Delete.
17519 * configure.in: Remove support for elf directories in sysdeps.
17521 * configure: Regenerated.
17522 * sysdeps/i386/configure: Regenerated.
17523 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17524 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17525 * sysdeps/s390/s390-32/configure: Regenerated.
17526 * sysdeps/s390/s390-64/configure: Regenerated.
17527 * sysdeps/sh/configure: Regenerated.
17528 * sysdeps/sparc/configure: Regenerated.
17529 * sysdeps/x86_64/configure: Regenerated.
17531 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17535 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17536 denormal result into account.
17538 2012-03-25 Roland McGrath <roland@hack.frob.com>
17540 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17541 Reported by Allan McRae <allan@archlinux.org>.
17543 2012-03-23 Jeff Law <law@redhat.com>
17545 * nss/getnssent.c (__nss_getent): Fix typo.
17547 2012-03-23 David S. Miller <davem@davemloft.net>
17549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17551 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17553 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17554 to pad to uint64_t for each field.
17555 (dl_tls_index): Replace unsigned long with uint64_t.
17557 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17558 Paul Pluzhnikov <ppluzhnikov@google.com>
17561 * grp/Makefile (otherlibs): Don't set it.
17562 * inet/Makefile (otherlibs): Likewise.
17563 * login/Makefile (otherlibs): Likewise.
17564 * nscd/Makefile (otherlibs): Likewise.
17565 * posix/Makefile (otherlibs): Likewise.
17566 * pwd/Makefile (otherlibs): Likewise.
17567 * rt/Makefile (otherlibs): Likewise.
17568 * sunrpc/Makefile (otherlibs): Likewise.
17569 * nss/Makefile (otherlibs): Likewise.
17570 Add libnss_files to routines and static-only-routines.
17571 ($(objpfx)getent): Remove rule.
17572 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17573 static-only-routines.
17575 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17578 * math/s_cexp.c: Include <float.h>.
17579 (__cexp): Handle exp result overflowing not necessarily
17580 overflowing both real and imaginary parts of result.
17581 * math/s_cexpf.c: Likewise.
17582 * math/s_cexpl.c: Likewise.
17583 * math/libm-test.inc (cexp_test): Add more tests.
17584 * sysdeps/i386/fpu/libm-test-ulps: Update.
17585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17587 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17589 * include/link.h (ELFW): New macro.
17590 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17591 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17593 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17595 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17598 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17600 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17602 (struct La_x32_retval): Likewise.
17604 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17606 * sysdeps/x86_64/preconfigure.in: New file.
17607 * sysdeps/x86_64/preconfigure: New generated file.
17609 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17612 * math/e_exp2l.c: Include <float.h>.
17613 (__ieee754_exp2l): Handle overflow and underflow cases
17614 separately. Only pass fractional part of argument to
17616 * math/libm-test.inc (exp2_test): Add more tests.
17618 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17619 negating x to take absolute value.
17620 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17622 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17623 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17625 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17626 computing low part if x was negated.
17627 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17629 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17631 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17632 la_x32_gnu_pltexit.
17633 (pltexit): Cast int_retval to ptrdiff_t.
17634 * elf/tst-auditmod3b.c: Likewise.
17635 * elf/tst-auditmod4b.c: Likewise.
17636 * elf/tst-auditmod5b.c: Likewise.
17637 * elf/tst-auditmod6b.c: Likewise.
17638 * elf/tst-auditmod6c.c: Likewise.
17639 * elf/tst-auditmod7b.c: Likewise.
17641 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17642 and x32_gnu_pltexit.
17644 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17645 __ELF_NATIVE_CLASS.
17646 (La_x32_regs): New macro.
17647 (La_x32_retval): Likewise.
17648 (la_x32_gnu_pltenter): New function prototype.
17649 (la_x32_gnu_pltexit): Likewise.
17651 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17658 * configure.in (libc_cv_cc_nofma): Check for option to disable
17659 generation of FMA instructions.
17660 * configure: Regenerate.
17661 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17662 * sysdeps/ieee754/dbl-64/Makefile: New file.
17663 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17664 Remove brandred-fma4.
17665 (CFLAGS-brandred-fma4.c): Remove.
17666 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17667 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17669 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17672 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17674 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17675 LLONG_MAX != LONG_MAX.
17676 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17677 (_fitoa_word): Likewise.
17678 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17679 LLONG_MAX != LONG_MAX.
17680 * stdio-common/_itowa.h: Include <_itoa.h>.
17681 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17682 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17683 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17684 only if not defined.
17685 (_ITOA_WORD_TYPE): Likewise.
17686 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17687 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17689 2012-03-21 David S. Miller <davem@davemloft.net>
17691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17693 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17695 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17696 of x86_64 when setting libc_cv_slibdir, libdir and
17698 * sysdeps/unix/sysv/linux/configure: Regenerated.
17700 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17702 * manual/lang.texi (Old Varargs): Remove section.
17703 (How Variadic): Update menu.
17704 (va_start): Do not mention varargs.h.
17706 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17707 Joseph Myers <joseph@codesourcery.com>
17709 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17711 * configure: Regenerated.
17713 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17715 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17716 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17719 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17722 * Makefile (files-for-dist): Remove NOTES.
17723 (NOTES): Remove rule.
17724 * README: Don't refer to NOTES.
17725 * manual/creature.texi: Don't include macros.texi.
17726 * manual/intro.texi (creature.texi): Remove comment referring to
17729 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17730 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17731 * configure: Regenerated.
17732 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17733 LIBC_TRY_CC_OPTION.
17734 (libc_cv_as_i686): Likewise.
17735 (libc_cv_cc_avx): Likewise.
17736 (libc_cv_cc_sse2avx): Likewise.
17737 (libc_cv_cc_fma4): Likewise.
17738 (libc_cv_cc_novzeroupper): Likewise.
17739 * sysdeps/i386/configure: Regenerated.
17742 * sysdeps/i386/fpu/s_cexp.S: Remove.
17743 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17744 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17745 * math/libm-test.inc (cexp_test): Add more tests.
17746 * sysdeps/i386/fpu/libm-test-ulps: Update.
17747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17749 2012-03-21 Allan McRae <allan@archlinux.org>
17751 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17753 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17756 * math/w_exp2.c: Do not include <float.h>.
17757 (o_threshold, u_threshold): Remove.
17758 (__exp2): Calculate result before checking finiteness and calling
17760 * math/w_exp2f.c: Likewise.
17761 * math/w_exp2l.c: Likewise.
17762 * math/libm-test.inc (exp2_test): Require overflow exception for
17766 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17767 range of signed 64-bit integers before using fistpll. Remove
17768 checks for whether integers fit in mantissa bits.
17769 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17770 the range of signed 32-bit integers before using fistpl. Remove
17771 checks for whether integers fit in mantissa bits.
17772 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17773 (__ieee754_powl): Test for y outside the range of signed 64-bit
17774 integers before using fistpll. Reduce 64-bit values to 63-bit
17776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17777 divide-by-zero is raised for zero to large negative powers.
17778 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17779 (__ieee754_powl): Test for y outside the range of signed 64-bit
17780 integers before using fistpll. Reduce 64-bit values to 63-bit
17782 * math/libm-test.inc (pow_test): Add more tests.
17784 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17786 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17787 <stdio-common/_itoa.h>.
17788 * debug/segfault.c: Likewise.
17789 * elf/dl-cache.c: Likewise.
17790 * elf/dl-minimal.c: Likewise.
17791 * elf/dl-misc.c: Likewise.
17792 * elf/dl-sysdep.c: Likewise.
17793 * elf/dl-version.c: Likewise.
17794 * elf/rtld.c: Likewise.
17795 * hurd/hurdsock.c: Likewise.
17796 * hurd/lookup-retry.c: Likewise.
17797 * malloc/malloc.c: Likewise.
17798 * malloc/mtrace.c: Likewise.
17799 * nscd/nscd_getgr_r.c: Likewise.
17800 * nscd/nscd_getpw_r.c: Likewise.
17801 * nscd/nscd_getserv_r.c: Likewise.
17802 * posix/getopt_init.c: Likewise.
17803 * posix/wordexp.c: Likewise.
17804 * stdio-common/_itoa.c: Likewise.
17805 * stdio-common/printf_fphex.c: Likewise.
17806 * stdio-common/vfprintf.c: Likewise.
17807 * string/_strerror.c: Likewise.
17808 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17809 * sysdeps/i386/i686/hp-timing.h: Likewise.
17810 * sysdeps/mach/_strerror.c: Likewise.
17811 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17812 * sysdeps/mach/hurd/sethostid.c: Likewise.
17813 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17814 * sysdeps/mach/xpg-strerror.c: Likewise.
17815 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17816 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17817 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17818 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17819 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17820 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17821 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17822 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17823 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17824 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17825 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17826 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17827 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17828 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17829 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17830 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17831 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17832 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17833 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17834 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17835 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17837 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17839 * stdio-common/_itoa.h: Moved to ...
17840 * sysdeps/generic/_itoa.h: Here.
17842 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17844 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17845 instead of "_itoa.h" and "_itowa.h".
17846 * stdio-common/vfprintf.: Likewise.
17848 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17850 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17852 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17853 (__signbit): Likwise.
17854 (llrintf): Likwise.
17857 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17859 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17862 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17864 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17865 OVERFLOW_EXCEPTION_OK.
17866 * math/libm-test.inc ("Philosophy"): Update comment about
17868 (OVERFLOW_EXCEPTION): Define.
17869 (OVERFLOW_EXCEPTION_OK): Likewise.
17870 (INVALID_EXCEPTION_OK): Renumber.
17871 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17872 (IGNORE_ZERO_INF_SIGN): Likewise.
17873 (test_exceptions): Handle FE_OVERFLOW.
17874 (exp10_test): Expect overflow exceptions.
17875 (exp2_test): Likewise.
17876 (expm1_test): Likewise.
17877 (nextafter_test): Likewise.
17878 (pow_test): Likewise.
17879 (scalbn_test): Likewise.
17880 (scalbln_test): Likewise.
17882 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17884 * sysdeps/x86_64/bits/atomic.h
17885 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17887 (atomic_exchange_acq): Likewise.
17888 (__arch_exchange_and_add_body): Likewise.
17889 (__arch_add_body): Likewise.
17890 (atomic_add_negative): Likewise.
17891 (atomic_add_zero): Likewise.
17893 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17895 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17896 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17898 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17900 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17901 Check __x86_64__ instead of __WORDSIZE.
17903 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17905 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17907 2012-03-19 David S. Miller <davem@davemloft.net>
17909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17911 * sysdeps/sparc/fpu/fenv_private.h: New file.
17912 * sysdeps/sparc/fpu/math_private.h: Use it.
17913 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17915 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17916 (libc_feholdexcept_setroundl): Remove.
17917 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17919 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17920 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17922 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17924 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17925 int64_t instead of long int.
17926 (INSERT_WORDS64): Likwise.
17928 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17930 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17931 _Unwind_GetCFA return to _Unwind_Ptr first.
17933 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17936 * math/s_clog.c: Include <float.h>.
17937 (__clog): Scale large or subnormal inputs.
17938 * math/s_clogf.c: Likewise.
17939 * math/s_clogl.c: Likewise.
17940 * math/s_clog10.c: Include <float.h>.
17941 (M_LOG10_2): Define.
17942 (__clog10): Scale large or subnormal inputs.
17943 * math/s_clog10f.c: Likewise.
17944 * math/s_clog10l.c: Likewise.
17945 * math/libm-test.inc (clog_test): Add more tests.
17946 (clog10_test): Likewise.
17947 * sysdeps/i386/fpu/libm-test-ulps: Update.
17948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17951 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17953 * math/libm-test.inc (atan2_test): Add another test.
17955 * Makerules (common-objdir-compile): Remove.
17956 * sysdeps/unix/Makefile (config-generated): Do not add
17957 $(unix-generated) to variable.
17958 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17959 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17961 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17963 [generic bits/local_lim.h] (before-compile): Do not append to
17965 [generic bits/local_lim.h] (common-generated): Likewise.
17966 [generic sys/param.h] (before-compile): Do not append to variable.
17967 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17968 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17969 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17970 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17972 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17973 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17974 [generic sys/param.h] ($(addprefix
17975 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17976 [generic sys/param.h] (common-generated): Do not append to
17978 [generic sys/param.h] (sysdep_headers): Likewise.
17979 [generic bits/errno.h] (before-compile): Do not append to
17981 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17983 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17984 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17985 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17986 [generic bits/errno.h] (common-generated): Do not append to
17988 [generic bits/ioctls.h] (before-compile): Do not append to
17990 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17992 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17993 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17994 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17996 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17997 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17998 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17999 [generic bits/ioctls.h] (common-generated): Do not append to
18001 [generic sys/syscall.h] (syscall.h): Remove variable.
18002 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18004 [generic sys/syscall.h] (before-compile): Do not append to
18006 [generic sys/syscall.h] (common-generated): Likewise.
18007 * sysdeps/unix/errnos-tmpl.c: Remove file.
18008 * sysdeps/unix/errnos.awk: Likewise.
18009 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18010 * sysdeps/unix/ioctls.awk: Likewise.
18011 * sysdeps/unix/mk-local_lim.c: Likewise.
18012 * sysdeps/unix/snarf-ioctls: Likewise.
18014 2012-03-19 Richard Henderson <rth@twiddle.net>
18016 * sysdeps/i386/fpu/fenv_private.h: New file.
18017 * sysdeps/i386/fpu/math_private.h: Use it.
18018 (math_opt_barrier, math_force_eval): Remove.
18019 (libc_feholdexcept_setround_53bit): Remove.
18020 (libc_feupdateenv_53bit): Remove.
18021 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18022 (math_opt_barrier, math_force_eval): Remove.
18023 (libc_feholdexcept): Remove.
18024 (libc_feholdexcept_setround): Remove.
18025 (libc_fetestexcept, libc_fesetenv): Remove.
18026 (libc_feupdateenv_test): Remove.
18027 (libc_feupdateenv, libc_feholdsetround): Remove.
18028 (libc_feresetround): Remove.
18030 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18031 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18033 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18034 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18035 (libc_feupdateenv_testl): New.
18036 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18037 (libc_feupdateenv_testf): New.
18038 (libc_feupdateenv): Use libc_feupdateenv_test.
18039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18040 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18042 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18043 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18044 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18045 (libc_feresetround_noex): New.
18046 (libc_feresetround_noexf): New.
18047 (libc_feresetround_noexl): New.
18048 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18049 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18050 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18051 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18053 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18054 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18056 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18057 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18058 SET_RESTORE_ROUND_NOEX.
18059 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18060 SET_RESTORE_ROUND_NOEXF.
18061 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18062 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18063 (libc_feholdsetroundf): New.
18064 (libc_feresetround, libc_feresetroundf): New.
18066 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18067 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18068 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18070 * sysdeps/generic/math_private.h: Include <fenv.h>.
18071 (default_libc_feholdexcept): New.
18072 (default_libc_feholdexcept_setround): New.
18073 (default_libc_fesetenv, default_libc_feupdateenv): New.
18074 (libc_feholdexcept): Only define if undefined.
18075 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18076 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18077 (libc_feholdexcept_setroundl): Likewise.
18078 (libc_feholdexcept_setround_53bit): Likewise.
18079 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18080 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18081 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18082 (libc_feupdateenv_53bit): Likewise.
18083 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18084 (libc_feholdexcept): Convert from macro to inline function.
18085 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18086 (libc_fesetenv, libc_feupdateenv): Likewise.
18088 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18089 not previously defined.
18090 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18091 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18092 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18093 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18094 * sysdeps/ieee754/flt-32/math_private.h: New file.
18095 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18096 math_private.h below SET_FLOAT_WORD.
18097 (__isnan, __isinf_ns, __finite): Remove.
18098 (__isnanf, __isinf_nsf, __finitef): Remove.
18100 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18104 2012-03-17 David S. Miller <davem@davemloft.net>
18107 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18110 2012-03-16 David S. Miller <davem@davemloft.net>
18112 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18116 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18118 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18119 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18120 sysdep_routines when subdir is sysvipc.
18121 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18122 __getshmlba helper.
18124 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18126 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18128 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18131 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18133 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18134 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18135 (__lround): Renamed to ...
18136 (__llround): This. Replace long int with long long int.
18137 Define lround functions as aliases of llround functions.
18138 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18140 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18142 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18143 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18144 adresses to uintptr_t. Replace "long int" and "unsigned long
18145 int" with "greg_t" on va_arg.
18147 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18149 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18150 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18152 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18153 Move e_machine check before EI_CLASS check. Handle x32
18154 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18155 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18156 SKIP_EM_IA_64 and include
18157 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18159 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18160 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18161 (add_system_dir): New macro.
18163 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18164 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18166 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18177 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18179 * math/w_j0f.c (j0f): Likewise.
18181 * math/w_j0l.c (__j0l): Likewise.
18183 * math/w_j1.c (j1): Likewise.
18185 * math/w_j1f.c (j1f): Likewise.
18187 * math/w_j1l.c (__j1l): Likewise.
18189 * math/w_jn.c (jn): Likewise.
18191 * math/w_jnf.c (jnf): Likewise.
18193 * math/w_jnl.c (__jnl): Likewise.
18195 * math/libm-test.inc (j0_test): Add more tests.
18196 (j1_test): Likewise.
18197 (jn_test): Likewise. Add trailing semicolon to existing test.
18198 (y0_test): Likewise.
18199 (y1_test): Likewise.
18200 * sysdeps/i386/fpu/libm-test-ulps: Update.
18201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18205 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18206 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18207 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18208 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18209 (__tanl): Set errno for infinite argument.
18210 * sysdeps/i386/fpu/mptan.c: Remove.
18211 * sysdeps/i386/fpu/s_tan.S: Likewise.
18212 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18213 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18214 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18215 * math/libm-test.inc (tan_test): Add more tests and enable more
18216 tests for double and long double.
18217 * sysdeps/i386/fpu/libm-test-ulps: Update.
18218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18220 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18222 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18223 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18225 2012-03-16 Roland McGrath <roland@hack.frob.com>
18227 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18228 * configure.in: Use it for both main tree and add-ons.
18229 * configure: Regenerated.
18231 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18233 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18235 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18237 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18241 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18242 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18247 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18249 != 0 for prec == 2.
18250 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18251 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18252 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18253 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18254 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18255 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18256 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18257 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18258 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18259 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18260 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18261 * math/libm-test.inc (cos_test): Add more tests and enable more
18262 tests for long double.
18263 (sin_test): Likewise.
18264 (sincos_test): Likewise.
18265 * sysdeps/i386/fpu/libm-test-ulps: Update.
18266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18268 2012-03-16 David S. Miller <davem@davemloft.net>
18270 * sysdeps/sparc/fpu/math_private.h: New file.
18272 2012-03-15 David S. Miller <davem@davemloft.net>
18274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18288 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18289 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18291 * sysdeps/sparc/sparc-ifunc.h: New file.
18292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18318 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18319 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18337 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18339 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18343 2012-03-15 Andreas Jaeger <aj@suse.de>
18346 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18347 ieee754/flt-32 implementation for sin, cos and sincos.
18348 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18349 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18350 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18351 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18352 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18353 ieee754/flt-32 implementation for tan.
18355 * math/libm-test.inc (cos_test): Enable some large input tests for
18357 (sin_test): Likewise.
18358 (sincos_test): Likewise.
18359 (tan_test): Add tests for large input.
18361 * sysdeps/i386/fpu/libm-test-ulps: Update.
18363 2012-03-15 Andreas Jaeger <aj@suse.de>
18366 * math/libm-test.inc (cos_test): Add more test cases.
18367 (sin_test): Likewise.
18368 (sincos_test): Likewise.
18370 2012-03-15 Andreas Jaeger <aj@suse.de>
18373 * math/libm-test.inc (cos_test): Add a test case for large input
18375 (sin_test): Likewise.
18376 (sincos_test): Likewise.
18378 2012-03-15 Andreas Jaeger <aj@suse.de>,
18379 Joseph Myers <joseph@codesourcery.com>
18382 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18383 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18384 * sysdeps/i386/fpu/branred.c: Likewise.
18385 * sysdeps/i386/fpu/dosincos.c: Likewise.
18386 * sysdeps/i386/fpu/mpa.c: Likewise.
18387 * sysdeps/i386/fpu/s_cos.S: Likewise.
18388 * sysdeps/i386/fpu/s_sin.S: Likewise.
18389 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18390 * sysdeps/i386/fpu/sincos32.c: Likewise.
18392 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18394 (libc_feupdateenv_53bit): Define.
18395 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18397 (libc_feupdateenv_53bit): Define.
18399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18400 53 bit (without extend i386 double precision).
18402 * math/libm-test.inc (sincos_test): Add tests for large input.
18406 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18408 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18412 2012-03-15 David S. Miller <davem@davemloft.net>
18414 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18415 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18416 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18417 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18441 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18442 fmin/fmax sysdep routines.
18443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18445 2012-03-14 David S. Miller <davem@davemloft.net>
18447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18451 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18452 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18453 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18454 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18468 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18469 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18471 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18472 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18519 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18524 * sysdeps/sparc/configure.in: New file.
18525 * sysdeps/sparc/configure: Generate.
18526 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18527 * configure: Regenerate.
18528 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18529 * config.make.in (have-as-vis3): New.
18530 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18531 available use -Av9d instead of -Av9a.
18532 * sysdeps/sparc/sparc64/Makefile: Likewise.
18533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18543 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18544 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18548 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18549 fzeros/fnegs to load 0x80000000 into a float register instead of
18551 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18553 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18557 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18558 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18559 ($(inst_includedir)/bits/syscall.h): Remove rule.
18560 ($(objpfx)bits/syscall.d): Include instead of
18561 $(objpfx)syscall-list.d.
18562 (generated): Change syscall-list.h and syscall-list.d to
18563 bits/syscall.h and bits/syscall.d.
18565 2012-03-14 Roland McGrath <roland@hack.frob.com>
18568 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18570 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18573 * math/s_csqrt.c: Include <float.h>.
18574 (__csqrt): Scale large or subnormal inputs.
18575 * math/s_csqrtf.c: Likewise.
18576 * math/s_csqrtl.c: Likewise.
18577 * math/libm-test.inc (csqrt_test): Add more tests.
18578 * sysdeps/i386/fpu/libm-test-ulps: Update.
18579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18582 * math/libm-test.inc (hypot_test): Add more tests.
18584 2012-03-13 David S. Miller <davem@davemloft.net>
18587 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18588 double-precision for the calculation instead of scaling.
18590 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18592 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18593 manipulate bits before adding and subtracting TWO52[sx].
18594 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18595 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18597 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18599 2012-03-13 David S. Miller <davem@davemloft.net>
18601 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18602 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18604 rtld-global-offsets.h
18605 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18607 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18610 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18612 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18613 'err' in the ifdef scope in which it is actually used.
18615 * nss/nss_db/db-init.c: Include string.h
18617 2012-03-12 David S. Miller <davem@davemloft.net>
18619 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18620 masking out of the most significant byte of random value used.
18621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18622 Fix coding style in previous change.
18624 * sysdeps/unix/sysv/linux/kernel-features.h
18625 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18626 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18628 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18631 2012-03-11 David S. Miller <davem@davemloft.net>
18633 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18634 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18636 for 'resultvar' otherwise things get truncated on 64-bit.
18638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18639 Fix masking out of the most significant byte of random value used.
18641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18643 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18647 2012-03-09 David S. Miller <davem@davemloft.net>
18649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18650 variables with appropriate CPP guards.
18651 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18652 frame pointer, not the stack pointer. Correct layout comments. Fix test
18653 on resulting framesize and the management of the outregs buffer for pltexit.
18654 Preserve floating point return values across _dl_call_pltexit call.
18655 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18656 framesize and the management of the outregs buffer for pltexit.
18657 Preserve floating point return values across _dl_call_pltexit
18659 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18660 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18661 (print_exit): Fix format string for return register value.
18663 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18665 * sunrpc/Makefile (others): Add rpcgen.
18666 ($(objpfx)rpcgen): Remove special build rule and dependency on
18668 * sunrpc/rpcgen.c: New file.
18670 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18673 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18674 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18675 * sysdeps/i386/crti.S: Likewise.
18676 * sysdeps/i386/crtn.S: Likewise.
18677 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18678 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18679 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18680 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18681 * sysdeps/sh/crti.S: Likewise.
18682 * sysdeps/sh/crtn.S: Likewise.
18683 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18686 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18688 * locale/programs/locfile-kw.gperf: Likewise.
18689 * locale/programs/charmap-kw.h: Regenerated.
18690 * locale/programs/locfile-kw.h: Likewise.
18693 * intl/plural.y: Replace FSF snail mail address with URL.
18694 * intl/plural.c: Regenerated.
18696 2012-03-09 Richard Henderson <rth@twiddle.net>
18698 * include/math_private.h: Remove file.
18699 * math/math_private.h: Move file ...
18700 * sysdeps/generic/math_private.h: ... here.
18702 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18703 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18704 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18706 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18707 and <math_private.h>.
18708 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18709 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18710 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18711 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18712 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18713 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18714 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18715 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18716 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18719 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18720 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18722 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18723 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18724 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18725 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18726 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18727 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18729 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18730 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18732 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18733 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18734 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18735 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18736 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18737 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18738 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18739 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18741 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18742 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18743 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18744 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18745 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18746 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18748 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18749 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18751 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18752 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18753 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18754 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18755 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18757 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18758 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18759 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18760 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18761 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18762 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18763 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18764 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18765 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18766 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18767 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18768 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18769 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18770 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18771 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18772 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18773 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18774 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18791 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18792 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18796 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18797 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18798 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18799 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18800 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18801 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18802 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18803 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18804 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18805 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18806 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18807 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18808 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18809 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18810 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18811 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18812 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18813 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18814 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18815 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18816 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18817 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18818 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18819 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18820 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18821 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18822 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18823 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18824 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18825 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18826 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18827 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18828 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18829 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18830 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18831 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18832 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18833 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18834 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18835 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18836 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18837 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18838 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18839 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18840 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18841 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18842 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18843 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18844 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18845 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18846 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18847 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18849 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18850 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18851 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18852 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18853 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18854 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18855 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18856 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18857 * sysdeps/ieee754/k_standard.c: Likewise.
18858 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18859 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18862 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18863 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18864 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18866 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18867 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18868 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18870 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18871 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18872 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18873 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18874 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18875 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18876 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18877 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18878 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18879 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18880 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18881 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18882 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18883 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18884 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18885 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18886 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18887 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18888 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18889 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18890 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18891 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18892 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18893 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18894 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18895 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18896 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18897 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18898 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18899 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18900 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18901 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18902 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18903 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18904 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18905 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18906 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18907 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18908 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18909 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18910 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18911 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18920 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18953 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18956 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18961 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18962 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18963 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18964 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18965 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18970 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18971 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18973 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18975 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18977 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18978 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18979 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18980 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18982 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18983 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18984 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18985 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18986 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18987 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18988 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18989 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18990 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18991 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18992 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18993 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18994 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18995 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18996 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18997 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18998 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18999 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19000 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19001 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19004 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19005 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19006 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19007 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19008 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19009 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19011 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19018 * sysdeps/ieee754/s_lib_version.c: Likewise.
19019 * sysdeps/ieee754/s_matherr.c: Likewise.
19020 * sysdeps/ieee754/s_signgam.c: Likewise.
19021 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19022 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19023 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19024 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19026 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19027 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19028 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19029 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19030 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19031 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19032 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19033 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19034 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19035 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19036 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19037 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19038 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19039 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19040 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19043 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19045 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19046 * sunrpc/rpc_main.c: Likewise.
19047 * sunrpc/rpc_svcout.c: Likewise.
19049 2012-03-09 David S. Miller <davem@davemloft.net>
19051 * include/math_private.h: New file.
19053 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19055 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19056 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19057 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19058 from <bits/socket_type.h>.
19059 (enum __socket_type): Don't define here.
19060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19062 bits/socket_type.h.
19065 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19066 checking __USE_GNU.
19068 * Makerules ($(inst_includedir)/%.h): New rule.
19069 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19070 (install-others): Remove variable setting.
19071 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19073 2012-03-08 Richard Henderson <rth@twiddle.net>
19075 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19076 from macro to inline function; merge with the
19077 !__LIBC_INTERNAL_MATH_INLINES version.
19078 (__ieee754_sqrtf): Likewise.
19080 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19081 to inline function.
19082 (__rintf, __floor, __floorf): Likewise.
19084 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19085 macro to inline function.
19086 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19088 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19089 not <math/math_private.h>.
19091 2012-03-08 David S. Miller <davem@davemloft.net>
19093 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19095 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19097 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19099 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19101 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19102 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19104 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19106 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19107 be defined individually, they must be defined as a block. Define
19108 S for printing a string instead of hidint the different by using a
19109 macro for adding the 'l'.
19110 * stdio-common/tst-fphex-wide.c: Adjust.
19112 2012-03-07 Marek Polacek <polacek@redhat.com>
19114 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19116 2012-03-08 Marek Polacek <polacek@redhat.com>
19119 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19120 * stdio-common/tst-fphex.c: Define a few macros to make the
19121 test reusable. Use them.
19122 * stdio-common/tst-fphex-wide.c: New file.
19124 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19127 * manual/macros.texi (gnusystems): New macro.
19128 (nongnusystems): Likewise.
19129 (gnulinuxhurdsystems): Likewise.
19130 (gnuhurdsystems): Likewise..
19131 (gnulinuxsystems): Likewise.
19132 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19133 variants of the GNU system, not "GNU system".
19134 * manual/conf.texi: Likewise.
19135 * manual/errno.texi: Likewise. Update example of errno macro
19137 * manual/filesys.texi: Likewise.
19138 (getumask): Document as specific to GNU/Hurd.
19139 * manual/install.texi: Likewise. Reword some references to
19141 * manual/intro.texi: Likewise.
19142 * manual/io.texi: Likewise.
19143 (File Name Portability): Detail which constraints are inapplicable
19144 to all GNU systems and which are only inapplicable to GNU/Hurd.
19145 * manual/job.texi: Likewise.
19146 * manual/llio.texi: Likewise.
19147 (O_NOCTTY): Document as present on GNU/Linux.
19148 * manual/maint.texi: Likewise.
19149 * manual/memory.texi: Likewise.
19150 * manual/pattern.texi: Likewise.
19151 * manual/pipe.texi: Likewise.
19152 * manual/process.texi: Likewise.
19153 * manual/resource.texi: Likewise.
19154 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19156 * manual/setjmp.texi: Likewise.
19157 * manual/signal.texi: Likewise.
19158 * manual/startup.texi: Likewise.
19159 * manual/stdio.texi: Likewise.
19160 * manual/terminal.texi: Likewise.
19161 (ONLCR): Document as POSIX.
19162 (OXTABS): Document availability on GNU/Linux as XTABS.
19163 (ONOEOT): Document availability separately from other bits.
19164 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19165 * manual/time.texi: Likewise.
19166 * manual/users.texi: Likewise.
19167 * INSTALL: Regenerated.
19168 * sysdeps/gnu/errlist.c: Regenerated.
19170 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19171 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19172 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19174 * configure: Regenerated.
19176 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19178 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19179 default includes instead of AC_HEADER_CHECK.
19180 * sysdeps/i386/configure: Regenerated.
19183 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19184 * math/s_cacoshf.c (__cacoshf): Likewise.
19185 * math/s_cacoshl.c (__cacoshl): Likewise.
19186 * math/s_casinh.c (__casinh): Set signs of result from argument.
19187 * math/s_casinhf.c (__casinhf): Likewise.
19188 * math/s_casinhl.c (__casinhl): Likewise.
19189 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19190 (casinh_test): Add more tests.
19191 * sysdeps/i386/fpu/libm-test-ulps: Update.
19192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19194 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19196 * po/zh_TW.po: Update from translation team.
19198 * login/Makefile (distribute): Remove variable.
19199 * catgets/Makefile: Likewise.
19200 * mach/Makefile: Likewise.
19201 * malloc/Makefile: Likewise.
19202 * misc/Makefile: Likewise.
19203 * iconv/Makefile: Likewise.
19204 * nscd/Makefile: Likewise.
19205 * hurd/Makefile: Likewise.
19206 * manual/Makefile: Likewise.
19207 * locale/Makefile: Likewise.
19208 * intl/Makefile: Likewise.
19209 * conform/Makefile: Likewise.
19210 * nss/Makefile: Likewise.
19211 * time/Makefile: Likewise.
19212 * soft-fp/Makefile: Likewise.
19213 * dirent/Makefile: Likewise.
19214 * gmon/Makefile: Likewise.
19215 * po/Makefile: Likewise.
19216 * rt/Makefile: Likewise.
19217 * socket/Makefile: Likewise.
19218 * math/Makefile: Likewise.
19219 * signal/Makefile: Likewise.
19220 * debug/Makefile: Likewise.
19221 * elf/Makefile: Likewise.
19222 * timezone/Makefile: Likewise.
19223 * stdlib/Makefile: Likewise.
19224 * iconvdata/Makefile: Likewise.
19225 * sunrpc/Makefile: Likewise.
19226 * io/Makefile: Likewise.
19227 * argp/Makefile: Likewise.
19228 * inet/Makefile: Likewise.
19229 * hesiod/Makefile: Likewise.
19230 * grp/Makefile: Likewise.
19231 * csu/Makefile: Likewise.
19232 * wctype/Makefile: Likewise.
19233 * crypt/Makefile: Likewise.
19234 * libio/Makefile: Likewise.
19235 * string/Makefile: Likewise.
19236 * nis/Makefile: Likewise.
19237 * resolv/Makefile: Likewise.
19238 * stdio-common/Makefile: Likewise.
19239 * wcsmbs/Makefile: Likewise.
19240 * dlfcn/Makefile: Likewise.
19241 * posix/Makefile: Likewise.
19244 * timezone/Makefile: Don't install timezone files, just the programs
19247 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19249 * nss/databases.def: Add missing gshadow entry.
19251 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19253 2012-03-06 Marek Polacek <polacek@redhat.com>
19256 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19257 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19258 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19259 * stdio-common/tst-long-dbl-fphex.c: New file.
19261 2012-03-06 David S. Miller <davem@davemloft.net>
19263 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19264 (set_obp_int): New function.
19265 (get_obp_int): New function.
19266 (__get_clockfreq_via_dev_openprom): Likewise.
19267 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19268 Avoid unused variable warnings on 'val' and use builtin_expect.
19269 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19271 (INLINE_CLONE_SYSCALL): Likewise.
19273 2012-03-05 David S. Miller <davem@davemloft.net>
19275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19277 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19281 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19282 only for |x| >= 40.
19283 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19285 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19288 Replace gettimeofday with __vdso_gettimeofday.
19290 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19291 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19292 __vdso_clock_gettime and __vdso_getcpu.
19294 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19295 time with __vdso_time.
19297 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19299 * manual/lang.texi (size_t): Note types to which size_t may be
19300 equivalent with the GNU C Library, but do not describe when
19301 differences between them are significant.
19303 2012-03-05 Andreas Jaeger <aj@suse.de>
19305 * sysdeps/i386/fpu/libm-test-ulps: Update.
19307 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19310 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19311 (__ieee754_pow): Save and restore rounding mode and use
19312 round-to-nearest for main computations.
19313 * math/libm-test.inc (pow_test_tonearest): New function.
19314 (pow_test_towardzero): Likewise.
19315 (pow_test_downward): Likewise.
19316 (pow_test_upward): Likewise.
19317 (main): Call the new functions.
19318 * sysdeps/i386/fpu/libm-test-ulps: Update.
19319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19322 * math/libm-test.inc (cosh_test_tonearest): New function.
19323 (cosh_test_towardzero): Likewise.
19324 (cosh_test_downward): Likewise.
19325 (cosh_test_upward): Likewise.
19326 (sinh_test_tonearest): Likewise.
19327 (sinh_test_towardzero): Likewise.
19328 (sinh_test_downward): Likewise.
19329 (sinh_test_upward): Likewise.
19330 (main): Call the new functions.
19331 * sysdeps/i386/fpu/libm-test-ulps: Update.
19332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19334 2012-03-05 Tom de Vries <tom@codesourcery.com>
19336 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19337 default stack guard is set in last bytes.
19338 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19340 2012-03-05 Kees Cook <keescook@chromium.org>
19342 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19345 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19346 possibly allocate from heap instead of stack.
19347 * stdio-common/bug-vfprintf-nargs.c: New file.
19348 * stdio-common/Makefile (tests): Add nargs overflow test.
19350 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19354 2012-03-03 Marek Polacek <polacek@redhat.com>
19356 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19357 * math/math_private.h: Likewise.
19358 * stdlib/tst-strtod.c: Likewise.
19359 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19360 * sysdeps/x86_64/bits/atomic.h: Likewise.
19362 2012-03-02 David S. Miller <davem@davemloft.net>
19364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19368 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19369 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19370 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19371 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19373 2012-03-02 Roland McGrath <roland@hack.frob.com>
19376 * manual/examples/README: New file, says the example source files
19377 can be used under GPL>=2.
19378 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19379 line containing just "*/".
19380 * manual/examples/add.c: Add copyright header (GPL>=2).
19381 * manual/examples/argp-ex1.c: Likewise.
19382 * manual/examples/argp-ex2.c: Likewise.
19383 * manual/examples/argp-ex3.c: Likewise.
19384 * manual/examples/argp-ex4.c: Likewise.
19385 * manual/examples/atexit.c: Likewise.
19386 * manual/examples/db.c: Likewise.
19387 * manual/examples/dir.c: Likewise.
19388 * manual/examples/dir2.c: Likewise.
19389 * manual/examples/execinfo.c: Likewise.
19390 * manual/examples/filecli.c: Likewise.
19391 * manual/examples/filesrv.c: Likewise.
19392 * manual/examples/fmtmsgexpl.c: Likewise.
19393 * manual/examples/genpass.c: Likewise.
19394 * manual/examples/inetcli.c: Likewise.
19395 * manual/examples/inetsrv.c: Likewise.
19396 * manual/examples/isockad.c: Likewise.
19397 * manual/examples/longopt.c: Likewise.
19398 * manual/examples/memopen.c: Likewise.
19399 * manual/examples/memstrm.c: Likewise.
19400 * manual/examples/mkfsock.c: Likewise.
19401 * manual/examples/mkisock.c: Likewise.
19402 * manual/examples/mygetpass.c: Likewise.
19403 * manual/examples/pipe.c: Likewise.
19404 * manual/examples/popen.c: Likewise.
19405 * manual/examples/rprintf.c: Likewise.
19406 * manual/examples/search.c: Likewise.
19407 * manual/examples/select.c: Likewise.
19408 * manual/examples/setjmp.c: Likewise.
19409 * manual/examples/sigh1.c: Likewise.
19410 * manual/examples/sigusr.c: Likewise.
19411 * manual/examples/stpcpy.c: Likewise.
19412 * manual/examples/strdupa.c: Likewise.
19413 * manual/examples/strftim.c: Likewise.
19414 * manual/examples/strncat.c: Likewise.
19415 * manual/examples/subopt.c: Likewise.
19416 * manual/examples/swapcontext.c: Likewise.
19417 * manual/examples/termios.c: Likewise.
19418 * manual/examples/testopt.c: Likewise.
19419 * manual/examples/testpass.c: Likewise.
19420 * manual/examples/timeval_subtract.c: Likewise.
19423 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19425 * manual/timeval_subtract.c.texi: ... here, new file.
19427 2012-03-02 David S. Miller <davem@davemloft.net>
19429 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19431 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19434 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19435 (__sin): Save and restore rounding mode and use round-to-nearest
19436 for all computations.
19437 (__cos): Save and restore rounding mode and use round-to-nearest
19438 for all computations.
19439 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19441 (tan): Save and restore rounding mode and use round-to-nearest for
19443 * math/libm-test.inc (cos_test_tonearest): New function.
19444 (cos_test_towardzero): Likewise.
19445 (cos_test_downward): Likewise.
19446 (cos_test_upward): Likewise.
19447 (sin_test_tonearest): Likewise.
19448 (sin_test_towardzero): Likewise.
19449 (sin_test_downward): Likewise.
19450 (sin_test_upward): Likewise.
19451 (tan_test_tonearest): Likewise.
19452 (tan_test_towardzero): Likewise.
19453 (tan_test_downward): Likewise.
19454 (tan_test_upward): Likewise.
19455 (main): Call the new functions.
19456 * sysdeps/i386/fpu/libm-test-ulps: Update.
19457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19460 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19461 small n, then large n, before computing and testing k+n.
19462 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19467 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19468 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19469 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19470 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19471 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19472 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19473 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19474 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19475 * math/libm-test.inc (scalbn_test): Add more tests.
19476 (scalbln_test): Likewise.
19478 * manual/filesys.texi (mode_t): Describe constraints on size and
19479 signedness, not exact equivalence to a particular type.
19481 (ino64_t): Likewise.
19483 (nlink_t): Likewise.
19484 (blkcnt_t): Likewise.
19485 (blkcnt64_t): Likewise.
19486 * manual/llio.texi (off_t): Likewise.
19489 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19490 (__ieee754_exp): Save and restore rounding mode and use
19491 round-to-nearest for all computations.
19492 * math/libm-test.inc (exp_test_tonearest): New function.
19493 (exp_test_towardzero): Likewise.
19494 (exp_test_downward): Likewise.
19495 (exp_test_upward): Likewise.
19496 (main): Call the new functions.
19497 * sysdeps/i386/fpu/libm-test-ulps: Update.
19498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19500 2012-03-01 Chris Demetriou <cgd@google.com>
19502 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19503 have predictable order.
19505 2012-03-01 David S. Miller <davem@davemloft.net>
19507 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19509 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19510 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19511 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19512 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19514 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19515 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19516 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19518 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19519 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19520 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19521 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19522 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19527 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19528 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19530 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19531 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19532 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19533 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19534 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19535 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19536 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19537 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19538 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19539 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19540 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19541 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19543 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19544 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19546 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19547 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19548 * sysdeps/sparc/elf/configure: Regenerated.
19550 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19552 * configure.in (AS, LD): Require binutils 2.20 or later.
19553 * configure: Regenerated.
19554 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19555 as required minimum version.
19556 * INSTALL: Regenerated.
19560 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19561 before squaring exponent.
19562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19563 bottom long double and 27 bits of top long double before squaring
19565 * math/libm-test.inc (erfc_test): Add more tests.
19566 * sysdeps/i386/fpu/libm-test-ulps: Update.
19567 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19570 2012-03-01 Kai Tietz <ktietz@redhat.com>
19572 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19573 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19574 containing bit-fields.
19575 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19576 * soft-fp/single.h (_FP_UNION_S): Likewise.
19577 * soft-fp/double.h (_FP_UNION_D): Likewise.
19579 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19582 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19583 not include ../strcmp.S.
19584 [USE_AS_STRNCASECMP_L]: Likewise.
19585 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19586 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19587 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19588 (__strncasecmp_l_ia32): Define as alias to
19589 __strncasecmp_l_nonascii.
19592 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19593 * sysdeps/i386/fpu/libm-test-ulps: Update.
19594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19596 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19599 2012-02-29 Jeff Law <law@redhat.com>
19601 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19602 out of bounds read.
19604 2012-02-29 Marek Polacek <polacek@redhat.com>
19607 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19608 * elf/Makefile: Add rules to run tst-unused-dep.out.
19610 2012-02-28 David S. Miller <davem@davemloft.net>
19612 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19613 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19614 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19615 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19616 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19617 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19619 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19621 * math/libm-test.inc (llround_test): Move one test from
19622 lround_test. Use TEST_f_L in moved test.
19623 (lround_test): Move misplaced test to llround_test. Add testcase
19626 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19628 * sysdeps/x86_64/fpu/e_expf.S: New file.
19629 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19631 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19634 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19635 of remain_len that may cause incomplete multi-byte character and
19637 * posix/bug-regex33.c: New file.
19638 * posix/Makefile (tests): Add bug-regex33.
19640 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19642 * manual/macros.texi: New file.
19643 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19644 * manual/libc.texinfo: Include macros.texi.
19645 * manual/creatute.texi: Likewise.
19646 * manual/install.texi: Likewise.
19647 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19648 @glibcadj{} in references to the GNU C Library.
19649 * manual/charset.texi: Likewise.
19650 * manual/conf.texi: Likewise.
19651 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19652 when not using those macros.
19653 * manual/creature.texi: Likewise.
19654 * manual/crypt.texi: Likewise.
19655 * manual/errno.texi: Likewise.
19656 * manual/filesys.texi: Likewise.
19657 * manual/header.texi: Likewise.
19658 * manual/install.texi: Likewise.
19659 * manual/intro.texi: Likewise.
19660 * manual/io.texi: Likewise.
19661 * manual/job.texi: Likewise.
19662 * manual/lang.texi: Likewise.
19663 * manual/libc.texiinfo: Likewise.
19664 * manual/llio.texi: Likewise.
19665 * manual/locale.texi: Likewise.
19666 * manual/maint.texi: Likewise.
19667 * manual/math.texi: Likewise.
19668 * manual/memory.texi: Likewise.
19669 * manual/message.texi: Likewise.
19670 * manual/nss.texi: Likewise.
19671 * manual/pattern.texi: Likewise.
19672 * manual/process.texi: Likewise.
19673 * manual/resource.texi: Likewise.
19674 * manual/search.texi: Likewise.
19675 * manual/setjmp.texi: Likewise.
19676 * manual/signal.texi: Likewise.
19677 * manual/socket.texi: Likewise.
19678 * manual/startup.texi: Likewise.
19679 * manual/stdio.texi: Likewise.
19680 * manual/string.texi: Likewise.
19681 * manual/sysinfo.texi: Likewise.
19682 * manual/syslog.texi: Likewise.
19683 * manual/terminal.texi: Likewise.
19684 * manual/time.texi: Likewise.
19685 * manual/users.texi: Likewise.
19686 * INSTALL: Regenerated.
19687 * NOTES: Regenerated.
19688 * sysdeps/gnu/errlist.c: Regenerated.
19690 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19692 * include/dirent.h: Include <dirstream.h> before
19695 2012-02-28 David S. Miller <davem@davemloft.net>
19697 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19698 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19699 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19700 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19702 2012-02-27 David S. Miller <davem@davemloft.net>
19704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19706 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19707 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19710 frame pointer instead of stack pointer relative arg slot.
19711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19712 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19713 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19715 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19718 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19720 2012-02-27 David S. Miller <davem@davemloft.net>
19722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19726 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19727 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19728 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19729 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19731 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19733 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19734 later. Allow versions 5-9.
19735 * configure: Regenerated.
19736 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19737 required minimum version and 4.6 as recommended version. Do not
19738 mention bugs in GCC 2.7 and 2.8.
19739 * INSTALL: Regenerated.
19741 2012-02-27 David S. Miller <davem@davemloft.net>
19743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19747 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19748 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19749 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19750 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19752 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19753 manipulate bits before adding and subtracting TWO112[sx].
19754 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19756 2012-02-27 Roland McGrath <roland@hack.frob.com>
19759 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19760 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19761 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19762 being in POSIX, because they are in 1003.1-2008.
19764 * rt/tst-aio.c: Include <fcntl.h>.
19765 * rt/tst-aio7.c: Likewise.
19766 * rt/tst-aio64.c: Likewise.
19768 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19770 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19772 * manual/install.texi (--with-headers): Describe headers as
19773 interface headers, not private headers.
19774 (Specific advice for GNU/Linux systems): Describe use of headers
19775 from "make headers_install", not private headers from older
19777 * INSTALL: Regenerated.
19778 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19780 * sysdeps/unix/sysv/linux/configure: Regenerated.
19782 * manual/llio.texi (fclean): Remove documentation.
19784 * manual/Makefile (libc-texi-generated): New variable. Include
19786 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19787 $(libc-texi-generated), not duplicated list of files.
19788 (version.texi, stamp-version): New rules.
19789 (realclean): Remove $(libc-texi-generated), not individual files
19790 from that list. Do not remove dir-add.texinfo.
19791 * manual/libc.texinfo: Comment out uses of edition numbers and
19792 references to printed manual. Remove last-updated dates.
19793 (EDITION): Comment out.
19795 (VERSION, UPDATED): Remove.
19796 (version.texi): Include.
19798 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19800 * sysdeps/posix/spawni.c: Include <signal.h>.
19801 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19802 * sysdeps/pthread/aio_fsync.c: Likewise.
19804 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19806 * conform/Makefile (tests): Run only when not cross-compiling and
19807 when fast-check is not defined.
19809 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19810 * conform/data/limits.h-data: Fixes for POSIX2008.
19811 * conform/run-conformtest.sh: Run all tests.
19812 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19814 * include/bits/dlfcn.h: Likewise.
19815 * include/langinfo.h: Likewise.
19816 * include/monetary.h: Likewise.
19817 * include/sys/poll.h: Likewise.
19819 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19821 * posix/spawn.h: Define __need_sigset_t.
19822 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19823 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19824 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19825 to get sigevent_t only.
19826 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19827 only for __USE_GNU.
19828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19829 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19830 process_vm_writev only for __USE_GNU.
19831 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19833 * conform/Makefile: For now ignore errors from run-conformtest.
19834 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19835 POSIX to avoid namespace pollution. Don't prepend headers.
19836 * conform/data/aio.h-data: Fixes for POSIX testing.
19837 * conform/data/fcntl.h-data: Likewise.
19838 * conform/data/glob.h-data: Likewise.
19839 * conform/data/grp.h-data: Likewise.
19840 * conform/data/pthread.h-data: Likewise.
19841 * conform/data/pwd.h-data: Likewise.
19842 * conform/data/signal.h-data: Likewise.
19843 * conform/data/spawn.h-data: Likewise.
19844 * conform/data/stdio.h-data: Likewise.
19845 * conform/data/stdlib.h-data: Likewise.
19846 * conform/data/stropts.h-data: Likewise.
19847 * conform/data/sys/mman.h-data: Likewise.
19848 * conform/data/sys/stat.h-data: Likewise.
19849 * conform/data/sys/types.h-data: Likewise.
19850 * conform/data/sys/wait.h-data: Likewise.
19851 * conform/data/time.h-data: Likewise.
19852 * conform/data/unistd.h-data: Likewise.
19853 * conform/data/utime.h-data: Likewise.
19855 * io/sys/stat.h: fchmod was always in POSIX.
19856 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19857 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19858 * rt/aio.h: Define __need_timespec before including <time.h>.
19859 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19860 struct. Add forward declaration of pthread_attr_t and use it in
19862 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19863 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19864 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19865 always remove CLK_TCK definition.
19867 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19869 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19871 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19873 * conform/run-conformtest.sh: New file.
19874 * conform/Makefile: Run run-conformtest for tests.
19875 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19878 * conform/data/uchar.h-data: New file.
19879 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19880 * conform/data/arpa/inet.h-data: Likewise.
19881 * conform/data/assert.h-data: Likewise.
19882 * conform/data/complex.h-data: Likewise.
19883 * conform/data/cpio.h-data: Likewise.
19884 * conform/data/ctype.h-data: Likewise.
19885 * conform/data/dirent.h-data: Likewise.
19886 * conform/data/dlfcn.h-data: Likewise.
19887 * conform/data/errno.h-data: Likewise.
19888 * conform/data/fcntl.h-data: Likewise.
19889 * conform/data/float.h-data: Likewise.
19890 * conform/data/fmtmsg.h-data: Likewise.
19891 * conform/data/fnmatch.h-data: Likewise.
19892 * conform/data/ftw.h-data: Likewise.
19893 * conform/data/glob.h-data: Likewise.
19894 * conform/data/grp.h-data: Likewise.
19895 * conform/data/iconv.h-data: Likewise.
19896 * conform/data/inttypes.h-data: Likewise.
19897 * conform/data/langinfo.h-data: Likewise.
19898 * conform/data/libgen.h-data: Likewise.
19899 * conform/data/limits.h-data: Likewise.
19900 * conform/data/locale.h-data: Likewise.
19901 * conform/data/math.h-data: Likewise.
19902 * conform/data/monetary.h-data: Likewise.
19903 * conform/data/mqueue.h-data: Likewise.
19904 * conform/data/ndbm.h-data: Likewise.
19905 * conform/data/net/if.h-data: Likewise.
19906 * conform/data/netdb.h-data: Likewise.
19907 * conform/data/netinet/in.h-data: Likewise.
19908 * conform/data/nl_types.h-data: Likewise.
19909 * conform/data/poll.h-data: Likewise.
19910 * conform/data/pthread.h-data: Likewise.
19911 * conform/data/pwd.h-data: Likewise.
19912 * conform/data/regex.h-data: Likewise.
19913 * conform/data/sched.h-data: Likewise.
19914 * conform/data/search.h-data: Likewise.
19915 * conform/data/semaphore.h-data: Likewise.
19916 * conform/data/setjmp.h-data: Likewise.
19917 * conform/data/signal.h-data: Likewise.
19918 * conform/data/spawn.h-data: Likewise.
19919 * conform/data/stdarg.h-data: Likewise.
19920 * conform/data/stdio.h-data: Likewise.
19921 * conform/data/stdlib.h-data: Likewise.
19922 * conform/data/string.h-data: Likewise.
19923 * conform/data/strings.h-data: Likewise.
19924 * conform/data/stropts.h-data: Likewise.
19925 * conform/data/sys/ipc.h-data: Likewise.
19926 * conform/data/sys/mman.h-data: Likewise.
19927 * conform/data/sys/msg.h-data: Likewise.
19928 * conform/data/sys/resource.h-data: Likewise.
19929 * conform/data/sys/select.h-data: Likewise.
19930 * conform/data/sys/sem.h-data: Likewise.
19931 * conform/data/sys/shm.h-data: Likewise.
19932 * conform/data/sys/socket.h-data: Likewise.
19933 * conform/data/sys/stat.h-data: Likewise.
19934 * conform/data/sys/statvfs.h-data: Likewise.
19935 * conform/data/sys/time.h-data: Likewise.
19936 * conform/data/sys/timeb.h-data: Likewise.
19937 * conform/data/sys/times.h-data: Likewise.
19938 * conform/data/sys/types.h-data: Likewise.
19939 * conform/data/sys/uio.h-data: Likewise.
19940 * conform/data/sys/un.h-data: Likewise.
19941 * conform/data/sys/utsname.h-data: Likewise.
19942 * conform/data/sys/wait.h-data: Likewise.
19943 * conform/data/syslog.h-data: Likewise.
19944 * conform/data/tar.h-data: Likewise.
19945 * conform/data/termios.h-data: Likewise.
19946 * conform/data/utime.h-data: Likewise.
19947 * conform/data/utmpx.h-data: Likewise.
19948 * conform/data/varargs.h-data: Likewise.
19949 * conform/data/wchar.h-data: Likewise.
19950 * conform/data/wctype.h-data: Likewise.
19951 * conform/data/wordexp.h-data: Likewise.
19953 * include/stropts.h: New file.
19954 * include/uchar.h: New file.
19955 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19956 * include/assert.h: Likewise.
19957 * include/ctype.h: Likewise.
19958 * include/dirent.h: Likewise.
19959 * include/dlfcn.h: Likewise.
19960 * include/fcntl.h: Likewise.
19961 * include/fnmatch.h: Likewise.
19962 * include/glob.h: Likewise.
19963 * include/grp.h: Likewise.
19964 * include/libio.h: Likewise.
19965 * include/locale.h: Likewise.
19966 * include/math.h: Likewise.
19967 * include/net/if.h: Likewise.
19968 * include/netdb.h: Likewise.
19969 * include/netinet/in.h: Likewise.
19970 * include/pthread.h: Likewise.
19971 * include/pwd.h: Likewise.
19972 * include/regex.h: Likewise.
19973 * include/sched.h: Likewise.
19974 * include/search.h: Likewise.
19975 * include/setjmp.h: Likewise.
19976 * include/signal.h: Likewise.
19977 * include/stdio.h: Likewise.
19978 * include/stdlib.h: Likewise.
19979 * include/string.h: Likewise.
19980 * include/sys/cdefs.h: Likewise.
19981 * include/sys/mman.h: Likewise.
19982 * include/sys/msg.h: Likewise.
19983 * include/sys/resource.h: Likewise.
19984 * include/sys/select.h: Likewise.
19985 * include/sys/socket.h: Likewise.
19986 * include/sys/stat.h: Likewise.
19987 * include/sys/statvfs.h: Likewise.
19988 * include/sys/time.h: Likewise.
19989 * include/sys/times.h: Likewise.
19990 * include/sys/uio.h: Likewise.
19991 * include/sys/utsname.h: Likewise.
19992 * include/sys/wait.h: Likewise.
19993 * include/termios.h: Likewise.
19994 * include/time.h: Likewise.
19995 * include/ulimit.h: Likewise.
19996 * include/unistd.h: Likewise.
19997 * include/utime.h: Likewise.
19998 * include/wchar.h: Likewise.
19999 * include/wctype.h: Likewise.
20000 * include/wordexp.h: Likewise.
20002 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20004 * time/time.h: TIME_UTC must be a macro.
20005 Make timespec_get available for ISO C11 only as well.
20007 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20009 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20010 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20012 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20014 * configure.in: Use -o not -a in test for unsupported multi-arch.
20016 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20018 * manual/texinfo.tex: Update to version 2012-01-19.16.
20020 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20022 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20024 2012-02-24 Roland McGrath <roland@hack.frob.com>
20027 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20028 * manual/fdl-1.3.texi: New file.
20029 * manual/fdl-1.1.texi: File removed.
20032 * manual/libc.texinfo (FDL_VERSION): New @set.
20033 Use it for mention of FDL in cover text.
20034 (Documentation License): Use it in @include file name.
20036 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20037 Roland McGrath <roland@hack.frob.com>
20040 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20041 not LONG_LONG_MAX and LONG_LONG_MIN.
20042 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20043 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20045 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20047 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20051 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20052 manipulate bits before adding and subtracting TWO23[sx].
20053 * math/libm-test.inc (nearbyint_test): Add more tests.
20055 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20058 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20059 bits before adding and subtracting TWO23[sx].
20060 * math/libm-test.inc (rint_test): Add more tests.
20061 (rint_test_tonearest): Likewise.
20062 (rint_test_towardzero): Likewise.
20063 (rint_test_downward): Likewise.
20064 (rint_test_upward: Likewise.
20066 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20069 * include/stdc-predef.h: New file. Extracted from features.h.
20070 * include/features.h: Include stdc-predef.h.
20071 * Makefile (headers): Add stdc-predef.h.
20072 * CONFORMANCE (Compiler limitations): Update.
20074 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20076 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20078 2012-02-21 David S. Miller <davem@davemloft.net>
20080 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20081 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20083 2012-02-20 David S. Miller <davem@davemloft.net>
20085 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20086 using a normal save/restore sequence, rather than allocating a
20087 dummy stack frame just to store a frame pointer and restore.
20088 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20090 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20092 * manual/install.texi: Fix stray word in line-wrapped comment.
20094 2012-02-20 David S. Miller <davem@davemloft.net>
20096 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20097 both binutils and gcc support GOTDATA.
20099 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20100 "rd %pc" in the PIC register setup sequences.
20102 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20103 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20104 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20105 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20106 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20107 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20108 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20109 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20111 (SYSCALL_ERROR_HANDLER): Likewise.
20112 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20113 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20115 (SYSCALL_ERROR_HANDLER): Likewise.
20117 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20118 (HAVE_GCC_GOTDATA): New.
20119 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20120 relocation support in both binutils and gcc.
20121 * sysdeps/sparc/elf/configure: Regenerate.
20123 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20124 * sysdeps/sparc/sparc32/elf/configure: Delete.
20125 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20126 * sysdeps/sparc/sparc64/elf/configure: Delete.
20127 * sysdeps/sparc/elf/configure.in: New file.
20128 * sysdeps/sparc/elf/configure: Generate.
20130 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20131 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20132 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20133 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20134 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20136 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20138 * manual/install.texi: Do not mention specific glibc version
20140 * manual/libc.texinfo (VERSION, UPDATED): Update.
20141 (@copying): Use @copyright{} and range of years.
20143 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20146 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20147 [crti.S not in sysdirs] (generated): Do not append.
20148 [crti.S not in sysdirs] (omit-deps): Likewise.
20149 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20150 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20151 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20152 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20153 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20155 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20156 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20157 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20158 * csu/defs.awk: Remove file.
20159 * sysdeps/generic/initfini.c: Likewise.
20160 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20162 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20165 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20167 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20168 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20169 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20170 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20171 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20172 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20174 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20175 (__EPOLL_PACKED): Define to empty if not defined by
20177 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20181 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20183 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20184 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20185 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20186 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20188 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20192 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20194 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20197 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20201 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20203 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20204 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20206 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20208 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20209 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20211 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20213 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20216 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20218 * math/w_acos.c: Use non-signaling floating-point comparisons.
20219 * math/w_acosf.c: Likewise.
20220 * math/w_acosh.c: Likewise.
20221 * math/w_acoshf.c: Likewise.
20222 * math/w_acoshl.c: Likewise.
20223 * math/w_acosl.c: Likewise.
20224 * math/w_asin.c: Likewise.
20225 * math/w_asinf.c: Likewise.
20226 * math/w_asinl.c: Likewise.
20227 * math/w_atanh.c: Likewise.
20228 * math/w_atanhf.c: Likewise.
20229 * math/w_atanhl.c: Likewise.
20230 * math/w_exp2.c: Likewise.
20231 * math/w_exp2f.c: Likewise.
20232 * math/w_exp2l.c: Likewise.
20233 * math/w_j0.c: Likewise.
20234 * math/w_j0f.c: Likewise.
20235 * math/w_j0l.c: Likewise.
20236 * math/w_j1.c: Likewise.
20237 * math/w_j1f.c: Likewise.
20238 * math/w_j1l.c: Likewise.
20239 * math/w_jn.c: Likewise.
20240 * math/w_jnf.c: Likewise.
20241 * math/w_log.c: Likewise.
20242 * math/w_log10.c: Likewise.
20243 * math/w_log10f.c: Likewise.
20244 * math/w_log10l.c: Likewise.
20245 * math/w_log2.c: Likewise.
20246 * math/w_log2f.c: Likewise.
20247 * math/w_log2l.c: Likewise.
20248 * math/w_logf.c: Likewise.
20249 * math/w_logl.c: Likewise.
20250 * math/w_sqrt.c: Likewise.
20251 * math/w_sqrtf.c: Likewise.
20252 * math/w_sqrtl.c: Likewise.
20253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20254 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20255 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20256 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20257 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20259 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20262 * manual/string.texi (strnlen): Use correct parameter name in
20263 equivalent expression.
20265 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20268 * manual/users.texi (seteuid): Consistently use neweuid for
20271 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20274 * manual/nss.texi (Services in the NSS configuration): Correct
20275 list of services in example configuration file.
20277 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20280 * manual/arith.texi: Remove statements about negative zero
20281 behaving identically to zero.
20283 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20286 * manual/install.texi: Do not document upgrading from libc5.
20288 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20291 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20293 2012-02-18 David S. Miller <davem@davemloft.net>
20295 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20296 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20297 %o7 across the call.
20298 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20300 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20301 SETUP_PIC_REG_LEAF.
20302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20303 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20304 * sysdeps/sparc/crtn.S: Likewise.
20306 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20308 * aout/Makefile: Remove.
20310 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20313 * manual/examples/argp-ex1.c (main): Format definition in GNU
20315 * manual/examples/argp-ex2.c (main): Likewise.
20316 * manual/examples/argp-ex3.c (main): Likewise.
20317 * manual/examples/argp-ex4.c (main): Likewise.
20318 * manual/examples/longopt.c (main): Use new-style prototype
20320 * manual/examples/strncat.c (main): Specify return type and use
20321 (void) for arguments.
20322 * manual/examples/subopt.c (main): Use char **argv argument.
20324 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20327 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20330 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20333 * manual/string.texi (strchr): Change when strchrnul is
20336 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20339 * manual/locale.texi (setlocale): Document LOCPATH.
20341 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20344 * manual/process.texi (execle): Move @dots{} before last argument.
20346 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20349 * manual/charset.texi (Generic Charset Conversion): Fix typo
20350 (LC_TYPE -> LC_CTYPE).
20352 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20355 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20356 (scalbnf): Likewise.
20357 (scalbnl): Likewise.
20358 (scalbln): Likewise.
20359 (scalblnf): Likewise.
20360 (scalblnl): Likewise.
20361 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20362 (vwarnx): Likewise.
20365 * manual/filesys.texi (telldir): Use braces around return type.
20366 * manual/llio.texi (mmap): Add space after comma.
20367 (mmap64): Likewise.
20368 * manual/math.texi (jn): Use @var{} on parameter names.
20374 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20376 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20378 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20379 (sched_get_priority_max): Likewise.
20380 * manual/signal.texi (sigvec): Add space after comma.
20381 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20383 (if_indextoname): Likewise.
20384 (if_freenameindex): Likewise.
20385 (sendto): Use ',' instead of '.' in prototype.
20386 * manual/startup.texi (syscall): Use @dots{} instead of literal
20388 * manual/stdio.texi (__fpending): Separate initial words of
20389 paragraph from @deftypefun line.
20390 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20392 (vsyslog): Use @var{} on parameter names.
20393 * manual/terminal.texi (stty): Use @var{} on parameter names.
20394 * manual/users.texi (getutmp): Use @var{} on parameter names.
20395 (getutmpx): Likewise.
20397 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20400 * manual/stdio.texi (fopen): Fix typos in description of
20403 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20406 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20407 get clock_id definition.
20409 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20412 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20413 (madvise): Cast every argument to void on its own.
20415 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20418 * manual/startup.texi (Exit Status): Fix typo.
20420 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20423 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20424 * manual/examples/argp-ex2.c: Likewise.
20425 * manual/examples/argp-ex3.c: Likewise.
20427 2012-02-16 Richard Henderson <rth@redhat.com>
20429 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20430 * sysdeps/s390/s390-32/initfini.c: Remove.
20431 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20432 * sysdeps/s390/s390-64/initfini.c: Remove.
20434 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20436 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20437 compiler output for sysdeps/generic/initfini.c.
20438 * sysdeps/sh/elf/initfini.c: Remove file.
20440 2012-02-16 David S. Miller <davem@davemloft.net>
20443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20445 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20446 * sysdeps/sparc/crti.S: New file.
20447 * sysdeps/sparc/crtn.S: New file.
20448 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20449 * sysdeps/sparc/sparc64/Makefile: Likewise.
20451 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20454 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20456 2012-02-15 Roland McGrath <roland@hack.frob.com>
20459 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20461 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20462 (write, read, close): Likewise.
20463 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20465 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20467 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20468 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20469 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20470 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20472 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20476 2012-02-14 Marek Polacek <polacek@redhat.com>
20478 * sysdeps/x86_64/crti.S: New file.
20479 * sysdeps/x86_64/crtn.S: New file.
20480 * sysdeps/x86_64/elf/initfini.c: Remove file.
20482 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20484 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20485 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20486 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20487 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20489 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20493 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20495 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20496 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20497 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20498 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20500 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20504 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20506 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20507 __feraiseexcept instead of feraiseexcept.
20509 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20510 nanosleep invocations.
20511 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20512 strings, and add error checking for a nanosleep invocations.
20514 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20516 Replace FSF snail mail address with URLs, as per GNU coding standards.
20517 Most of the snail mail addresses were wrong anyway, and omitting
20518 them makes the source code easier to maintain. Almost all of the
20519 changes are to license notices and to locale LC_IDENTIFICATION
20520 addresses, except for this one:
20521 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20522 not its snail mail address.
20524 2012-02-09 Richard Henderson <rth@twiddle.net>
20526 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20527 of kernel-features.h.
20529 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20531 2012-02-08 Marek Polacek <polacek@redhat.com>
20533 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20534 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20535 * sysdeps/gnu/_G_config.h: Likewise.
20536 * sysdeps/generic/_G_config.h: Likewise.
20538 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20540 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20544 * sysdeps/powerpc/powerpc32/crti.S: New file.
20545 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20546 * sysdeps/powerpc/powerpc64/crti.S: New file.
20547 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20549 * Makeconfig (have-initfini): Don't set.
20550 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20551 * configure.in (nopic_initfini): Don't substitute.
20552 * config.h.in (HAVE_INITFINI): Don't #undef.
20553 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20554 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20556 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20558 Support crti.S and crtn.S provided directly by architectures.
20559 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20560 [crti.S in sysdirs] (omit-deps): Likewise.
20561 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20562 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20563 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20564 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20565 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20566 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20567 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20568 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20569 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20570 compiler output for sysdeps/generic/initfini.c.
20571 * sysdeps/i386/elf/Makefile: Remove file.
20572 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20574 2012-02-07 Marek Polacek <polacek@redhat.com>
20576 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20577 * sysdeps/gnu/_G_config.h: Likewise.
20578 * sysdeps/mach/hurd/_G_config.h: Likewise.
20580 2012-02-07 Marek Polacek <polacek@redhat.com>
20582 * math/Makefile (tests): Add tst-CMPLX2.
20583 * math/tst-CMPLX2.c: New file.
20585 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20587 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20589 * math/libm-test.inc (jn_test): Add missing L suffix.
20591 2012-02-06 Marek Polacek <polacek@redhat.com>
20593 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20594 * sysdeps/i386/fpu/e_powf.S: Likewise.
20595 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20596 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20597 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20598 * sysdeps/i386/fpu/e_pow.S: Likewise.
20599 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20600 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20601 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20602 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20603 * sysdeps/i386/fpu/e_log2.S: Likewise.
20604 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20605 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20606 * sysdeps/i386/fpu/e_powl.S: Likewise.
20607 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20608 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20609 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20610 * sysdeps/i386/fpu/e_logl.S: Likewise.
20611 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20612 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20613 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20614 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20615 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20616 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20617 * sysdeps/i386/fpu/e_log.S: Likewise.
20618 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20619 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20620 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20621 * sysdeps/i386/fpu/e_logf.S: Likewise.
20622 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20623 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20624 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20625 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20626 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20627 * sysdeps/i386/fpu/e_log10.S: Likewise.
20628 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20629 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20630 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20631 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20632 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20633 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20634 * sysdeps/i386/asm-syntax.h: Likewise.
20635 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20636 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20637 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20638 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20639 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20640 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20641 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20642 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20643 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20644 * sysdeps/powerpc/sysdep.h: Likewise.
20645 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20646 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20648 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20651 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20653 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20655 * sysdeps/i386/sysdep.h: Include <features.h>.
20656 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20659 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20661 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20663 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20666 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20668 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20669 (SETUP_PIC_REG): Use GET_PC_THUNK.
20670 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20673 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20675 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20676 for non-PIC compilation.
20677 (SETUP_PIC_REG): Add .p2align directive.
20678 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20679 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20680 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20681 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20682 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20683 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20684 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20685 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20686 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20687 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20688 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20689 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20690 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20691 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20692 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20693 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20694 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20695 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20696 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20697 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20698 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20699 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20700 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20701 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20702 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20704 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20705 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20706 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20707 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20708 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20709 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20710 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20711 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20712 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20713 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20714 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20715 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20716 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20717 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20718 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20720 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20722 * math/tst-CMPLX.c: Include <stdio.h>.
20724 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20726 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20728 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20729 * sysdeps/sparc/bits/mathdef.h: Likewise.
20731 2012-01-31 Marek Polacek <polacek@redhat.com>
20733 * libio/libio.h: Don't define _PARAMS.
20734 * locale/programs/config.h: Don't define PARAMS.
20735 * stdlib/strtol_l.c: Likewise.
20736 (__strtol_l): Remove PARAMS from the prototype.
20738 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20740 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20741 names. Just use the correct names. Remove unnecessary wrapper
20743 * malloc/arena.c: Likewise.
20744 * malloc/hooks.c: Likewise.
20746 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20747 ARENA_TEST says not to. Simplify test for creation of a new arena.
20748 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20750 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20752 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20754 (update_get_addr): New function.
20755 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20756 GET_ADDR_MODULE parameter.
20758 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20760 * crypt/cert.c: Remove __STDC__ conditionals.
20761 * crypt/crypt-entry.c: Likewise.
20762 * crypt/crypt_util.c: Likewise.
20763 * libio/filedoalloc.c: Likewise.
20764 * libio/fileops.c: Likewise.
20765 * libio/genops.c: Likewise.
20766 * libio/iofclose.c: Likewise.
20767 * libio/iofdopen.c: Likewise.
20768 * libio/iofopen.c: Likewise.
20769 * libio/iofopen64.c: Likewise.
20770 * libio/iogetdelim.c: Likewise.
20771 * libio/iopopen.c: Likewise.
20772 * libio/obprintf.c: Likewise.
20773 * libio/oldfileops.c: Likewise.
20774 * libio/oldiofclose.c: Likewise.
20775 * libio/oldiofdopen.c: Likewise.
20776 * libio/oldiofopen.c: Likewise.
20777 * libio/oldiopopen.c: Likewise.
20778 * libio/wfiledoalloc.c: Likewise.
20779 * libio/wgenops.c: Likewise.
20780 * locale/programs/xmalloc.c: Likewise.
20781 * misc/syslog.c: Likewise.
20782 * stdio-common/xbug.c: Likewise.
20783 * string/memchr.c: Likewise.
20784 * string/memcmp.c: Likewise.
20785 * string/memrchr.c: Likewise.
20786 * string/rawmemchr.c: Likewise.
20787 * sysdeps/posix/getcwd.c: Likewise.
20788 * time/strftime_l.c: Likewise.
20790 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20792 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20793 * config.make.in (config-cflags-sse2avx): Define.
20794 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20797 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20799 * scripts/config.guess: Update from upstream config git repository.
20800 * scripts/config.sub: Likewise.
20802 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20804 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20806 (R_TILEPRO_*, R_TILEGX_*): New macros.
20808 * scripts/firstversions.awk: Fix bug in version range handling.
20810 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20812 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20814 * include/sys/epoll.h: New file.
20815 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20818 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20820 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20821 Avoid unnecessary __WORDSIZE == 64 test.
20822 (fmaxf): Use VEX format if possible.
20827 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20828 * math/math_private.h: Remove libc_fegetround* and
20830 * sysdeps/i386/configure.in: Check for -msse2avx.
20831 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20832 also if SSE2AVX is defined.
20833 Remove libc_fegetround* and libc_fesetround*.
20834 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20835 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20836 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20838 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20839 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20840 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20841 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20842 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20844 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20846 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20848 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20850 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20852 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20855 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20857 * Makeconfig (libm): Define.
20858 * elf/Makefile: Add rules to build and run tst-relsort1.
20859 * elf/tst-relsort1.c: New file.
20860 * elf/tst-relsort1mod1.c: New file.
20861 * elf/tst-relsort1mod2.c: New file.
20863 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20865 * math/s_ldexp.c: Remove __STDC__ conditionals.
20866 * math/s_ldexpf.c: Likewise.
20867 * math/s_ldexpl.c: Likewise.
20868 * math/s_nextafter.c: Likewise.
20869 * math/s_nexttowardf.c: Likewise.
20870 * math/s_significand.c: Likewise.
20871 * math/s_significandf.c: Likewise.
20872 * math/s_significandl.c: Likewise.
20873 * math/w_jnl.c: Likewise.
20874 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20875 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20876 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20877 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20878 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20879 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20880 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20881 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20882 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20883 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20884 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20885 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20886 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20887 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20888 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20889 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20890 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20891 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20892 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20893 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20894 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20895 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20896 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20897 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20898 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20899 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20900 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20901 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20902 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20903 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20905 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20906 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20907 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20908 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20909 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20910 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20911 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20912 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20913 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20914 * sysdeps/ieee754/k_standard.c: Likewise.
20915 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20916 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20917 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20918 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20919 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20920 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20921 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20922 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20923 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20924 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20925 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20926 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20927 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20928 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20929 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20930 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20931 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20932 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20933 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20934 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20935 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20936 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20937 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20939 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20940 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20948 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20950 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20952 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20953 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20976 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20981 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20989 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20990 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20994 * sysdeps/ieee754/s_matherr.c: Likewise.
20995 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20996 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20997 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21000 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21002 * crypt/md5.h: Remove __STDC__ conditionals.
21003 * libio/libioP.h: Likewise.
21004 * locale/programs/config.h: Likewise.
21005 * sysdeps/generic/sysdep.h: Likewise.
21006 * sysdeps/i386/asm-syntax.h: Likewise.
21007 * sysdeps/s390/asm-syntax.h: Likewise.
21008 * sysdeps/unix/sysdep.h: Likewise.
21009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21012 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21014 * libio/libio.h: Remove __STDC__ conditionals.
21015 * malloc/obstack.h: Likewise.
21016 * math/complex.h: Likewise.
21017 * math/math.h: Likewise.
21018 * sysdeps/generic/_G_config.h: Likewise.
21019 * sysdeps/gnu/_G_config.h: Likewise.
21020 * sysdeps/mach/hurd/_G_config.h: Likewise.
21021 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21022 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21023 * sysdeps/sparc/bits/mathdef.h: Likewise.
21025 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21028 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21029 Clean up HAS_* macros.
21030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21031 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21036 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21037 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21041 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21043 * elf/tst-unique3.cc (gets): Remove declaration.
21044 * elf/tst-unique3lib.cc (gets): Likewise.
21045 * elf/tst-unique3lib2.cc (gets): Likewise.
21046 * elf/tst-unique4.cc (gets): Likewise.
21048 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21050 * include/stdio.h: Add C++ protection. Add gets declarations and
21052 * debug/tst-chk1.c: Don't declare gets here.
21053 * stdio-common/tst-gets.c: Likewise.
21055 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21057 * posix/glob: Remove directory.
21059 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21061 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21063 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21065 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21066 of the non-standard EPFNOSUPPORT.
21068 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21070 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21071 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21072 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21074 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21076 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21078 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21080 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21082 * nscd/grpcache.c (cache_addgr): Likewise.
21083 * nscd/hstcache.c (cache_addhst): Likewise.
21084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21085 * nscd/pwdcache.c (cache_addpw): Likewise.
21086 * nscd/servicescache.c (cache_addserv): Likewise.
21088 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21090 * malloc/malloc.c: Various cleanups.
21091 * malloc/hooks.c: Likewise.
21093 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21094 * stdlib/bug-fmtmsg1.c: New file.
21096 * stdlib/fmtmsg.c (init): Add missing unlock.
21097 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21099 2012-01-12 Marek Polacek <polacek@redhat.com>
21101 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21104 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21106 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21107 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21108 macro to ensure uniqueness of label name.
21109 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21110 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21112 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21114 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21116 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21117 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21118 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21121 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21123 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21125 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21126 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21127 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21129 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21131 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21132 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21133 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21134 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21136 * math/bits/math-finite.h: Add ldexp support.
21138 2012-01-10 Marek Polacek <polacek@redhat.com>
21140 * locale/programs/localedef.h (show_archive_content): Add noreturn
21143 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21145 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21147 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21149 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21151 * io/Makefile (headers): Add bits/poll2.h.
21153 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21156 typo #include statement.
21158 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21160 * include/sys/cdefs.h: Define __attribute_alloc_size.
21161 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21162 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21163 * elf/pldd.c: Likewise.
21164 * iconv/iconv_charmap.c: Likewise.
21165 * iconv/iconvconfig.c: Likewise.
21166 * iconv/strtab.c: Likewise.
21167 * locale/programs/locale.c: Likewise.
21168 * locale/programs/localedef.h: Likewise.
21169 * locale/programs/simple-hash.c: Likewise.
21170 * nscd/nscd.h: Likewise.
21171 * nss/makedb.c: Likewise.
21172 * sysdeps/generic/ldconfig.h: Likewise.
21173 * locale/programs/localedef.c: Remove xmalloc prototype.
21174 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21176 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21178 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21181 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21183 * math/Makefile (tests): Add tst-CMPLX.
21184 * math/tst-CMPLX.c: New file.
21186 * math/complex.h (CMPLXL): Fix typo.
21188 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21189 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21191 * debug/tst-chk1.c: Add poll and ppoll tests.
21192 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21193 * include/sys/poll.h: Add hidden proto for ppoll.
21194 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21195 * sysdeps/mach/hurd/ppoll.c: Likewise.
21196 * io/ppoll.c: Likewise.
21197 * debug/poll_chk.c: New file.
21198 * debug/ppoll_chk.c: New file.
21199 * include/bits/poll2.h: New file.
21200 * io/bits/poll2.h: New file.
21203 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21205 * configure.in: static is always set to yes. Remove.
21206 * config.make.in: Don't set build-static.
21207 * Makeconfig: Remove use of build-static.
21208 * dlfcn/Makefile: Likewise.
21209 * elf/Makefile: Likewise.
21210 * math/Makefile: Likewise.
21211 * misc/Makefile: Likewise.
21212 * nptl/Makefile: Likewise.
21213 * sysdeps/mach/hurd/Makefile: Likewise.
21215 * configure.in: PWD_P is not used anymore.
21216 * config.make.in: Remove PWD_P entry.
21218 * configure.in: Remove last remnants of RANLIB.
21219 No need to check for signed size_t anymore.
21220 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21222 Remove __builtin_expect test because we require at least gcc 3.4.
21223 * aclocal.m4: Likewise.
21225 * wcsmbs/mbrtoc16.c: Implement using towc function.
21226 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21227 * wcsmbs/wcsmbsload.c: Likewise.
21228 * iconv/gconv_simple.c: Likewise.
21229 * iconv/gconv_int.h: Likewise.
21230 * iconv/gconv_builtin.h: Likewise.
21231 * iconv/iconv_prog.c: Remove CHAR16 handling.
21233 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21235 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21237 * configure.in: Remove --with-elf and --enable-bounded options.
21238 Dont set base_machine for ia64. More non-ELF conditions removed.
21239 Remove testing and setting of leading underscore information.
21240 * config.make.in (build-bounded): Set to no.
21241 * config.h.in: Remove NO_UNDERSCORES entry.
21242 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21244 * csu/start.c: Remove !NO_UNDERSCORE code.
21245 * locale/localeinfo.h: Likewise.
21246 * sysdeps/generic/machine-gmon.h: Likewise.
21247 * sysdeps/generic/sysdep.h: Likewise.
21248 * sysdeps/i386/sysdep.h: Likewise.
21249 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21250 * sysdeps/mach/sysdep.h: Likewise.
21251 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21252 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21253 * sysdeps/sh/sysdep.h: Likewise.
21254 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21255 * sysdeps/unix/i386/sysdep.S: Likewise.
21256 * sysdeps/unix/sparc/start.c: Likewise.
21257 * sysdeps/unix/sparc/sysdep.S: Likewise.
21258 * sysdeps/unix/sparc/sysdep.h: Likewise.
21259 * sysdeps/unix/start.c: Likewise.
21260 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21261 * sysdeps/x86_64/sysdep.h: Likewise.
21263 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21266 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21268 * argp/argp-fmtstream.h: Use const instead __const.
21269 * argp/argp.h: Likewise.
21270 * assert/assert.h: Likewise.
21271 * bits/fenv.h: Likewise.
21272 * bits/sched.h: Likewise.
21273 * bits/sigset.h: Likewise.
21274 * bits/sigthread.h: Likewise.
21275 * catgets/nl_types.h: Likewise.
21276 * conform/data/pthread.h-data: Likewise.
21277 * crypt/crypt-private.h: Likewise.
21278 * crypt/crypt.h: Likewise.
21279 * crypt/crypt_util.c: Likewise.
21280 * ctype/ctype.h: Likewise.
21281 * debug/execinfo.h: Likewise.
21282 * debug/mbsnrtowcs_chk.c: Likewise.
21283 * debug/mbsrtowcs_chk.c: Likewise.
21284 * debug/wcsnrtombs_chk.c: Likewise.
21285 * debug/wcsrtombs_chk.c: Likewise.
21286 * debug/wcstombs_chk.c: Likewise.
21287 * dirent/dirent.h: Likewise.
21288 * dlfcn/dlfcn.h: Likewise.
21289 * elf/neededtest4.c: Likewise.
21290 * grp/grp.h: Likewise.
21291 * gshadow/gshadow.h: Likewise.
21292 * iconv/gconv.h: Likewise.
21293 * iconv/gconv_int.h: Likewise.
21294 * iconv/gconv_simple.c: Likewise.
21295 * iconv/iconv.h: Likewise.
21296 * iconv/loop.c: Likewise.
21297 * iconv/skeleton.c: Likewise.
21298 * include/aio.h: Likewise.
21299 * include/aliases.h: Likewise.
21300 * include/argz.h: Likewise.
21301 * include/arpa/inet.h: Likewise.
21302 * include/assert.h: Likewise.
21303 * include/dirent.h: Likewise.
21304 * include/dlfcn.h: Likewise.
21305 * include/execinfo.h: Likewise.
21306 * include/fcntl.h: Likewise.
21307 * include/fenv.h: Likewise.
21308 * include/glob.h: Likewise.
21309 * include/grp.h: Likewise.
21310 * include/libintl.h: Likewise.
21311 * include/mntent.h: Likewise.
21312 * include/netdb.h: Likewise.
21313 * include/pwd.h: Likewise.
21314 * include/rpc/netdb.h: Likewise.
21315 * include/sched.h: Likewise.
21316 * include/search.h: Likewise.
21317 * include/shadow.h: Likewise.
21318 * include/signal.h: Likewise.
21319 * include/stdio.h: Likewise.
21320 * include/stdlib.h: Likewise.
21321 * include/string.h: Likewise.
21322 * include/sys/socket.h: Likewise.
21323 * include/sys/stat.h: Likewise.
21324 * include/sys/statfs.h: Likewise.
21325 * include/sys/statvfs.h: Likewise.
21326 * include/sys/syslog.h: Likewise.
21327 * include/sys/time.h: Likewise.
21328 * include/sys/uio.h: Likewise.
21329 * include/time.h: Likewise.
21330 * include/unistd.h: Likewise.
21331 * include/utmp.h: Likewise.
21332 * include/wchar.h: Likewise.
21333 * include/wctype.h: Likewise.
21334 * inet/aliases.h: Likewise.
21335 * inet/arpa/inet.h: Likewise.
21336 * inet/netinet/ether.h: Likewise.
21337 * inet/netinet/in.h: Likewise.
21338 * intl/libintl.h: Likewise.
21339 * io/bits/fcntl2.h: Likewise.
21340 * io/fcntl.h: Likewise.
21341 * io/ftw.h: Likewise.
21342 * io/sys/poll.h: Likewise.
21343 * io/sys/stat.h: Likewise.
21344 * io/sys/statfs.h: Likewise.
21345 * io/sys/statvfs.h: Likewise.
21346 * io/utime.h: Likewise.
21347 * libio/bits/stdio.h: Likewise.
21348 * libio/bits/stdio2.h: Likewise.
21349 * libio/libio.h: Likewise.
21350 * libio/libioP.h: Likewise.
21351 * libio/stdio.h: Likewise.
21352 * locale/lc-ctype.c: Likewise.
21353 * locale/locale.h: Likewise.
21354 * login/utmp.h: Likewise.
21355 * malloc/arena.c: Likewise.
21356 * malloc/malloc.c: Likewise.
21357 * malloc/malloc.h: Likewise.
21358 * malloc/mcheck.c: Likewise.
21359 * malloc/mtrace.c: Likewise.
21360 * math/bits/mathcalls.h: Likewise.
21361 * math/fenv.h: Likewise.
21362 * math/math_private.h: Likewise.
21363 * misc/bits/error.h: Likewise.
21364 * misc/bits/syslog.h: Likewise.
21365 * misc/err.h: Likewise.
21366 * misc/error.h: Likewise.
21367 * misc/fstab.h: Likewise.
21368 * misc/mntent.h: Likewise.
21369 * misc/regexp.h: Likewise.
21370 * misc/search.h: Likewise.
21371 * misc/sgtty.h: Likewise.
21372 * misc/sys/mman.h: Likewise.
21373 * misc/sys/syslog.h: Likewise.
21374 * misc/sys/uio.h: Likewise.
21375 * misc/sys/xattr.h: Likewise.
21376 * misc/ttyent.h: Likewise.
21377 * nis/rpcsvc/ypclnt.h: Likewise.
21378 * nss/nss.h: Likewise.
21379 * posix/bits/unistd.h: Likewise.
21380 * posix/fnmatch.h: Likewise.
21381 * posix/glob.h: Likewise.
21382 * posix/sched.h: Likewise.
21383 * posix/spawn.h: Likewise.
21384 * posix/sys/wait.h: Likewise.
21385 * posix/unistd.h: Likewise.
21386 * posix/wordexp.h: Likewise.
21387 * pwd/pwd.h: Likewise.
21388 * resolv/netdb.h: Likewise.
21389 * resource/sys/resource.h: Likewise.
21390 * rt/aio.h: Likewise.
21391 * rt/bits/mqueue2.h: Likewise.
21392 * rt/mqueue.h: Likewise.
21393 * shadow/shadow.h: Likewise.
21394 * signal/signal.h: Likewise.
21395 * socket/send.c: Likewise.
21396 * socket/sendto.c: Likewise.
21397 * socket/sys/socket.h: Likewise.
21398 * stdio-common/printf.h: Likewise.
21399 * stdlib/bits/stdlib.h: Likewise.
21400 * stdlib/fmtmsg.h: Likewise.
21401 * stdlib/monetary.h: Likewise.
21402 * stdlib/stdlib.h: Likewise.
21403 * stdlib/ucontext.h: Likewise.
21404 * streams/stropts.h: Likewise.
21405 * string/argz.h: Likewise.
21406 * string/bits/string2.h: Likewise.
21407 * string/string.h: Likewise.
21408 * string/strings.h: Likewise.
21409 * sunrpc/rpc/auth.h: Likewise.
21410 * sunrpc/rpc/auth_des.h: Likewise.
21411 * sunrpc/rpc/clnt.h: Likewise.
21412 * sunrpc/rpc/netdb.h: Likewise.
21413 * sunrpc/rpc/pmap_clnt.h: Likewise.
21414 * sunrpc/rpc/xdr.h: Likewise.
21415 * sysdeps/generic/inttypes.h: Likewise.
21416 * sysdeps/generic/net/if.h: Likewise.
21417 * sysdeps/generic/sys/swap.h: Likewise.
21418 * sysdeps/gnu/net/if.h: Likewise.
21419 * sysdeps/gnu/utmpx.h: Likewise.
21420 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21421 * sysdeps/i386/i486/bits/string.h: Likewise.
21422 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21423 * sysdeps/s390/bits/string.h: Likewise.
21424 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21425 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21426 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21427 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21428 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21429 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21430 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21431 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21432 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21433 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21434 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21435 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21436 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21437 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21438 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21439 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21440 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21442 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21443 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21444 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21445 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21446 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21447 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21448 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21449 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21450 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21451 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21452 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21453 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21454 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21455 * sysvipc/sys/ipc.h: Likewise.
21456 * sysvipc/sys/msg.h: Likewise.
21457 * sysvipc/sys/sem.h: Likewise.
21458 * sysvipc/sys/shm.h: Likewise.
21459 * termios/termios.h: Likewise.
21460 * time/sys/time.h: Likewise.
21461 * time/time.h: Likewise.
21462 * wcsmbs/bits/wchar2.h: Likewise.
21463 * wcsmbs/uchar.h: Likewise.
21464 * wcsmbs/wchar.h: Likewise.
21465 * wctype/wctype.h: Likewise.
21468 * Makeconfig: Remove all but ELF support including AIX support.
21469 * Makerules: Likewise.
21470 * config.h.in: Likewise.
21471 * config.make.in: Likewise.
21472 * configure: Likewise.
21473 * configure.in: Likewise.
21474 * csu/Makefile: Likewise.
21475 * csu/version.c: Likewise.
21476 * debug/Makefile: Likewise.
21477 * dlfcn/Makefile: Likewise.
21478 * elf/Makefile: Likewise.
21479 * extra-lib.mk: Likewise.
21480 * iconv/Makefile: Likewise.
21481 * include/libc-symbols.h: Likewise.
21482 * include/shlib-compat.h: Likewise.
21483 * resolv/Makefile: Likewise.
21484 * resolv/res_libc.c: Likewise.
21485 * rt/Makefile: Likewise.
21486 * sysdeps/i386/asm-syntax.h: Likewise.
21487 * sysdeps/i386/sysdep.h: Likewise.
21488 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21489 * sysdeps/mach/sysdep.h: Likewise.
21490 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21491 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21492 * sysdeps/s390/asm-syntax.h: Likewise.
21493 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21494 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21495 * sysdeps/sh/sysdep.h: Likewise.
21496 * sysdeps/unix/sparc/sysdep.h: Likewise.
21497 * sysdeps/wordsize-32/divdi3.c: Likewise.
21498 * sysdeps/x86_64/sysdep.h: Likewise.
21500 * argp/Versions: Remove _argp_unlock_xxx.
21503 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21504 * abilist/libBrokenLocale.abilist: Likewise.
21505 * abilist/libanl.abilist: Likewise.
21506 * abilist/libc.abilist: Likewise.
21507 * abilist/libcrypt.abilist: Likewise.
21508 * abilist/libdl.abilist: Likewise.
21509 * abilist/libm.abilist: Likewise.
21510 * abilist/libnsl.abilist: Likewise.
21511 * abilist/libpthread.abilist: Likewise.
21512 * abilist/libresolv.abilist: Likewise.
21513 * abilist/librt.abilist: Likewise.
21514 * abilist/libthread_db.abilist: Likewise.
21515 * abilist/libutil.abilist: Likewise.
21516 * abilist/libnss_db.abilist: New file.
21518 * scripts/abilist.awk: Add support for indirect functions.
21520 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21522 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21524 * shlib-versions: Remove entries for ports architectures.
21526 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21528 * elf/stackguard-macros.h: Remove support for IA-64.
21529 * elf/tst-auditmod1.c: Likewise.
21530 * sysdeps/generic/ldsodefs.h: Likewise.
21532 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21533 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21537 * configure.in: Remove --enable-omitfp support.
21539 * config.make.in: Likewise.
21540 * Makeconfig: Likewise.
21541 * manual/install.texi: Likewise.
21543 In case anyone cares, the IA-64 architecture could move to ports.
21544 * sysdeps/ia64/*: Removed.
21545 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21546 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21549 * configure.in: Remove entries for unsupported architectures.
21552 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21553 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21555 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21556 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21557 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21558 fall back to using wcrtomb.
21559 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21560 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21562 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21563 * wcsmbs/tst-c16c32-1.c: New file.
21565 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21568 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21570 * elf/tst-unique3.cc: Add explicit declaration of gets.
21571 * elf/tst-unique3lib.cc: Likewise.
21572 * elf/tst-unique3lib2.cc: Likewise.
21573 * elf/tst-unique4.cc: Likewise.
21575 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21577 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21580 * assert/assert.h (static_assert): Don't define for C++.
21581 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21582 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21584 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21586 * iconv/loop.c (single loop): Fix assertion in storing of
21589 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21591 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21593 * posix/getconf.c: Update copyright year.
21594 * nss/getent.c: Likewise.
21595 * nss/makedb.c: Likewise.
21596 * iconv/iconvconfig.c: Likewise.
21597 * iconv/iconv_prog.c: Likewise.
21598 * elf/ldconfig.c: Likewise.
21599 * elf/pldd.c: Likewise.
21600 * elf/sotruss.ksh: Likewise.
21601 * catgets/gencat.c: Likewise.
21602 * csu/version.c: Likewise.
21603 * elf/ldd.bash.in: Likewise.
21604 * elf/sprof.c (print_version): Likewise.
21605 * locale/programs/locale.c: Likewise.
21606 * locale/programs/localedef.c: Likewise.
21607 * login/programs/pt_chown.c: Likewise.
21608 * nscd/nscd.c (print_version): Likewise.
21609 * debug/xtrace.sh: Likewise.
21610 * malloc/memusage.sh: Likewise.
21611 * malloc/mtrace.pl: Likewise.
21612 * debug/catchsegv.sh: Likewise.
21614 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21616 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21619 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21622 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21623 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21625 * iconv/gconv_int.h: Likewise.
21626 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21627 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21628 from libc for GLIBC_2.16.
21629 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21630 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21631 * wcsmbs/uchar.h: Really define mbstate_t.
21632 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21633 * wcsmbs/c16rtomb.c: New file.
21634 * wcsmbs/mbrtoc16.c: New file.
21635 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21636 for C/POSIX locale.
21637 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21638 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21640 * wcsmbs/wchar.h: Add missing __restrict.
21642 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21645 * time/Makefile (routines): Add timespec_get.
21646 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21647 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21648 timespec for ISO C11.
21649 * time/timespec_get.c: New file.
21650 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21651 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21654 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21655 * stdlib/stdlib.h: Declare aligned_alloc.
21656 * Versions.def: Add GLIBC_2.16 for libc.
21657 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21660 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21663 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21667 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21670 * assert/assert.h (static_assert): Define.
21672 * version.h: Update for 2.16 development version.
21675 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21678 * version.h (RELEASE): Bump for 2.15 release.
21679 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21681 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21682 Patch by Marek Polacek <mpolacek@redhat.com>.
21684 * bits/byteswap.h: Protect long long constants with __extension__.
21685 * sysdeps/i386/bits/byteswap.h: Likewise.
21686 * sysdeps/ia64/bits/byteswap.h: Likewise.
21687 * sysdeps/s390/bits/byteswap.h: Likewise.
21688 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21690 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21693 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21694 destination buffer.
21695 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21697 2011-12-23 Marek Polacek <polacek@redhat.com>
21699 * elf/dl-addr.c (determine_info): Add inline keyword.
21700 * elf/tst-auditmod4b.c (check_avx): Likewise.
21701 * elf/tst-auditmod6b.c (check_avx): Likewise.
21702 * elf/tst-auditmod6c.c (check_avx): Likewise.
21703 * elf/tst-auditmod7b.c (check_avx): Likewise.
21705 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21707 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21710 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21713 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21714 processing for last bytes.
21716 2011-08-06 Bruno Haible <bruno@clisp.org>
21719 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21720 U+0385, not to U+1FEE.
21723 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21724 entry for U+00A5 U+0301.
21726 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21729 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21730 buffer for the output is too small.
21732 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21736 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21737 SSE flags if possible.
21739 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21742 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21743 processing for last bytes.
21745 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21747 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21748 (syscall-list-default-options, syscall-list-default-condition)
21749 (syscall-list-includes): Define.
21750 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21751 list of ABIs and options and #if conditions for each ABI. Do not
21752 handle common syscalls between ABIs specially.
21753 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21755 (syscall-list-variants, syscall-list-32bit-options)
21756 (syscall-list-32bit-condition, syscall-list-64bit-options)
21757 (syscall-list-64bit-condition): Define.
21758 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21759 (syscall-list-variants, syscall-list-32bit-options)
21760 (syscall-list-32bit-condition, syscall-list-64bit-options)
21761 (syscall-list-64bit-condition): Define.
21762 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21764 (syscall-list-variants, syscall-list-32bit-options)
21765 (syscall-list-32bit-condition, syscall-list-64bit-options)
21766 (syscall-list-64bit-condition): Define.
21767 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21769 (syscall-list-variants, syscall-list-32bit-options)
21770 (syscall-list-32bit-condition, syscall-list-64bit-options)
21771 (syscall-list-64bit-condition): Define.
21773 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21775 * locale/iso-639.def: Add brx entry.
21778 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21779 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21781 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21782 __feraiseexcept_renamed.
21784 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21787 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21788 EPOLLET with unsigned values.
21789 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21790 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21792 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21793 to large cancellation.
21794 * math/s_cacoshf.c: Likewise.
21795 * math/s_cacoshl.c: Likewise.
21797 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21801 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21802 * math/s_cacoshf.c: Likewise.
21803 * math/s_cacoshl.c: Likewise.
21805 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21808 * iconv/gconv.h: Define __GCONV_SWAP.
21809 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21810 * iconvdata/utf-16.c: Likewise.
21811 * iconvdata/utf-32.c: Likewise.
21813 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21817 numerator after shifting it by one limb.
21819 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21821 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21822 under [__USE_EXTERN_INLINES].
21824 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21827 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21829 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21831 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21832 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21834 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21835 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21836 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21837 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21838 for strncasecmp/strncasecmp_l compilation.
21839 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21840 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21842 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21845 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21848 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21851 * time/tzfile.c (__tzfile_read): Check values from file header.
21853 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21855 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21856 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21857 * powerpc/powerpc32/dl-start.S: Likewise.
21858 * powerpc/powerpc32/elf/start.S: Likewise.
21859 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21860 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21861 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21862 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21863 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21864 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21865 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21866 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21867 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21868 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21869 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21870 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21871 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21872 * powerpc/powerpc32/memset.S: Likewise.
21873 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21874 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21875 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21876 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21877 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21878 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21879 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21880 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21881 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21882 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21883 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21884 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21885 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21887 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21889 * math/libm-test.inc: Added more nearbyint tests.
21890 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21891 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21892 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21895 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21897 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21900 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21902 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21903 Add wcscpy-ssse3 wcscpy-c.
21904 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21905 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21906 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21907 * sysdeps/x86_64/wcschr.S: New file.
21908 * sysdeps/x86_64/wcsrchr.S: New file.
21909 * string/test-strcmp.c: Remove checking of wcscmp function for
21911 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21912 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21913 wcsrchr-sse2 wcsrchr-c.
21914 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21915 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21916 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21917 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21918 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21919 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21920 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21921 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21922 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21923 * wcsmbc/wcschr.c (WCSCHR): New macro.
21925 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21927 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21928 * wcsmbs/test-wcsrchr.c: New file.
21929 * string/test-strrchr.c: Add wcsrchr support.
21931 * wcsmbs/test-wcscpy.c: New file.
21932 * string/test-strcpy.c: Add wcscpy support.
21935 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21937 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21940 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21943 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21945 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21947 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21948 Minor optimizations.
21950 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21951 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21952 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21954 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21956 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21957 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21958 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21959 for gcc to avoid warnings.
21960 * inet/Makefile (tests): Add tst-checks.
21961 * inet/tst-checks.c: New file.
21963 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21966 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21969 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21970 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21972 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21974 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21976 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21979 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21981 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21983 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21984 conditional on GCC version.
21985 (__arch_compare_and_exchange_val_8_acq)
21986 (__arch_compare_and_exchange_val_16_acq)
21987 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21988 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21989 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21991 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21993 * sysdeps/sh/backtrace.c: New file.
21995 2011-12-02 Andreas Schwab <schwab@redhat.com>
21997 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22000 2011-12-01 Andreas Schwab <schwab@redhat.com>
22002 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22003 falling back to utime.
22005 2011-11-30 Andreas Schwab <schwab@redhat.com>
22007 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22008 expectations for float.
22010 2011-11-29 Andreas Schwab <schwab@redhat.com>
22012 * locale/weight.h (findidx): Add parameter len.
22013 * locale/weightwc.h (findidx): Likewise.
22014 * posix/fnmatch_loop.c (FCT): Adjust caller.
22015 * posix/regcomp.c (build_equiv_class): Likewise.
22016 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22017 * posix/regexec.c (check_node_accept_bytes): Likewise.
22018 * string/strcoll_l.c (STRCOLL): Likewise.
22019 * string/strxfrm_l.c (STRXFRM): Likewise.
22021 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22023 * Makefile.in: Remove CVSOPT handling.
22024 * configure.in: Remove use of AC_REVISION.
22025 * iconvdata/Makefile (distribute): No need to filter out CVS.
22026 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22029 2011-11-16 Andreas Schwab <schwab@redhat.com>
22031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22032 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22033 [USE_AS_STRNCASECMP_L]: Likewise.
22034 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22035 NO_TLS_DIRECT_SEG_REFS.
22036 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22037 Fix argument offsets for non-PIC.
22038 [USE_AS_STRNCASECMP_L]: Likewise.
22039 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22040 NO_TLS_DIRECT_SEG_REFS.
22042 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22044 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22046 * locale/loadlocale.c (_nl_load_locale): Likewise.
22048 2011-11-15 Andreas Schwab <schwab@redhat.com>
22050 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22051 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22052 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22053 (SYSCALL_GETTIME): Set errno on error.
22055 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22056 count references to noai6ai_cached.
22058 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22060 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22062 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22063 FD_CLOEXEC for /proc/self/maps.
22065 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22066 FD_CLOEXEC for /proc/meminfo.
22068 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22071 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22072 FD_CLOEXEC for given file.
22074 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22076 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22077 FD_CLOEXEC for /etc/hosts.
22078 (_gethtent): Likewise.
22080 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22082 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22083 cancellation and set FD_CLOEXEC for /etc/netgroup.
22085 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22086 reading /etc/publickey.
22088 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22089 allow cancellation when reading /etc/group.
22091 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22093 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22095 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22096 when using data file.
22098 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22100 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22101 (write_nis_obj): Use "c" and "e" in fopen.
22103 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22105 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22107 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22109 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22111 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22114 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22116 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22118 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22120 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22121 file parsing and set FD_CLOEXEC.
22123 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22125 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22127 2011-11-14 Andreas Schwab <schwab@redhat.com>
22129 * malloc/arena.c (arena_get2): Don't call reused_arena when
22130 _int_new_arena failed.
22132 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22134 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22135 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22136 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22137 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22138 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22139 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22140 to compile strcasecmp and strncasecmp.
22141 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22142 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22144 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22146 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22148 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22149 locale-defines.sym to gen-as-const-headers.
22150 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22151 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22152 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22153 to compile strcasecmp and strncasecmp.
22154 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22155 strcasecmp_l and strncasecmp_l.
22156 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22157 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22158 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22159 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22160 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22161 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22162 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22163 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22164 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22165 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22166 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22168 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22170 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22171 result of SYSDEP_GETTIME_CPU to retval.
22172 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22173 parameter list to macro. Remove trailing semicolon. Adjust users.
22175 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22178 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22180 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22182 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22183 from unused variable.
22185 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22187 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22190 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22193 * sunrpc/rpc_prot.c (rejected): Fix case value.
22195 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22196 unsigned long long int to avoid warnings in shift.
22198 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22200 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22203 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22204 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22205 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22207 * nis/nis_table.c (nis_list): Use variable of correct type for
22208 result of __follow_path call.
22210 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22212 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22213 of math functions ceil, trunc, floor, round, and sqrt, when
22214 avaliable on the platform.
22215 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22217 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22218 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22219 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22221 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22223 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22224 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22226 2011-11-11 Roland McGrath <roland@hack.frob.com>
22228 * include/unistd.h: Fix __readlink return type.
22229 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22231 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22233 * stdlib/ucontext.h: Undo last change for makecontext.
22235 2011-11-11 Andreas Schwab <schwab@redhat.com>
22237 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22239 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22240 * setjmp/setjmp.h: Mark functions as non-leaf.
22241 * setjmp/bits/setjmp2.h: Likewise.
22242 * stdlib/ucontext.h: Likewise.
22244 2011-11-10 Andreas Schwab <schwab@redhat.com>
22246 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22247 (reused_arena): Don't check arena limit.
22248 (arena_get2): Atomically check arena limit.
22250 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22252 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22253 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22258 2011-11-07 Andreas Schwab <schwab@redhat.com>
22260 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22261 handler when locking.
22263 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22264 Fix size of allocated buffer.
22266 2011-11-04 Andreas Schwab <schwab@redhat.com>
22269 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22270 declarations for long double functions.
22271 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22273 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22275 2011-11-03 Andreas Schwab <schwab@redhat.com>
22277 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22280 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22283 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22285 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22287 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22289 * include/alloca.h (stackinfo_alloca_round): Define.
22290 (extend_alloca): Use it.
22291 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22292 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22295 * scripts/check-local-headers.sh: Ignore libaudit.h.
22297 * nscd/Makefile (extra-objs): Make recursively expanded.
22299 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22301 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22302 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22304 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22305 * posix/tst-rfc3484-2.c: Likewise.
22306 * posix/tst-rfc3484-3.c: Likewise.
22308 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22310 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22312 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22313 process_vm_writev from libc using GLIBC_2.15 version.
22315 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22317 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22319 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22322 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22325 * nss/getent.c (initgroups_keys): Show error message in case no group
22328 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22329 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22330 __bump_nl_timestamp.
22331 * nscd/connections (nscd_init): When host database is served open
22332 netlink socket and request notification about configuration changes.
22333 (main_loop_poll): Track netlink file descriptor and bump timestamp
22334 in case data becomes available.
22335 (main_loop_epoll): Likewise.
22336 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22337 (database_pers_head): Add extra_data fileds.
22338 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22339 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22340 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22343 in6ai data, call __free_in6ai.
22344 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22345 Add -DHAVE_NETLINK.
22346 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22347 interface information. Reuse previous data if netlink timestamp
22349 (__bump_nl_timestamp): New function.
22350 (__free_in6ai): New function.
22352 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22354 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22355 close_not_cancel_no_status here.
22356 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22358 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22361 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22364 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22365 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22366 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22368 2011-07-03 Andreas Jaeger <aj@suse.de>
22371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22372 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22373 * math/libm-test.inc (sin_test): Add test case.
22375 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22378 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22379 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22381 * elf/chroot_canon.c (chroot_canon): Cleanups.
22383 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22386 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22387 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22389 * string/test-strchr.c: Make usable for strchrnul testing.
22390 * string/test-strchrnul.c: New file.
22391 * string/Makefile (strop-tests): Add strchrnul.
22393 * po/it.po: Update from translation team.
22394 * po/es.po: Likewise.
22396 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22398 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22399 the three constants needed as parameters. Drop the others.
22400 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22401 __m128i_strloadu_tolower.
22402 Create and initialize variable zero and use it in all the places
22403 where _mm_setzero_si128 was used.
22405 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22406 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22407 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22408 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22410 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22411 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22412 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22413 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22414 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22415 __mpranred, __mptan.
22416 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22417 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22418 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22419 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22420 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22421 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22422 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22423 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22424 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22426 2011-10-28 Andreas Schwab <schwab@redhat.com>
22428 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22429 redefine if SHARED.
22430 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22433 wide char related routines to wcsmbs subdir.
22435 2011-10-27 Andreas Schwab <schwab@redhat.com>
22438 * misc/sys/cdefs.h (__THROWNL): Define.
22439 * posix/unistd.h: Use __THREADNL instead of __THREAD
22440 for memory synchronization functions.
22442 2011-10-26 Roland McGrath <roland@hack.frob.com>
22445 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22447 * manual/stdio.texi (Obstack Streams): Node removed.
22449 2011-10-26 Andreas Schwab <schwab@redhat.com>
22451 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22452 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22453 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22455 * math/math_private.h (math_force_eval): Allow non-addressable
22457 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22459 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22461 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22462 file is not needed.
22464 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22465 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22471 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22473 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22474 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22475 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22476 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22477 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22478 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22479 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22480 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22481 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22482 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22483 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22484 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22485 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22486 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22488 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22489 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22490 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22491 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22493 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22494 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22497 place. Use VEX encoding when compiling for AVX.
22499 2011-10-25 Andreas Schwab <schwab@redhat.com>
22501 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22502 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22504 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22506 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22508 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22509 useless if() expression.
22510 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22511 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22512 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22513 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22514 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22515 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22516 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22517 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22518 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22520 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22521 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22522 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22523 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22524 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22525 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22526 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22527 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22528 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22530 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22532 2011-10-25 Andreas Schwab <schwab@redhat.com>
22534 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22536 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22538 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22540 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22541 .text section. Avoid duplicate constants.
22542 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22544 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22549 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22550 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22551 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22552 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22554 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22556 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22557 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22559 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22560 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22563 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22565 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22566 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22567 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22568 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22569 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22570 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22571 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22572 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22573 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22574 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22575 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22576 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22577 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22578 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22579 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22580 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22581 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22582 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22583 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22584 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22585 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22586 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22588 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22590 * sysdeps/x86_64/dla.h: Move to ...
22591 * sysdeps/x86_64/fpu/dla.h: ...here.
22592 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22593 situations. Use __builtin_fma only for gcc 4.6 and up.
22595 * config.make.in: Add have-mfma4 entry.
22596 * configure.in: Substitute libc_cv_cc_fma4.
22597 * math/Makefile (dbl-only-routines): Add sincostab.
22598 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22599 Use __sincostab not sincos.
22600 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22602 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22607 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22608 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22609 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22610 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22612 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22613 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22615 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22616 define aliases when function name is a macro.
22617 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22618 sysdeps/ieee754/dbl-64/sincos.tbl.
22619 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22620 fma4-enabled routines.
22621 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22622 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22623 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22624 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22625 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22626 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22627 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22628 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22630 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22631 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22632 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22633 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22634 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22635 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22636 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22637 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22638 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22639 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22640 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22641 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22642 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22643 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22644 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22646 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22648 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22649 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22650 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22652 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22654 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22663 2011-10-24 Andreas Schwab <schwab@redhat.com>
22665 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22667 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22669 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22671 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22673 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22675 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22676 Remove unused variable magic_bits.
22677 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22679 * string/strnlen.c: Define and use STRNLEN macro.
22680 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22681 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22682 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22683 * wcsmbs/wcslen.c: Define and use WCSLEN.
22684 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22685 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22686 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22687 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22688 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22689 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22690 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22692 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22695 strnlen-sse2-no-bsf.
22696 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22698 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22699 Add strnlen support.
22700 (USE_AS_STRNLEN): New macro.
22701 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22702 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22703 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22704 * sysdeps/x86_64/wcslen.S: New file.
22706 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22708 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22709 XMM-moves are used for copying on small sizes.
22711 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22713 * wcsmbs/Makefile (strop-tests): Add wcschr.
22714 * wcsmbs/test-wcschr.c: New file.
22715 * string/test-strchr.c: Update.
22716 Add wcschr support.
22719 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22721 * wcsmbs/Makefile (strop-tests): Add wcslen.
22722 * wcsmbs/test-wcslen.c: New file.
22723 * string/test-strlen.c: Update.
22724 Add wcslen support.
22727 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22729 * po/it.po: Update from translation team.
22731 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22733 * sysdeps/x86_64/wcscmp.S: Update.
22734 Fix wrong comparison semantics.
22735 wcscmp shall use signed comparison not unsigned.
22736 Don't use substraction to avoid overflow bug.
22737 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22738 * wcsmbc/wcscmp.c: Likewise.
22739 * string/test-strcmp.c: Likewise.
22740 Add new tests to check cases with negative values.
22742 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22744 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22745 * sysdeps/x86_64/dla.h: ...here. New file.
22746 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22751 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22756 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22759 __ynl_finite aliases.
22761 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22765 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22767 [DLA_FMA] (EMULV): Use DLA_FMA.
22768 [DLA_FMA] (MUL12): Use EMULV.
22769 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22770 that are not needed.
22771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22779 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22781 * math/s_nan.c: Undef __nan.
22782 * math/s_nanf.c: Undef __nanf.
22783 * math/s_nanl.c: Undef __nanl.
22784 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22787 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22789 * math/s_catan.c: Add branch predictions.
22790 * math/s_catanf.c: Likewise.
22791 * math/s_catanh.c: Likewise.
22792 * math/s_catanhf.c: Likewise.
22793 * math/s_catanhl.c: Likewise.
22794 * math/s_catanl.c: Likewise.
22795 * math/s_cexp.c: Likewise.
22796 * math/s_cexpf.c: Likewise.
22797 * math/s_cexpl.c: Likewise.
22798 * math/s_clog.c: Likewise.
22799 * math/s_clog10.c: Likewise.
22800 * math/s_clog10f.c: Likewise.
22801 * math/s_clog10l.c: Likewise.
22802 * math/s_clogf.c: Likewise.
22803 * math/s_clogl.c: Likewise.
22804 * math/s_csqrt.c: Likewise.
22805 * math/s_csqrtf.c: Likewise.
22806 * math/s_csqrtl.c: Likewise.
22807 * math/s_ctanf.c: Likewise.
22808 * math/s_ctanh.c: Likewise.
22809 * math/s_ctanhf.c: Likewise.
22810 * math/s_ctanhl.c: Likewise.
22811 * math/s_ctanl.c: Likewise.
22813 * math/math_private.h: Define __nan, __nanf, __nanl.
22814 * math/s_cacosh.c: Include <math_private.h>.
22815 * math/s_cacoshl.c: Likewise.
22816 * math/s_casinh.c: Likewise.
22817 * math/s_casinhf.c: Likewise.
22818 * math/s_casinhl.c: Likewise.
22819 * math/s_ccos.c: Rely entire on ccosh.
22820 * math/s_ccosf.c: Rely entire on ccoshf.
22821 * math/s_ccosl.c: Rely entirely on ccoshl.
22822 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22823 Remove tests for FE_INVALID.
22824 * math/s_ccoshf.c: Likewise.
22825 * math/s_ccoshl.c: Likewise.
22826 * math/s_csin.c: Likewise.
22827 * math/s_csinf.c: Likewise.
22828 * math/s_csinh.c Likewise.
22829 * math/s_csinhf.c: Likewise.
22830 * math/s_csinhl.c: Likewise.
22831 * math/s_csinl.c: Likewise.
22832 * math/s_ctan.c: Likewise.
22833 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22834 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22835 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22837 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22840 compilation problems.
22842 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22845 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22847 * sysdeps/i386/configure.in: Test for -mfma4 option.
22848 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22849 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22850 COMMON_CPUID_INDEX_80000001.
22851 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22852 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22853 use it if FMA3 is not supported.
22854 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22856 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22857 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22859 2011-10-20 Andreas Schwab <schwab@redhat.com>
22862 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22863 it would create a cycle with a link time dependency.
22865 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22867 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22869 * string/Makefile (strop-tests): Add rawmemchr.
22870 * string/test-rawmemchr.c: New file.
22872 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22873 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22874 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22875 when compiling str{,n}casecmp and when AVX is available. Hook up
22876 new optimized code in initializers.
22878 2011-10-19 Andreas Schwab <schwab@redhat.com>
22880 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22881 __feraiseexcept instead of feraiseexcept.
22883 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22885 * math/math_private.h: Define defaults for libc_fetestexcept and
22887 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22888 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22889 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22890 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22891 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22892 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22893 libc_fetestexcept and libc_feupdateenv.
22895 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22896 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22897 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22898 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22899 libc_feholdexcept_setround.
22901 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22902 Add s_nearbyint-c and s_nearbyintf-c.
22903 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22904 nearbyintf inlines.
22905 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22906 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22907 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22908 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22910 * math/math_private.h: Define defaults for libc_fegetround,
22911 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22912 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22913 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22914 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22915 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22916 standard functions.
22917 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22918 Remove comments and hacks for old compiler versions.
22919 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22920 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22921 libc_feholdexceptl.
22923 2011-10-18 Andreas Schwab <schwab@redhat.com>
22925 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22926 (__feraiseexcept_renamed): Add __NTH.
22927 (feraiseexcept): Add __NTH. Rename local variables to fix
22928 namespace violations.
22930 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22932 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22934 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22936 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22937 recently added interfaces.
22938 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22940 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22941 about macro parameter expansion.
22943 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22944 __NO_MATH_INLINES is defined. Cleanups.
22946 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22947 and __floorf is target has SSE4.1.
22948 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22949 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22950 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22951 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22953 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22955 (floorf): Likewise.
22957 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22959 2011-10-17 Andreas Schwab <schwab@redhat.com>
22961 * misc/sys/cdefs.h: Fix last change.
22963 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22966 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22968 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22970 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22971 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22972 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22973 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22974 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22975 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22976 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22977 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22978 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22979 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22980 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22981 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22982 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22983 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22984 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22985 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22986 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22987 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22988 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22989 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22990 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22991 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22993 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22994 ceil, ceilf, floor, floorf.
22996 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22997 Perform IRELATIVE relocations last.
22999 * elf/do-rel.h: Add another parameter nrelative, replacing the
23000 local variable with the same name. Change name of the function
23001 to end in Rel or Rela (uppercase).
23002 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23003 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23004 elf_dynamic_do_##reloc function.
23006 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23008 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23009 is sufficient, at least on modern CPUs.
23011 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23013 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23014 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23016 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23018 * math/bits/math-finite.h: Add entries for exp.
23019 * math/e_expl.c: Add __*_finite alias.
23020 * sysdeps/i386/fpu/e_exp.S: Likewise.
23021 * sysdeps/i386/fpu/e_expf.S: Likewise.
23022 * sysdeps/i386/fpu/e_expl.c: Likewise.
23023 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23024 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23027 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23028 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23029 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23031 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23032 is sufficient, at least on modern CPUs.
23034 * ctype/ctype-info.c (__ctype_init): Define.
23035 * include/ctype.h (__ctype_init): Declare.
23036 (__ctype_b_loc): The variable is always initialized.
23037 (__ctype_toupper_loc): Likewise.
23038 (__ctype_tolower_loc): Likewise.
23039 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23040 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23042 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23044 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23046 * configure.in: Also look in $cxxmachine/include for C++ system
23049 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23051 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23052 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23053 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23054 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23055 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23056 (USE_AS_WMEMCMP): New macro.
23058 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23059 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23060 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23061 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23063 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23064 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23065 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23066 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23067 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23068 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23069 (USE_AS_WMEMCMP): New macro.
23070 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23071 * sysdeps/string/test-memcmp.c: Update.
23072 Fix simple_wmemcmp.
23074 * wcsmbs/wmemcmp.c: Update.
23075 (WMEMCMP): New macro.
23078 2011-10-12 Andreas Jaeger <aj@suse.de>
23081 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23083 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23085 * libio/iofwide.c (do_length): Avoid warning.
23087 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23089 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23091 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23093 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23094 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23095 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23096 * sysdeps/i386/i686/fpu/e_log.S: New file.
23097 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23098 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23100 * ctype/ctype.h: Add support for inlined isXXX functions when
23101 compiling C++ code.
23103 2011-10-14 Andreas Schwab <schwab@redhat.com>
23105 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23107 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23109 2011-10-13 Roland McGrath <roland@hack.frob.com>
23112 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23114 2011-10-13 Andreas Schwab <schwab@redhat.com>
23116 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23117 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23120 * sysdeps/x86_64/memrchr.S: Check for zero size.
23122 * string/stratcliff.c: Add memrchr tests.
23124 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23126 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23127 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23128 rawmemchr-sse2 rawmemchr-sse2-bsf.
23129 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23130 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23131 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23132 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23133 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23134 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23135 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23136 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23137 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23138 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23139 * string/memrchr.c (MEMRCHR): New macro.
23141 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23143 Add integration with gcc's -ffinite-math-only and optimize wrapper
23145 * Versions.def: Define GLIBC_2.15 version for libm.
23146 * math/Makefile (headers): Add bits/math-finite.h.
23147 * math/bits/math-finite.h: New file.
23148 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23149 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23150 * math/e_acoshl.c: Add __*_finite alias.
23151 * math/e_acosl.c: Likewise.
23152 * math/e_asinl.c: Likewise.
23153 * math/e_atan2l.c: Likewise.
23154 * math/e_atanhl.c: Likewise.
23155 * math/e_coshl.c: Likewise.
23156 * math/e_exp10.c: Likewise.
23157 * math/e_exp10f.c: Likewise.
23158 * math/e_exp10l.c: Likewise.
23159 * math/e_exp2l.c: Likewise.
23160 * math/e_fmodl.c: Likewise.
23161 * math/e_gammal_r.c: Likewise.
23162 * math/e_hypotl.c: Likewise.
23163 * math/e_j0l.c: Likewise.
23164 * math/e_j1l.c: Likewise.
23165 * math/e_jnl.c: Likewise.
23166 * math/e_lgammal_r.c: Likewise.
23167 * math/e_log10l.c: Likewise.
23168 * math/e_log2l.c: Likewise.
23169 * math/e_logl.c: Likewise.
23170 * math/e_powl.c: Likewise.
23171 * math/e_sinhl.c: Likewise.
23172 * math/e_sqrtl.c: Likewise.
23173 * math/e_scalb.c: Completely rewritten and optimized.
23174 * math/e_scalbf.c: Likewise.
23175 * math/e_scalbl.c: Likewise.
23176 * math/w_acos.c: Likewise.
23177 * math/w_acosf.c: Likewise.
23178 * math/w_acosl.c: Likewise.
23179 * math/w_acosh.c: Likewise.
23180 * math/w_acoshf.c: Likewise.
23181 * math/w_acoshl.c: Likewise.
23182 * math/w_asin.c: Likewise.
23183 * math/w_asinf.c: Likewise.
23184 * math/w_asinl.c: Likewise.
23185 * math/w_atan2.c: Likewise.
23186 * math/w_atan2f.c: Likewise.
23187 * math/w_atan2l.c: Likewise.
23188 * math/w_atanh.c: Likewise.
23189 * math/w_atanhf.c: Likewise.
23190 * math/w_atanhl.c: Likewise.
23191 * math/w_exp10.c: Likewise.
23192 * math/w_exp10f.c: Likewise.
23193 * math/w_exp10l.c: Likewise.
23194 * math/w_fmod.c: Likewise.
23195 * math/w_fmodf.c: Likewise.
23196 * math/w_fmodl.c: Likewise.
23197 * math/w_j0.c: Likewise.
23198 * math/w_j0f.c: Likewise.
23199 * math/w_j0l.c: Likewise.
23200 * math/w_j1.c: Likewise.
23201 * math/w_j1f.c: Likewise.
23202 * math/w_j1l.c: Likewise.
23203 * math/w_jn.c: Likewise.
23204 * math/w_jnf.c: Likewise.
23205 * math/w_log.c: Likewise.
23206 * math/w_logf.c: Likewise.
23207 * math/w_logl.c: Likewise.
23208 * math/w_log10.c: Likewise.
23209 * math/w_log10f.c: Likewise.
23210 * math/w_log10l.c: Likewise.
23211 * math/w_log2.c: Likewise.
23212 * math/w_log2f.c: Likewise.
23213 * math/w_log2l.c: Likewise.
23214 * math/w_pow.c: Likewise.
23215 * math/w_powf.c: Likewise.
23216 * math/w_powl.c: Likewise.
23217 * math/w_remainder.c: Likewise.
23218 * math/w_remainderf.c: Likewise.
23219 * math/w_remainderl.c: Likewise.
23220 * math/w_scalb.c: Likewise.
23221 * math/w_scalbf.c: Likewise.
23222 * math/w_scalbl.c: Likewise.
23223 * math/w_sqrt.c: Likewise.
23224 * math/w_sqrtf.c: Likewise.
23225 * math/w_sqrtl.c: Likewise.
23226 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23227 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23229 * math/math_private.h: Declare __kernel_standard_f.
23230 * math/w_cosh.c: Remove cruft and optimize a bit.
23231 * math/w_coshf.c: Likewise.
23232 * math/w_coshl.c: Likewise.
23233 * math/w_exp2.c: Likewise.
23234 * math/w_exp2f.c: Likewise.
23235 * math/w_exp2l.c: Likewise.
23236 * math/w_hypot.c: Likewise.
23237 * math/w_hypotf.c: Likewise.
23238 * math/w_hypotl.c: Likewise.
23239 * math/w_lgamma.c: Likewise.
23240 * math/w_lgamma_r.c: Likewise.
23241 * math/w_lgammaf.c: Likewise.
23242 * math/w_lgammaf_r.c: Likewise.
23243 * math/w_lgammal.c: Likewise.
23244 * math/w_lgammal_r.c: Likewise.
23245 * math/w_sinh.c: Likewise.
23246 * math/w_sinhf.c: Likewise.
23247 * math/w_sinhl.c: Likewise.
23248 * math/w_tgamma.c: Likewise.
23249 * math/w_tgammaf.c: Likewise.
23250 * math/w_tgammal.c: Likewise.
23251 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23252 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23253 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23254 Minor optimizations. Pretty printing. Remove cruft.
23255 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23256 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23257 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23258 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23259 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23260 * sysdeps/i386/fpu/e_asin.S: Likewise.
23261 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23262 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23263 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23264 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23265 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23266 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23267 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23268 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23269 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23270 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23271 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23272 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23273 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23274 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23275 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23276 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23277 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23278 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23279 * sysdeps/i386/fpu/e_log.S: Likewise.
23280 * sysdeps/i386/fpu/e_log10.S: Likewise.
23281 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23282 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23283 * sysdeps/i386/fpu/e_log2.S: Likewise.
23284 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23285 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23286 * sysdeps/i386/fpu/e_logf.S: Likewise.
23287 * sysdeps/i386/fpu/e_logl.S: Likewise.
23288 * sysdeps/i386/fpu/e_pow.S: Likewise.
23289 * sysdeps/i386/fpu/e_powf.S: Likewise.
23290 * sysdeps/i386/fpu/e_powl.S: Likewise.
23291 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23292 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23293 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23294 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23295 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23296 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23297 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23298 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23299 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23300 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23301 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23303 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23304 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23305 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23321 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23322 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23323 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23324 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23325 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23326 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23327 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23328 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23329 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23330 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23331 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23332 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23333 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23334 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23335 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23336 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23337 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23338 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23339 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23340 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23341 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23342 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23353 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23356 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23357 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23358 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23359 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23360 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23361 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23362 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23363 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23364 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23365 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23366 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23367 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23368 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23369 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23371 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23372 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23373 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23374 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23376 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23377 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23378 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23379 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23381 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23383 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23385 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23386 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23388 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23389 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23390 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23391 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23392 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23393 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23394 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23395 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23396 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23397 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23398 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23399 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23400 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23401 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23402 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23403 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23404 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23405 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23406 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23407 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23408 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23409 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23410 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23411 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23412 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23413 (__isnanf): Likewise.
23414 (__isinf_ns): Likewise.
23415 (__isinf_nsf): Likewise.
23416 (__finite): Likewise.
23417 (__finitef): Likewise.
23418 (__ieee754_sqrt): Define as macro.
23419 (__ieee754_sqrtf): Define as macro.
23420 (__ieee754_sqrtl): Define as macro.
23421 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23423 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23424 __FINITE_MATH_ONLY__ consistent.
23425 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23427 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23429 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23432 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23434 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23436 * po/ja.po: Update from translation team.
23438 2011-10-08 Roland McGrath <roland@hack.frob.com>
23440 * locale/programs/locarchive.c (prepare_address_space): New function.
23441 (create_archive, enlarge_archive, open_archive): Use it.
23443 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23444 inside [SHARED], where it is used.
23446 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23448 * nss/getent.c (netgroup_keys): Remove unused variable.
23449 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23451 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23453 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23454 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23456 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23457 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23458 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23459 * math/Makefile (libm-calls): Add s_isinf_ns.
23460 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23461 * math/multc3.c: Likewise.
23462 * math/s_casin.c: Likewise.
23463 * math/s_casinf.c: Likewise.
23464 * math/s_casinl.c: Likewise.
23465 * math/s_ccos.c: Likewise.
23466 * math/s_ccosf.c: Likewise.
23467 * math/s_ccosl.c: Likewise.
23468 * math/s_ctan.c: Likewise.
23469 * math/s_ctanf.c: Likewise.
23470 * math/s_ctanh.c: Likewise.
23471 * math/s_ctanhf.c: Likewise.
23472 * math/s_ctanhl.c: Likewise.
23473 * math/s_ctanl.c: Likewise.
23474 * math/w_fmod.c: Likewise.
23475 * math/w_fmodf.c: Likewise.
23476 * math/w_fmodl.c: Likewise.
23477 * math/w_remainder.c: Likewise.
23478 * math/w_remainderf.c: Likewise.
23479 * math/w_remainderl.c: Likewise.
23480 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23481 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23482 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23484 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23485 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23486 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23487 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23489 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23491 * stdio-common/printf_fphex.c: Likewise.
23492 * stdio-common/printf_size.c: Likewise.
23494 * math/e_exp10.c: Include math_private.h using <...> not "...".
23495 * math/e_exp10f.c: Likewise.
23496 * math/e_exp10l.c: Likewise.
23497 * math/e_exp2l.c: Likewise.
23498 * math/e_j0l.c: Likewise.
23499 * math/e_j1l.c: Likewise.
23500 * math/e_jnl.c: Likewise.
23501 * math/e_lgammal_r.c: Likewise.
23502 * math/e_rem_pio2l.c: Likewise.
23503 * math/e_scalb.c: Likewise.
23504 * math/e_scalbf.c: Likewise.
23505 * math/e_scalbl.c: Likewise.
23506 * math/k_cosl.c: Likewise.
23507 * math/k_sinl.c: Likewise.
23508 * math/k_tanl.c: Likewise.
23509 * math/s_cacoshf.c: Likewise.
23510 * math/s_catan.c: Likewise.
23511 * math/s_catanf.c: Likewise.
23512 * math/s_catanh.c: Likewise.
23513 * math/s_catanhf.c: Likewise.
23514 * math/s_catanhl.c: Likewise.
23515 * math/s_catanl.c: Likewise.
23516 * math/s_ccosh.c: Likewise.
23517 * math/s_ccoshf.c: Likewise.
23518 * math/s_ccoshl.c: Likewise.
23519 * math/s_cexp.c: Likewise.
23520 * math/s_cexpf.c: Likewise.
23521 * math/s_cexpl.c: Likewise.
23522 * math/s_clog.c: Likewise.
23523 * math/s_clog10.c: Likewise.
23524 * math/s_clog10f.c: Likewise.
23525 * math/s_clog10l.c: Likewise.
23526 * math/s_clogf.c: Likewise.
23527 * math/s_clogl.c: Likewise.
23528 * math/s_csin.c: Likewise.
23529 * math/s_csinf.c: Likewise.
23530 * math/s_csinh.c: Likewise.
23531 * math/s_csinhf.c: Likewise.
23532 * math/s_csinhl.c: Likewise.
23533 * math/s_csinl.c: Likewise.
23534 * math/s_csqrt.c: Likewise.
23535 * math/s_csqrtf.c: Likewise.
23536 * math/s_csqrtl.c: Likewise.
23537 * math/s_ctan.c: Likewise.
23538 * math/s_ctanf.c: Likewise.
23539 * math/s_ctanh.c: Likewise.
23540 * math/s_ctanhf.c: Likewise.
23541 * math/s_ctanhl.c: Likewise.
23542 * math/s_ctanl.c: Likewise.
23543 * math/s_ldexp.c: Likewise.
23544 * math/s_ldexpf.c: Likewise.
23545 * math/s_ldexpl.c: Likewise.
23546 * math/s_significand.c: Likewise.
23547 * math/s_significandf.c: Likewise.
23548 * math/s_significandl.c: Likewise.
23549 * math/w_acos.c: Likewise.
23550 * math/w_acosf.c: Likewise.
23551 * math/w_acosh.c: Likewise.
23552 * math/w_acoshf.c: Likewise.
23553 * math/w_acoshl.c: Likewise.
23554 * math/w_acosl.c: Likewise.
23555 * math/w_asin.c: Likewise.
23556 * math/w_asinf.c: Likewise.
23557 * math/w_asinl.c: Likewise.
23558 * math/w_atan2.c: Likewise.
23559 * math/w_atan2f.c: Likewise.
23560 * math/w_atan2l.c: Likewise.
23561 * math/w_atanh.c: Likewise.
23562 * math/w_atanhf.c: Likewise.
23563 * math/w_atanhl.c: Likewise.
23564 * math/w_cosh.c: Likewise.
23565 * math/w_coshf.c: Likewise.
23566 * math/w_coshl.c: Likewise.
23567 * math/w_dremf.c: Likewise.
23568 * math/w_exp10.c: Likewise.
23569 * math/w_exp10f.c: Likewise.
23570 * math/w_exp10l.c: Likewise.
23571 * math/w_exp2.c: Likewise.
23572 * math/w_exp2f.c: Likewise.
23573 * math/w_fmod.c: Likewise.
23574 * math/w_fmodf.c: Likewise.
23575 * math/w_fmodl.c: Likewise.
23576 * math/w_hypot.c: Likewise.
23577 * math/w_hypotf.c: Likewise.
23578 * math/w_hypotl.c: Likewise.
23579 * math/w_j0.c: Likewise.
23580 * math/w_j0f.c: Likewise.
23581 * math/w_j0l.c: Likewise.
23582 * math/w_j1.c: Likewise.
23583 * math/w_j1f.c: Likewise.
23584 * math/w_j1l.c: Likewise.
23585 * math/w_jn.c: Likewise.
23586 * math/w_jnf.c: Likewise.
23587 * math/w_jnl.c: Likewise.
23588 * math/w_lgamma.c: Likewise.
23589 * math/w_lgamma_r.c: Likewise.
23590 * math/w_lgammaf.c: Likewise.
23591 * math/w_lgammaf_r.c: Likewise.
23592 * math/w_lgammal.c: Likewise.
23593 * math/w_lgammal_r.c: Likewise.
23594 * math/w_log.c: Likewise.
23595 * math/w_log10.c: Likewise.
23596 * math/w_log10f.c: Likewise.
23597 * math/w_log10l.c: Likewise.
23598 * math/w_log2.c: Likewise.
23599 * math/w_log2f.c: Likewise.
23600 * math/w_log2l.c: Likewise.
23601 * math/w_logf.c: Likewise.
23602 * math/w_logl.c: Likewise.
23603 * math/w_pow.c: Likewise.
23604 * math/w_powf.c: Likewise.
23605 * math/w_powl.c: Likewise.
23606 * math/w_remainder.c: Likewise.
23607 * math/w_remainderf.c: Likewise.
23608 * math/w_remainderl.c: Likewise.
23609 * math/w_scalb.c: Likewise.
23610 * math/w_scalbf.c: Likewise.
23611 * math/w_scalbl.c: Likewise.
23612 * math/w_sinh.c: Likewise.
23613 * math/w_sinhf.c: Likewise.
23614 * math/w_sinhl.c: Likewise.
23615 * math/w_sqrt.c: Likewise.
23616 * math/w_sqrtf.c: Likewise.
23617 * math/w_sqrtl.c: Likewise.
23618 * math/w_tgamma.c: Likewise.
23619 * math/w_tgammaf.c: Likewise.
23620 * math/w_tgammal.c: Likewise.
23622 * po/ja.po: Update from translation team.
23624 2011-09-29 Andreas Jaeger <aj@suse.de>
23627 * sunrpc/netname.c (netname2host): Fix logic.
23631 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23633 * math/w_remainder.c (__remainder): Likewise.
23634 * math/w_remainderf.c (__remainderf): Likewise.
23635 * math/libm-test.inc (remainder_test): Add test cases.
23637 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23639 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23642 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23644 * string/test-memcmp.c: Avoid unncessary #defines.
23645 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23647 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23649 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23650 Use new sse2 version for core i3 - i7 as it's faster
23651 than sse42 version.
23652 (bit_Prefer_PMINUB_for_stringop): New.
23653 * sysdeps/x86_64/rawmemchr.S: Update.
23654 Replace with faster SSE2 version.
23655 * sysdeps/x86_64/memrchr.S: New file.
23656 * sysdeps/x86_64/memchr.S: Update.
23657 Replace with faster SSE2 version.
23659 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23661 * elf/dl-load.c (lose): Add cast to avoid warning.
23663 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23665 * po/ca.po: Update from translation team.
23667 * inet/getnetgrent_r.c: Hook up nscd.
23668 * nscd/Makefile (routines): Add nscd_netgroup.
23669 (nscd-modules): Add netgroupcache.
23670 (CFLAGS-netgroupcache.c): Define.
23671 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23672 (cache_search): Add const to second parameter.
23673 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23675 (dbs): Add netgrdb entry.
23676 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23677 (verify_persistent_db): Handle netgrdb.
23678 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23679 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23681 (netgroup_response_header): Define.
23682 (innetgroup_response_header): Define.
23683 (datahead): Add netgroup_response_header and innetgroup_response_header
23685 * nscd/nscd.conf: Add entries for netgroup cache.
23686 * nscd/nscd.h (dbtype): Add netgrdb.
23687 (_PATH_NSCD_NETGROUP_DB): Define.
23688 (netgroup_iov_disabled): Declare.
23689 (xmalloc, xcalloc, xrealloc): Move declarations here.
23690 (cache_search): Adjust prototype.
23691 Add netgroup-related prototypes.
23692 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23693 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23694 (__nscd_innetgr): Declare.
23695 * nscd/selinux.c (perms): Use access_vector_t as element type and
23696 add netgroup-related initializers.
23697 * nscd/netgroupcache.c: New file.
23698 * nscd/nscd_netgroup.c: New file.
23699 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23700 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23701 For four parameters use innetgr.
23702 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23703 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23704 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23705 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23707 * nscd/connections.c (register_traced_file): Don't register file
23708 for disabled databases.
23710 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23712 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23714 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23715 from tree and freeing node.
23717 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23719 * nss/nsswitch.c (__nss_database_lookup): Handle
23720 nss_parse_service_list out of memory case.
23722 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23724 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23725 out of memory case.
23727 2011-10-04 Andreas Schwab <schwab@redhat.com>
23729 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23730 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23732 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23733 elf_machine_rela, elf_machine_lazy_rel.
23734 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23735 (ELF_DYNAMIC_DO_REL): Likewise.
23736 (ELF_DYNAMIC_DO_RELA): Likewise.
23737 (ELF_DYNAMIC_RELOCATE): Likewise.
23738 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23739 to ELF_DYNAMIC_DO_REL.
23740 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23741 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23742 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23744 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23745 skip_ifunc, don't call ifunc function if non-zero.
23746 (elf_machine_rela): Likewise.
23747 (elf_machine_lazy_rel): Likewise.
23748 (elf_machine_lazy_rela): Likewise.
23749 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23750 (elf_machine_lazy_rel): Likewise.
23751 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23753 (elf_machine_lazy_rel): Likewise.
23754 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23756 (elf_machine_lazy_rel): Likewise.
23757 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23758 (elf_machine_lazy_rel): Likewise.
23759 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23760 (elf_machine_lazy_rel): Likewise.
23761 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23762 (elf_machine_lazy_rel): Likewise.
23763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23764 (elf_machine_lazy_rel): Likewise.
23765 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23766 (elf_machine_lazy_rel): Likewise.
23767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23768 (elf_machine_lazy_rel): Likewise.
23770 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23772 * nss/nss_files/files-init.c (_nss_files_init): Use static
23773 initialization for all the *_traced_file variables.
23775 2011-09-28 Andreas Schwab <schwab@redhat.com>
23777 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23779 2011-09-27 Roland McGrath <roland@hack.frob.com>
23782 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23784 2011-09-27 Andreas Schwab <schwab@redhat.com>
23786 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23787 Reread the line before reparsing it.
23789 2011-09-26 Andreas Schwab <schwab@redhat.com>
23791 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23793 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23794 Maxim Kuvyrkov <maxim@codesourcery.com>
23795 Joseph Myers <joseph@codesourcery.com>
23797 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23798 if needed for __stack_chk_guard.
23800 2011-09-19 Roland McGrath <roland@hack.frob.com>
23802 * sysdeps/posix/spawni.c (script_execute): Always define it.
23803 It will be optimized away if unused.
23804 (maybe_script_execute): New function.
23805 (__spawni): Call it.
23807 * Makerules: Don't include tls.make.
23808 (config-tls): Always set to thread.
23809 * tls.make.c: File removed.
23811 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23813 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23814 * config.make.in (CPPFLAGS-config): New substituted variable.
23816 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23818 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23821 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23822 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23824 2011-09-15 Roland McGrath <roland@hack.frob.com>
23826 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23827 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23828 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23829 (CALL_FAIL): Likewise.
23830 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23831 (CALL_FAIL): Macro removed.
23832 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23834 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23836 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23837 for __FINITE_MATH_ONLY__ == 1.
23839 2011-09-15 Andreas Schwab <schwab@redhat.com>
23841 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23842 __ieee754_sqrt instead of sqrt.
23843 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23844 __ieee754_sqrtf instead of sqrtf.
23845 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23846 __floorf instead of floorf.
23847 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23848 __floorf, __truncf instead of floorf, truncf.
23850 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23852 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23854 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23855 __extern_always_inline.
23856 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23859 2011-09-14 Andreas Schwab <schwab@redhat.com>
23861 * elf/rtld.c (dl_main): Also relocate in dependency order when
23862 doing symbol dependency testing.
23864 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23866 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23867 Always define `refsym'.
23869 2011-09-13 Andreas Schwab <schwab@redhat.com>
23871 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23872 (__FD_ELT): Renamed from __FDELT.
23873 * misc/bits/select2.h (__FD_ELT): Likewise.
23874 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23875 __FD_MASK instead of __FDELT, __FDMASK.
23876 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23878 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23881 * elf/Makefile (gen-ldd): Fix pattern.
23883 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23884 (init_tls): Likewise.
23886 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23888 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23890 2011-09-12 Andreas Schwab <schwab@redhat.com>
23892 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23893 `struct cmsghdr *' instead of `void *'.
23894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23897 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23899 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23901 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23902 ldd_rewrite_script.
23904 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23906 * configure.in: Remove --with-tls option.
23907 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23908 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23909 out in case it is missing.
23910 * sysdeps/ia64/elf/configure.in: Likewise.
23911 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23912 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23913 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23914 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23915 * sysdeps/sh/elf/configure.in: Likewise.
23916 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23917 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23918 * sysdeps/x86_64/elf/configure.in: Likewise.
23919 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23920 * sysdeps/mach/hurd/tls.h: Likewise.
23923 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23926 * configure.in: Fix use of AC_INIT.
23928 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23930 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23932 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23934 * malloc/hooks.c: Likewise.
23937 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23938 variables statically.
23939 (narenas): Initialize.
23940 (list_lock): Initialize.
23941 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23942 initializtion of main_arena and list_lock. Small cleanups.
23943 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23944 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23945 Add initializers to main_arena and mp_.
23946 (malloc_state): Remove pagesize member. Change all users to use
23949 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23950 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23951 is always initialized.
23953 * malloc/malloc.c: Removed unused configurations and dead code.
23954 * malloc/arena.c: Likewise.
23955 * malloc/hooks.c: Likewise.
23956 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23958 * include/tls.h: Removed. USE___THREAD must always be defined.
23959 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23960 * elf/dl-libc.c: Likewise.
23961 * elf/dl-tsd.c: Likewise.
23962 * include/errno.h: Likewise.
23963 * include/netdb.h: Likewise.
23964 * include/resolv.h: Likewise.
23965 * inet/herrno-loc.c: Likewise.
23966 * inet/herrno.c: Likewise.
23967 * malloc/arena.c: Likewise.
23968 * malloc/hooks.c: Likewise.
23969 * malloc/malloc.c: Likewise.
23970 * resolv/res-state.c: Likewise.
23971 * resolv/res_libc.c: Likewise.
23972 * sysdeps/i386/dl-machine.h: Likewise.
23973 * sysdeps/ia64/dl-machine.h: Likewise.
23974 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23975 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23976 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23977 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23978 * sysdeps/sh/dl-machine.h: Likewise.
23979 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23980 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23981 * sysdeps/unix/i386/sysdep.S: Likewise.
23982 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23983 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23984 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23985 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23986 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23987 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23988 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23990 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23992 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23993 * sysdeps/x86_64/dl-machine.h: Likewise.
23994 * tls.make.c: Likewise.
23996 * configure.in: Remove --with-__thread option. Make tests for
23997 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23998 tls_model attribute fail if no support is available. Remove
24000 * Makeconfig: Adjust for dropped configure option. All features are
24002 * Makerules: Likewise.
24003 * Versions.def: Likewise.
24004 * argp/argp-fmtstream.c: Likewise.
24005 * argp/argp-fmtstream.h: Likewise.
24006 * argp/argp-help.c: Likewise.
24007 * assert/assert.c: Likewise.
24008 * config.h.in: Likewise.
24009 * config.make.in: Likewise.
24010 * configure: Likewise.
24011 * configure.in: Likewise.
24012 * csu/Versions: Likewise.
24013 * csu/init.c: Likewise.
24014 * elf/tst-audit2.c: Likewise.
24015 * elf/tst-tls10.c: Likewise.
24016 * elf/tst-tls10.h: Likewise.
24017 * elf/tst-tls11.c: Likewise.
24018 * elf/tst-tls12.c: Likewise.
24019 * elf/tst-tls14.c: Likewise.
24020 * elf/tst-tlsmod11.c: Likewise.
24021 * elf/tst-tlsmod12.c: Likewise.
24022 * elf/tst-tlsmod13.c: Likewise.
24023 * elf/tst-tlsmod13a.c: Likewise.
24024 * elf/tst-tlsmod14a.c: Likewise.
24025 * elf/tst-tlsmod15b.c: Likewise.
24026 * elf/tst-tlsmod16a.c: Likewise.
24027 * elf/tst-tlsmod16b.c: Likewise.
24028 * elf/tst-tlsmod7.c: Likewise.
24029 * elf/tst-tlsmod8.c: Likewise.
24030 * elf/tst-tlsmod9.c: Likewise.
24031 * gmon/gmon.c: Likewise.
24032 * grp/fgetgrent_r.c: Likewise.
24033 * grp/putgrent.c: Likewise.
24034 * hurd/fopenport.c: Likewise.
24035 * include/libc-symbols.h: Likewise.
24036 * include/tls.h: Likewise.
24037 * intl/gettextP.h: Likewise.
24038 * intl/loadinfo.h: Likewise.
24039 * locale/global-locale.c: Likewise.
24040 * locale/localeinfo.h: Likewise.
24041 * mach/devstream.c: Likewise.
24042 * malloc/arena.c: Likewise.
24043 * malloc/set-freeres.c: Likewise.
24044 * misc/err.c: Likewise.
24045 * misc/getttyent.c: Likewise.
24046 * misc/mntent_r.c: Likewise.
24047 * posix/getopt.c: Likewise.
24048 * posix/wordexp.c: Likewise.
24049 * pwd/fgetpwent_r.c: Likewise.
24050 * resolv/Versions: Likewise.
24051 * resolv/res_hconf.c: Likewise.
24052 * shadow/fgetspent_r.c: Likewise.
24053 * shadow/putspent.c: Likewise.
24054 * stdio-common/printf_fphex.c: Likewise.
24055 * stdio-common/tmpfile.c: Likewise.
24056 * stdlib/abort.c: Likewise.
24057 * stdlib/fmtmsg.c: Likewise.
24058 * sunrpc/auth_unix.c: Likewise.
24059 * sunrpc/clnt_perr.c: Likewise.
24060 * sunrpc/clnt_tcp.c: Likewise.
24061 * sunrpc/clnt_udp.c: Likewise.
24062 * sunrpc/clnt_unix.c: Likewise.
24063 * sunrpc/openchild.c: Likewise.
24064 * sunrpc/svc_simple.c: Likewise.
24065 * sunrpc/svc_tcp.c: Likewise.
24066 * sunrpc/svc_udp.c: Likewise.
24067 * sunrpc/svc_unix.c: Likewise.
24068 * sunrpc/xdr.c: Likewise.
24069 * sunrpc/xdr_array.c: Likewise.
24070 * sunrpc/xdr_rec.c: Likewise.
24071 * sunrpc/xdr_ref.c: Likewise.
24072 * sunrpc/xdr_stdio.c: Likewise.
24074 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24076 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24078 2011-07-03 Andreas Jaeger <aj@suse.de>
24080 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24081 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24082 regenerate with gen-libm-tests.pl.
24084 2010-05-12 Petr Baudis <pasky@suse.cz>
24087 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24088 around j0() zero points by switching to j1().
24089 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24090 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24092 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24094 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24096 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24098 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24101 Patch in part by Pavel Roskin <proski@gnu.org>.
24104 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24106 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24107 Free memory block if necessary.
24110 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24111 be NULL. Don't lock in this case.
24113 2011-09-09 Roland McGrath <roland@hack.frob.com>
24115 * elf/elf.h (ELFOSABI_GNU): New macro.
24116 (ELFOSABI_LINUX): Define to that.
24118 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24120 * string/strncat.c (strncat): Undef the symbol in case it has been
24121 defined in bits/string.h.
24123 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24125 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24127 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24130 2011-08-17 Andreas Jaeger <aj@suse.de>
24132 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24134 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24135 Ian Lance Taylor <iant@google.com>
24137 * math/libm-test.inc (lround_test): New testcase.
24138 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24140 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24142 * Makefile: Remove support for automatic cvs check-ins.
24143 * Makerules: Likewise.
24144 * config.make.in: Likewise.
24145 * configure.in: Likewise.
24146 * intl/Makefile: Likewise.
24147 * locale/Makefile: Likewise.
24148 * po/Makefile: Likewise.
24149 * posix/Makefile: Likewise.
24150 * sysdeps/gnu/Makefile: Likewise.
24151 * sysdeps/mach/hurd/Makefile: Likewise.
24152 * sysdeps/sparc/sparc32/Makefile: Likewise.
24155 * posix/Makefile (bug-regex32-ENV): Define.
24156 Patch by John Stanley <jpsinthemix@verizon.net>.
24158 * misc/Makefile (headers): Add bits/select2.h.
24159 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24160 * misc/bits/select2.h: New file.
24161 * include/bits/select2.h: New file.
24162 * debug/Makefile (routines): Add fdelt_chk.
24163 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24164 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24166 * debug/fdelt_chk.c: New file.
24168 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24169 * wcsmbs/test-wmemcmp.c: Likewise.
24170 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24171 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24173 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24175 * string/Makefile (strop-tests): Add memcmp.
24176 * string/test-wmemcmp.c: New file.
24177 * string/test-memcmp.c: Add wmemcmp support.
24179 2011-09-08 Roland McGrath <roland@hack.frob.com>
24182 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24185 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24186 garbage value in a __mach_port_mod_refs call in the cases of the
24187 task-self and thread-self ports.
24189 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24191 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24193 2011-09-08 Andreas Schwab <schwab@redhat.com>
24195 * elf/dl-load.c (lose): Check for non-null L.
24197 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24199 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24201 * elf/dl-libc.c (dlerror_run): Pass back error code from
24205 * elf/dl-load.c (lose): Free l_origin if it is valid.
24207 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24209 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24210 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24211 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24212 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24213 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24214 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24216 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24218 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24219 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24220 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24221 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24222 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24223 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24224 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24225 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24226 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24227 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24229 2011-08-15 Alan Modra <amodra@gmail.com>
24232 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24233 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24234 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24235 ppc_mcount to static-only-routines.
24236 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24238 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24239 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24241 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24243 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24244 for finite and infinity parameters.
24246 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24248 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24249 and add nop instructions for throughput optimization.
24250 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24252 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24254 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24255 aligned copy for power7 with vector-scalar instructions.
24256 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24258 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24263 2011-09-07 Andreas Schwab <schwab@redhat.com>
24266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24269 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24271 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24272 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24273 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24274 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24277 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24279 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24280 Forgot to demangle the pointer.
24282 * sysdeps/i386/sysdep.h: Define atom_text_section.
24283 * sysdeps/x86_64/sysdep.h: Likewise.
24284 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24285 section with atom_text_section.
24286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24287 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24288 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24289 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24290 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24292 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24293 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24294 already be defined. Change to take two parameters and don't assign
24295 result to variable. Adjust all users.
24296 Define INTERNAL_GETTIME if not already defined.
24297 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24300 HAVE_CLOCK_GETTIME_VSYSCALL.
24301 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24303 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24304 gettimeofday vsyscall, just use time.
24306 2011-09-06 Andreas Schwab <schwab@redhat.com>
24308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24311 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24313 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24315 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24317 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24318 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24319 syscall if possible.
24321 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24323 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24324 e_ident. Don't pass to find_mapsXX.
24325 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24327 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24330 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24331 * sysdeps/x86_64/multiarch/strchr.S: Update.
24332 Check bit_slow_BSF bit.
24333 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24334 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24335 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24337 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24340 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24342 (tryshell): Define.
24343 (__spawni): Change last parameter to be flag. Test
24344 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24345 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24346 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24347 * posix/spawni.c: Likewise.
24348 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24349 * posix/spawnp.c: Likewise. Change normal version to use
24350 SPAWN_XFLAGS_USE_PATH.
24351 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24352 SPAWN_XFLAGS_TRY_SHELL.
24355 * posix/glob.h: Remove gcc 1.x support.
24358 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24360 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24363 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24365 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24366 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24367 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24368 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24369 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24370 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24372 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24374 * sysdeps/x86_64/wcscmp.S: New file.
24376 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24377 wcscmp-c wcscmp-sse2
24378 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24379 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24380 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24381 * wcsmbs/wcscmp.c: Allow renaming.
24383 2011-09-05 David S. Miller <davem@davemloft.net>
24385 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24386 stack slot, rather than the struct return pointer slot.
24387 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24388 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24390 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24392 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24394 * po/ja.po: Update from translation team.
24397 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24398 kernel in 64-bit binaries.
24400 2011-09-01 David S. Miller <davem@davemloft.net>
24402 * elf/elf.h (HWCAP_SPARC_*): Move to..
24403 * sysdeps/sparc/sysdep.h: this new file and add new values.
24404 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24405 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24406 _DL_HWCAP_COUNT to 24.
24407 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24409 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24410 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24411 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24413 instead of magic constants.
24414 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24416 2011-08-31 David S. Miller <davem@davemloft.net>
24418 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24420 Reimplement to do errno handling inline.
24421 (SYSCALL_ERROR_HANDLER): New macro.
24422 (__SYSCALL_STRING): Do not do errno handling in asm.
24423 (__CLONE_SYSCALL_STRING): Delete.
24424 (__INTERNAL_SYSCALL_STRING): Delete.
24425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24426 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24427 (PSEUDO): Reimplement to do errno handling inline.
24428 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24429 (SYSCALL_ERROR_HANDLER): New macro.
24430 (__SYSCALL_STRING): Do not do errno handling in asm.
24431 (__CLONE_SYSCALL_STRING): Delete.
24432 (__INTERNAL_SYSCALL_STRING): Delete.
24433 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24434 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24436 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24437 (inline_syscall*): Add 'err' argument.
24438 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24439 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24440 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24441 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24443 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24444 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24446 2011-08-30 Andreas Schwab <schwab@redhat.com>
24448 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24450 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24452 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24455 2011-08-24 David S. Miller <davem@davemloft.net>
24457 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24459 2011-08-24 Andreas Schwab <schwab@redhat.com>
24461 * elf/Makefile: Add rules to build and run unload8 test.
24462 * elf/unload8.c: New file.
24463 * elf/unload8mod1.c: New file.
24464 * elf/unload8mod1x.c: New file.
24465 * elf/unload8mod2.c: New file.
24466 * elf/unload8mod3.c: New file.
24468 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24471 2011-08-23 David S. Miller <davem@davemloft.net>
24473 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24474 subtract stack bias.
24475 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24476 %sp not %fp in calculations.
24477 (_JMPBUF_UNWINDS_ADJ): Likewise.
24479 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24480 (aio_suspend): Call it to force an exception region around the
24481 AIO_MISC_WAIT() invocation.
24483 2011-08-23 Andreas Schwab <schwab@redhat.com>
24485 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24488 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24490 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24492 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24493 and <dl-machine.h>.
24494 (Elf64_FuncDesc): Remove.
24496 2011-08-22 David S. Miller <davem@davemloft.net>
24498 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24499 sigaltstack check, add missing cfi directives.
24500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24501 missing cfi directives, and sigaltstack handling.
24503 2011-08-16 Andreas Schwab <schwab@redhat.com>
24506 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24507 object is seen twice.
24508 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24510 * elf/Makefile (distribute): Add tst-initorder2.c.
24511 (tests): Add tst-initorder2.
24512 (modules-names): Add tst-initorder2a tst-initorder2b
24513 tst-initorder2c tst-initorder2d. Add rules to build them.
24514 ($(objpfx)tst-initorder2.out): New rule.
24515 * elf/tst-initorder2.c: New file.
24516 * elf/tst-initorder2.exp: New file.
24518 2011-08-22 Andreas Schwab <schwab@redhat.com>
24520 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24522 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24523 dependencies back to end of function.
24525 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24526 $(elfobjdir)/ld.so.
24528 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24530 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24531 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24533 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24534 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24535 of __vdso_gettimeofday.
24536 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24537 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24539 (_libc_vdso_platform_setup): Remove initialization of
24540 __vdso_gettimeofday and __vdso_time.
24542 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24544 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24545 and fgetc_unlocked.
24546 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24549 * elf/dl-open.c (add_to_global): Report additions to the global scope
24550 for LD_DEBUG=scopes.
24551 (dl_open_worker): Also print scope of newly loaded dependencies.
24552 (_dl_show_scope): Indicate if there is no scope.
24555 * stdio-common/Makefile (tests): Add bug24.
24556 * stdio-common/bug24.c: New file.
24558 2011-08-19 Andreas Jaeger <aj@suse.de>
24561 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24562 non-existant file when using close-on-exec mode.
24564 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24567 the very first instruction.
24569 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24570 the CFI state in the end.
24571 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24572 inclusion of dl-trampoline.h.
24573 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24575 2011-08-19 Andreas Schwab <schwab@redhat.com>
24577 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24578 expectations for long double.
24580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24581 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24583 2011-08-14 David S. Miller <davem@davemloft.net>
24585 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24586 artificual limit depends upon the system page size.
24588 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24590 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24591 * resolv/Makefile: Define CFLAGS-libresolv.
24593 2011-08-17 Andreas Schwab <schwab@redhat.com>
24595 * nss/makedb.c (compute_tables): Make variables used in nested
24598 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24600 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24601 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24602 if buffer was too small.
24604 * elf/pldd.c (main): Attach to all threads in the process.
24605 Rewrite /proc handling to use *at functions.
24607 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24609 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24610 specifies first scope to show.
24611 (dl_open_worker): Update callers. Move printing scope of new
24612 object to before the relocation.
24613 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24614 * sysdeps/generic/ldsodefs.h: Update declaration.
24616 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24617 string for the scope number.
24619 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24621 * nscd/servicescache.c (cache_addserv): Make sure written is always
24624 2011-08-14 Roland McGrath <roland@hack.frob.com>
24626 * sysdeps/i386/i486/bits/atomic.h
24627 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24628 statement expression, so as to suppress "set but not used" warning.
24629 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24631 * string/strncat.c (STRNCAT): Use prototype definition.
24633 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24634 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24636 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24637 (localedef-modules): Add localedef.
24638 (locale-modules): Add locale.
24640 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24641 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24642 to avoid a warning.
24644 2011-08-14 David S. Miller <davem@davemloft.net>
24646 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24647 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24649 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24651 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24652 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24653 * elf/rtld.c (dl_main): Set l_name of vDSO.
24654 Call _dl_show_scope when DL_DEBUG_SCOPES.
24655 (process_dl_debug): Recognize scopes flag and also set it for all.
24656 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24657 Declare _dl_show_scope.
24659 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24660 (do_dlopen): Pass caller_dlopen to dl_open.
24661 (__libc_dlopen_mode): Initialize caller_dlopen.
24663 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24664 of libc. Make tolower call locale-independent. Optimize a bit by
24665 using isdigit instead of isalnum.
24666 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24668 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24670 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24671 was a dependency or dynamically loaded.
24673 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24675 * intl/l10nflist.c: Allow architecture-specific pop function.
24676 * sysdeps/x86_64/l10nflist.c: New file.
24678 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24681 2011-08-10 Andreas Schwab <schwab@redhat.com>
24683 * include/dirent.h: Add libc_hidden_proto for scandirat and
24684 scandirat64. Don't declare __scandirat64.
24685 * dirent/scandirat.c: Add libc_hidden_def.
24686 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24687 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24689 2011-08-10 David S. Miller <davem@davemloft.net>
24691 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24693 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24694 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24695 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24697 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24699 * Versions.def [libc]: Add GLIBC_2.15.
24700 * dirent/Makefile (routines): Add scandirat and scandirat64.
24701 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24703 * dirent/dirent.h: Declare scandirat and scandirat64.
24704 * dirent/scandirat.c: New file.
24705 * dirent/scandirat64.c: New file.
24706 * sysdeps/wordsize-64/scandirat.c: New file.
24707 * sysdeps/wordsize-64/scandirat64.c: New file.
24708 * dirent/opendir.c: Define opendirat.
24709 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24711 * dirent/scandir64.c: Adjust for scandir.c change.
24712 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24713 __scandirat64, and __scandir_cancel_handler.
24714 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24715 additional parameter and use openat instead of open (outside of ld.so).
24716 Add new __opendir as wrapper around __opendirat.
24717 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24718 here without requiring old scandirat implementation.
24720 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24722 * dirent/scandir.c (cancel_handler): Renamed to
24723 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24724 defined. Adjust users.
24725 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24726 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24728 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24730 * string/test-string.h (IMPL): Use __STRING to expand name and then
24733 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24736 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24738 * string/Makefile: Update.
24739 (strop-tests): Append strncat.
24740 * string/test-wcscmp.c: New file.
24741 New comprehensive test for wcscmp.
24742 * string/test-strcmp.c: Update.
24743 (WIDE): New define.
24745 2011-07-22 Andreas Schwab <schwab@redhat.com>
24747 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24750 2011-07-26 Andreas Schwab <schwab@redhat.com>
24752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24753 encoding to ACE if AI_IDN.
24755 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24757 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24758 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24760 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24762 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24763 Fix overflow bug in strncat.
24764 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24766 * string/test-strncat.c: Update.
24767 Add new tests for checking overflow bugs.
24769 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24772 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24773 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24774 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24776 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24777 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24778 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24779 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24781 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24782 (USE_AS_STRCAT): Define.
24783 Add strcat and strncat support.
24784 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24786 2011-07-25 Andreas Schwab <schwab@redhat.com>
24788 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24789 __n bigger than INT_MAX+1.
24790 (__strncmp_g): Likewise.
24792 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24794 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24795 * libio/stido.h: Likewise.
24797 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24802 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24803 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24804 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24805 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24806 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24809 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24812 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24814 (_dl_x86_64_save_sse): Likewise.
24816 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24820 (_dl_x86_64_save_sse): Likewise.
24822 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24824 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24826 2011-07-21 Andreas Schwab <schwab@redhat.com>
24828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24830 (_dl_x86_64_save_sse): Use correct AVX check.
24832 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24834 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24835 bug in strncpy/strncat.
24836 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24838 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24840 * string/tester.c (test_strcat): Add tests for different alignments
24841 of source and destination.
24842 (test_strncat): Likewise.
24844 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24847 * posix/glob.c (glob): Check passed in values before using them in
24848 expressions to avoid some overflows.
24849 (glob_in_dir): Likewise.
24852 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24853 check for AVX enablement so that we don't crash with old kernels and
24855 * elf/tst-audit4.c: Add same checks here.
24856 * elf/tst-audit6.c: Likewise.
24858 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24860 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24862 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24864 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24866 * po/cs.po: Update from translation team.
24867 * po/bg.po: Likewise.
24869 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24871 * misc/sys/cdefs.h: Add support for const attribute.
24872 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24873 to gnu_dev_{major,minor,makedev} functions.
24875 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24877 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24879 2011-07-20 Andreas Schwab <schwab@redhat.com>
24881 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24884 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24886 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24887 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24888 register in order to avoid conflicts with the soft frame pointer
24889 being held in r11 when necessary.
24890 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24891 (INTERNAL_VSYSCALL_NCS): Likewise.
24893 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24895 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24896 * elf/dl-fini.c (_dl_fini): Adjust caller.
24897 * elf/dl-close.c (_dl_close_worker): Likewise.
24898 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24900 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24902 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24903 "aux_cache->nlibs < 0".
24905 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24906 in the reload-count case.
24908 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24911 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24912 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24913 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24914 * sysdeps/x86_64/multiarch/strcat.S: New file.
24915 * sysdeps/x86_64/multiarch/strncat.S: New file.
24916 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24917 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24918 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24919 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24920 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24921 (USE_AS_STRCAT): Define.
24922 Add strcat and strncat support.
24923 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24924 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24925 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24926 * string/strncat.c: Update.
24927 (USE_AS_STRNCAT): Define.
24928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24929 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24931 * sysdeps/x86_64/multiarch/init-arch.h
24932 (bit_Prefer_PMINUB_for_stringop): New.
24933 (index_Prefer_PMINUB_for_stringop): Likewise.
24934 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24935 bit_Prefer_PMINUB_for_stringop.
24937 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24939 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24941 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24942 of casting of buffer.
24943 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24944 buffer32 and buffer64.
24945 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24946 writes instead of casting of buffer.
24947 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24949 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24952 2011-07-19 Andreas Schwab <schwab@redhat.com>
24954 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24956 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24958 * nscd/nscd.c (termination_handler): Don't do anything for a database
24959 if it has not yet been initialized.
24961 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24963 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24965 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24967 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24969 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24971 * po/nl.po: Update from translation team.
24972 * po/sv.po: Likewise.
24974 2011-07-16 Roland McGrath <roland@hack.frob.com>
24976 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24977 now disallowed by GCC.
24979 * configure.in (use-default-link): Default to yes if a test -shared
24980 link meets our qualifications.
24981 * configure: Regenerated.
24983 * config.make.in (output-format): New variable.
24984 * configure.in: Check for ld --print-output-format support.
24985 * configure: Regenerated.
24986 * Makerules ($(common-objpfx)format.lds)
24987 [$(output-format) != unknown]: Just use $(output-format),
24988 instead of the linker-script munging.
24990 2011-07-14 Roland McGrath <roland@hack.frob.com>
24992 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24993 of $(common-objpfx)shlib.lds.
24994 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24996 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24997 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24999 * configure.in (-z relro check): Adjust test code to add a large
25000 writable data section after it.
25001 * configure: Regenerated.
25003 2011-07-11 Roland McGrath <roland@hack.frob.com>
25005 * configure.in (-z relro check): Fix test code to make the variable
25007 * configure: Regenerated.
25009 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25011 * nscd/nscd.h (struct traced_file): Define.
25012 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25013 elements. Add traced_files.
25014 (inotify_fd): Declare.
25015 (register_traced_file): Declare.
25016 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25017 (inotify_fd): Export.
25018 (resolv_conf_descr): Remove.
25019 (nscd_init): Move inotify descriptor creation to main.
25020 Don't register files for notification here.
25021 (register_traced_file): New function.
25022 (invalidate_cache): Don't use reset_res to determine whether to call
25023 res_init, go through the list of registered files.
25024 (main_loop_poll): The inotify descriptors are now stored in the
25025 structures for the traced files.
25026 (main_loop_epoll): Likewise
25027 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25028 to __nss_disable_nscd.
25029 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25030 for a database anymore. Check the records for all the registered
25032 * nss/Makefile (libnss_files-routines): Add files-init.
25033 (libnss_db-routines): Add db-init.
25034 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25035 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25036 * nss/nss_db/db-init.c: New file.
25037 * nss/nss_files/files-init.c: New file.
25038 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25039 __nss_lookup_function.
25040 (__nss_lookup_function): Call nss_load_library.
25041 (nss_load_all_libraries): New function.
25042 (__nss_disable_nscd): Take parameter with callback function for files
25043 to register. Set is_nscd. Load all the DSOs for the NSS modules
25044 used for the cached services.
25045 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25046 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25047 options for features to all the files in nscd.
25049 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25051 2011-07-10 Roland McGrath <roland@hack.frob.com>
25053 * csu/elf-init.c (__libc_csu_init): Comment typo.
25055 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25057 * po/pl.po: Update from translation team.
25058 * po/ja.po: Likewise.
25059 * po/ru.po: Likewise.
25060 * po/ko.po: Likewise.
25061 * po/fr.po: Likewise.
25063 2011-07-09 Roland McGrath <roland@hack.frob.com>
25065 * configure.in (.ctors/.dtors header and trailer check):
25066 Use an empirical test on a built program.
25067 * configure: Regenerated.
25069 * configure.in (-z relro check): Use an empirical test on a built DSO.
25070 Detect, but do not require, on ia64.
25071 * configure: Regenerated.
25073 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25074 Update tests that use readelf to use $READELF instead.
25075 * configure: Regenerated.
25077 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25079 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25080 if the result is not used.
25082 2011-07-05 Andreas Jaeger <aj@suse.de>
25085 * stdlib/tst-strtod.c: Add testcase.
25087 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25089 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25090 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25091 The latter has a higher limit. Take additional parameter to pass to
25093 (__pathconf): Pass file to __statfs_link_max.
25094 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25096 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25100 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25101 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25103 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25104 (__statfs_filesize_max): Likewise.
25105 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25107 2011-07-05 Andreas Jaeger <aj@suse.de>
25109 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25111 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25113 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25115 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25118 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25120 * Makefile (strop-tests): Add strncat.
25121 * string/test-strncat.c: New file.
25123 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25125 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25127 2011-06-21 Andreas Jaeger <aj@suse.de>
25129 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25130 Copy rule from iconvdata/Makefile.
25132 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25135 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25136 but no long options are defined, just return 'W'.
25138 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25141 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25143 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25145 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25147 (innetgr): Likewise.
25149 2011-07-05 Roland McGrath <roland@hack.frob.com>
25151 * config.make.in (install_root): Default to $(DESTDIR).
25153 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25155 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25157 2011-07-02 Roland McGrath <roland@hack.frob.com>
25159 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25161 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25162 containing directory rather than embedding absolute directory names.
25164 * scripts/check-local-headers.sh: Rewritten using awk.
25165 Match by word, not by line. Print error messages for matches.
25166 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25168 * Makerules [shlib-lds-flags empty]:
25169 ($(common-objpfx)libc_pic.opts): New target.
25170 ($(common-objpfx)libc_pic.os.clean): New target.
25171 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25173 * config.make.in (OBJCOPY): New variable.
25174 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25175 * configure: Regenerated.
25177 * config.make.in (use-default-link): New variable.
25178 * configure.in (use_default_link): Grok --with-default-link to set it.
25179 * configure: Regenerated.
25180 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25181 (shlib-lds, shlib-lds-flags): Define to empty.
25183 * Makerules (shlib-lds): New variable.
25184 (shlib-lds-flags): New variable.
25185 (build-shlib, build-moduile, build-module-asneeded): Use it.
25186 ($(common-objpfx)libc.so): Use $(shlib-lds).
25187 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25188 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25190 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25191 DT_FLAGS/DT_FLAGS_1 with zero flags.
25193 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25194 linker script munging.
25196 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25198 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25200 * crypt/sha512.c (sha512_process_block): Perform total addition using
25201 128-bit if possible.
25202 (__sha512_finish_ctx): Likewise.
25203 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25205 * crypt/sha256.c (SWAP64): Define.
25206 (sha256_process_block): Perform total addition using 64-bit if
25208 (__sha256_finish_ctx): Likewise.
25210 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25212 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25214 * nscd/hstcache.c (cache_addhst): Likewise.
25215 * nscd/grpcache.c (cache_addgr): Likewise.
25216 * nscd/aicache.c (addhstaiX): Likewise
25217 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25219 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25221 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25222 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25223 * nscd/hstcache.c (cache_addhst): Likewise.
25224 * nscd/grpcache.c (cache_addgr): Likewise.
25225 * nscd/aicache.c (addhstaiX): Likewise
25227 2011-07-01 Andreas Schwab <schwab@redhat.com>
25229 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25230 domain only when needed.
25232 2011-06-30 Andreas Schwab <schwab@redhat.com>
25234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25235 is always restored.
25237 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25239 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25240 are re-adding the entry.
25241 * nscd/servicescache.c (cache_addserv): Likewise.
25243 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25245 * sysdeps/generic/dl-irel.h: fix protection against multiple
25247 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25249 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25252 * malloc/memusage.sh: Fix quoting in message.
25253 * debug/xtrace.sh: Likewise.
25255 * configure.in: Remove support for --experimental-malloc option, make
25257 * config.make.in: Likewise.
25258 * malloc/Makefile: Likewise.
25260 2011-06-27 Andreas Schwab <schwab@redhat.com>
25262 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25263 two-byte characters.
25265 2011-06-27 Roland McGrath <roland@hack.frob.com>
25267 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25268 AC_CACHE_CHECK invocation.
25269 * configure: Regenerated.
25271 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25273 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25276 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25277 bit from old_res_options.
25279 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25281 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25282 value type for setfct.
25284 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25286 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25287 __gettimeofday instead of gettimeofday.
25289 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25291 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25293 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25295 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25297 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25300 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25303 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25304 strcpy-sse2-unaligned strncpy-sse2-unaligned
25305 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25306 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25307 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25308 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25309 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25310 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25311 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25312 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25313 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25314 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25315 (STRCPY): Support SSE2 and SSSE3 versions.
25317 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25320 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25321 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25322 kernels which artificially limit size of requests.
25324 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25326 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25327 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25328 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25329 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25330 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25331 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25332 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25333 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25334 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25335 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25336 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25337 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25338 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25339 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25340 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25342 Enable unaligned load optimization for Intel Core i3, i5 and i7
25344 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25346 (index_Fast_Unaligned_Load): Define.
25347 (HAS_FAST_UNALIGNED_LOAD): Define.
25349 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25351 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25353 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25356 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25357 until it is clear that the information is realy needed.
25358 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25360 2011-06-22 Andreas Schwab <schwab@redhat.com>
25362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25364 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25367 /sys/devices/system/cpu/online if it is usable.
25369 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25370 reading the information from the /proc filesystem to once a second.
25372 2011-06-21 Andreas Jaeger <aj@suse.de>
25374 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25375 NULL after inclusion of kernel headers.
25377 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25379 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25380 calls to internal_setent.
25383 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25384 addresses using gethostbyname4_r ignore IPv4 addresses.
25386 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25387 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25389 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25391 2011-06-20 David S. Miller <davem@davemloft.net>
25393 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25395 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25397 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25398 (elf_irel): Use it.
25399 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25400 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25401 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25402 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25403 * sysdeps/x86_64/dl-irel.h: Likewise.
25405 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25406 * elf/dl-sym.c: Likewise.
25408 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25410 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25411 need to dereference resplen2.
25413 2011-06-14 Andreas Schwab <schwab@redhat.com>
25415 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25417 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25419 * Makeconfig: Define vardbdir and inst_vardbdir.
25420 * nss/Makefile: Add rules to install db-Makefile.
25422 * nss/nss_db/db-XXX.c: Cleanup.
25424 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25425 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25427 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25428 * nss/makedb.c: Implement -g option to specify that value strings
25429 are generated and should not be added to table iterated over for
25431 * nss/nss_db/db-initgroups.c: New file.
25433 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25436 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25437 (internal_getgrouplist): Adjust to name change.
25438 Update use_initgroups_entry if this is not the first call.
25439 * nss/databases.def: Add initgroups entry.
25441 * nss/makedb.c (compute_tables): Check result of multiple hash table
25442 sizes to minimize maximum chain length.
25444 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25446 * Versions.def: Add entry for libnss_db.
25447 * shlib-versions: Likewise.
25448 * nss/Makefile: Add rules to build libnss_db.
25449 * nss/Versions: Add libnss_db information. Organize libnss_files
25451 * nss/db-Makefile: Add gshadow support. Change rules for the new
25452 makedb progra. Some minor improvements to generate smaller files.
25453 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25455 * nss/makedb.c: ...here.
25456 Improve database format to be smaller and require less memory at
25458 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25460 * nss/nss_db/db-netgrp.c: Likewise.
25461 * nss/nss_db/db-open.c: Likewise.
25462 * nss/nss_files/flies-XXX.x: Adjust comments.
25463 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25464 * nss/nss_files/files-grp.c: Likewise.
25465 * nss/nss_files/files-hosts.c: Likewise.
25466 * nss/nss_files/files-network.c: Likewise.
25467 * nss/nss_files/files-proto.c: Likewise.
25468 * nss/nss_files/files-pwd.c: Likewise.
25469 * nss/nss_files/files-rpc.c: Likewise.
25470 * nss/nss_files/files-service.c: Likewise.
25471 * nss/nss_files/files-sgrp.c: Likewise.
25472 * nss/nss_files/files-spwd.c: Likewise.
25473 * nss/nss_db/db-alias.c: Removed.
25474 * nss/nss_db/dummy-db.h: Removed.
25476 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25478 * nss/makedb.c: Rewritten to not use database library.
25479 * nss/Makefile: Update to build new makedb program.
25481 2011-06-14 Andreas Jaeger <aj@suse.de>
25483 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25484 memset declaration.
25486 2011-06-10 Andreas Schwab <schwab@redhat.com>
25488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25491 2011-06-10 Roland McGrath <roland@hack.frob.com>
25493 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25494 * elf/Makefile ($(objpfx)ld.so): Likewise.
25496 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25497 Don't list ld.so twice in dependencies.
25499 * posix/bug-regex31.c: Include <stdlib.h>.
25501 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25503 * nis/nss_compat/compat-spwd.c
25504 (getspent_next_nss_netgr): Remove unused variable.
25505 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25507 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25508 nonmembers" output to use the right array.
25510 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25512 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25514 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25515 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25516 * catgets/gencat.c (read_input_file): Likewise.
25517 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25519 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25520 variable definition inside #if's controlling its use.
25522 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25524 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25526 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25528 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25531 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25533 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25534 * configure: Regenerated.
25536 * Makerules: Revert last change.
25537 * elf/Makefile: Likewise.
25539 2011-06-09 Roland McGrath <roland@hack.frob.com>
25541 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25542 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25543 (reloc-link): Likewise.
25545 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25547 * elf/Makefile: Add rules to build pldd.
25548 * elf/pldd.c: New file.
25549 * elf/pldd-xx.c: New file.
25551 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25553 * version.h: Update for 2.15 development version.
25555 2011-06-07 David S. Miller <davem@davemloft.net>
25557 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25560 elf_machine_lazy_rel): Likewise.
25561 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25563 elf_machine_lazy_rel): Likewise.
25564 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25565 dl_hwcap via passed in argument.
25566 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25569 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25571 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25573 2011-06-06 Roland McGrath <roland@hack.frob.com>
25576 * manual/fdl-1.1.texi: New file, verbatim from:
25577 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25578 * manual/lgpl-2.1.texi: New file, verbatim from:
25579 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25580 * manual/Makefile (licenses): New variable, list those new file names.
25582 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25584 * manual/fdl.texi: File removed.
25585 * manual/lesser.texi: File removed.
25586 * manual/libc.texinfo (Copying, Documentation License):
25587 Use new @include file names, put @appendix directive before @include.
25589 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25592 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25593 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25594 (mq_open): Add __NTH.
25596 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25599 Assume Intel Core i3/i5/i7 processor if AVX is available.
25601 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25603 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25606 2011-05-31 Andreas Schwab <schwab@redhat.com>
25608 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25609 memory. Use alloca_account. Fix memory leak when retrying.
25611 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25613 * version.h (RELEASE): Bump for 2.14 release.
25614 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25616 * config.make.in (RANLIB): Remove entry.
25618 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25620 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25621 (libc.pot): Work around missing support for .ksh extension in xgettext.
25624 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25625 if both request failed.
25626 (send_dg): In case of server errors clear resplen or *resplen2.
25629 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25630 when there are multiple maps.
25631 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25632 (_dl_fini): Remove test here.
25634 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25636 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25639 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25640 bit from old_res_options.
25641 (gaih_inet): Likewise.
25644 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25647 * resolv/res_init.c (res_setoptions): Make the code more compact.
25650 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25654 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25656 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25659 * malloc/malloc.h: Declare malloc hook variables as volatile.
25661 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25665 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25666 raise in the comment.
25667 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25669 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25671 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25674 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25675 grow the buffers more if it already has to be sufficient.
25676 (build_wcs_upper_buffer): Likewise.
25677 * posix/regexec.c (check_matching): Likewise.
25678 (clean_state_log_if_needed): Likewise.
25679 (extend_buffers): Don't enlarge buffers beyond size of the input
25681 Patches mostly by Emil Wojak <emil@wojak.eu>.
25682 * posix/bug-regex32.c: New file.
25683 * posix/Makefile (tests): Add bug-regex32.
25685 * locale/findlocale.c (_nl_find_locale): Return right away if
25686 _nl_explode_name failed.
25687 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25689 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25691 * debug/xtrace.sh: Unify messages.
25692 * malloc/memusage.sh: Likewise.
25695 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25696 time symbol from vDSO. Substitute with vsyscall if not available.
25697 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25700 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25701 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25702 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25703 Add sendmmsg and internal_sendmmsg.
25704 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25705 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25706 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25708 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25709 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25710 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25712 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25715 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25716 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25718 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25722 * iconvdata/Makefile (tests): Add bug-iconv9.
25723 * iconvdata/bug-iconv9.c: New file.
25725 2011-05-27 Andreas Schwab <schwab@redhat.com>
25728 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25730 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25732 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25733 (struct user_regs_struct): Change intcs field back to cs.
25735 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25737 * po/ja.po: Update from translation team.
25739 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25742 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25743 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25745 2011-05-20 Andreas Schwab <schwab@redhat.com>
25747 * stdlib/longlong.h: Update from GCC.
25749 2011-05-23 Andreas Schwab <schwab@redhat.com>
25751 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25753 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25754 Add parameter name.
25755 (__sysconf): Pass it down.
25757 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25760 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25762 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25763 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25764 add in in __libc_use_alloca calls. Adjust callers.
25765 (glob): Use malloc in some situations.
25767 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25768 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25771 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25773 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25774 and CLOCK_BOOTTIME_ALARM.
25777 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25780 * string/_strerror.c (__strerror_r): Print negative errors as signed
25784 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25785 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25786 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25788 * configure.in: Fix typo in redirection and correct removal of test
25789 files in two cases.
25792 * locale/setlocale.c (new_composite_name): Fix test to check for
25793 identical name of all categories.
25796 * libio/filedoalloc.c (local_isatty): New function.
25797 (_IO_file_doallocate): Use local_isatty.
25798 * stdio-common/perror.c (perror): In case a new stream is used
25799 forward the stream error.
25800 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25803 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25808 * include/alloca.h (extend_alloca_account): Define.
25811 * posix/regex.h: Fix comments with documentation of user-accessible
25812 fields after compilation and describe correct free'ing of pattern
25813 after re_compile_pattern.
25814 Patch by Reuben Thomas <rrt@sc3d.org>.
25816 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25818 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25819 and -mno-altivec to prevent the compiler from using Altivec and/or
25820 VSX instructions when the corresponding registers are not available.
25822 2011-05-19 Andreas Schwab <schwab@redhat.com>
25824 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25826 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25828 * libio/freopen.c (freopen): Use __dup2, not dup2.
25829 * libio/freopen64.c (freopen64): Likewise.
25831 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25834 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25835 * math/Makefile (tests): Add test-powl.
25836 (CFLAGS-test-powl.c): Define.
25837 * math/test-powl.c: New file.
25839 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25841 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25843 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25846 * iconvdata/gb18030.c: Update to GB18020-2005.
25848 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25850 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25851 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25852 Patch by Aharon Robbins <arnold@skeeve.com>.
25855 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25859 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25860 through underflows.
25863 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25864 point to strings before performing equality test for error_one_per_line
25868 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25871 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25872 (struct user_fpregs_struct): Avoid __uint*_t types.
25875 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25876 symbol info. Use it instead of calling _dl_addr locally.
25877 (lock_and_info): New function.
25878 (tr_freehook): Call lock_and_info and pass symbol info as additional
25879 parameter to tr_where.
25880 (tr_mallochook): Likewise.
25881 (tr_reallochook): Likewise.
25882 (tr_memalignhook): Likewise.
25884 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25885 used and couldn't be at all thread-safe.
25887 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25889 * libio/freopen.c (freopen): Don't close old file descriptor
25890 before the new one is opened. Instead dup the new file descriptor
25891 to the old one after the new stream is created.
25892 * libio/freopen64.c (freopen64): Likewise.
25893 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25894 * libio/fileops.c (_IO_new_file_close_it): Handle new
25895 _IO_FLAGS2_NOCLOSE flag.
25896 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25897 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25898 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25899 _IO_FLAGS2_NOCLOSE flag.
25900 * include/unistd.h: Add hidden_proto for dup3.
25901 Define __have_dup3.
25902 * io/dup3.c: Define hidden symbol.
25903 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25906 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25907 when an incomplete long option is used.
25908 * posix/tst-getopt_long1.c: New file.
25909 * posix/Makefile (tests): Add tst-getopt_long1.
25912 * scripts/config.guess: Update from autoconf-2.68.
25913 * scripts/config.sub: Likewise.
25916 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25918 (has_cpuclock): ...this. New function.
25919 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25920 macro here based on has_cpuclock code.
25923 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25924 First byte (not low byte) is now always NUL.
25925 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25928 Use non-cancelable interfaces.
25931 * locale/iso-639.def: Add entry for Sorani.
25934 * include/stdlib.h: Move include protection to the right place.
25935 Define abort_msg_s. Declare __abort_msg with it.
25936 * stdlib/abort.c (__abort_msg): Adjust type.
25937 * assert/assert.c (__assert_fail_base): New function. Majority
25938 of code from __assert_fail. Allocate memory for __abort_msg with
25940 (__assert_fail): Now call __assert_fail_base.
25941 * assert/assert-perr.c: Remove bulk of implementation. Use
25942 __assert_fail_base.
25943 * include/assert.hL Declare __assert_fail_base.
25944 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25946 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25948 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25952 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25953 until all modules are registered in the DTV.
25954 * elf/Makefile: Add rules to build and run tst-tls19.
25955 * elf/tst-tls19.c: New file.
25956 * elf/tst-tls19mod1.c: New file.
25957 * elf/tst-tls19mod2.c: New file.
25958 * elf/tst-tls19mod3.c: New file.
25959 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25962 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25966 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25967 two-byte sequence errors.
25968 * iconvdata/Makefile (tests): Add bug-iconv8.
25969 * iconvdata/bug-iconv8.c: New file.
25972 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25975 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25978 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25979 (dummy_getcfa): New function.
25980 (init): Get _Unwind_GetCFA address, use dummy if not found.
25981 (backtrace_helper): In recursion check, also check whether CFA changes.
25982 (__backtrace): Completely initialize arg.
25984 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25985 storing incomplete byte sequence in state object. Avoid testing for
25986 guaranteed too small input if we know there is enough data available.
25988 2011-05-11 Andreas Schwab <schwab@redhat.com>
25990 * Makeconfig (+link-pie): Indent.
25991 * Rules (binaries-pie): Define if $(have-fpie) and
25993 (binaries-shared): Also filter out $(binaries-pie).
25994 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25995 * nscd/Makefile (others-pie): Add nscd.
25996 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25997 ($(objpfx)nscd): Remove command override.
25998 * login/Makefile (others-pie): Add pt_chown.
25999 ($(objpfx)pt_chown): Remove command override.
26000 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26001 remove command overrides.
26003 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26005 * libio/tst_putwc.c: Fix error messages.
26008 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26009 currently writing and seek to current position when not.
26010 * libio/Makefile (tests): Add bug-fclose1.
26011 * libio/bug-fclose1.c: New file.
26013 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26016 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26017 don't set DF_1_NODELETE here.
26018 (do_lookup_x): When entering new entry test for copy relocation
26019 and if necessary set DF_1_NODELETE flag.
26020 * elf/tst-unique4.cc: New file.
26021 * elf/tst-unique4.h: New file.
26022 * elf/tst-unique4lib.cc: New file.
26023 * elf/Makefile: Add rules to build and run tst-unique4.
26024 Patch by Piotr Bury <pbury@goahead.com>.
26026 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26029 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26032 * misc/mntent_r.c (addmntent): Flush the stream after the output
26035 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26036 (is_trusted_path_normalize): Skip initial colon. Append slash
26037 to empty buffer. Duplicate is_trusted_path code but allow
26038 constructed patch to be prefix.
26039 (is_dst): Allow $ORIGIN followed by /.
26040 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26041 Correct testing of result of is_trusted_path_normalize
26042 (decompose_rpath): Fix warning.
26044 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26047 * grp/initgroups.c (internal_getgrouplist): When we found the service
26048 list through the initgroups entry in nsswitch.conf do not always
26049 continue on a successful lookup. Don't always use the
26050 __nss_group_database value if it is set.
26051 * nss/nsswitch.conf (initgroups): Change action for successful db
26052 lookup to continue for compatibility.
26054 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26057 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26059 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26061 * iconvdata/tst-tables.sh: Likewise.
26062 * iconvdata/cp770.c: New file.
26063 * iconvdata/cp771.c: New file.
26064 * iconvdata/cp772.c: New file.
26065 * iconvdata/cp773.c: New file.
26066 * iconvdata/cp774.c: New file.
26067 * iconvdata/testdata/CP770: New file.
26068 * iconvdata/testdata/CP770..UTF8: New file.
26069 * iconvdata/testdata/CP771: New file.
26070 * iconvdata/testdata/CP771..UTF8: New file.
26071 * iconvdata/testdata/CP772: New file.
26072 * iconvdata/testdata/CP772..UTF8: New file.
26073 * iconvdata/testdata/CP773: New file.
26074 * iconvdata/testdata/CP773..UTF8: New file.
26075 * iconvdata/testdata/CP774: New file.
26076 * iconvdata/testdata/CP774..UTF8: New file.
26078 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26080 * iconvdata/gen-8bit-gap.sh: Likewise.
26081 * iconvdata/gen-8bit.sh: Likewise.
26083 * locale/iso-639.def: Add ary entry.
26086 * locale/C-translit.h.in: Add U20A1 transliteration.
26089 * locale/iso-639.def: Add wae entry.
26090 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26093 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26097 * locale/C-translit.h.in: Add entry for U20B9.
26098 Patch by pravin.d.s@gmail.com.
26100 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26103 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26104 ENAMETOOLONG use generic getcwd.
26105 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26106 in rtld. Use *stat64.
26107 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26108 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26109 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26110 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26111 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26112 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26113 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26114 __fstatat64 macros.
26115 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26116 * dirent/rewinddir.c: Add libc_hidden_def.
26117 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26118 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26120 * include/dirent.h (__alloc_dir): Add flags parameter.
26121 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26122 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26124 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26125 from fdopendir if O_CLOEXEC is already set.
26127 2011-03-15 Alan Modra <amodra@gmail.com>
26129 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26130 l_tls_firstbyte_offset non-zero. Save padding offset in
26131 l_tls_firstbyte_offset for later use.
26132 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26133 freeing static tls block.
26135 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26137 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26138 where #ifdef was intended. The intent is to prevent ARG_MAX from
26139 being defined by the kernel headers.
26141 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26144 * resolv/resolv.h: Define RES_NOTLDQUERY.
26145 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26146 no-tld-query and set RES_NOTLDQUERY.
26147 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26148 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26149 modern BIND to search name as TLD unless forbidden.
26151 2011-05-07 Petr Baudis <pasky@suse.cz>
26152 Ulrich Drepper <drepper@gmail.com>
26155 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26156 (is_trusted_path): ...to here.
26157 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26158 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26159 using is_trusted_path_normalize() in setuid scripts.
26161 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26163 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26164 __BEGIN/__END_DECLS.
26166 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26169 NSS_STATUS_NOTFOUND if no record was found.
26171 2011-05-05 Andreas Schwab <schwab@redhat.com>
26173 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26174 (headers-not-in-tirpc): Remove rpc/netdb.h
26175 * resolv/netdb.h: Revert last change.
26177 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26179 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26180 circular dependency between libgcc.a and libc.a.
26182 2011-05-05 Andreas Schwab <schwab@redhat.com>
26184 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26185 * nis/Makefile: Don't install rpcsvc/*.
26186 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26187 instead of <rpc/types.h>.
26188 (MAXHOSTNAMELEN): Define.
26190 2011-05-03 Andreas Schwab <schwab@redhat.com>
26192 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26194 2011-04-28 Maciej Babinski <mbabinski@google.com>
26197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26198 gethostbyname4_r when IPv6 results are possible.
26200 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26203 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26204 _PC_PIPE_BUF handling.
26206 2011-04-30 Bruno Haible <bruno@clisp.org>
26209 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26210 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26212 * inet/getnameinfo.c (getnameinfo): Likewise.
26214 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26216 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26217 to groups setting in database lookup.
26218 * nss/nsswitch.conf: Add initgroups entry.
26220 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26223 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26225 Patch by Eric Blake <eblake@redhat.com>.
26227 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26229 * sunrpc/Makefile (need-export-routines): Add svc_run.
26230 (routines): Remove svc_run.
26231 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26232 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26233 * sunrpc/svc_run.c (svc_run): Likewise.
26234 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26236 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26238 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26239 problem in reallocation in last patch.
26241 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26243 * sunrpc/Makefile: Move inclusion of Rules.
26245 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26247 * nss/nss_files/files-initgroups.c: New file.
26248 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26249 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26250 _nss_files_initgroups_dyn.
26252 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26254 * elf/elf.h (R_ARM_IRELATIVE): Define.
26256 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26258 * po/ru.po: Update from translation team.
26260 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26262 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26265 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26268 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26269 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26270 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26271 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26272 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26274 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26276 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26278 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26279 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26280 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26282 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26285 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26287 * stdlib/bug-getcontext.c: New file.
26288 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26290 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26292 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26293 instructions into .machine "z9-109".
26294 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26295 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26297 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26299 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26300 between environment variables and auxiliary vector.
26302 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26304 * Makefile: Add rules to build linkobj/libc.so.
26305 * include/libc-symbols.h: Define libc_hidden_nolink.
26306 * include/rpc/auth.h: Mark functions which are to be hidden.
26307 * include/rpc/auth_des.h: Likewise.
26308 * include/rpc/auth_unix.h: Likewise.
26309 * include/rpc/clnt.h: Likewise.
26310 * include/rpc/des_crypt.h: Likewise.
26311 * include/rpc/key_prot.h: Likewise.
26312 * include/rpc/pmap_clnt.h: Likewise.
26313 * include/rpc/pmap_prot.h: Likewise.
26314 * include/rpc/pmap_rmt.h: Likewise.
26315 * include/rpc/rpc_msg.h: Likewise.
26316 * include/rpc/svc.h: Likewise.
26317 * include/rpc/svc_auth.h: Likewise.
26318 * include/rpc/xdr.h: Likewise.
26319 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26320 * nss/Makefile: Likewise.
26321 * sunrpc/Makefile: Don't install headers. Build library with normal
26322 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26323 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26324 for the compat linking library. Remove use of INTDEF/INTUSE.
26325 * sunrpc/auth_none.c: Likewise.
26326 * sunrpc/auth_unix.c: Likewise.
26327 * sunrpc/authdes_prot.c: Likewise.
26328 * sunrpc/authuxprot.c: Likewise.
26329 * sunrpc/clnt_gen.c: Likewise.
26330 * sunrpc/clnt_perr.c: Likewise.
26331 * sunrpc/clnt_raw.c: Likewise.
26332 * sunrpc/clnt_simp.c: Likewise.
26333 * sunrpc/clnt_tcp.c: Likewise.
26334 * sunrpc/clnt_udp.c: Likewise.
26335 * sunrpc/clnt_unix.c: Likewise.
26336 * sunrpc/des_crypt.c: Likewise.
26337 * sunrpc/des_soft.c: Likewise.
26338 * sunrpc/get_myaddr.c: Likewise.
26339 * sunrpc/key_call.c: Likewise.
26340 * sunrpc/key_prot.c: Likewise.
26341 * sunrpc/netname.c: Likewise.
26342 * sunrpc/pm_getmaps.c: Likewise.
26343 * sunrpc/pm_getport.c: Likewise.
26344 * sunrpc/pmap_clnt.c: Likewise.
26345 * sunrpc/pmap_prot.c: Likewise.
26346 * sunrpc/pmap_prot2.c: Likewise.
26347 * sunrpc/pmap_rmt.c: Likewise.
26348 * sunrpc/publickey.c: Likewise.
26349 * sunrpc/rpc_cmsg.c: Likewise.
26350 * sunrpc/rpc_common.c: Likewise.
26351 * sunrpc/rpc_dtable.c: Likewise.
26352 * sunrpc/rpc_prot.c: Likewise.
26353 * sunrpc/rpc_thread.c: Likewise.
26354 * sunrpc/rtime.c: Likewise.
26355 * sunrpc/svc.c: Likewise.
26356 * sunrpc/svc_auth.c: Likewise.
26357 * sunrpc/svc_authux.c: Likewise.
26358 * sunrpc/svc_raw.c: Likewise.
26359 * sunrpc/svc_run.c: Likewise.
26360 * sunrpc/svc_simple.c: Likewise.
26361 * sunrpc/svc_tcp.c: Likewise.
26362 * sunrpc/svc_udp.c: Likewise.
26363 * sunrpc/svc_unix.c: Likewise.
26364 * sunrpc/svcauth_des.c: Likewise.
26365 * sunrpc/xcrypt.c: Likewise.
26366 * sunrpc/xdr.c: Likewise.
26367 * sunrpc/xdr_array.c: Likewise.
26368 * sunrpc/xdr_float.c: Likewise.
26369 * sunrpc/xdr_intXX_t.c: Likewise.
26370 * sunrpc/xdr_mem.c: Likewise.
26371 * sunrpc/xdr_rec.c: Likewise.
26372 * sunrpc/xdr_ref.c: Likewise.
26373 * sunrpc/xdr_sizeof.c: Likewise.
26374 * sunrpc/xdr_stdio.c: Likewise.
26376 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26379 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26380 * sysdeps/ia64/dl-tls.h: Likewise.
26381 * sysdeps/powerpc/dl-tls.h: Likewise.
26382 * sysdeps/s390/dl-tls.h: Likewise.
26383 * sysdeps/sh/dl-tls.h: Likewise.
26384 * sysdeps/sparc/dl-tls.h: Likewise.
26385 * sysdeps/x86_64/dl-tls.h: Likewise.
26386 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26388 2011-03-14 Andreas Schwab <schwab@redhat.com>
26390 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26391 rpath element also skip the following colon.
26392 (expand_dynamic_string_token): Add is_path parameter and pass
26393 down to DL_DST_REQUIRED and _dl_dst_substitute.
26394 (decompose_rpath): Call expand_dynamic_string_token with
26395 non-zero is_path. Ignore empty rpaths.
26396 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26399 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26404 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26407 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26408 Patch by Filipe David Manana <fdmanana@apache.org>.
26410 2011-04-07 Andreas Schwab <schwab@redhat.com>
26412 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26413 Maintain aligned stack.
26414 (CHECK_RSP): Remove unused macro.
26416 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26418 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26419 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26421 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26423 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26425 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26427 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26430 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26431 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26432 * sysdeps/x86_64/memmove.c: New file.
26433 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26434 (memcpy): Renamed to ...
26435 (__new_memcpy): This.
26436 (memcpy): Provide GLIBC_2_14 memcpy.
26437 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26438 (memcpy): Provide GLIBC_2_2_5 memcpy.
26440 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26443 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26445 2011-03-30 Andreas Schwab <schwab@redhat.com>
26447 * misc/syncfs.c: New file.
26448 * misc/Makefile (routines): Add syncfs.
26449 * posix/unistd.h: Declare syncfs.
26450 * sysdeps/unix/syscalls.list: Add syncfs.
26452 2011-04-01 Andreas Schwab <schwab@redhat.com>
26454 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26456 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26457 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26459 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26461 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26462 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26464 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26466 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26467 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26468 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26470 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26472 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26474 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26475 sync_file_range.c with -fexceptions.
26476 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26477 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26478 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26479 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26480 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26481 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26483 sync_file_range as cancellation point
26484 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26485 now a wrapper around __call_sync_file_range with cancellation handling.
26486 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26487 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26488 function name to __call_sync_file_range.
26489 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26490 Add call_sync_file_range.
26492 2011-04-01 Andreas Schwab <schwab@redhat.com>
26494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26497 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26499 * iconv/iconv.h: Fix typo in comment.
26500 * io/fcntl.h: Likewise.
26501 * libio/stdio.h: Likewise.
26502 * posix/spawn.h: Likewise.
26503 * posix/unistd.h: Likewise.
26504 * stdlib/stdlib.h: Likewise.
26505 * time/time.h: Likewise.
26506 * wcsmbs/wchar.h: Likewise.
26508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26509 open_by_handle): Add.
26510 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26511 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26512 Augment a few comments.
26513 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26514 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26515 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26517 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26518 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26521 * io/fcntl.h (AT_EMPTY_PATH): Define.
26523 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26525 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26526 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26527 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26529 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26530 * Versions.def: Add GLIBC_2.14.
26531 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26534 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26536 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26538 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26540 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26543 * string/test-strncmp.c (do_page_test): New function.
26544 (check2): Likewise.
26545 (test_main): Call check2.
26546 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26548 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26551 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26552 Handle cache information in CPU leaf 4.
26553 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26555 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26558 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26559 character representation.
26560 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26562 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26564 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26565 END(__isnan) to END(__isnanf) to match function entry point/label
26566 EALIGN(__isnanf,...).
26568 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26570 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26572 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26575 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26576 copy from the symbol referenced in the relocation to initialize the
26578 Patch by Piotr Bury <pbury@goahead.com>.
26579 * elf/Makefile: Add rules to build and tst-unique3.
26580 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26581 * elf/tst-unique3.cc: New file.
26582 * elf/tst-unique3.h: New file.
26583 * elf/tst-unique3lib.cc: New file.
26584 * elf/tst-unique3lib2.cc: New file.
26586 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26588 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26590 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26591 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26594 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26596 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26597 to-be-loaded object along a path to loader is ld.so.
26599 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26600 Ulrich Drepper <drepper@gmail.com>
26602 * sysdeps/x86_64/memset.S: After aligning destination, code
26603 branches to different locations depending on the value of
26604 misalignment, when multiarch is enabled. Fix this.
26606 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26608 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26609 Set _x86_64_preferred_memory_instruction for AMD processsors.
26610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26611 Set bit_Prefer_SSE_for_memop for AMD processors.
26613 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26615 * libio/fmemopen.c (fmemopen): Optimize a bit.
26617 2011-03-03 Andreas Schwab <schwab@redhat.com>
26619 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26621 2011-03-03 Roland McGrath <roland@redhat.com>
26623 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26625 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26627 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26628 __bzero_ultra1 instead of __memset_ultra1.
26630 2011-02-23 Andreas Schwab <schwab@redhat.com>
26631 Ulrich Drepper <drepper@gmail.com>
26634 * include/link.h (struct link_map): Add l_orig_initfini.
26635 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26636 returning unsuccessfully.
26637 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26638 close of a file loaded at startup, restore the original l_initfini
26640 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26641 list, store the pointer.
26642 * elf/Makefile ($(objpfx)noload-mem): New rule.
26643 (noload-ENV): Define.
26644 (tests): Add $(objpfx)noload-mem.
26645 * elf/noload.c: Include <memcheck.h>.
26646 (main): Call mtrace. Close all opened handles.
26648 2011-02-17 Andreas Schwab <schwab@redhat.com>
26651 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26652 dependencies are missing.
26654 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26656 Fix __if_freereq crash: Unlike the generic version which uses free,
26658 * sysdeps/mach/hurd/ifreq.h: New file.
26660 2011-01-27 Petr Baudis <pasky@suse.cz>
26661 Ulrich Drepper <drepper@gmail.com>
26664 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26665 to extend_alloca().
26666 * stdio-common/bug23.c: New file.
26667 * stdio-common/Makefile (tests): Add bug23.
26669 2010-09-28 Andreas Schwab <schwab@redhat.com>
26670 Ulrich Drepper <drepper@gmail.com>
26673 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26674 before performing relro protection. At old place add assertion
26675 to make sure nothing changed.
26677 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26678 Glauber de Oliveira Costa <glommer@gmail.com>
26680 * elf/elf.h: Add new ARM TLS relocs.
26682 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26685 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26687 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26689 * sysdeps/wordsize-64/tst-writev.c: New file.
26691 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26693 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26694 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26695 insns in _dl_start to prevent a TOC reference before relocs are
26698 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26701 * Makeconfig: Remove RANLIB definition.
26702 * Makerules: Don't use RANLIB.
26703 * aclocal.m4: Remove ranlib test.
26704 * configure.in: No need to check for ranlib.
26705 * elf/rtld-Rules: Don't use RANLIB.
26707 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26709 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26711 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26712 inclusion protection macro.
26714 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26715 SIGRTMIN and SIGRTMAX and print information in that case only when
26716 SIGRTMIN is defined.
26718 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26720 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26721 arginfo fn returning -1.
26723 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26724 and thousands string is zero terminated.
26726 2011-02-03 Andreas Schwab <schwab@redhat.com>
26728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26729 sysdeps/unix/sysv/linux/bits/socket.h.
26731 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26733 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26734 (__CPU_COUNT): Remove old macros.
26735 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26736 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26737 (__CPU_ALLOC, __CPU_FREE): Add macros.
26738 (__sched_cpualloc, __sched_cpufree): Add declarations.
26740 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26742 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26743 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26744 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26745 (readdhstai): Return value of addhstaiX call.
26746 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26747 (addgrbyX): Return value returned by cache_addgr.
26748 (readdgrbyname): Return value returned by addgrbyX.
26749 (readdgrbygid): Likewise.
26750 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26751 (addpwbyX): Return value returned by cache_addpw.
26752 (readdpwbyname): Return value returned by addhstbyX.
26753 (readdpwbyuid): Likewise.
26754 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26755 (addservbyX): Return value returned by cache_addserv.
26756 (readdservbyname): Return value returned by addservbyX:
26757 (readdservbyport): Likewise.
26758 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26759 (addhstbyX): Return value returned by cache_addhst.
26760 (readdhstbyname): Return value returned by addhstbyX.
26761 (readdhstbyaddr): Likewise.
26762 (readdhstbynamev6): Likewise.
26763 (readdhstbyaddrv6): Likewise.
26764 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26765 (readdinitgroups): Return value returned by addinitgroupsX.
26766 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26767 (prune_cache): Keep track of timeout value of re-added entries.
26768 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26769 * nscd/nscd.h: Adjust prototypes of readd* functions.
26771 2011-02-04 Roland McGrath <roland@redhat.com>
26773 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26774 (nis_stats): Likewise.
26775 * nis/nis_modify.c (nis_modify): Likewise.
26776 * nis/nis_remove.c (nis_remove): Likewise.
26777 * nis/nis_add.c (nis_add): Likewise.
26779 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26781 * posix/fnmatch_loop.c: Add some consts.
26783 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26785 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26788 * config.make.in (config-cflags-novzeroupper): Define.
26789 * configure.in: Substitute libc_cv_cc_novzeroupper.
26790 * elf/Makefile (AVX-CFLAGS): Define.
26791 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26792 (CFLAGS-tst-auditmod4a.c): Likewise.
26793 (CFLAGS-tst-auditmod4b.c): Likewise.
26794 (CFLAGS-tst-auditmod6b.c): Likewise.
26795 (CFLAGS-tst-auditmod6c.c): Likewise.
26796 (CFLAGS-tst-auditmod7b.c): Likewise.
26797 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26799 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26801 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26802 function to the callback.
26803 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26805 2011-02-02 Andreas Schwab <schwab@redhat.com>
26807 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26810 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26813 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26815 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26817 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26820 * elf/Makefile: Add rules to build and run new test.
26821 * elf/tst-initorder.c: New file.
26822 * elf/tst-initorder.exp: New file.
26823 * elf/tst-initordera1.c: New file.
26824 * elf/tst-initordera2.c: New file.
26825 * elf/tst-initordera3.c: New file.
26826 * elf/tst-initordera4.c: New file.
26827 * elf/tst-initorderb1.c: New file.
26828 * elf/tst-initorderb2.c: New file.
26829 * elf/tst-order-a1.c: New file.
26830 * elf/tst-order-a2.c: New file.
26831 * elf/tst-order-a3.c: New file.
26832 * elf/tst-order-a4.c: New file.
26833 * elf/tst-order-b1.c: New file.
26834 * elf/tst-order-b2.c: New file.
26835 * elf/tst-order-main.c: New file.
26836 New test case by George Gensure <werkt0@gmail.com>.
26838 2010-10-01 Andreas Schwab <schwab@redhat.com>
26840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26841 decoding ACE if AI_CANONIDN.
26843 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26845 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26847 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26849 * version.h (RELEASE): Bump for 2.13 release.
26850 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26852 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26854 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26856 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26857 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26858 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26859 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26860 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26861 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26863 * posix/getconf.c: Update copyright year.
26864 * catgets/gencat.c: Likewise.
26865 * csu/version.c: Likewise.
26866 * debug/catchsegv.sh: Likewise.
26867 * debug/xtrace.sh: Likewise.
26868 * elf/ldconfig.c: Likewise.
26869 * elf/ldd.bash.in: Likewise.
26870 * elf/sprof.c (print_version): Likewise.
26871 * iconv/iconv_prog.c: Likewise.
26872 * iconv/iconvconfig.c: Likewise.
26873 * locale/programs/locale.c: Likewise.
26874 * locale/programs/localedef.c: Likewise.
26875 * malloc/memusage.sh: Likewise.
26876 * malloc/mtrace.pl: Likewise.
26877 * nscd/nscd.c (print_version): Likewise.
26878 * nss/getent.c: Likewise.
26880 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26881 PF_CAIF, and PF_ALG.
26882 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26884 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26886 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26887 (modules-names): Use them.
26888 (ifunc-test-modules, ifunc-pie-tests): Define.
26889 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26890 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26891 (test-extras): Likewise.
26892 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26893 $(compile-command.c).
26894 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26895 (all-built-dso): Define.
26896 (check-textrel.out, check-execstack.out): Depend on it.
26898 * configure.in: Don't override --enable-multi-arch.
26900 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26903 * nscd/hstcache.c (tryagain): Define.
26904 (cache_addhst): Return tryagain not notfound for temporary errors.
26905 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26908 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26911 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26912 to make the syscall.
26913 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26916 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26917 and fall back to matching as normal character if the string ends before
26918 the matching ']' is found. This is what POSIX requires.
26919 * posix/testfnm.c: Adjust test result.
26920 * posix/globtest.sh: Adjust test result. Add new test.
26921 * posix/tst-fnmatch.input: Likewise.
26922 * posix/tst-fnmatch2.c: Add new test.
26924 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26926 * elf/Makefile (check-execstack): Revert last change. Depend on
26928 (check-execstack.h): New target.
26929 (generated): Add check-execstack.h.
26930 * elf/check-execstack.c: Include "check-execstack.h".
26931 (main): Revert last change.
26932 (handle_file): Return zero if GNU_STACK is absent and
26933 DEFAULT_STACK_PERMS doesn't include PF_X.
26935 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26937 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26938 in child fails because the descriptor is already closed.
26939 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26940 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26941 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26944 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26948 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26949 temporary buffer used to handle multi lookups locally.
26950 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26952 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26954 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26957 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26959 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26960 alignment for SSE2.
26962 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26965 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26966 characters. When rounding increased number of integer digits recompute
26968 * stdio-common/tst-grouping.c: New file.
26969 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26971 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26973 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26974 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26976 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26978 * bits/select.h: Likewise.
26980 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26982 * po/ja.po: Update from translation team.
26984 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26987 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26988 implementation just like for lxstat, fxstatat, et al.
26990 2010-12-27 Jim Meyering <meyering@redhat.com>
26993 * posix/regexec.c (build_trtable): Return failure indication upon
26994 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26996 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26999 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27000 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27001 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27002 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27005 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27008 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27009 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27011 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27013 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27014 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27015 script has SORT_BY_INIT_PRIORITY.
27016 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27017 NO_CTORS_DTORS_SECTIONS is defined.
27018 * elf/soinit.c: Likewise.
27019 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27020 NO_CTORS_DTORS_SECTIONS is defined.
27021 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27022 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27023 * sysdeps/sh/init-first.c: Likewise.
27024 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27026 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27028 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27029 always use the slow path.
27031 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27033 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27034 similar rule which adds the sysdep directories to the header search in
27035 order to pick up the correct platform stackinfo.h.
27036 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27037 perform test if it is, otherwise return successfully without testing.
27038 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27039 DEFAULT_STACK_PERMS define in stackinfo.h.
27040 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27041 defined in stackinfo.h.
27042 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27043 DEFAULT_STACK_PERMS defined in stackinfo.h.
27044 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27045 * sysdeps/ia64/stackinfo.h: Likewise.
27046 * sysdeps/s390/stackinfo.h: Likewise.
27047 * sysdeps/sh/stackinfo.h: Likewise.
27048 * sysdeps/sparc/stackinfo.h: Likewise.
27049 * sysdeps/x86_64/stackinfo.h: Likewise.
27050 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27051 PF_X for powerpc64. Retain PF_X for powerpc32.
27053 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27055 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27057 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27058 GETDENTS_64BIT_ALIGNED.
27060 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27062 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27064 2010-12-10 Andreas Schwab <schwab@redhat.com>
27066 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27069 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27070 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27072 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27073 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27075 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27078 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27081 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27083 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27085 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27087 * po/it.po: Update from translation team.
27089 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27094 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27096 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27098 2010-11-24 Andreas Schwab <schwab@redhat.com>
27100 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27102 (gaih_getanswer_slice): Likewise.
27104 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27106 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27108 2010-05-31 Petr Baudis <pasky@suse.cz>
27111 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27112 silently even in the chroot mode.
27114 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27116 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27117 last patch a bit. Pretty printing
27119 2010-05-31 Petr Baudis <pasky@suse.cz>
27122 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27123 initialization of skip_initgroups_dyn.
27125 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27127 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27128 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27130 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27132 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27134 2010-11-11 Andreas Schwab <schwab@redhat.com>
27136 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27137 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27138 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27139 ($(objpfx)tst-fnmatch-mem): New rule.
27140 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27141 * posix/tst-fnmatch.c (main): Call mtrace.
27143 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27146 Support Intel processor model 6 and model 0x2c.
27148 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27150 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27153 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27156 * string/test-strncasecmp.c (check_result): New function.
27157 (do_one_test): Use it.
27158 (check1): New function.
27159 (test_main): Use it.
27160 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27161 Support strcasecmp and strncasecmp.
27163 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27166 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27167 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27169 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27171 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27175 * sysdeps/x86_64/multiarch/bzero.S: New file.
27176 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27177 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27178 * sysdeps/x86_64/multiarch/memset.S: New file.
27179 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27181 Set bit_Prefer_SSE_for_memop for Intel processors.
27182 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27184 (index_Prefer_SSE_for_memop): Define.
27185 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27187 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27189 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27190 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27192 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27195 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27196 (__x86_64_raw_data_cache_size_half): Likewise.
27197 (__x86_64_raw_shared_cache_size): Likewise.
27198 (__x86_64_raw_shared_cache_size_half): Likewise.
27200 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27201 (__x86_64_raw_data_cache_size_half): Likewise.
27202 (__x86_64_raw_shared_cache_size): Likewise.
27203 (__x86_64_raw_shared_cache_size_half): Likewise.
27204 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27205 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27206 and __x86_64_raw_shared_cache_size_half. Round
27207 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27208 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27209 to multiple of 256 bytes.
27211 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27214 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27215 of inacessible symlinks. Verify result of symlink before returning it.
27216 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27217 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27219 2010-10-28 Erich Ritz <erichritz@gmail.com>
27221 * math/math.h (isinf): Fix typo in comment.
27223 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27225 * po/da.po: Update from translation team.
27227 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27229 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27230 is added to the list.
27232 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27233 Ulrich Drepper <drepper@gmail.com>
27235 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27236 the global list here. Move code to...
27237 (_dl_add_to_namespace_list): ...here. New function.
27238 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27239 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27240 * elf/dl-load.c (lose): Don't remove the element from the list.
27241 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27242 (_dl_map_object): Likewise.
27244 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27247 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27248 into all bytes of SSE register.
27249 Patch by Richard Li <richardpku@gmail.com>.
27251 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27254 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27257 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27259 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27260 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27261 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27262 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27267 2010-10-22 Andreas Schwab <schwab@redhat.com>
27269 * include/dlfcn.h (__RTLD_SECURE): Define.
27270 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27271 mode & __RTLD_SECURE instead.
27272 (open_path): Rename preloaded parameter to secure.
27273 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27274 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27275 * elf/dl-deps.c (openaux): Likewise.
27276 * elf/rtld.c (struct map_args): Remove is_preloaded.
27277 (map_doit): Don't use it.
27278 (dl_main): Likewise.
27279 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27280 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27282 2010-09-09 Andreas Schwab <schwab@redhat.com>
27284 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27285 (sysd-rules-targets): Remove duplicates.
27286 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27287 rtld-%.$o dependency.
27289 2010-10-18 Andreas Schwab <schwab@redhat.com>
27291 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27292 _dl_map_object do it.
27294 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27296 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27297 fast fma builtins, define the macros in the C99 standard.
27298 (FP_FAST_FMAF): Likewise.
27299 (FP_FAST_FMAL): Likewise.
27300 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27302 * bits/mathdef.h: Update copyright year.
27303 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27305 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27307 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27308 builtins, define the macros in the C99 standard.
27309 (FP_FAST_FMAF): Likewise.
27310 (FP_FAST_FMAL): Likewise.
27311 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27313 (FP_FAST_FMAF): Likewise.
27315 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27318 * math/libm-test.inc (fma_test): Some new testcases.
27319 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27320 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27321 y and infinite z. Do multiplication by C already in long double.
27322 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27324 y and infinite z. Do bitwise or of inexact bit into u.d.
27325 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27326 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27327 * sysdeps/i386/fpu/s_fma.S: Removed.
27328 * sysdeps/i386/fpu/s_fmal.S: Removed.
27330 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27333 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27335 computation is not scheduled after fetestexcept. Fix value
27336 of minimum denormal long double.
27338 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27341 * math/libm-test.inc (fma_test): Add some more tests.
27342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27345 2010-10-15 Andreas Schwab <schwab@redhat.com>
27347 * scripts/data/localplt-s390-linux-gnu.data: New file.
27348 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27350 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27353 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27354 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27356 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27358 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27360 if one of x and y is very large and the other is subnormal.
27361 * sysdeps/s390/fpu/s_fmaf.c: New file.
27362 * sysdeps/s390/fpu/s_fma.c: New file.
27363 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27364 * sysdeps/powerpc/fpu/s_fma.S: New file.
27365 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27366 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27367 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27369 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27372 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27374 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27375 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27376 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27377 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27378 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27379 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27380 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27382 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27385 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27386 * posix/bug-regex31.input: Add test case.
27388 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27390 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27391 * posix/bug-regex31.input: New file.
27394 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27395 (parse_sub_exp): Fix last change, use postorder.
27397 * posix/bug-regex31.c: New file.
27398 * posix/Makefile: Add rules to build and run bug-regex31.
27400 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27403 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27406 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27407 to have entries in sys_siglist.
27410 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27413 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27416 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27417 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27418 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27419 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27420 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27421 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27422 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27423 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27424 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27425 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27426 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27427 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27428 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27429 * math/ftestexcept.c (fetestexcept): Likewise.
27430 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27431 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27432 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27433 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27434 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27435 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27436 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27438 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27441 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27444 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27446 * string/bug-strstr1.c: New file.
27447 * string/Makefile: Add rules to build and run bug-strstr1.
27449 2010-10-05 Eric Blake <eblake@redhat.com>
27452 * string/str-two-way.h (two_way_long_needle): Always clear memory
27453 when skipping input due to the shift table.
27455 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27458 * malloc/mcheck.c: Handle large requests.
27461 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27462 for strncmp and strncasecmp.
27463 * string/stratcliff.c: Add tests for strcmp and strncmp.
27464 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27466 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27468 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27471 2010-09-30 Andreas Jaeger <aj@suse.de>
27473 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27474 (CGROUP_SUPER_MAGIC): Define.
27475 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27476 Handle btrfs and cgroup file systems.
27477 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27480 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27482 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27483 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27485 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27488 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27489 trying to locate the ELF header.
27491 2010-09-27 Andreas Schwab <schwab@redhat.com>
27494 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27495 Mask out sign-bit copies when constructing f_fsid.
27497 2010-09-24 Petr Baudis <pasky@suse.cz>
27499 * debug/stack_chk_fail_local.c: Add missing licence exception.
27500 * debug/warning-nop.c: Likewise.
27502 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27504 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27505 implementing getdents64 using getdents syscall, set d_type if
27506 __ASSUME_GETDENTS32_D_TYPE.
27508 2010-09-16 Andreas Schwab <schwab@redhat.com>
27510 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27511 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27513 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27516 * posix/unistd.h: Undo change of feature selection for ftruncate from
27519 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27521 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27524 2010-09-20 Andreas Schwab <schwab@redhat.com>
27526 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27528 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27530 2010-09-14 Andreas Schwab <schwab@redhat.com>
27532 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27533 variables after CHECK_SP call.
27534 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27536 2010-09-13 Andreas Schwab <schwab@redhat.com>
27537 Ulrich Drepper <drepper@redhat.com>
27539 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27540 re-relocationg ld.so.
27541 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27542 _dl_init_paths call.
27543 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27546 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27548 * resolv/res_init.c (__res_vinit): Count the default server we added.
27550 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27551 Ulrich Drepper <drepper@redhat.com>
27554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27555 (____longjmp_chk): Use %ebx for saving value across system call.
27558 2010-09-06 Andreas Schwab <schwab@redhat.com>
27560 * manual/Makefile: Don't mix pattern rules with normal rules.
27562 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27564 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27566 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27567 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27568 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27569 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27570 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27573 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27576 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27577 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27579 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27581 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27582 * sysdeps/x86_64/addmul_1.S: Likewise.
27583 * sysdeps/x86_64/lshift.S: Likewise.
27584 * sysdeps/x86_64/mul_1.S: Likewise.
27585 * sysdeps/x86_64/rshift.S: Likewise.
27586 * sysdeps/x86_64/sub_n.S: Likewise.
27587 * sysdeps/x86_64/submul_1.S: Likewise.
27589 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27591 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27592 Define __sched_param instead of SCHED_* and sched_param when
27593 <bits/sched.h> is included with __need_schedparam defined.
27594 * bits/sched.h [__need_schedparam]
27595 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27596 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27597 (__defined_schedparam): Define to 1.
27598 (__sched_param): New structure, identical to sched_param.
27599 (__need_schedparam): Undefine.
27601 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27603 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27604 (epoll_create1): Declare.
27606 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27608 2010-08-31 Andreas Schwab <schwab@redhat.com>
27611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27612 shifting retval into place.
27614 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27616 * nis/rpcsvc/nis.h: Update copyright notice.
27617 * nis/rpcsvc/nis.x: Likewise.
27618 * nis/rpcsvc/nis_callback.h: Likewise.
27619 * nis/rpcsvc/nis_callback.x: Likewise.
27620 * nis/rpcsvc/nis_object.x: Likewise.
27621 * nis/rpcsvc/nis_tags.h: Likewise.
27622 * nis/rpcsvc/yp.h: Likewise.
27623 * nis/rpcsvc/yp.x: Likewise.
27624 * nis/rpcsvc/ypupd.h: Likewise.
27625 * nis/yp_xdr.c: Likewise.
27626 * nis/ypupdate_xdr.c: Likewise.
27628 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27629 mainly the body of pmap_getport. Add parameters to specify timeouts.
27630 (pmap_getport): Use __libc_rpc_getport.
27631 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27632 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27633 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27635 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27640 2010-08-27 Roland McGrath <roland@redhat.com>
27642 * sysdeps/i386/i686/multiarch/Makefile
27643 (CFLAGS-varshift.c): New variable.
27645 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27647 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27648 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27650 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27652 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27654 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27656 * sysdeps/x86_64/strlen.S: Unroll the loop.
27657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27658 strlen-sse2 strlen-sse2-bsf.
27659 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27660 __strlen_no_bsf if bit_Slow_BSF is set.
27661 (__strlen_sse42): Removed.
27662 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27663 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27665 2010-08-25 Roland McGrath <roland@redhat.com>
27667 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27668 * sysdeps/x86_64/multiarch/varshift.c: New file.
27669 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27670 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27671 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27672 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27674 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27677 strlen-sse2 strlen-sse2-bsf.
27678 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27679 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27680 (__strlen_sse2): Removed.
27681 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27682 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27684 bit_Slow_BSF for Atom.
27685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27686 (index_Slow_BSF): Define.
27687 (HAS_SLOW_BSF): Define.
27689 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27692 * resolv/res_init.c (__res_vinit): When no server address at all
27693 is given default to loopback.
27695 2010-08-24 Roland McGrath <roland@redhat.com>
27697 * configure.in: Remove config-name.h generation.
27698 * configure: Regenerated.
27699 * config-name.in: File removed.
27700 * scripts/config-uname.sh: New file.
27701 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27702 ($(objdir)config-name.h): New target.
27704 * sunrpc/rpc_parse.h: Avoid nested comment.
27706 2010-08-24 Richard Henderson <rth@redhat.com>
27707 Ulrich Drepper <drepper@redhat.com>
27708 H.J. Lu <hongjiu.lu@intel.com>
27710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27712 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27713 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27714 _mm_alignr_epi8 with _mm_loadu_si128.
27715 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27716 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27717 (__m128i_shift_right): Removed.
27718 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27719 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27720 * sysdeps/x86_64/multiarch/varshift.h: New file.
27721 * sysdeps/x86_64/multiarch/varshift.S: New file.
27723 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27725 * configure.in: Move assembler checks to before sysdep dir checking.
27727 2010-08-20 Petr Baudis <pasky@suse.cz>
27729 * LICENSES: Sync the sunrpc license.
27731 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27733 * sunrpc/auth_des.c: Update copyright notice once again.
27734 * sunrpc/auth_none.c: Likewise.
27735 * sunrpc/auth_unix.c: Likewise.
27736 * sunrpc/authdes_prot.c: Likewise.
27737 * sunrpc/authuxprot.c: Likewise.
27738 * sunrpc/bindrsvprt.c: Likewise.
27739 * sunrpc/clnt_gen.c: Likewise.
27740 * sunrpc/clnt_perr.c: Likewise.
27741 * sunrpc/clnt_raw.c: Likewise.
27742 * sunrpc/clnt_simp.c: Likewise.
27743 * sunrpc/clnt_tcp.c: Likewise.
27744 * sunrpc/clnt_udp.c: Likewise.
27745 * sunrpc/clnt_unix.c: Likewise.
27746 * sunrpc/des_crypt.c: Likewise.
27747 * sunrpc/des_soft.c: Likewise.
27748 * sunrpc/get_myaddr.c: Likewise.
27749 * sunrpc/getrpcport.c: Likewise.
27750 * sunrpc/key_call.c: Likewise.
27751 * sunrpc/key_prot.c: Likewise.
27752 * sunrpc/openchild.c: Likewise.
27753 * sunrpc/pm_getmaps.c: Likewise.
27754 * sunrpc/pm_getport.c: Likewise.
27755 * sunrpc/pmap_clnt.c: Likewise.
27756 * sunrpc/pmap_prot.c: Likewise.
27757 * sunrpc/pmap_prot2.c: Likewise.
27758 * sunrpc/pmap_rmt.c: Likewise.
27759 * sunrpc/rpc/auth.h: Likewise.
27760 * sunrpc/rpc/auth_unix.h: Likewise.
27761 * sunrpc/rpc/clnt.h: Likewise.
27762 * sunrpc/rpc/des_crypt.h: Likewise.
27763 * sunrpc/rpc/key_prot.h: Likewise.
27764 * sunrpc/rpc/netdb.h: Likewise.
27765 * sunrpc/rpc/pmap_clnt.h: Likewise.
27766 * sunrpc/rpc/pmap_prot.h: Likewise.
27767 * sunrpc/rpc/pmap_rmt.h: Likewise.
27768 * sunrpc/rpc/rpc.h: Likewise.
27769 * sunrpc/rpc/rpc_des.h: Likewise.
27770 * sunrpc/rpc/rpc_msg.h: Likewise.
27771 * sunrpc/rpc/svc.h: Likewise.
27772 * sunrpc/rpc/svc_auth.h: Likewise.
27773 * sunrpc/rpc/types.h: Likewise.
27774 * sunrpc/rpc/xdr.h: Likewise.
27775 * sunrpc/rpc_clntout.c: Likewise.
27776 * sunrpc/rpc_cmsg.c: Likewise.
27777 * sunrpc/rpc_common.c: Likewise.
27778 * sunrpc/rpc_cout.c: Likewise.
27779 * sunrpc/rpc_dtable.c: Likewise.
27780 * sunrpc/rpc_hout.c: Likewise.
27781 * sunrpc/rpc_main.c: Likewise.
27782 * sunrpc/rpc_parse.c: Likewise.
27783 * sunrpc/rpc_parse.h: Likewise.
27784 * sunrpc/rpc_prot.c: Likewise.
27785 * sunrpc/rpc_sample.c: Likewise.
27786 * sunrpc/rpc_scan.c: Likewise.
27787 * sunrpc/rpc_scan.h: Likewise.
27788 * sunrpc/rpc_svcout.c: Likewise.
27789 * sunrpc/rpc_tblout.c: Likewise.
27790 * sunrpc/rpc_util.c: Likewise.
27791 * sunrpc/rpc_util.h: Likewise.
27792 * sunrpc/rpcinfo.c: Likewise.
27793 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27794 * sunrpc/rpcsvc/key_prot.x: Likewise.
27795 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27796 * sunrpc/rpcsvc/mount.x: Likewise.
27797 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27798 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27799 * sunrpc/rpcsvc/rex.x: Likewise.
27800 * sunrpc/rpcsvc/rstat.x: Likewise.
27801 * sunrpc/rpcsvc/rusers.x: Likewise.
27802 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27803 * sunrpc/rpcsvc/spray.x: Likewise.
27804 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27805 * sunrpc/rtime.c: Likewise.
27806 * sunrpc/svc.c: Likewise.
27807 * sunrpc/svc_auth.c: Likewise.
27808 * sunrpc/svc_authux.c: Likewise.
27809 * sunrpc/svc_raw.c: Likewise.
27810 * sunrpc/svc_run.c: Likewise.
27811 * sunrpc/svc_simple.c: Likewise.
27812 * sunrpc/svc_tcp.c: Likewise.
27813 * sunrpc/svc_udp.c: Likewise.
27814 * sunrpc/svc_unix.c: Likewise.
27815 * sunrpc/svcauth_des.c: Likewise.
27816 * sunrpc/xcrypt.c: Likewise.
27817 * sunrpc/xdr.c: Likewise.
27818 * sunrpc/xdr_array.c: Likewise.
27819 * sunrpc/xdr_float.c: Likewise.
27820 * sunrpc/xdr_mem.c: Likewise.
27821 * sunrpc/xdr_rec.c: Likewise.
27822 * sunrpc/xdr_ref.c: Likewise.
27823 * sunrpc/xdr_sizeof.c: Likewise.
27824 * sunrpc/xdr_stdio.c: Likewise.
27826 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27829 2010-08-19 Andreas Schwab <schwab@redhat.com>
27831 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27833 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27835 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27836 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27837 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27838 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27839 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27840 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27841 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27842 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27843 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27844 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27845 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27846 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27847 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27848 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27850 2010-07-26 Anton Blanchard <anton@samba.org>
27852 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27853 * malloc/arena.c (heap_trim): Likewise.
27855 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27857 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27859 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27860 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27862 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27864 * sysdeps/i386/elf/Makefile: New file.
27866 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27868 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27869 from fanotify_init.
27870 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27871 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27873 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27875 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27877 * sysdeps/multiarch/strcmp.S: Likewise.
27879 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27881 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27882 strncase_l-nonascii.
27883 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27884 Add strncase_l-ssse3.
27885 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27886 * sysdeps/x86_64/strcmp.S: Likewise.
27887 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27888 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27889 * sysdeps/x86_64/strncase.S: New file.
27890 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27891 * sysdeps/x86_64/strncase_l.S: New file.
27892 * string/Makefile (strop-tests): Add strncasecmp.
27893 * string/test-strncasecmp.c: New file.
27895 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27898 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27899 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27901 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27903 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27905 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27907 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27908 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27909 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27911 2010-05-01 Alan Modra <amodra@gmail.com>
27913 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27914 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27915 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27916 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27917 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27918 tidying. Don't tail-call __sigjmp_save for static lib.
27919 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27921 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27922 (CALL_MCOUNT): Add eh info, and nop after bl.
27923 (TAIL_CALL_SYSCALL_ERROR): New macro.
27924 (PSEUDO_RET): Use it.
27925 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27926 Correct save location of integer regs and cr.
27927 (_dl_profile_resolve): Correct cr save location. Delete nops
27928 after bl when SHARED. Reduce cfi size a little by better
27929 placement of cfi directives.
27930 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27931 make a stack frame. Instead use parm save area as a temp.
27932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27933 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27935 Don't make a stack frame for parent, use parm save area.
27936 Increase child stack frame to 112 bytes. Don't save unused reg,
27937 and adjust reg usage. Set up cfi on error recovery and
27938 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27940 (__makecontext): Add dummy nop after jump to exit.
27941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27942 Use correct parm save area and cr save, reduce stack frame.
27943 Correct cfi for possible PSEUDO_RET frame setup.
27944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27945 Branch to local label emitted by PSEUDO_RET rather than
27948 2010-08-12 Andreas Schwab <schwab@redhat.com>
27951 * locale/programs/locale.c (print_assignment): New function.
27952 (show_locale_vars): Use it.
27954 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27956 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27958 (struct statfs64): Likewise.
27959 (_STATFS_F_FLAGS): Define.
27960 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27961 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27962 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27963 (ST_VALID): Define locally.
27964 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27965 __statvfs_getflags, use the provided value.
27966 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27967 __ASSUME_STATFS_F_FLAGS.
27969 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27971 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27972 Add sys/fanotify.h.
27973 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27974 fanotify_mask for GLIBC_2.13.
27975 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27976 fanotify_init and fanotify_mark.
27977 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27978 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27980 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27982 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27983 prlimit64 for GLIBC_2.13.
27984 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27986 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27989 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27990 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27991 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27992 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27994 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27997 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27998 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28000 * nss/Makefile: Add rules to build and run tst-nss-test1.
28001 * shlib-versions: Add entry for libnss_test1.
28002 * nss/nss_test1.c: New file.
28003 * nss/tst-nss-test1.c: New file.
28005 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28006 (__nss_configure_lookup): Set appropriate entry in
28007 __nss_configure_lookup to true.
28008 * nss/nsswitch.h: Define enum with indeces of databases in
28009 databases and __nss_database_custom arrays. Declare
28010 __nss_database_custom.
28011 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28012 to avoid using nscd when custom rules are installed.
28013 * nss/getXXbyYY_r.c: Likewise.
28014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28016 * nss/nss_files/files-parse.c: Whitespace fixes.
28018 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28021 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28022 * posix/fnmatch_loop.c: Likewise.
28024 2010-07-17 Andi Kleen <ak@linux.intel.com>
28026 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28027 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28028 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28029 * Versions.def [GLIBC_2.13]: Add.
28031 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28033 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28034 Also fail if tpwd after pwuid call is NULL.
28036 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28038 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28039 when converting to ms.
28041 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28043 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28044 EOPNOTSUPP errors with ENOTTY.
28045 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28046 EOPNOTSUPP errors with ENOTTY.
28048 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28050 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28051 Add strcasecmp_l-ssse3.
28052 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28054 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28055 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28056 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28058 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28060 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28062 * string/Makefile (strop-tests): Add strcasecmp.
28063 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28064 strcasecmp_l-nonascii.
28065 (gen-as-const-headers): Add locale-defines.sym.
28066 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28067 * sysdeps/x86_64/strcasecmp.S: New file.
28068 * sysdeps/x86_64/strcasecmp_l.S: New file.
28069 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28070 * sysdeps/x86_64/locale-defines.sym: New file.
28071 * string/test-strcasecmp.c: New file.
28073 * string/test-strcasestr.c: Test both ends of the range of characters.
28074 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28076 2010-07-29 Roland McGrath <roland@redhat.com>
28079 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28081 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28083 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28086 2010-07-27 Andreas Schwab <schwab@redhat.com>
28088 * manual/memory.texi (Malloc Tunable Parameters): Document
28091 2010-07-26 Roland McGrath <roland@redhat.com>
28094 * configure.in (-fgnu89-inline check): Set and substitute
28095 gnu89_inline, not libc_cv_gnu89_inline.
28096 * configure: Regenerated.
28097 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28099 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28101 * string/test-strnlen.c: New file.
28102 * string/Makefile (strop-tests): Add strnlen.
28103 * string/tester.c (test_strnlen): Add a few more test cases.
28104 * string/tst-strlen.c: Better error reporting.
28106 * sysdeps/x86_64/strnlen.S: New file.
28108 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28110 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28111 lower-latency instructions.
28113 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28115 * string/test-strcasestr.c: New file.
28116 * string/test-strstr.c: New file.
28117 * string/Makefile (strop-tests): Add strstr and strcasestr.
28118 * string/str-two-way.h: Don't undefine MAX.
28119 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28121 2010-07-21 Andreas Schwab <schwab@redhat.com>
28123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28124 strcasestr-nonascii.
28125 (CFLAGS-strcasestr-nonascii.c): Define.
28126 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28127 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28128 Remove unused attribute.
28130 2010-07-20 Roland McGrath <roland@redhat.com>
28132 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28133 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28134 ld.so.cache was broken. With it, there is no way to disable dsocaps
28135 like LD_HWCAP_MASK can disable hwcaps.
28137 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28139 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28141 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28143 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28144 call in strcasestr.
28145 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28146 __strcasestr_sse42_nonascii.
28147 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28148 strcasestr-nonascii.c.
28149 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28151 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28153 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28154 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28155 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28156 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28158 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28160 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28163 2010-07-06 Andreas Schwab <schwab@redhat.com>
28166 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28169 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28171 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28172 _PC_PIPE_BUF using F_GETPIPE_SZ.
28174 2010-07-05 Roland McGrath <roland@redhat.com>
28176 * manual/arith.texi (Rounding Functions): Fix rint description
28177 implicit in round description.
28179 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28181 * elf/Makefile: Fix linking for a few tests to make recent linker
28184 2010-06-30 Andreas Schwab <schwab@redhat.com>
28186 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28187 $(common-objpfx)libc_nonshared.a.
28189 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28191 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28192 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28193 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28194 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28195 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28196 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28197 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28198 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28213 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28214 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28215 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28216 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28217 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28218 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28219 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28220 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28221 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28222 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28223 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28224 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28240 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28242 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28243 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28244 * string/memmove.c (memmove): Renamed to ...
28245 (MEMMOVE): ...this. Default to memmove.
28246 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28247 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28250 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28251 mempcpy-ssse3-back memmove-ssse3-back.
28252 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28253 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28254 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28255 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28256 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28257 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28258 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28259 * sysdeps/x86_64/multiarch/memmove.c: New file.
28260 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28261 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28262 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28263 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28264 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28265 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28267 (index_Fast_Copy_Backward): Define.
28268 (HAS_ARCH_FEATURE): Define.
28269 (HAS_FAST_REP_STRING): Define.
28270 (HAS_FAST_COPY_BACKWARD): Define.
28272 2010-06-21 Andreas Schwab <schwab@redhat.com>
28274 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28275 Restore proper fallback handling.
28277 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28280 * posix/group_member.c (__group_member): Correct checking loop.
28282 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28283 OOM in getpwuid_r correctly. Return error number when the caller
28284 should return, otherwise -1.
28285 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28286 call returning > 0 value.
28287 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28289 2010-06-07 Andreas Schwab <schwab@redhat.com>
28291 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28292 libc_nonshared.a from targets in modules-names.
28294 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28296 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28299 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28301 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28302 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28303 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28304 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28306 2010-06-02 Andreas Schwab <schwab@redhat.com>
28308 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28310 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28312 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28315 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28316 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28318 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28319 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28321 2010-06-14 Roland McGrath <roland@redhat.com>
28323 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28325 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28327 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28328 __REDIRECT followed by __THROW.
28329 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28330 * posix/getopt.h (getopt): Likewise.
28332 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28334 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28335 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28336 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28338 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28339 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28341 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28343 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28345 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28349 Properly check family and model.
28351 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28353 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28355 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28357 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28359 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28361 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28364 2010-05-19 Andreas Schwab <schwab@redhat.com>
28366 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28369 2010-05-21 Andreas Schwab <schwab@redhat.com>
28371 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28372 and internal_recvmmsg.
28373 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28374 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28375 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28376 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28378 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28379 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28380 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28382 2010-05-20 Andreas Schwab <schwab@redhat.com>
28384 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28386 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28388 POWER7 optimizations.
28389 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28390 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28392 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28394 * version.h: Update for 2.13 development version.
28396 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28398 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28399 exceptions. Return 0.
28401 2010-05-07 Roland McGrath <roland@redhat.com>
28403 * elf/ldconfig.c (main): Add a const.
28405 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28407 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28408 (args_options): Add no-idn option.
28409 (ahosts_keys_int): Add idn_flags to ai_flags.
28410 (parse_option): Handle 'i' option to clear idn_flags.
28412 * malloc/malloc.c (_int_free): Possible race in the most recently
28413 added check. Only act on the data if no current modification
28416 See ChangeLog.17 for earlier changes.